Skip to main content

Calulator demo pybind11

Project description

Informational Badges:

PyPI version PyPy PyPI - Python Version Tests Linux macOS Intel macOS ARM

Some Linting Badges (Where I could find them):

Ruff Code style: black Checked with mypy Imports: isort Pylint try/except style: tryceratops

calculator_pkg_abhinav_jmf

If you like the repo, it would be awesome if you could add a star to it! It really helps out the visibility. Also for any questions at all we'd love to hear from you at abhinav.swaminathan@uconn.edu

Package Description

Calculator stuff that demos pybind11

Usage

from a script:

from calculator_pkg_abhinav_jmf import FileCalculator

print(FileCalculator().sum_file())

Installation

Install python and pip if you have not already.

Then run:

pip3 install pip --upgrade
pip3 install wheel

For production:

pip3 install calculator_pkg_abhinav_jmf

This will install the package and all of it's python dependencies.

If you want to install the project for development:

git clone https://github.com/AbhiSwamiUConn/calculator_pkg_abhinav_jmf.git
cd calculator_pkg_abhinav_jmf
pip3 install -e .[test]
pre-commit install

To test the development package: Testing

Testing

To test the package after installation:

cd calculator_pkg_abhinav_jmf
pytest calculator_pkg_abhinav_jmf
ruff check calculator_pkg_abhinav_jmf
ruff format calculator_pkg_abhinav_jmf
mypy calculator_pkg_abhinav_jmf

If you want to run it across multiple environments, and have python 3.10 and 3.11 installed:

cd calculator_pkg_abhinav_jmf
tox --skip-missing-interpreters

Development/Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Test it
  4. Run tox
  5. Commit your changes: git commit -am 'Add some feature'
  6. Push to the branch: git push origin my-new-feature
  7. Ensure github actions are passing tests
  8. Email me at abhinav.swaminathan@uconn.edu if it's been a while and I haven't seen it

NOTE: all contributions from other contributors are listed under the existing license for this repo unless stated otherwise, and by contributing to this repo you agree to those terms and conditions.

License

BSD License (see license file)

calculator_pkg_abhinav_jmf

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

calculator_pkg_abhinav_jmf-0.8.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

calculator_pkg_abhinav_jmf-0.8.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file calculator_pkg_abhinav_jmf-0.8.0.tar.gz.

File metadata

File hashes

Hashes for calculator_pkg_abhinav_jmf-0.8.0.tar.gz
Algorithm Hash digest
SHA256 9bdb17909f6bdc524b6a8be9729958d3510563aa6dbf5252cdef5e15fcc6c1e4
MD5 04446c79852c80e2a2e280cc9fae566f
BLAKE2b-256 99d97230fd36a7127dddc209e387e275486c68b2715b84ac18d09c6e6091b054

See more details on using hashes here.

File details

Details for the file calculator_pkg_abhinav_jmf-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for calculator_pkg_abhinav_jmf-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78c1b208e38c24e5e58dff483650396d180917bf98cc49449182a95911c050a8
MD5 7f67f6c3d597d9906f433339a6aa6efc
BLAKE2b-256 9aa1211f7f5a3e544154acd91b338a72df7c06eafa905f3aba8afe1e47d1023f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page