Skip to main content

Prints an ASCII spaceship given an integer via flag '-length'

Project description

Contributors Forks Stargazers Issues MIT License


Luan Spaceship

A simple Python Command-Line Interface script that prints a variable-size spaceship!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Installation
  3. Usage
  4. License
  5. Contact
  6. Acknowledgments

About The Project

Product Name Screen Shot

Luanspaceship is a really simple Command-Line Interface written in Python3 that prints an ASCII spaceship in function of a length given via flag. Aditionally, output can be copied into clipboard, change colors of spaceship printed (only for console visual purposes) and a couple of others functions.

This is a little project written for Science & Commit // Workshop 2022.

(back to top)


This simple project needs a few Python3 packages to run properly.


  • pip (if you have already installed pip you can ignore this subsection)

    If for some reason you have not installed pip with Python3 (which would be... weird) try this:


  • Option 1: pip install

     pip install luanspaceship
  • Option 2: Install manually

  1. Clone the repo

    git clone
  2. Ensure setuptools package is updated:

    python3 -m pip install --upgrade setuptools
  3. Install using

    python3 install

    This should also install all package-dependences and program should run without problems.

  4. (Optional to fix 'Module error') If for some reason when run the program in terminal Python returns a Module error due to some packages not being found, try this:

    • Ensure you are in the repo directory:

      cd /path/to/repo/LuanSpaceship

      Once there, simply run:

      pip install -r requirements.txt

      and try re-running command from Step 3.

(back to top)


First of all you can type in your terminal the following command:


If everything runs fine it should print an ASCII spaceship with length 5 (which is default value if -length flag is not provided).

For general purposes to print an ASCII spaceship of length <integer-number> we can simply run:

luanspaceship -length <integer-number>

Another example could be if you want to print an ASCII spaceship with length 8 and also want to copy the ASCII art result into your clipboard:

luanspaceship -length 8 -clipboard

You can also change color combinations using -colorstyle flag and/or adding some attributes/styles when being displayed with -style flag. For example:

luanspaceship -colorstyle ocean -style blink

To check all flags and functions available I recommend check short help-page running:

luanspaceship -h

Product Name Gif

(back to top)


Distributed under the MIT License. Check LICENSE file for more information.

(back to top)


Francisco Carrasco Varela - email:

Project Link:

(back to top)


(back to top)

Project details

Download files

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

Source Distribution

luanspaceship-1.0.2.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

luanspaceship-1.0.2-py3-none-any.whl (10.2 kB view hashes)

Uploaded 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