Skip to main content

No project description provided

Project description

my-numpy

This is a simple numpy implementation for educational purposes. This demonstrates the use of python ecosystem Poetry, Pytest.

Following features are demonstrated in this project:

  • Creating a package using Poetry
  • Writing tests using Pytest
  • Calculating code coverage using Pytest
  • Creating a simple numpy stats package
  • Linting and formating
  • Packaging the package using Poetry
  • Use of GitHub Actions for packaging
  • Installing the package using pip

Author

Installation

poetry install

Quality

Check for code formatting issues using flake8

poetry run flake8 my_numpy

Fix code formatting issues using black

poetry run black my_numpy

Testing

poetry run pytest

Code coverage

poetry run pytest --cov=my_numpy --cov-report=term-missing

HTML report

poetry run pytest --cov=my_numpy --cov-report=html

Packaging

poetry build
pip install dist/my_numpy-0.1.0.tar.gz

Publishing

poetry version patch
poetry publish

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

my_numpy-0.1.2.tar.gz (1.3 kB view details)

Uploaded Source

Built Distribution

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

my_numpy-0.1.2-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file my_numpy-0.1.2.tar.gz.

File metadata

  • Download URL: my_numpy-0.1.2.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Linux/6.5.0-1025-azure

File hashes

Hashes for my_numpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e4b8a235e5d4fc7fee414ef8f29a32b58ccfc9d39585faed6c3793756bb4caa2
MD5 e5062102c817d254686266444759e2ec
BLAKE2b-256 f5e773d891d4ff130414598d60bd0434af59afe50f11da84986892b03a05195d

See more details on using hashes here.

File details

Details for the file my_numpy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: my_numpy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Linux/6.5.0-1025-azure

File hashes

Hashes for my_numpy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1790ff194cbae8e48aa6892cea05d28fed2ebe597c9100b8dfc32d7debe2fae3
MD5 5ae879eead0a44d813dac024d4d4f1d5
BLAKE2b-256 a4255503cd1d520887dacd77c06982cf6e3464b77306ffc53e30c05c4fad0e01

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