Skip to main content

Planet Generator - Python SDK

Planet API is a 2D planet sprite generator. Our internal process procedurally generate surfaces, map them to a true sphere, to finally render a planet at 1080x1080 with transparent background. This SDK facilitate the interaction with the API and implement masks features to add lighting and solar effect to the planets.

This API currently under development. During this phase, it can be accessed for free. See here how to get your key.

Installation

  pip install planet-generator-sdk

Quickstart

Generate a 2D planet sprite with masks:

from planet_generator import Client

# Create a Planet API client
planet_api = Client.from_api_key(
    api_key="YOUR API KEY HERE"
)

# Generate a new planet
planet = planet_api.get_planet()
sprite = planet.sprite.get_image(apply_masks=True)

sprite  # Contains the 2D planet sprite

Metadata

Release files for planet-generator-sdk 0.1.2

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

Source distribution (sdist)

Source distribution for planet-generator-sdk 0.1.2
File Size Uploaded Provenance Actions
planet-generator-sdk-0.1.2.tar.gz 4.4 kB Without provenance Details for planet-generator-sdk-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for planet-generator-sdk 0.1.2
File Interpreter ABI Platform Actions
planet_generator_sdk-0.1.2-py3-none-any.whl Python 3 none any Details for planet_generator_sdk-0.1.2-py3-none-any.whl

Total release size: 10.2 kB

Release files / planet-generator-sdk-0.1.2.tar.gz

Download URL planet-generator-sdk-0.1.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ab10915f886a0c59ae26db582b44fbc621bff73a342a60591ea752bf4ff48385
BLAKE2b-256 checksum
How to use checksums
35a9d725df4ae04d34f11a13986d11e82819fa80a1aefd3de7601543fb42c211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.11

Release files / planet_generator_sdk-0.1.2-py3-none-any.whl

Download URL planet_generator_sdk-0.1.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
610de3beb968baf9134773585a3c67b76c93c60baf96d3331fc3b964766eec2c
BLAKE2b-256 checksum
How to use checksums
884349c76bbbaef0cacdf50352d6be12b08dd3076b8dd0805f2809adb02a3fec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.11

Security for planet-generator-sdk 0.1.2

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.

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