Skip to main content

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.7+

How To Use

To use in your project, install pygemstones module:

python3 -m 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.

Buy me a coffee

Buy Me a Coffee at ko-fi.com

License

MIT

Copyright (c) 2021-2024, Paulo Coutinho

Metadata

Release files for pygemstones 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygemstones 0.0.14
File Size Uploaded
pygemstones-0.0.14.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygemstones 0.0.14
File Interpreter ABI Platform
pygemstones-0.0.14-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / pygemstones-0.0.14.tar.gz

Download URL pygemstones-0.0.14.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
00e1f1e63ea7a6925b7557fa2c112f344176f3a668c5e97c4c41a1a42e6e276a
BLAKE2b-256 checksum
How to use checksums
d73206d47ac95ea540f291ce27b5a826b31ecad2571320250418833a6af9a597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1019-azure

Release files / pygemstones-0.0.14-py3-none-any.whl

Download URL pygemstones-0.0.14-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fac8418d74cbd5ee1b976f6c0959e71d6882aedbd3adcf52e2905b0f405ad66a
BLAKE2b-256 checksum
How to use checksums
d20bdc1c248c787e306f6d96a326ac1e717b51be2666501b0356db8947190321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1019-azure

Release history Release notifications | RSS feed

This release

0.0.14 This release

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page