spssimage
A lightweight Python library for creating and manipulating images, including generating star maps with dynamic effects like twinkling stars and gradients.
Features
- Create static images with shapes, gradients, and colors.
- Generate animations (e.g., twinkling stars) and export them as GIFs.
- Apply radial gradients to simulate gas clouds.
- Lightweight and independent of external libraries like OpenCV or Pillow.
Installation
Install the library using pip:
pip install spssimage
USAGE: from spssimage.core import Canvas
Create a canvas
canvas = Canvas(100, 100, background=(0, 0, 0))
Define pixel positions for twinkling
pixel_positions = [(20, 20), (50, 50), (80, 80)]
Define the base color of the twinkling pixels
base_color = (255, 255, 255)
Save the twinkling pixels as a GIF
canvas.save_gif(pixel_positions, base_color, "twinkling_pixels.gif", frames=30, duration=100, loop=0)
2. Prepare for Deployment
Build the Package
Run the following commands to build the package:
# Ensure your virtual environment is active
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install build tools
pip install --upgrade build twine
# Build the package
python -m build
Metadata
Release files for spssimage 0.1.5
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 |
|---|---|---|---|---|
| spssimage-0.1.5.tar.gz | 4.1 kB | Without provenance | Details for spssimage-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spssimage-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for spssimage-0.1.5-py3-none-any.whl |
Total release size: 8.5 kB
Release files / spssimage-0.1.5.tar.gz
| Download URL | spssimage-0.1.5.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db06f8e0a2bc5f00e54f5ab079733a64d1abdacb638e443d94c866d52bb701e5
|
|
BLAKE2b-256 checksum How to use checksums |
a8799359dce7fb48c0ad162ae5ffe5bd7a7966a9833a1c63d0e7d68ea73c44cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.12
|
Release files / spssimage-0.1.5-py3-none-any.whl
| Download URL | spssimage-0.1.5-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94db95f9ce9782da393a55b542fe91b7cc974bd2b98a4c656f4f847f0c57918b
|
|
BLAKE2b-256 checksum How to use checksums |
1923089014ce27e750e6e9316063c0505073c6958e52550988fc071712184df2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.12
|
Security for spssimage 0.1.5
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.