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

Installation

pip install dist/my_numpy-0.1.0.tar.gz

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.1.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.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: my_numpy-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cb515946f9a7b8a62dcd81b70063f01fd68c4c68f8e27b48ff0840638d3190b3
MD5 84b54095b9c133c6ef316972f5459595
BLAKE2b-256 75f7b8388c6aa9089357c81b4fb3f059769e8be2d3dbfe4aa48cfba8979fdd38

See more details on using hashes here.

File details

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

File metadata

  • Download URL: my_numpy-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c6f4a2794532a73c710528baac39939766f240f91a69d8503a2c44c93c624be
MD5 f3189efc024b0d7d217593a27ded87f7
BLAKE2b-256 f5f98ae79d3035efda69efb56062eca1b9e37b47fe903cd60d5cf3b3add904c8

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