A Python package to truncate dates and times.
Project description
cloack
A Python package to truncate dates and times.
References
- Wolt Python Package Cookiecutter repo
- Delorean package
Development
poetry install
poetry run isort .
orpoetry run isort . --verbose
poetry run black .
orpoetry run black . --verbose
- Add an entry to the
CHANGELOG.md
file and manually save it in VS Code to format it poetry run kacl-cli verify
orpoetry run kacl-cli verify --json
poetry run pytest
orpoetry run pytest --verbose
Deployment
poetry version patch
orpoetry version minor
poetry run kacl-cli release $(poetry version --short) --modify
and manually save theCHANGELOG.md
file in VS Code to format it
Notes
- cruft:
- Alternative to Cookiecutter
- cruft uses Cookiecutter as the template engine
- pytest-github-actions-annotate-failures
- flake8-logging-format
- Poetry:
poetry --version
- Update Poetry:
poetry self update
orcurl -sSL https://install.python-poetry.org | python3 - --uninstall
+curl -sSL https://install.python-poetry.org | python3 -
curl -sSL https://install.python-poetry.org | python3 - --version 1.2.0
- Check the current configuration:
poetry config --list
poetry config virtualenvs.in-project true --local
poetry config virtualenvs.in-project --unset
poetry new cloack
- Check
poetry-core
version:poetry about
poetry shell
poetry publish --help
poetry run black --help
poetry run kacl-cli --help
poetry run kacl-cli add --help
poetry run kacl-cli add added 'Boilerplate to create a Python package.' --modify
poetry run kacl-cli new
orpoetry run kacl-cli new | pbcopy
- https://python-poetry.org/docs/configuration/#local-configuration
- GitHub Actions:
- Relies-on
- Detect and Tag New Version
- actionlint:
- Online: https://rhysd.github.io/actionlint/
- https://github.com/rhysd/actionlint/blob/main/docs/install.md
brew install actionlint
+actionlint --help
+actionlint .github/workflows/*.yml
oractionlint -verbose .github/workflows/*.yml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cloack-0.1.0.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file cloack-0.1.0.tar.gz
.
File metadata
- Download URL: cloack-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.7.15 Linux/5.15.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8f91f53cd02e14adc8c46ae49abf4caa6587ac1087a1adc577576a9aa6096fb |
|
MD5 | 0f2133bdfd1a35082fc8b4cafb9ff096 |
|
BLAKE2b-256 | efefbd3ca599774bcac1d8e1be6cb5cab8e1b0cb57fba3782dc0e8ec4f22b6b6 |
File details
Details for the file cloack-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: cloack-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.7.15 Linux/5.15.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b9c980a50eea34408b5364245effe22d2b6f3c7fed7028727c5022d194953b7 |
|
MD5 | 77c65b5fca75f590c0a3c99aa27494b0 |
|
BLAKE2b-256 | 698898cb1949d84bd54b67ef760015eb474a3663220834ef6d1cb0d4082ad65e |