Skip to main content

Python package that group a lot of classes and functions that help software development.

Project description

PyGemstones Logo

Python Gemstones

Build Status Coverage Status

Python package that group a lot of classes and functions that help software development.


Requirements

Install

poetry install

How To Use

To use in your project, install pygemstones module:

pip install pygemstones

or:

poetry add pygemstones

And before call any pygemstones module, import system boostrap and call init method:

from pygemstones.system import bootstrap
bootstrap.init()

Tests

poetry run pytest

Coverage Tests

poetry run pytest --cov=pygemstones --cov-report=html tests

Note: see coverage report in htmlcov/index.html

Linters

To run all linters use:

poetry run black --check pygemstones/
poetry run black --check tests/
poetry run mypy --ignore-missing-imports pygemstones/
poetry run mypy --ignore-missing-imports tests/

Build and Publish

To build the package use:

poetry build

Get the token from your PyPI account with:

poetry config pypi-token.pypi [PyPI-Api-Access-Token]

And publish with:

poetry publish --build

Release

To create a release for Github Action publish steps create a tag and push. Example:

git tag v0.0.1
git push origin v0.0.1

After release action finish, publish the release on Github releases page and Github Action will run publish steps automatically.

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

pygemstones-0.0.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

pygemstones-0.0.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file pygemstones-0.0.1.tar.gz.

File metadata

  • Download URL: pygemstones-0.0.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.0 Linux/5.11.0-1021-azure

File hashes

Hashes for pygemstones-0.0.1.tar.gz
Algorithm Hash digest
SHA256 14b21a775b08e02f8640f6f53b06b82742c943988b00e0b479fa0ffbe520713c
MD5 d204f33c51f3e571214fceb53d34fcb0
BLAKE2b-256 57f480c4217c489f1d7ce5e4228bc3144a79fcd8be9338da5ca4ec26242e3762

See more details on using hashes here.

File details

Details for the file pygemstones-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pygemstones-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.10.0 Linux/5.11.0-1021-azure

File hashes

Hashes for pygemstones-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 827b796b282d1863d468508f427394cdfd9e4e71641c997106518bf6537b9d7d
MD5 1a19cf9ba1d40208b93975879a833486
BLAKE2b-256 d53f1a2ff50abd1af16ffcc41d67386c7b222f80af9f8d867fe5373ddae1f889

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