monty
In what follows python is an alias for python3.6 or pypy3.6
or any later version (python3.7, pypy3.7 and so on).
Installation
Install the latest pip & setuptools packages versions
python -m pip install --upgrade pip setuptools
User
Download and install the latest stable version from PyPI repository
python -m pip install --upgrade monty
Developer
Download the latest version from GitHub repository
git clone https://github.com/lycantropos/monty.git
cd monty
Install dependencies
python -m pip install -r requirements.txt
Install
python setup.py install
Usage
After updating setting.yml with related information
monty -o output lycantropos/monty-cpython-pypy-template
All available options can be obtained with
monty --help
Development
Bumping version
Preparation
Install bump2version.
Pre-release
Choose which version number category to bump following semver specification.
Test bumping version
bump2version --dry-run --verbose $CATEGORY
where $CATEGORY is the target version number category name, possible
values are patch/minor/major.
Bump version
bump2version --verbose $CATEGORY
This will set version to major.minor.patch-alpha.
Release
Test bumping version
bump2version --dry-run --verbose release
Bump version
bump2version --verbose release
This will set version to major.minor.patch.
Running tests
Install dependencies
python -m pip install -r requirements-tests.txt
Plain
pytest
Inside Docker container:
- with
CPythondocker-compose --file docker-compose.cpython.yml up
- with
PyPydocker-compose --file docker-compose.pypy.yml up
Bash script:
-
with
CPython./run-tests.sh
or
./run-tests.sh cpython -
with
PyPy./run-tests.sh pypy
PowerShell script:
- with
CPython.\run-tests.ps1
or.\run-tests.ps1 cpython
- with
PyPy.\run-tests.ps1 pypy
Metadata
Release files for montemplate 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| montemplate-3.0.0.tar.gz | 7.8 kB | Without provenance | Details for montemplate-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| montemplate-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for montemplate-3.0.0-py3-none-any.whl |
Total release size: 15.8 kB
Release files / montemplate-3.0.0.tar.gz
| Download URL | montemplate-3.0.0.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0342c58075c8d51cc02fe3dde73adeb181813f8b882bcc4680cd31bb9483177
|
|
BLAKE2b-256 checksum How to use checksums |
9b9abd6c8d2b200574c0cb7a1e6add6370c865adc309ca4990567e1deefc9541
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / montemplate-3.0.0-py3-none-any.whl
| Download URL | montemplate-3.0.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c71d5443073d4300b249f2ab83063493179d4ddef42f13acf632e61f8e9dffa6
|
|
BLAKE2b-256 checksum How to use checksums |
498e163701816c5d7376dd865df5a637c8477b70f0f67e6eb2af636c48e9e52c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for montemplate 3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.