pyscaffoldext-custom-extension
PyScaffold extension that lets you create your own custom extensions.
Description
This extension serves as a support for the users interested in developing their own extension for PyScaffold. It configures your project so that you can start writing your extension logic and tests right away, taking care of all the wiring required to conform to PyScaffold’s needs.
Let’s say you want to create an extension named notebooks that creates a notebooks folder with some template Jupyter notebook. After having installed this extension with:
pip install pyscaffoldext-custom-extension
you will be able to just use it with:
putup --custom-extension notebooks
This will create a typical PyScaffold project template with some modifications:
the topmost namespace will be pyscaffoldext to have a unified namespace for PyScaffold extensions,
assures that the package (as pip/PyPI sees it) is named pyscaffoldext-notebooks in setup.cfg,
sets the correct install_requires as well as the options.entry_points parameters in setup.cfg,
automatically activates the extensions --no-skeleton, --pre-commit, --cirrus and since we want clean-coded, high-quality extensions,
creates a extension.py module holding a class which serves you as a template for your extension,
adds basic unit tests checking that the invocation of your extension works and that it complies with our flake8 code guidelines,
provides a modified README.rst indicating that this is a PyScaffold extensions and how to install it.
Making Changes & Contributing
This project uses pre-commit, please make sure to install it before making any changes:
pip install pre-commit cd pyscaffoldext-custom-extension pre-commit install
It is a good idea to update the hooks to the latest version:
pre-commit autoupdate
Please also check PyScaffold’s contribution guidelines,
Note
For more information about PyScaffold and its extension mechanism, check out https://pyscaffold.org/.
Metadata
Release files for pyscaffoldext-custom-extension 0.6.3
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 | |
|---|---|---|---|---|
| pyscaffoldext-custom-extension-0.6.3.tar.gz | 25.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyscaffoldext_custom_extension-0.6.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 39.5 kB
Release files / pyscaffoldext-custom-extension-0.6.3.tar.gz
| Download URL | pyscaffoldext-custom-extension-0.6.3.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c47b4a36a2d209395b6d7b9b0037cb6230f7ff9dd67cceb9ad1ba1f51b3278de
|
|
BLAKE2b-256 checksum How to use checksums |
ceb74f7867835979e1a572ce415ea67738ec1da1521c178079902a2b1dd21bf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
|
Release files / pyscaffoldext_custom_extension-0.6.3-py2.py3-none-any.whl
| Download URL | pyscaffoldext_custom_extension-0.6.3-py2.py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
aee5b5c0ecec9e7b4c0b9c394929e595691c857baeccb1f2bd101093046eaaa8
|
|
BLAKE2b-256 checksum How to use checksums |
f1ea4de43ca444eec6695e7675c4bba42457111231c408576e9119f36a5c643b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
|
Security for pyscaffoldext-custom-extension 0.6.3
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.