Skip to main content

No project description provided

Project description

Powerchat

Powerchat is a Python command-line tool that allows you to list and view the contents of all .py and .md files in a directory and its subdirectories. It also provides other useful features, such as generating pull request descriptions and suggesting updates to a README.md file based on Git diff or full file contents.

Installation

To install Powerchat, clone the repository and install the dependencies using Poetry:

git clone https://github.com/yourusername/powerchat.git
cd powerchat
poetry install

This will install all the required dependencies and create a virtual environment for Powerchat.

To activate the virtual environment, run:

poetry shell

Now you can run Powerchat from the command line with the python src/main.py command.

Usage

Powerchat can be run from the command line with the python src/main.py command. Powerchat accepts several command-line arguments:

directory: The directory to search for .py and .md files. Required. --refactor: Prompt for refactoring suggestions. --documentation: Suggest README.md updates based on Git diff or full contents. --features: Prompt for new feature suggestions. --pull_request: Prompt for a pull request description based on the changed code. --copy_code: Copy the code of the directory and its subdirectories to the clipboard. --include: Pattern to filter included files (e.g. *.py or *_test.py). --exclude: Pattern to filter excluded files (e.g. *_test.py). --recursive: Search for files recursively in subdirectories.

For more information on how to use Powerchat, run python main.py --help.

License

Powerchat is released under the MIT License. See LICENSE for more information.

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

powerchat-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

powerchat-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file powerchat-0.1.0.tar.gz.

File metadata

  • Download URL: powerchat-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.0 Darwin/21.6.0

File hashes

Hashes for powerchat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b7b90da1e77cea746caf5a6f32a65e84ae37947a322a6c170c3c55128fb44f0b
MD5 7f8917a386883f5043fcd8a436e33a41
BLAKE2b-256 9b5ec674d84184dc2431c5864b4ad20d36117673a83b5c08c321a5527ac88ddf

See more details on using hashes here.

File details

Details for the file powerchat-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: powerchat-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.0 Darwin/21.6.0

File hashes

Hashes for powerchat-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea29913347a02fd76c311ee2f1be91d8dbb4f9fb9efaa1bd114bb6f2bbb8b741
MD5 cb86deb2bd62bbb75fb2ff1d122bb245
BLAKE2b-256 a6451e58739e6d098f7ccae54d7480c1604b92911749eb2ca6abfe06dc830b8b

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