Tunisian Shell Command Assistant
Reason this release was yanked:
support only pc with 16gb ram or higher
Project description
Bourguiba - Command Generation Library
Bourguiba is a Python library designed to generate shell commands based on natural language input. This tool leverages advanced machine learning models to understand user intent and produce valid shell commands, making it easier for users to interact with the command line.
Features:
- Generates common shell commands based on user descriptions.
- Includes a comprehensive list of 150 common commands.
- Utilizes a pretrained GPT-2 model for command generation.
- Supports fuzzy matching to improve command accuracy based on user input.
- Simple command-line interface for easy usage.
Usage:
To use bourguiba, simply import the library and create an instance of the CommandGenerator class. You can then call the generate_command method with a description of the command you wish to create.
Example:
from bourguiba import CommandGenerator
generator = CommandGenerator()
command = generator.generate_command("I want to create a folder")
print(command) # Output: mkdir [folder_name]
Contributing:
Contributions are welcome! If you would like to contribute to bourguiba, please fork the repository and submit a pull request.
License:
This project is licensed under the MIT License. See the LICENSE file for details.
Special thanks to the creators of the GPT-2 model and the developers of the transformers library, which make this project possible.
For more information, please visit the GitHub repository.
Feel free to modify any sections to better fit your preferences!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bourguibagpt-1.0.2.tar.gz.
File metadata
- Download URL: bourguibagpt-1.0.2.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abebc205b2b86d39689888d87952111d3f77d5239f63873f2250d215c1da9ac1
|
|
| MD5 |
14e02b647779d11357045dbaca80b6f8
|
|
| BLAKE2b-256 |
ae1af9f91dd1dbfee18ae925e0229bf5932f616e8d7b98281a8d8e2e6b8e8626
|
File details
Details for the file bourguibagpt-1.0.2-py3-none-any.whl.
File metadata
- Download URL: bourguibagpt-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb9c29910b07e94a061b81d5e266a99fcc1d150c3f96dd1af0e2752af085fb81
|
|
| MD5 |
8884bb59919b5a2b20c0b65aee8f0b56
|
|
| BLAKE2b-256 |
a4eb8e3fbd1d425a334a383a731cb04236e2834fb46ea0272113943424d8351a
|