Skip to main content

A small package targeting to help on python project packaging process

Project description

PyProjectUtils

Execution

Run through python interpreter:

python -m py-project-utils-xethhung12 -h

Run through python project script

py-project-utils -h

Development

The project requires python (3+ version) installed and pip ready for use on adding manage dependencies

Tools

Name Platform Type Description
install-dependencies.sh shell script The scripts for installing depencies required
build.sh shell script The scripts for build the package
build-and-deploy.sh shell script The scripts for build and deploy the package
  • install-dependencies.sh The script will install dependencies listed in dev-requirements.txt and requirements.txt. The first requirement file contains the dependencies for development like build and deploy tools. The second requirement file defined all required dependencies for the making the package works (actual dependencies).

Useful Scripts

Project Versioning

For version update in pyproject.toml. This project use package xh-py-project-versioning to manipulate the project version.

Simple usage includes:
Base on current version, update the patch number with dev id python -m xh_py_project_versioning --patch
In case current version is 0.0.1, the updated version will be 0.0.2-dev+000

To prompt the dev version to official version use command. python -m xh_py_project_versioning -r. Through the command, version 0.0.2-dev+000 will be prompt to 0.0.2 official versioning.

Base on current version, update the patch number directly python -m xh_py_project_versioning --patch -d
In case current version is 0.0.1, the updated version will be 0.0.2

Base on current version, update the minor number directly python -m xh_py_project_versioning --minor -d
In case current version is 0.0.1, the updated version will be 0.1.0

Base on current version, update the minor number directly python -m xh_py_project_versioning --minor -d
In case current version is 0.0.1, the updated version will be 1.0.0

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

py_project_utils_xethhung12-0.1.0.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

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

py_project_utils_xethhung12-0.1.0-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file py_project_utils_xethhung12-0.1.0.tar.gz.

File metadata

File hashes

Hashes for py_project_utils_xethhung12-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e3d793139b4b8c098b025429406265fa1bdc44cd28d77af2425916183d15293a
MD5 1d5e565e7a6b54e4abcf5d4c0f16d1a0
BLAKE2b-256 ef2a88eea46937844b4ed384b5d29c2ca7e49b73a86f8562f866ced79f19bc0b

See more details on using hashes here.

File details

Details for the file py_project_utils_xethhung12-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py_project_utils_xethhung12-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 498bfc18661107da495a9cfc003ba15e1057a760a9f56ad41dedb9b1c126ae23
MD5 671b71b687f2301e52a9091a2d7aa164
BLAKE2b-256 50e3c4bfc2f5665d60dcf70a987f6a14a088f562d36306a956ac83541e0f974f

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