A package that adds numbers together
Project description
pyospackage
What does pyospackage do?
pyospackage is a demonstration Python package that compliments the pyOpenSci beginner tutorial series on creating a Python package.
Table of Contents
How to install
You can install this package using either pip or conda-forge. We recommend that you create a new Python environment to work in when installing this package. Use whatever environment manager that you wish!
To install the package using pip:
pip install pyospackage
To install the package using conda-forge:
conda install -c conda-forge pyospackage
Get started using packagename
To use this package:
from pyospackage.add_numbers import add_num
a = add_num(1, 2)
print(a)
You can also add any links to this section to tutorials in your documentation.
Development
- TODO: link to development docs when they exist and move the text below to the docs.
Linting & Code Formatting
TODO: this will be added to the docs once they are created in a separate pr.
All linting and code formatting is implemented in this package using a combination of pre-commit hooks and Ruff. Ruff is a fast, rust-based linter and code formatter that covers functionality previously implemented by Black and isort (formatters that are commonly used in the Python ecosystem). Ruff simplifies your linting and code format setup but running all of the checks and fixes using a single tool. As such pyOpenSci encourages new projects to consider using Ruff.
Community
Information here about contributing to your package. links to your code of conduct and development guide.
How to cite pyospackage
To cite pyospackage please follow the citation instructions on Zenodo.
Leah Wasser. (2024). pyOpenSci/pyosPackage: v0.1 Test release (v0.1.0). Zenodo. https://doi.org/10.5281/zenodo.10594121
License
pyospackage
is distributed under the terms of the MIT license.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Alex Batisse 👀 |
This project follows the all-contributors specification. Contributions of any kind welcome!
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
Built Distribution
File details
Details for the file pyospackage-0.1.11.tar.gz
.
File metadata
- Download URL: pyospackage-0.1.11.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae7a8b193415cc7c487863c958d5a19ec5d369e1324321824a210741fdfd4dc |
|
MD5 | dda6a600ab96845d71aca74f5cd708c4 |
|
BLAKE2b-256 | b3c1ff979f8a94bfa05d9f5e0eab171e02011853d68292a0a80313b9375c2c8c |
File details
Details for the file pyospackage-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: pyospackage-0.1.11-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85093459941e76b8aaa956cc5f102e7bafbe0889ca639e821751c506717a819a |
|
MD5 | 79e688c3806066f5a627f558ab9abfd6 |
|
BLAKE2b-256 | 15ac6dde4073462b93679f4411c446de7e5b97d3e237eff6203828145493b1c0 |