Skip to main content

zn

Zinc

Development Environment

Setup

Follow these steps to create a development environment for Zinc:

cd ~/projects
git clone git@github.com:blinkdog/zn.git
cd zn
python3.7 -m venv ./env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Maintenance

If you install a new package using pip install then update the requirements.txt file with the following command:

pip freeze --all >requirements.txt

Working

The helper script snake defines some common project tasks:

Try one of the following tasks:

snake clean                # Remove build cruft
snake coverage             # Perform coverage analysis
snake dist                 # Create a distribution tarball and wheel
snake lint                 # Run static analysis tools
snake publish              # Publish the module to Test PyPI
snake rebuild              # Test and lint the module
snake test                 # Test the module

The task rebuild doesn't really build (no need to compile Python), but it does run the unit tests and lint the project.

Version Bumping

If you need to increase the version number of the project, don't forget to edit the following:

CHANGELOG.md
setup.py

Release files for zn 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zn 0.0.1
File Size Uploaded
zn-0.0.1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zn 0.0.1
File Interpreter ABI Platform
zn-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / zn-0.0.1.tar.gz

Download URL zn-0.0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
39391b014d779d717912597e3115674389c3ee1f5cd64ccfc1576072e17287d6
BLAKE2b-256 checksum
How to use checksums
e4d17c91e5e39cce617afc5fd430125f7f4b86bf2ab2c587a977dda669004a6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

Release files / zn-0.0.1-py3-none-any.whl

Download URL zn-0.0.1-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c05b196da0951b09b7da6a97971d75e7de4411a77a4e6e327859b622ea008603
BLAKE2b-256 checksum
How to use checksums
ba7066a4373722a5acd3ffd253505839371d8712a410121fc258598b53828879
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page