Skip to main content

status-symbol

A generic status check for pypi versioning

Installation

pip install status-symbol

Usage

The most basic usage is simply:

import status_symbol as ss

update_available, versions = ss.pypi_version_check('PACKAGE_NAME')
if update_available:
    ss.emit_update_warning('PACKAGE_NAME', versions)

Disabling update warnings

It is possible to disable update checks for packages like so:

ss.configuration.disable_version_check('PACKAGE_NAME')

One can check for disabled packages as well:

ss.configuration.is_disabled('PACKAGE_NAME')

So doing a check and enitting as warning looks like:

disabled = ss.configuration.is_disabled('PACKAGE_NAME')
if not disabled:
    update_available, versions = ss.pypi_version_check('PACKAGE_NAME')
    ss.emit_update_warning('PACKAGE_NAME', versions) if update_available else None

Metadata

Release files for status-symbol 1.0.1

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

Source distribution (sdist)

Source distribution for status-symbol 1.0.1
File Size Uploaded Provenance
status_symbol-1.0.1.tar.gz 9.2 kB Without provenance Details

Release files / status_symbol-1.0.1.tar.gz

Download URL status_symbol-1.0.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
06681e05e116152ea60e01bc83cdf3981a9a884dc10987defc847792c7076b09
BLAKE2b-256 checksum
How to use checksums
779fc0372a10e1e1663823c1989187031c16dc1774e8a130660a5df9b8e5f0c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for status-symbol 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

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