Skip to main content

base repo config

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.2.1.tar.gz (2.9 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.2.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybaserepo-0.2.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for pybaserepo-0.2.1.tar.gz
Algorithm Hash digest
SHA256 20b3eef65865de8055e8e063d698be71ee6be81af5bc781c21c661b839588acc
MD5 b66b94273758da811e94dece481fafbb
BLAKE2b-256 4070d4a8c7d627aa270c3f04c974447e7eb53affcc7c17fccaf583d5d466f9d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybaserepo-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for pybaserepo-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c498976e2a7a055a4cdf5a19f619630e294d6c432c91f0bfbed5c08eeb873f2d
MD5 05c56911f652666a4fcc6226bca484c4
BLAKE2b-256 9eb69acd84627207de80b8795c86691487ac843834159b8d2bbf215108a3ec49

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