No project description provided
Project description
connPFM
A template repo to use for new repositories.
Installation
git clone https://github.com/SPiN-Lab/connPFM.git
cd connPFM
pip3 install -e .[all]
Instructions
- Replace
connPFM
with the new repo name across the whole repository. - Enable the GitHub repository on Zenodo.
- Set up the GitHub repository on CircleCI.
- Set up the GitHub repository on ReadTheDocs.
- Make the first release on GitHub.
- The PyPi deployment Action will fail.
- Deploy to PyPi (instructions below based on this page):
pip install twine
python setup.py sdist bdist_wheel
- Upload to TestPyPi:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
- Enter TestPyPi username
- Enter TestPyPi password
- Upload to PyPi (if TestPyPi worked):
twine upload dist/*
- Enter PyPi username
- Enter PyPi password
- Future GitHub releases should now deploy to PyPi via the Action without issue.
- Update the Zenodo badge now that there's a real release.
- You must do this after deploying to PyPi because any new commits after the first release will change the versioneer-managed version string.
- Add all important CI steps to the branch protection rules for the
main
branch. - Add Integrations for the following:
- AllContributors
- Welcome
- CodeCov
- circleci-artifacts-redirector
- Release Drafter? Not sure if the Action can suitably replace the Integration.
Information about this configuration
Continuous integration via CircleCI
The default configuration uses CircleCI and make to manage testing.
After tests are run, code coverage information is pushed to CodeCov.
CircleCI will also build the documentation as part of CI, and an artifact redirector
(circleci-artifacts-redirector
) is necessary to view the rendered documentation from each PR easily.
Versioning with versioneer
Versioneer is used to automatically track and update version strings.
Linting with flake8, black, and isort
flake8, black, and isort are used to manage code style.
Reference management with duecredit
duecredit is used to build reference lists for the codebase. duecredit is included as a required dependency.
Documentation with Sphinx and ReadTheDocs
The package documentation is built with Sphinx and we assume that the documentation will be hosted by ReadTheDocs.
Deployment to PyPi
The package is designed to be pip installable and hosted on PyPi. New releases are pushed to PyPi automatically via a GitHub Action.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file connPFM-0.0.2.tar.gz
.
File metadata
- Download URL: connPFM-0.0.2.tar.gz
- Upload date:
- Size: 49.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3932cb5e9c9111ff0a9cafa2ca95ca1d751ad4c7c30698a3a428f676d5b5009 |
|
MD5 | 266703516e45f4f92f09fd457c7e7a69 |
|
BLAKE2b-256 | b488097cee1919dd2519f0f5114278bea4525babe1ed492eac0868eebaf7cb76 |
File details
Details for the file connPFM-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: connPFM-0.0.2-py3-none-any.whl
- Upload date:
- Size: 38.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdcb3ceb9a6e6a8c633dedcad095234c388f0bc84ce6b9600bfcef9b5e247816 |
|
MD5 | 777073d0a934deb073a98688e131f778 |
|
BLAKE2b-256 | 5414a3e4a1aa294b6e77933adc71745360b55ca4c1dec578dfeead56c3af2037 |