Skip to main content

PyScaffold extension to create a custom PyScaffold extension

Project description

Travis ReadTheDocs Coveralls PyPI-Server

pyscaffoldext-custom-extension

PyScaffold extension that let’s 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 project is named pyscaffoldext-notebooks in setup.cfg,

  • sets the correct setup_requires and install_requires as well as the options.entry_points parameters in setup.cfg,

  • automatically activates the extensions --no-skeleton, --pre-commit, --travis and --tox since we want clean-coded, high-quality extensions,

  • creates a extension.py module holding a class Notebooks 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.

Note

For more information about PyScaffold and its extension mechanism, check out http://pyscaffold.org/.

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

pyscaffoldext-custom-extension-0.6a1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

pyscaffoldext_custom_extension-0.6a1-py2.py3-none-any.whl (13.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyscaffoldext-custom-extension-0.6a1.tar.gz.

File metadata

  • Download URL: pyscaffoldext-custom-extension-0.6a1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyscaffoldext-custom-extension-0.6a1.tar.gz
Algorithm Hash digest
SHA256 fcac25acec1f8b95e7adaa91f8963d0b36233e11686accd8334699630df3ed1d
MD5 f66cb594e29ad276c2d2b6a7dd5fa85b
BLAKE2b-256 226efde08c5906deb2e2f7c11c48d58253196f7fdd99f0b5e4b29ee01245d45c

See more details on using hashes here.

File details

Details for the file pyscaffoldext_custom_extension-0.6a1-py2.py3-none-any.whl.

File metadata

  • Download URL: pyscaffoldext_custom_extension-0.6a1-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for pyscaffoldext_custom_extension-0.6a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 825b30e896991f9bf8143c5c94dedee56604d5dd74135425a78f7984b9388f9b
MD5 c0a1cf4b81400453d8672839a308b9f2
BLAKE2b-256 149ab88f8cce3fd5d77c6f6d3b0079ab869c7c1d189c10554a030b6e8a2b9278

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page