Skip to main content

Python project template.

Project description

travis codecov license pypi

In what follows python3 is an alias for python3.5 or any later version (python3.6 and so on).

Installation

Install the latest pip & setuptools packages versions

python3 -m pip install --upgrade pip setuptools

Release

Download and install the latest stable version from PyPI repository

python3 -m pip install --upgrade lz

Developer

Download and install the latest version from GitHub repository

git clone https://github.com/lycantropos/lz.git
cd lz
python3 setup.py install

Bumping version

Install bumpversion.

Choose which version number category to bump following semver specification.

Test bumping version

bumpversion --dry-run --verbose $VERSION

where $VERSION is the target version number category name, possible values are patch/minor/major.

Bump version

bumpversion --verbose $VERSION

Note: to avoid inconsistency between branches and pull requests, bumping version should be merged into master branch as separate pull request.

Running tests

Plain

python3 setup.py test

Inside Docker container

docker-compose up

Inside Docker container with remote debugger

./set-dockerhost.sh docker-compose up

Bash script (e.g. can be used in Git hooks)

./run-tests.sh

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

lz-0.0.0.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file lz-0.0.0.tar.gz.

File metadata

  • Download URL: lz-0.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lz-0.0.0.tar.gz
Algorithm Hash digest
SHA256 5d1e8915670f5996a9114809c5888da6e690d31ea548bb2e0808bec0aaca4563
MD5 08d32b175df402390c5a9d64df13fecd
BLAKE2b-256 3ba9801460449a984564d3f25f0b1a46cabfdb7b2872675f9cd112bf07037418

See more details on using hashes here.

Provenance

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