meta.yaml 1.02 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% set version = "1.2.0.post0" %}

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

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

build:
  number: 0
  noarch: python
  script: python -m pip install --no-deps --ignore-installed .

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

test:
  imports:
    - ratelimiter

about:
  home: https://github.com/RazerM/ratelimiter
  license: Apache-2.0
  license_family: APACHE
33
  license_file: LICENSE
34
35
36
37
38
39
40
41
42
43
  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:
    - anjos