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.1.11.tar.gz (734.3 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.1.11-py3-none-any.whl (832.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyrandyos-1.1.11.tar.gz
Algorithm Hash digest
SHA256 6df734373d5748b15383773b6d199cbab9b307a812822ff1b5c3e71a440b3f65
MD5 b91336e69b0d710001f50f76a10490b4
BLAKE2b-256 b463c9c8f4713cf0c5f18646034f76d23c326e7210cf7600ab2ca06b627b01ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrandyos-1.1.11.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.1.11-py3-none-any.whl.

File metadata

  • Download URL: pyrandyos-1.1.11-py3-none-any.whl
  • Upload date:
  • Size: 832.2 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.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 0446e19026343d34f9dd8421b570714ed5473e222e28e61f4d2dbb3e90b025e0
MD5 90cf631506b4b48a0110e2fb712bef8c
BLAKE2b-256 7269cdc279832e3d21da64cccea55c9a2ac3b6f27a066b95bccb6a4245d6cc24

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrandyos-1.1.11-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