Skip to main content

A package that adds numbers together

Project description

pyOpenSci Demo Python Package -- pyospackage

All Contributors

PyPI - Version PyPI - Python Version

DOI

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

👀
Jonny Saunders
Jonny Saunders

💻 👀
Sarah Kaiser
Sarah Kaiser

💻 👀

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.2.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyospackage-0.2.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyospackage-0.2.tar.gz
Algorithm Hash digest
SHA256 dd46b78c1ccd8a5affcf8b6e64000e9cd101c40be6562d48a39aa3f10d83d684
MD5 7ad1c5affab1ca85bb11bec369515412
BLAKE2b-256 74a86b8cdc599f60e2dfa184476ae0e5ef6a7f5a33465d855973c25168b1b7e2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyospackage-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 51eae7ea26d5490b57ac15aea55b453a087694bdd81aae502d6c32f5d5ebbe68
MD5 1a7443af03a94dbbccecdbbbe460219e
BLAKE2b-256 3208103e0ec6b4b9717cf85b70cb6cfd431862024db0ebba1a81b2e84c728024

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