Skip to main content

A package for generating random comments based on category, language, and tone.

Project description

comments_generator

comments_generator is a lightweight Python package for generating random comments.
It can be used for social media testing, bots, or any scenario where you need randomized text snippets quickly.

Features

  • Generate random comments (one or more) from a predefined dataset.
  • Easily extendable with your own dataset.
  • Simple and beginner-friendly.

Installation

pip install comments_generator

Usage

refer to comments_generator\examples\example_usage_1.py for a usage example

Adding Your Own Comments

You can customize the comments dataset by editing the dataset.csv file located in comments_generator/data/.

Contributing

Contributions are welcome! If you want to add more features or improve the package:

  • Fork the repository

  • Create a feature branch (git checkout -b feature/new-feature)

  • Commit your changes (git commit -m 'Add new feature')

  • Push to the branch (git push origin feature/new-feature)

  • Open a Pull Request

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Contact

yara.gafar99@gmail.com

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

comments_generator-0.1.2.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

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

comments_generator-0.1.2-py3-none-any.whl (38.9 kB view details)

Uploaded Python 3

File details

Details for the file comments_generator-0.1.2.tar.gz.

File metadata

  • Download URL: comments_generator-0.1.2.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for comments_generator-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5263ecc11913dcafb2bb16f98bd156a054772bbbbe2376afa0a9e342681b9d13
MD5 ab7d6931867f9b816413574a971cbb63
BLAKE2b-256 e20a65f108bb75efd4c5c673cd262cbc7f7659a803d5b94568d2535529a9ff51

See more details on using hashes here.

File details

Details for the file comments_generator-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for comments_generator-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e55e52a23f0938fae96078f765ea6a1f28e136eba80de155499e80cbff8036b
MD5 7d8002b2ab6b3f50b5a9a1cb90bd7ae1
BLAKE2b-256 2f2fadb5c501747dd605cdf27bc535f7b3c458cb74807c06c606d0d9468979ee

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