zzz233
A minimal python package.
- download locally
- clone repository:
git clone xxx - download zip:
wget xxx - download released package: TODO
- clone repository:
- install
- install locally:
pip install . - (for developer) install locally:
pip install ".[dev]" - (for documentation developer) install locally:
pip install ".[doc]" - install from github:
pip install git+https://github.com/husisy/zzz233.git - TODO pypi
- install locally:
- uninstall
pip uninstall zzz233 - scrips
- run in command line:
zzz233
- run in command line:
- unittest: download locally
pytest- (require developer install locally) coverage
pytest --cov=python/zzz233
- documentation
- build locally:
mkdocs serve - website:
https://husisy.github.io/zzz233/
- build locally:
- github action (CI/CD)
- build documentation, enable github page (select deploy from actions)
- unittest
- reading material
- github/setuptools_scm (Source Code Management)
- setuptools/pyproject-config
- distribute package to pypi
TODO make a clear table
usage
# a dummy example
from zzz233 import from_pickle, to_pickle
a = 233
to_pickle(a=a)
assert from_pickle('a')==a
TODO
- semantic versioning link
development
new environment
micromamba create -n zzz233 python
micromamba activate zzz233
pip install .
# pip install -e ".[dev]"
mkdocs serve
publish to pypi
# cleanup the branch and tag the latest commit with a valid version
# otherwise the build will fail
rm -rf ./dist
pip install build
python -m build
# testpypi
# setup testpypi apikey $HOME/.pypirc (the username is "__token__")
twine upload --repository testpypi dist/*
# --repository-url https://test.pypi.org/legacy/
pip uninstall zzz233
pip install --upgrade -i https://test.pypi.org/simple/ zzz233
# pypi
# --repository-url https://upload.pypi.org/legacy/
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zzz233-0.2.3.tar.gz
(6.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zzz233-0.2.3.tar.gz.
File metadata
- Download URL: zzz233-0.2.3.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f65abd0b3128a1d44bf850c8a7f6c8febfd775de8b301b73a960d3b3253e41f
|
|
| MD5 |
6107ff3dbf8c0968c21709b94bcec061
|
|
| BLAKE2b-256 |
31762a1a7cc99946dbae7b32b8ca50cd1eefe23f04c2f7a3f2503cd7ee6cc3e3
|
File details
Details for the file zzz233-0.2.3-py3-none-any.whl.
File metadata
- Download URL: zzz233-0.2.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
621ab3ef0990c57483c4d901a3cb1dd3f318229b389643d6d5751fa7e1a473c0
|
|
| MD5 |
30a94de65996d360c3050b84755be784
|
|
| BLAKE2b-256 |
546e684068362e78d8443f45f02c259b78ff20fc7fd99c7a59ae0943b8ec074e
|