<commit_before>{% set name = "betterproto" %}
{% set version = "1.2.5" %}


package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/betterproto-{{ version }}.tar.gz
  sha256: 74a3ab34646054f674d236d1229ba8182dc2eae86feb249b8590ef496ce9803d

build:
  number: 0
  skip: true   # [py2k]
  entry_points:
    - protoc-gen-python_betterproto=betterproto.plugin:main
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python
  run:
    - backports-datetime-fromisoformat  # [py<37]
    - dataclasses  # [py<37]
    - grpclib
    - python
    - stringcase

test:
  imports:
    - betterproto
  commands:
    - pip check
    - protoc-gen-python_betterproto --help
  requires:
    - pip

about:
  home: http://github.com/danielgtaylor/python-betterproto
  summary: A better Protobuf / gRPC generator & library
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - asford<commit_msg>Fixup betterproto test command<commit_after>{% set name = "betterproto" %}
{% set version = "1.2.5" %}


package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/betterproto-{{ version }}.tar.gz
  sha256: 74a3ab34646054f674d236d1229ba8182dc2eae86feb249b8590ef496ce9803d

build:
  number: 0
  skip: true   # [py2k]
  entry_points:
    - protoc-gen-python_betterproto=betterproto.plugin:main
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  host:
    - pip
    - python
  run:
    - backports-datetime-fromisoformat  # [py<37]
    - dataclasses  # [py<37]
    - grpclib
    - python
    - stringcase

test:
  imports:
    - betterproto
  commands:
    - pip check
  requires:
    - pip
    - protobuf

about:
  home: http://github.com/danielgtaylor/python-betterproto
  summary: A better Protobuf / gRPC generator & library
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - asford
{'fraction_non_alphanumeric': 0.12958312405826217, 'fraction_numerical': 0.055248618784530384, 'mean_word_length': 2.9760479041916166, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 2}}
{'dir': 'git-commits-cleaned', 'id': '5369801', 'n_tokens_mistral': 822, 'n_tokens_neox': 738, 'n_words': 151}