Skip to main content

A python package to enforce correctness of configuration values

Project description

A sample Python project

A sample project to copy the correct structure of a python project.

Pyproject.toml

Project properties to update:

  • name : name of the project
  • description : description of the project
  • authors : authors of the project
  • keywords : keywords to help search of the project
  • classifiers : one or more classifiers of the project
  • dependencies : equivalent to requirements.txt
  • urls : homepage, documentation and repository
  • scripts : startup script when executing like python -m < project >
  • tool.bumpver.file_pattern : name of the folder of the project

Update to PyPi

Steps to update to pip:

  • tox -r : check integrity of the project and execute tests
  • bumpver update --patch : update version of the project. Also --minor and --major is supported
  • python -m build : build the project
  • twine check dist/* : check build files
  • twine upload dist/* : upload to PyPi (may upload before to testpypi with twine upload -r testpypi dist/*)
  • pip install < project > : to install the package and check it (may check before from testpypi with pip install -i https://test.pypi.org/simple < project >)

Structure

Data folder is used for external files (like configuration files or scripts)

Basic packages to install: pip install .[dev]

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

pybaserepo-0.0.17.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybaserepo-0.0.17-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pybaserepo-0.0.17.tar.gz.

File metadata

  • Download URL: pybaserepo-0.0.17.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pybaserepo-0.0.17.tar.gz
Algorithm Hash digest
SHA256 46978e58419d2732bc13eb5a4602eaca0698fea529b9e8f8a67bce7c56b1d591
MD5 86edbbbd85293f0521b57c88da2a859d
BLAKE2b-256 706fddb92286b6c6275445704451495682ef027c78a9c0bd3138fe4401a2f62d

See more details on using hashes here.

File details

Details for the file pybaserepo-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: pybaserepo-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for pybaserepo-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 535ba389ce6f4ea529a8f2f1ff0a40fa37f839accac55594e1c31f3aaf2126ed
MD5 d9b3fe4050d8867cdb92be0cb28c8b5b
BLAKE2b-256 790b09e36e7ccabf11325cd7e44d2824f1a62d420b66b6c5b5cc0ca849cfd251

See more details on using hashes here.

Supported by

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