Skip to main content

templatepy

Project description

DOI

templatepy

Template repo for python repositories & PyPi integration

Usage & file overview

  • setup.py: to install the package with pip, lists dependencies in install_requires keyword.

    • Install development version for features below with pip install -e package[dev] to select extras_require packages as well
  • .pre-commit-config.yaml: use pre-commit to run code formatting (e.g. with black and flake8) and PEP compliance checks

    • Install pre-commit hook with pre-commit install (Note: only installs it in the current virtual environment)
  • .toml: config for black code formatter (see above)

  • setup.cfg: config for bump2version and flake8 formatting (see pre-commit)

  • MANIFEST.in: description to select included files and directories for installation (see here for details)

  • LICENSE: legal info about sharing and using of this code

  • README.md: markdown readme file

  • .github: folder that contains github automation workflows and issues templates

  • .gitignore: ignored files/folders in git tools

  • package: placeholder folder for any python package that is configured for install via setup.py

TODO for adapting template to new project

  • Change package name: (1) package folder, (2) README.md, (3) name argument in setup.py, (4) .github/workflows files, (5) setup.cfg: [bumpversion:file:PACKAGEFOLDER/__init__.py]
  • Change details about project author, etc. in setup.py, README.md, and package/__init__.py
  • Change license holder in LICENSE
  • Verify inclusions/exclusions of installable files/folders in MANIFEST.in
  • Check .gitignore contains relevant criteria
  • Add all locations to setup.cfg that will contain the version string. Use same syntax as for [bumpversion:file:PACKAGEFOLDER/__init__.py] line to describe how to find version on version increment

License

This software is released under the BSD 3-Clause License

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

templatepy-0.0.0.dev1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

templatepy-0.0.0.dev1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file templatepy-0.0.0.dev1.tar.gz.

File metadata

  • Download URL: templatepy-0.0.0.dev1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for templatepy-0.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 c420c56222142c8e456586c990daa57622658b892e220aecba63fbdb5115a831
MD5 66d7d615efb5b8cdde02e69198afe691
BLAKE2b-256 4a394638226f8610ea01d815afaff638dd2c32d33cfefab25fd6fd3e2055fc76

See more details on using hashes here.

File details

Details for the file templatepy-0.0.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: templatepy-0.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for templatepy-0.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 94b4d9051661f46bd4285c1d04b421a72aba59b2fb7c5630df82d78b7ac30eb6
MD5 0ed4276b6f3cef3f5406b5f98d18996f
BLAKE2b-256 0f54a9b41d7c26fce697baf8f4568b861ba5e5848b538914b86dad49564b57ac

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