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.1.tar.gz (750.6 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.1-py3-none-any.whl (854.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrandyos-1.2.1.tar.gz
  • Upload date:
  • Size: 750.6 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.1.tar.gz
Algorithm Hash digest
SHA256 234cca2650ce33b0dc7b3af3bccc2f9bb65205f639b7fec89aa9c091d3192f9c
MD5 343c00f783c16b19c6d66169e14d79ae
BLAKE2b-256 b16a45bb8516f2277ac3f7d3031e67b6a0f1ca3623c283b6184829e73efd2a74

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyrandyos-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 854.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90dddc70e6edc03396d8e2767aa97c77e21c03d88f6ded36f4e7be11f11b9d4a
MD5 9df854d336f1d1a3e043ee1a9c3946b9
BLAKE2b-256 a8c034c77226c2fc6094e7a48b0817c34b0900718c025cfc864de0cee19d9b62

See more details on using hashes here.

Provenance

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