Skip to main content

A package that adds numbers together

Project description

pyospackage

All Contributors

PyPI - Version PyPI - Python Version

DOI pyOpenSci

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

DOI

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
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

pyospackage-0.1.12.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

pyospackage-0.1.12-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pyospackage-0.1.12.tar.gz.

File metadata

  • Download URL: pyospackage-0.1.12.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyospackage-0.1.12.tar.gz
Algorithm Hash digest
SHA256 7b463f7b385613d4e63ce2efb47fd380f2f2fb8c3efb23d503beece5e507a946
MD5 a1f97a0bf2fe432bd8f1c574fd96396e
BLAKE2b-256 6aeb081f7875d723a0c0cee99d48be62059da279c56537213d8470c6593a4a71

See more details on using hashes here.

Provenance

File details

Details for the file pyospackage-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: pyospackage-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyospackage-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 14e076c558c90426a74d8618bdf2021a2206d90212ff85378c4bf5f05b5bbafd
MD5 b40c103e38a81011525e36094467a16d
BLAKE2b-256 4b741fc3ac1b4a4e67d50703ae169e61060e1b068566936ab60be8ee8e2cd551

See more details on using hashes here.

Provenance

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