Skip to main content

A python package to quickly configure and publish a new package

Project description

quickpub V2.0.2

Tested python versions: 3.8.0, 3.9.0, 3.10.13,

Example usage of how this package was published

from quickpub import publish, MypyRunner, PylintRunner, UnittestRunner, CondaPythonProvider, \
    PypircUploadTarget, SetuptoolsBuildSchema, GithubUploadTarget, PypircEnforcer, ReadmeEnforcer, LicenseEnforcer, \
    PypiRemoteVersionEnforcer, LocalVersionEnforcer


def main() -> None:
    publish(
        name="quickpub",
        version="2.0.2",
        author="danielnachumdev",
        author_email="danielnachumdev@gmail.com",
        description="A python package to quickly configure and publish a new package",
        homepage="https://github.com/danielnachumdev/quickpub",
        enforcers=[
            PypircEnforcer(), ReadmeEnforcer(), LicenseEnforcer(),
            LocalVersionEnforcer(), PypiRemoteVersionEnforcer()
        ],
        build_schemas=[SetuptoolsBuildSchema()],
        upload_targets=[PypircUploadTarget(), GithubUploadTarget()],
        python_interpreter_provider=CondaPythonProvider(["base", "390", "380"]),
        global_quality_assurance_runners=[
            MypyRunner(bound="<=20", configuration_path="./mypy.ini"),
            PylintRunner(bound=">=0.8", configuration_path="./.pylintrc"),
            UnittestRunner(bound=">=0.95"),
        ],
        dependencies=["danielutils>=0.9.94", "requests"],
        min_python="3.8.0",
    )


if __name__ == '__main__':
    main()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quickpub-2.0.4.tar.gz (20.6 kB view details)

Uploaded Source

File details

Details for the file quickpub-2.0.4.tar.gz.

File metadata

  • Download URL: quickpub-2.0.4.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for quickpub-2.0.4.tar.gz
Algorithm Hash digest
SHA256 ed7912c0fbd5b4b915676765b410b7d79ef1bdd9de0b90a27036aab1d6c4cfb8
MD5 63150a5b728f073b1768a392fb9bf334
BLAKE2b-256 2e669e8ee3114f74142a06405695c057c1381fc2599242f94e1965d372be954a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page