spssstar
A Python library for encoding session-specific data into star maps. This library generates star properties (positions, colors, twinkling patterns) based on unique session identifiers.
Features
- Encode session IDs into star positions, colors, and twinkling patterns.
- Embed blockchain hashes for tamper-proof validation.
- Generate reproducible but unique star maps.
- Lightweight and easy to integrate with rendering libraries like
spssimage.
Installation
Install the library using pip:
pip install spssstar
USAGE: from spssstar.core import StarEncoder
Initialize the encoder
encoder = StarEncoder(width=400, height=400)
Encode a session ID into a star map
star_map = encoder.encode_star_map("test-session", num_stars=10)
Export the star map for rendering
exported_data = star_map.export() print(exported_data)
Metadata
Release files for spssstar 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spssstar-0.1.3.tar.gz | 3.9 kB | Without provenance | Details for spssstar-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spssstar-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for spssstar-0.1.3-py3-none-any.whl |
Total release size: 8.2 kB
Release files / spssstar-0.1.3.tar.gz
| Download URL | spssstar-0.1.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
017b415b387a6212fb06584fc9ea2eb23923ec9cd9a50b1523876d5dba5c4966
|
|
BLAKE2b-256 checksum How to use checksums |
afa24bfc20115f8c4f58d44a60424d59298495ca88e9229f810644edbfb518b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.12
|
Release files / spssstar-0.1.3-py3-none-any.whl
| Download URL | spssstar-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1be91cb7be96a952a8541c1e69660da1f65bc6f0bc7dfd1b66914dc97f2ea6b0
|
|
BLAKE2b-256 checksum How to use checksums |
fa74d2903160cf5d128cfa865e0f35120319fa71a42076fc8b3b26e68896bb40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.12
|
Security for spssstar 0.1.3
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.