Name | sokrates JSON |
Version |
0.2.9
JSON |
| download |
home_page | None |
Summary | A collection of tools for LLM interactions like prompt refinement and idea generation. It also provides a console chat client with speech to text feature. |
upload_time | 2025-07-24 11:47:22 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT License Copyright (c) 2024 Your Name Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
llm
tools
system-monitoring
ai
prompt refinement
idea generation
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# sokrates
[](https://opensource.org/licenses/MIT)
[](https://github.com/Kubementat/sokrates)
A collection of tools for LLM interactions and system monitoring, designed to facilitate working with Large Language Models (LLMs) through modular components, well-documented APIs, and production-ready utilities.
## Table of Contents
- [Description](#description)
- [Installation](#installation)
- [Usage](#usage)
- [Available Commands](#available-commands)
- [Features](#features)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)
- [Changelog](#changelog)
## Description
`sokrates` is a comprehensive framework for working with Large Language Models (LLMs). It provides:
- Advanced prompt refinement tools
- System monitoring for resource tracking during LLM operations
- An extensive CLI interface for rapid experimentation
- Modular components and well-documented APIs
The project includes utilities for:
- Managing configuration settings
- Interacting with OpenAI-compatible LLM APIs
- Processing and cleaning LLM-generated text
- Monitoring system resources in real-time
- Executing complex workflows for idea generation and prompt refinement
## Installation
Prerequisites: Python 3.9 or higher
```bash
git clone https://github.com/Kubementat/sokrates.git
cd sokrates
uv sync
```
## Usage
### Basic Command Structure
Most commands follow this structure:
```bash
command --option1 value1 --option2 value2
```
You can always display the help via:
```
command --help
e.g.
uv run list-models --help
```
### Available Commands
- `benchmark-model`: Benchmark LLM models
- `benchmark-results-merger`: Merge benchmark results
- `benchmark-results-to-markdown`: Convert benchmark results to markdown
- `fetch-to-md`: Fetch content and convert to markdown
- `generate-mantra`: Generate mantras or affirmations
- `list-models`: List available LLM models
- `idea-generator`: Generate ideas using a multi-stage workflow
- `refine-and-send-prompt`: Refine and send prompts to a LLM
- `refine-prompt`: Refine prompts for better LLM performance
- `breakdown-task`: Break down complex tasks into manageable steps
- `send-prompt`: Send a prompt to a LLM API
- `llmchat`: Chat with LLMs via the command line
### Example Usage
```bash
# Getting help for a command and usage instructions
uv run refine-prompt --help
# List available models
uv run list-models --api-endpoint http://localhost:1234/v1
# Generate ideas
uv run idea-generator --output-directory tmp/ideas --verbose
# Benchmark a model
uv run benchmark-model --model qwen/qwen3-8b --iterations 5
```
## Features
- **Prompt Refinement**: Optimize LLM input/output with advanced refinement tools
- **System Monitoring**: Real-time tracking of resource usage during LLM operations
- **CLI Interface**: Extensive command-line tools for rapid experimentation
- **Modular Architecture**: Easily extendable and customizable components
- **Testing Infrastructure**: Built-in test framework with pytest integration
## Contributing
1. Fork the repository and create a new branch
2. Make your changes and add tests if necessary
3. Submit a pull request with a clear description of your changes
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for more details.
## License
This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.
## Contact
- [julianweberdev@gmail.com](mailto:julianweberdev@gmail.com)
- GitHub: [@julweber](https://github.com/julweber)
- Linked.in : [Julian Weber](https://www.linkedin.com/in/julianweberdev/)
## Changelog
View our [CHANGELOG.md](CHANGELOG.md) for a detailed changelog.
Raw data
{
"_id": null,
"home_page": null,
"name": "sokrates",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "llm, tools, system-monitoring, ai, prompt refinement, idea generation",
"author": null,
"author_email": "Julian Weber <julianweberdev@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/22/51/05b53fb3fea8b0b1b455abc5be16c0b08ee2c9818d9634bcc04f980e28db/sokrates-0.2.9.tar.gz",
"platform": null,
"description": "# sokrates\n\n[](https://opensource.org/licenses/MIT)\n[](https://github.com/Kubementat/sokrates)\n\nA collection of tools for LLM interactions and system monitoring, designed to facilitate working with Large Language Models (LLMs) through modular components, well-documented APIs, and production-ready utilities.\n\n## Table of Contents\n- [Description](#description)\n- [Installation](#installation)\n- [Usage](#usage)\n - [Available Commands](#available-commands)\n- [Features](#features)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n- [Changelog](#changelog)\n\n## Description\n\n`sokrates` is a comprehensive framework for working with Large Language Models (LLMs). It provides:\n\n- Advanced prompt refinement tools\n- System monitoring for resource tracking during LLM operations\n- An extensive CLI interface for rapid experimentation\n- Modular components and well-documented APIs\n\nThe project includes utilities for:\n- Managing configuration settings\n- Interacting with OpenAI-compatible LLM APIs\n- Processing and cleaning LLM-generated text\n- Monitoring system resources in real-time\n- Executing complex workflows for idea generation and prompt refinement\n\n## Installation\n\nPrerequisites: Python 3.9 or higher\n\n```bash\ngit clone https://github.com/Kubementat/sokrates.git\ncd sokrates\nuv sync\n```\n\n## Usage\n\n### Basic Command Structure\n\nMost commands follow this structure:\n```bash\ncommand --option1 value1 --option2 value2\n```\n\nYou can always display the help via:\n```\ncommand --help\n\ne.g.\n\nuv run list-models --help\n```\n\n### Available Commands\n\n- `benchmark-model`: Benchmark LLM models\n- `benchmark-results-merger`: Merge benchmark results\n- `benchmark-results-to-markdown`: Convert benchmark results to markdown\n- `fetch-to-md`: Fetch content and convert to markdown\n- `generate-mantra`: Generate mantras or affirmations\n- `list-models`: List available LLM models\n- `idea-generator`: Generate ideas using a multi-stage workflow\n- `refine-and-send-prompt`: Refine and send prompts to a LLM\n- `refine-prompt`: Refine prompts for better LLM performance\n- `breakdown-task`: Break down complex tasks into manageable steps\n- `send-prompt`: Send a prompt to a LLM API\n- `llmchat`: Chat with LLMs via the command line\n\n### Example Usage\n\n```bash\n# Getting help for a command and usage instructions\nuv run refine-prompt --help\n\n# List available models\nuv run list-models --api-endpoint http://localhost:1234/v1\n\n# Generate ideas\nuv run idea-generator --output-directory tmp/ideas --verbose\n\n# Benchmark a model\nuv run benchmark-model --model qwen/qwen3-8b --iterations 5\n```\n\n## Features\n\n- **Prompt Refinement**: Optimize LLM input/output with advanced refinement tools\n- **System Monitoring**: Real-time tracking of resource usage during LLM operations\n- **CLI Interface**: Extensive command-line tools for rapid experimentation\n- **Modular Architecture**: Easily extendable and customizable components\n- **Testing Infrastructure**: Built-in test framework with pytest integration\n\n## Contributing\n\n1. Fork the repository and create a new branch\n2. Make your changes and add tests if necessary\n3. Submit a pull request with a clear description of your changes\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for more details.\n\n## License\n\nThis project is licensed under the MIT License. See [LICENSE](LICENSE) for details.\n\n## Contact\n\n- [julianweberdev@gmail.com](mailto:julianweberdev@gmail.com)\n- GitHub: [@julweber](https://github.com/julweber)\n- Linked.in : [Julian Weber](https://www.linkedin.com/in/julianweberdev/)\n\n## Changelog\n\nView our [CHANGELOG.md](CHANGELOG.md) for a detailed changelog.\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Your Name Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "A collection of tools for LLM interactions like prompt refinement and idea generation. It also provides a console chat client with speech to text feature.",
"version": "0.2.9",
"project_urls": {
"Homepage": "https://github.com/Kubementat/sokrates",
"Repository": "https://github.com/Kubementat/sokrates"
},
"split_keywords": [
"llm",
" tools",
" system-monitoring",
" ai",
" prompt refinement",
" idea generation"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1a2a1385d22dd110d2f938aacaa547aac0479ec56dbce9b42be31fc547f229b1",
"md5": "fe9688e63a53e09d3f4684cbafe154a3",
"sha256": "9372ba0ab2c74effe9cae997597d8cde03efeb0539d5a58f5f3acbd0d4d021e3"
},
"downloads": -1,
"filename": "sokrates-0.2.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fe9688e63a53e09d3f4684cbafe154a3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 81472,
"upload_time": "2025-07-24T11:47:20",
"upload_time_iso_8601": "2025-07-24T11:47:20.530515Z",
"url": "https://files.pythonhosted.org/packages/1a/2a/1385d22dd110d2f938aacaa547aac0479ec56dbce9b42be31fc547f229b1/sokrates-0.2.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "225105b53fb3fea8b0b1b455abc5be16c0b08ee2c9818d9634bcc04f980e28db",
"md5": "4ae0f6a91dfdec2b3610aa9ab70be989",
"sha256": "7978b2bf782299cbc79eb5431f7bf0a00e3a87e30a7c6516f5f64fba3d66a780"
},
"downloads": -1,
"filename": "sokrates-0.2.9.tar.gz",
"has_sig": false,
"md5_digest": "4ae0f6a91dfdec2b3610aa9ab70be989",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 270768,
"upload_time": "2025-07-24T11:47:22",
"upload_time_iso_8601": "2025-07-24T11:47:22.236429Z",
"url": "https://files.pythonhosted.org/packages/22/51/05b53fb3fea8b0b1b455abc5be16c0b08ee2c9818d9634bcc04f980e28db/sokrates-0.2.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-24 11:47:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Kubementat",
"github_project": "sokrates",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sokrates"
}