{% set version = "1.2.0" %}

package:
  name: ratelimiter
  version: {{ version }}

source:
  fn: ratelimiter-{{ version }}.tar.gz
  url: https://pypi.io/packages/source/r/ratelimiter/ratelimiter-{{ version }}.tar.gz
  sha256: f724b256264afdeab0225ec174728b0f8af1afd1cc122463150daf226b411fb6

build:
  number: 0
  script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - python
    - setuptools
  run:
    - python

test:
  imports:
    - ratelimiter

about:
  home: https://github.com/RazerM/ratelimiter
  license: Apache-2.0
  license_family: APACHE
  license_file: LICENSE
  summary: Simple Python module providing rate limiting.
  description: |
    This package provides the ratelimiter module, which ensures that an operation
    will not be executed more than a given number of times on a given period.
    This can prove useful when working with third parties APIs which require
    for example a maximum of 10 requests per second.

extra:
  recipe-maintainers:
    - johanneskoester

Add recipe for ratelimiter Python package.
Add recipe for ratelimiter Python package.
