Skip to main content

Basically pipes.sh but rewritten in Python

Project description

Pipes.py

A Python implementation of the classic pipes.sh. Watch colorful pipes grow and spread across your terminal in mesmerizing patterns.

Python License Version

Buy Me a Coffee Traktir Saya Kopi

Features

  • Multiple pipe styles (10 different types)
  • Customizable colors and animations
  • Adjustable speed and steadiness
  • Configuration saving
  • Bold and color options
  • Random start positions

Installation

Release

# Install using pipx
pipx install pipes-py

Build from Source

# Clone the repository
git clone https://github.com/elliottophellia/pipes.py

# Change directory
cd pipes.py

# Build the package
poetry build

# Install the package
pipx install dist/pipes_py-1.0.0.tar.gz

Usage

pipes-py

Command Line Options

  • -p, --pipes N: Set number of pipes (default: 1)
  • -f, --fps N: Set frames per second (20-100, default: 75)
  • -s, --steady N: Set steadiness (5-15, default: 13)
  • -r, --limit N: Set character limit before reset
  • -R, --random: Enable random start positions
  • -B, --no-bold: Disable bold characters
  • -C, --no-color: Disable colors
  • -P N, --pipe-style N: Set pipe style (0-9)
  • -K, --keep-style: Keep pipe style when wrapping
  • -S, --save-config: Save current settings as default
  • -v, --version: Show version information

Configuration

The program stores its configuration in ~/.config/pipes-py/config.json. You can modify this file directly or use the -S option to save your current settings.

Default configuration:

{
  "pipes": 1,
  "fps": 75,
  "steady": 13,
  "limit": 2000,
  "random_start": false,
  "bold": true,
  "color": true,
  "keep_style": false,
  "colors": [1, 2, 3, 4, 5, 6, 7, 0],
  "pipe_types": [0]
}

License

This project is licensed under the Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.0). For more information, please refer to the LICENSE file included in this repository.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

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

pipes_py-1.0.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipes_py-1.0.0-py2.py3-none-any.whl (12.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pipes_py-1.0.0.tar.gz.

File metadata

  • Download URL: pipes_py-1.0.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure

File hashes

Hashes for pipes_py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ab6184734f0c345c6763bda77a63bc4a7a7dc4fe9b828663fcaf93ac0e19a8a9
MD5 582b0c5aadc3b93c1c14ddaddd5ba4d6
BLAKE2b-256 531f76e21cbc09d5d2e2436fedfeafca0726452ff8e1429b88bf9379773fe82f

See more details on using hashes here.

File details

Details for the file pipes_py-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pipes_py-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure

File hashes

Hashes for pipes_py-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7b750d8cc7af2045b962d561e882c9f94d0ae86c15c6b8457797d4411ab84e3e
MD5 bbbf077d3d7146ea213d23181544ac4e
BLAKE2b-256 04961d42d8d6b95da954b774c7a92c9e50ed22a44f842b67c0d8db161a79b36d

See more details on using hashes here.

Supported by

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