Skip to main content

CLI tool for generating log lines with customizable templates

Project description

PyPI version CodeQL Lint & Format Tests

Line Generator

This is a template-based synthetic string data generator.

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}, welcome to {city}!" --count 3

output:

Hello, Timothy Lozano, welcome to North Lindaberg!
Hello, Joshua Williams, welcome to New Darrylshire!
Hello, Cody Smith, welcome 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.0.2b0.tar.gz (6.6 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.0.2b0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for linegenerator-0.0.2b0.tar.gz
Algorithm Hash digest
SHA256 8c0e91df3fa317a90ba50ae61d5cf8d89c7dfb7cf8afd224280f4c8d4c41aa64
MD5 a65701f18db0eba435d373823f74c88c
BLAKE2b-256 e155d50fa5a7fc0aad84486c3ad431a11971060422c4a8c86fe4a2879c4d8df2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for linegenerator-0.0.2b0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e2fe6782abe2a7609c97fb1cb3d017e52ab41401e2637473a70639df0efb6f9
MD5 057da78f07941e2b9eca6551647b661e
BLAKE2b-256 265d1f6758ec681c2d11766d7f0aac7a944c4cb3cc3c0d5f729f0e0f374f8b01

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