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
- License: MIT
- Releases: https://pypi.org/project/faker-starship/
- Code: https://gitlab.com/infinitewarp/faker-starship
- Test status: https://gitlab.com/infinitewarp/faker-starship/pipelines/?scope=branches
- Test coverage: https://codecov.io/gl/infinitewarp/faker-starship/branch/master
Metadata
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| faker_starship-0.0.1a1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for faker_starship-0.0.1a1-py2.py3-none-any.whl |
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
|
Security for faker-starship 0.0.1a1
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.