python-package-guide
Python packaging made simple. Recommendations & guidance curated by the pyOpenSci community
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.3%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Python packaging made simple. Recommendations & guidance curated by the pyOpenSci community
Basic Info
- Host: GitHub
- Owner: pyOpenSci
- License: other
- Language: Python
- Default Branch: main
- Homepage: https://www.pyopensci.org/python-package-guide/
- Size: 210 MB
Statistics
- Stars: 131
- Watchers: 15
- Forks: 72
- Open Issues: 70
- Releases: 5
Topics
Metadata Files
README.md
pyOpenSci Python Packaging Guide and Tutorials
What is pyOpenSci?
pyOpenSci is devoted to building diverse, supportive community around the Python open source tools that drive open science. We do this through:
- open peer review
- mentorship
- training
pyOpenSci is an independent organization, fiscally sponsored by Community Initiatives.
Contributing statement
How to setup
This repository contains the source files for the pyOpenSci Python packaging guide.
Build the guidebook locally
Our guidebook is built with Sphinx which is a documentation tool and uses the pydata-sphinx-theme.
The easiest way to build our documentation is to use the nox automation tool,
a tool for quickly building environments and running
commands within them.
Using nox ensures that your environment has all the dependencies needed to build the documentation.
To build, follow these steps:
- Install
nox
console
$ python -m pip install nox
2. Build the documentation:
console
$ nox -s docs
This should create a local environment in a .nox folder, build the documentation (as specified in the noxfile.py configuration), and the output will be in _build/html.
To build live documentation that updates when you update local files, run the following command:
console
$ nox -s docs-live
Building for release
When building for release, the docs are built multiple times for each translation, but translations are only included in the production version of the guide after some completion threshold.
The sphinx build environment is controlled by an environment variable SPHINX_ENV
- when
SPHINX_ENV=development(default), sphinx assumes all languages are built, and includes them in the language selector - when
SPHINX_ENV=production, only those languages inrelease_languages(set inconf.py) are built and included in the language selector.
Most of the time you should not need to set SPHINX_ENV,
as it is forced by the primary nox sessions intended to be used for release or development:
SPHINX_ENV=development
- docs-live - autobuild english
- docs-live-lang - autobuild a single language
- docs-live-langs - autobuild all languages
SPHINX_ENV=production
- build-test - build all languages for production
Contributing to this guide
We welcome and issues and pull requests to improve the content of this guide. If you'd like to see an improvement, please open an issue.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Star History
Owner
- Name: pyOpenSci
- Login: pyOpenSci
- Kind: organization
- Website: www.pyopensci.org
- Twitter: pyOpenSci
- Repositories: 7
- Profile: https://github.com/pyOpenSci
We build diverse community around the tools that drive open science through open peer review, mentorship and training.
GitHub Events
Total
- Issues event: 51
- Watch event: 29
- Delete event: 53
- Issue comment event: 342
- Push event: 381
- Pull request review comment event: 153
- Pull request review event: 193
- Pull request event: 195
- Fork event: 19
- Create event: 58
Last Year
- Issues event: 51
- Watch event: 29
- Delete event: 53
- Issue comment event: 342
- Push event: 381
- Pull request review comment event: 153
- Pull request review event: 193
- Pull request event: 195
- Fork event: 19
- Create event: 58
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Leah Wasser | l****h@p****g | 307 |
| allcontributors[bot] | 4****] | 55 |
| pre-commit-ci[bot] | 6****] | 8 |
| Jeremy Paige | u****y@g****m | 7 |
| Daniel Possenriede | p****e@g****m | 4 |
| sneakers-the-rat | J****7@g****m | 4 |
| Batalex | a****e | 3 |
| Simon | 3****y | 3 |
| Alex Batisse | a****e@h****m | 2 |
| Henry Schreiner | H****I@g****m | 2 |
| ruoxi | r****e@l****n | 2 |
| Hugo van Kemenade | h****k | 2 |
| Filipe Fernandes | o****f@g****m | 2 |
| Matt Hall | k****s@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 122
- Total pull requests: 428
- Average time to close issues: 7 months
- Average time to close pull requests: 13 days
- Total issue authors: 32
- Total pull request authors: 52
- Average comments per issue: 2.07
- Average comments per pull request: 1.53
- Merged pull requests: 351
- Bot issues: 1
- Bot pull requests: 132
Past Year
- Issues: 34
- Pull requests: 106
- Average time to close issues: 19 days
- Average time to close pull requests: 7 days
- Issue authors: 11
- Pull request authors: 23
- Average comments per issue: 0.41
- Average comments per pull request: 1.39
- Merged pull requests: 83
- Bot issues: 0
- Bot pull requests: 33
Top Authors
Issue Authors
- lwasser (58)
- tkoyama010 (8)
- zackw (7)
- ucodery (7)
- flpm (5)
- sneakers-the-rat (3)
- BSuperbad (3)
- pb-413 (3)
- NickleDave (3)
- kwinkunks (2)
- willingc (2)
- yardasol (1)
- yang-ruoxi (1)
- hpodzorski-USGS (1)
- abravalheri (1)
Pull Request Authors
- lwasser (123)
- allcontributors[bot] (113)
- tkoyama010 (40)
- sneakers-the-rat (19)
- flpm (16)
- pre-commit-ci[bot] (16)
- RobPasMue (14)
- ucodery (8)
- ptressel (5)
- willingc (5)
- Tyler-Bonnell (4)
- pb-413 (3)
- dependabot[bot] (3)
- miguelalizo (3)
- hugovk (3)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- actions/upload-artifact v3 composite
- chabad360/htmlproofer master composite
- peaceiris/actions-gh-pages v3.8.0 composite
- furo *
- myst-nb *
- sphinx *
- sphinx-autobuild *
- sphinx-copybutton *
- sphinx-design *
- sphinx-inline-tabs *
- sphinx-sitemap *
- sphinxcontrib-gtagjs *
- sphinxext-opengraph *
- larsoner/circleci-artifacts-redirector-action master composite