Skip to main content

CLI tool for generating log lines with customizable templates

Project description

Line Generator

This is a simple string line generator based on templates for generating logs, testing your scripts and algorithms or other stuff if you need.

Install

pip install linegenerator

After install

Show commands:

linegenerator-cli --help

Show available default generators:

linegenerator-cli --help-generators

Install autocompletion:

linegenerator-cli --install-completion

Show autocompletion script:

linegenerator-cli --show-completion

Examples:

linegenerator-cli --template "Hello, {name}, wellcom to {city}!" --count 10

output:

Hello, Timothy Lozano, wellcom to North Lindaberg!
Hello, Joshua Williams, wellcom to New Darrylshire!
Hello, Cody Smith, wellcom to East Kimberlyton!

License

MIT License

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

linegenerator-0.1.1b0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

linegenerator-0.1.1b0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file linegenerator-0.1.1b0.tar.gz.

File metadata

  • Download URL: linegenerator-0.1.1b0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for linegenerator-0.1.1b0.tar.gz
Algorithm Hash digest
SHA256 8ec2ea9d11147e88cf8aac58b85888a77f0aeaa24fd13841d540a187cdb47ebc
MD5 64806862b3fc624f28133f25f252bcff
BLAKE2b-256 5eab836c80d27da5deb7a916a4d69b842c20efac684a23b182938936e84b9c67

See more details on using hashes here.

File details

Details for the file linegenerator-0.1.1b0-py3-none-any.whl.

File metadata

File hashes

Hashes for linegenerator-0.1.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 801378da4766ac892716c707155d5b2fc684596a4dfcf62d67c68254ab9ea7d9
MD5 272a55ebea5923a7db852abec1bc349c
BLAKE2b-256 0fc644e8b91abb252ca25f35a06bfe1eddfb6e1059d811439ea013d302806865

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