Skip to main content

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)

Source distribution for spssstar 0.1.3
File Size Uploaded
spssstar-0.1.3.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spssstar 0.1.3
File Interpreter ABI Platform
spssstar-0.1.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

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