<commit_before>from setuptools import (
    find_packages,
    setup,
)


REQUIREMENTS = [
    "requests >= 2.4.3",
    "typing-extensions",
]

DEV_REQUIREMENTS = [
    "bandit==1.7.1",  # Bandit 1.7.2 drops support for Python 3.6
    "black==22.*",
    "coveralls == 3.*",
    "flake8==5.*",
    "isort==5.*",
    "mypy==0.971",
    "pdoc==12.*",
    "pytest-cov==3.*",
    "pytest-vcr==1.*",
    "pytest==7.*",
    "twine==3.8.*",  # Twine 4.0 drops support for Python 3.6
    "types-requests",
    "types-urllib3",
    "vcrpy==4.*",
    "wheel==0.37.*",
]

with open("README.md", encoding="utf-8") as f:
    long_description = f.read()

setup(
    name="easypost",
    version="7.6.1",
    description="EasyPost Shipping API Client Library for Python",
    author="EasyPost",
    author_email="<EMAIL>",
    url="https://easypost.com/",
    packages=find_packages(
        exclude=[
            "examples",
            "tests",
        ]
    ),
    install_requires=REQUIREMENTS,
    extras_require={
        "dev": DEV_REQUIREMENTS,
    },
    package_data={
        "easypost": ["py.typed"],
    },
    test_suite="test",
    long_description=long_description,
    long_description_content_type="text/markdown",
    project_urls={
        "Docs": "https://www.easypost.com/docs/api",
        "Tracker": "https://github.com/EasyPost/easypost-python/issues",
        "Source": "https://github.com/EasyPost/easypost-python",
    },
    python_requires=">=3.6, <4",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Web Environment",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        "License :: OSI Approved :: MIT License",
        "Topic :: Software Development :: Libraries",
    ],
)
<commit_msg>fix: pdoc for python 3.7 or greater<commit_after>from setuptools import (
    find_packages,
    setup,
)


REQUIREMENTS = [
    "requests >= 2.4.3",
    "typing-extensions",
]

DEV_REQUIREMENTS = [
    "bandit==1.7.1",  # Bandit 1.7.2 drops support for Python 3.6
    "black==22.*",
    "coveralls == 3.*",
    "flake8==5.*",
    "isort==5.*",
    "mypy==0.971",
    "pdoc==12.*;python_version>='3.7'",
    "pytest-cov==3.*",
    "pytest-vcr==1.*",
    "pytest==7.*",
    "twine==3.8.*",  # Twine 4.0 drops support for Python 3.6
    "types-requests",
    "types-urllib3",
    "vcrpy==4.*",
    "wheel==0.37.*",
]

with open("README.md", encoding="utf-8") as f:
    long_description = f.read()

setup(
    name="easypost",
    version="7.6.1",
    description="EasyPost Shipping API Client Library for Python",
    author="EasyPost",
    author_email="<EMAIL>",
    url="https://easypost.com/",
    packages=find_packages(
        exclude=[
            "examples",
            "tests",
        ]
    ),
    install_requires=REQUIREMENTS,
    extras_require={
        "dev": DEV_REQUIREMENTS,
    },
    package_data={
        "easypost": ["py.typed"],
    },
    test_suite="test",
    long_description=long_description,
    long_description_content_type="text/markdown",
    project_urls={
        "Docs": "https://www.easypost.com/docs/api",
        "Tracker": "https://github.com/EasyPost/easypost-python/issues",
        "Source": "https://github.com/EasyPost/easypost-python",
    },
    python_requires=">=3.6, <4",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Web Environment",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        "License :: OSI Approved :: MIT License",
        "Topic :: Software Development :: Libraries",
    ],
)

{'fraction_non_alphanumeric': 0.17625231910946196, 'fraction_numerical': 0.02829313543599258, 'mean_word_length': 2.579253112033195, 'pattern_counts': {'":': 10, '<': 7, '<?xml version=': 0, '>': 10, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '387272', 'n_tokens_mistral': 1512, 'n_tokens_neox': 1439, 'n_words': 274}