Common tools for our organization.
Project description
README.md
Base file using best practices
- pytest for testing
- precommit
- black formatting
- flake linting
- includes bandit for security scanning
- mypy - type testing
- mkdocs for automatic document preparation based on code
- nox for automatic testing and building (python version of tox)
- scriv for automatic changelog generation
Manual commands
- Build requirements.txt from poetry
poetry export -f requirements.txt > requirements.txt
- Build changelog data.
sciv create
- Edit file created.
edit changelog.d/AUTOGENERATEDFILENAME
add what you changed
- Collect the changelog to update CHANGELOG.rst
scriv collect
- Build package for upload to pypi.
- Get pypi authentication ready prior to publish
- Update version number in pyproject.toml prior to building
add env variables
put secret in env variables with
$POETRY_HTTP_BASIC_PYPI_TOKEN
export POETRY_HTTP_BASIC_PYPI_TOKEN=PYPIAPIGOESHERE
poetry config pypi-token.pypi $POETRY_HTTP_BASIC_PYPI_TOKEN
poetry build
poetry publish
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
mctinctools-0.1.5.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file mctinctools-0.1.5.tar.gz
.
File metadata
- Download URL: mctinctools-0.1.5.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.4 Linux/5.15.0-41-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 430d64f03586ed3f2bbae56cc04a3d1ee2a11a48a13fde1807d3f121f73c7be3 |
|
MD5 | 021c8b55552c44e56d6e2025cfb1035d |
|
BLAKE2b-256 | 92043919032ad01d3ea833a2496a9ed4ba13571237d91a92d7a15f5e217aabfe |
File details
Details for the file mctinctools-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: mctinctools-0.1.5-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.10.4 Linux/5.15.0-41-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b02726cef91286e0f6af8797560d197d1ffc24191b52fd1782970a0ec69ef4a |
|
MD5 | 466381a1d322e8472f84f97816d31e73 |
|
BLAKE2b-256 | 25efcc257ba45f32149372f6e6a54a7595f92db08fd036a65115f784abac9915 |