Skip to main content

Provider of various starship data for the Faker Python package.

Project description

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.


Install with pip (or pipenv):

pip install faker-starship



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

import faker
import faker_starship
fake = faker.Faker()

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

faker_starship-0.0.1a1-py2.py3-none-any.whl (30.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page