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

  • Python 3.6+

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()

Modules

There are several implemented modules for you to use:

  • io.file
  • io.net
  • io.pack
  • system.bootstrap
  • system.platform
  • system.runner
  • system.settings
  • type.list
  • type.string
  • util.log
  • vendor.aws

Development

These are the requirements for local development:

You can install locally:

poetry install

Or can build and generate a package:

poetry build

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

Set 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.11.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

pygemstones-0.0.11-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygemstones-0.0.11.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.13.0-1031-azure

File hashes

Hashes for pygemstones-0.0.11.tar.gz
Algorithm Hash digest
SHA256 841ce7b5e3ca55a635ab0484cca05d8bf7f838622f4ce250eb272d4e734f13cf
MD5 c11eda707aa5b902f60fe46929a1a8c7
BLAKE2b-256 8f449c4da25c66d5f68ab5f9acccf26fb101c596ea2bfea469347962b319c128

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygemstones-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.5 Linux/5.13.0-1031-azure

File hashes

Hashes for pygemstones-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6d3ef58267cf2f1835bd4d2362cdeedd2098113c2d2c9618b9af95e70b9c497a
MD5 216a775b40b5b67ca0b6870b34d85a15
BLAKE2b-256 69025a31ad5721a35bb1585fd9ade6e9ea2c46cef8732bc8ef22b2b2f8518649

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