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.3.tar.gz (5.7 MB 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.3-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyrandyos-1.2.3.tar.gz
Algorithm Hash digest
SHA256 19a133c1d62a67ec6c159883bf8a913b28a643cf4894a3c67fe6582e581bb4d3
MD5 0cbe15f1e1521aa0c1ce30e30d67ec87
BLAKE2b-256 39479e957355557ea421567ad25b417b041eb24c29c969ef7b92769123aa8fc7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyrandyos-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 MB
  • 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7da8ec638f6db63db20ad8369eb35b6867addbec8c18a8ce1ec21124911a312b
MD5 cbff509c34b37aa764d860b72e4caee7
BLAKE2b-256 a9ca4950da4dd8b9c3e2376f2671593f9b6cfdb04c4115cb88f0d0973fb51cb5

See more details on using hashes here.

Provenance

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