Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chicolucio/terminal-christmas-tree
A simple terminal Christmas tree made with Python
https://github.com/chicolucio/terminal-christmas-tree
christmas christmas-lights christmas-tree cli cli-app terminal terminal-app
Last synced: about 2 months ago
JSON representation
A simple terminal Christmas tree made with Python
- Host: GitHub
- URL: https://github.com/chicolucio/terminal-christmas-tree
- Owner: chicolucio
- License: mit
- Created: 2020-12-24T12:26:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-28T10:31:18.000Z (about 3 years ago)
- Last Synced: 2024-05-01T16:00:34.080Z (8 months ago)
- Topics: christmas, christmas-lights, christmas-tree, cli, cli-app, terminal, terminal-app
- Language: Python
- Homepage:
- Size: 33.2 KB
- Stars: 72
- Watchers: 4
- Forks: 23
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Christmas Tree
![tree gif](tree.gif)
A simple CLI Christmas tree made with Python
## Installation
Just clone the repository and run
```
$ python terminal_tree.py
```More options below.
## Usage
The script name is `terminal_tree.py` and it accepts the following syntax according to its `--help`:
```
$ python terminal_tree.py -husage: Python Christmas Tree by Chico Lucio from Ciencia Programada
[-h] [-s SIZE] [-w WIDTH] [-t]optional arguments:
-h, --help show this help message and exit
-s SIZE, --size SIZE Tree height. If even it will be subtracted 1. If less
than 7, considered 5. Default: 13
-w WIDTH, --width WIDTH
Screen width. Used to center the tree. Default: 80
-t, --terminal Uses the terminal size to center the tree. -s and -w
will be ignoredCtrl-C interrupts the Christmas :-(
```## Contributing
All contributions are welcome.
**Issues**
Feel free to submit issues regarding:
- recommendations
- more examples for the README
- enhancement requests and new useful features
- code bugs**Pull requests**
- before starting to work on your pull request, please submit an issue first
- fork the repo
- clone the project to your own machine
- commit changes to your own branch
- push your work back up to your fork
- submit a pull request so that your changes can be reviewed## License
MIT, see [LICENSE](LICENSE)
## Citing
If you use *terminal-christmas-tree*, please consider citing as
F. L. S. Bustamante, *terminal-christmas-tree*, 2020 - Available at: https://github.com/chicolucio/terminal-christmas-tree