Skip to main content

Library of common functions for Python applications

Project description

PyRandyOS

Library of common functions for Python applications

GitHub Badge CI Status last-commit PyPI Downloads

This library was created to assist with rapid prototyping of Qt GUIs and other common functionality Randy needs on a day-to-day basis.

Licenses

Icons

This repo uses icons taken from other open source icon font libraries. Links to their licensing info are maintained alongside the URLs for the icon fonts in pyrandyos/gui/icons/iconfont/sources.py, where the paths to the license files are with respect to the repo root at the given URL. The license files are also included in the corresponding asset directories with the font files.

Develop

Automatic versioning

If you need to test features that require a version number prior to creating a tag, you can override the automatic versioning by creating a Python module pyrandyos._version that exports __version__. When this file is absent or does not contain a __version__ attribute, it reverts to dynamic versioning. Note that hatchling build automatically generates the pyrandyos._version module when the package is built, so versions deployed to PyPI should have the hardcoded versions via these files. Similarly, though, if you are starting from a version of the package that has one of these hardcoded files, simply delete it to again go back to dynamic versioning.

Note that the dynamic versioning really only works when hatchling and hatch-vcs are installed. If either of these packages are not installed, it attempts to read the version from the installed package metadata. However, any value in pyrandyos._version.__version__ will always override both of these.

When a pull request is opened against the main branch, this will trigger a push to test.pypi.org. However, the GitHub Actions workflow is configured to publish only on pull_request, which checks out the git repo AFTER a temporary merge to main, so it has an extra merge commit in the history and increments the dev version by one when doing the Hatch build. This means that the dev version on test.pypi.org may be a different dev number than what appears in a local repo when running hatch version or otherwise getting the dynamic version from the package in Python.

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

pyrandyos-1.2.0.tar.gz (750.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrandyos-1.2.0-py3-none-any.whl (854.7 kB view details)

Uploaded Python 3

File details

Details for the file pyrandyos-1.2.0.tar.gz.

File metadata

  • Download URL: pyrandyos-1.2.0.tar.gz
  • Upload date:
  • Size: 750.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrandyos-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ea58ab5cec0eb09adee343aa2f01a0696f2afd0b241964cfcb740d9745f4808c
MD5 226d790d6f6af9dece96a6c16d95380d
BLAKE2b-256 ab0af2934f578f74842bdbe6d0a6710975a026913fc0c64d10ce54479a03718c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrandyos-1.2.0.tar.gz:

Publisher: publish.yml on emanspeaks/pyrandyos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrandyos-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyrandyos-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 854.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyrandyos-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 765695b1a023f080da704d19f48bf8435ff2432aa359e138ce34268b81ff1fd6
MD5 320689ad7546231f2b94e6af7a32d1ac
BLAKE2b-256 6f9d1941ff707b38d4bed4098c7ca23fecbd2a7e6ea435f793b09044cb30db78

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrandyos-1.2.0-py3-none-any.whl:

Publisher: publish.yml on emanspeaks/pyrandyos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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