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

Uploaded Python 3

File details

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

File metadata

  • Download URL: my_numpy-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 089d9acdd54fef2e9548e3af19419b9c42f6da2f3543db2b91245801dbb9d655
MD5 d91224c56eb43b8c8644485a5da29337
BLAKE2b-256 cf30179a18c4b381a06f97130da0ec175c5b54470fb07b80e1503bafbd4ea24e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: my_numpy-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b69977cbe6f3f2e979f5ab97844a8f7d84e697a3ca75a764f99761fdbe13f0e3
MD5 6b3a2e85053fe61a84bf2a50a3b51727
BLAKE2b-256 57193da3023d63f9914ca92fbac2acb4ffab970f5a0d5d2744937809593a3c9b

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