Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

faker-starship is a provider of various starship data for the Faker Python package. faker-starship pulls randomly from a static library of thousands of fictional starship names, classes, and registry numbers spanning multiple sci-fi universes.

Installation

Install with pip (or pipenv):

pip install faker-starship

Usage

Python

Add the faker_starship.Provider to your faker.Faker instance:

import faker
import faker_starship
fake = faker.Faker()
fake.add_provider(faker_starship.Provider)

To get a starship name, class, or registry number from across the multiverse:

print(fake.starship_name())  # prints "Colonial One" or similar
print(fake.starship_class())  # prints "K't'inga" or similar
print(fake.starship_registry())  # prints "ECS-222" or similar

Or to limit to a specific source universe:

print(fake.starship_name("starwars"))  # prints "Millennium Falcon" or similar
print(fake.starship_class("eveonline"))  # prints "Nyx" or similar
print(fake.starship_registry("theorville"))  # prints "ECV-197" or similar

Command Line

faker starship_name -i faker_starship
faker starship_class -i faker_starship
faker starship_registry -i faker_starship

Additional Information

Release files for faker-starship 0.0.1a1

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

Built distribution (wheel)

Table of built distributions (wheels) for faker-starship 0.0.1a1
File Interpreter ABI Platform
faker_starship-0.0.1a1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / faker_starship-0.0.1a1-py2.py3-none-any.whl

Download URL faker_starship-0.0.1a1-py2.py3-none-any.whl
Size 30.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
02b40e432907e2be4a6efc2c8a228b3a958f2a6203f5c111f118733a98043b01
BLAKE2b-256 checksum
How to use checksums
307ba5e5e81afed1388a77aae8cf246f06043719e79d8329bd24eb308cfe3cda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.1a1 This release

1 release file

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