Name | prismix JSON |
Version |
0.1.0.dev0
JSON |
| download |
home_page | None |
Summary | An AI-powered code synthesis tool |
upload_time | 2024-12-09 00:09:40 |
maintainer | None |
docs_url | None |
author | Tom Dörr |
requires_python | <3.12,>=3.11 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Prismix
An AI-powered code synthesis tool that transforms natural language into production-ready Python code.
## Features
- Natural language to Python code generation
- Iterative improvement with error handling
- Built-in safety checks for generated code
- Test-driven development approach
- Isolated code execution environment
## Installation
```bash
# Install with poetry
poetry install
# Set up OpenAI API key
export OPENAI_API_KEY='your-api-key-here'
```
## Usage
Basic usage:
```bash
poetry run prismix "write a function that calculates factorial"
```
The tool will:
1. Generate program specifications
2. Implement the code
3. Run safety checks
4. Test the implementation
5. Save the code to output/
## Safety Features
- Automatic code safety analysis
- Restricted execution environment
- Import validation
- System call protection
## Development
Run tests:
```bash
poetry run pytest
```
## License
MIT License
Raw data
{
"_id": null,
"home_page": null,
"name": "prismix",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.12,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "Tom D\u00f6rr",
"author_email": "tomdoerr96@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/cc/9d/aebe86cfc31dda852a6687b22a7bb3a6e671b91b04a8dbeff3ec2083a94f/prismix-0.1.0.dev0.tar.gz",
"platform": null,
"description": "# Prismix\n\nAn AI-powered code synthesis tool that transforms natural language into production-ready Python code.\n\n## Features\n\n- Natural language to Python code generation\n- Iterative improvement with error handling\n- Built-in safety checks for generated code\n- Test-driven development approach\n- Isolated code execution environment\n\n## Installation\n\n```bash\n# Install with poetry\npoetry install\n\n# Set up OpenAI API key\nexport OPENAI_API_KEY='your-api-key-here'\n```\n\n## Usage\n\nBasic usage:\n```bash\npoetry run prismix \"write a function that calculates factorial\"\n```\n\nThe tool will:\n1. Generate program specifications\n2. Implement the code\n3. Run safety checks\n4. Test the implementation\n5. Save the code to output/\n\n## Safety Features\n\n- Automatic code safety analysis\n- Restricted execution environment\n- Import validation\n- System call protection\n\n## Development\n\nRun tests:\n```bash\npoetry run pytest\n```\n\n## License\n\nMIT License\n",
"bugtrack_url": null,
"license": null,
"summary": "An AI-powered code synthesis tool",
"version": "0.1.0.dev0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "22398bc88a2cdfb19aec1d378e7e05f0460d5e3b8b6ed65616e18e8dce3217df",
"md5": "7473eddbe443821953e1dbf54c5140b7",
"sha256": "c7d0a5bee56f88a39b3f70195260d4e0df3dfefc8dc6c5221f0788b77a37ee02"
},
"downloads": -1,
"filename": "prismix-0.1.0.dev0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7473eddbe443821953e1dbf54c5140b7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.11",
"size": 5482,
"upload_time": "2024-12-09T00:09:38",
"upload_time_iso_8601": "2024-12-09T00:09:38.280872Z",
"url": "https://files.pythonhosted.org/packages/22/39/8bc88a2cdfb19aec1d378e7e05f0460d5e3b8b6ed65616e18e8dce3217df/prismix-0.1.0.dev0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cc9daebe86cfc31dda852a6687b22a7bb3a6e671b91b04a8dbeff3ec2083a94f",
"md5": "543821d4ce06fec019b7715ece5fc9df",
"sha256": "d78e42e694c65c5845c51124b9e626f4629d394443eb72808a0a95b014a2dd7e"
},
"downloads": -1,
"filename": "prismix-0.1.0.dev0.tar.gz",
"has_sig": false,
"md5_digest": "543821d4ce06fec019b7715ece5fc9df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.11",
"size": 4534,
"upload_time": "2024-12-09T00:09:40",
"upload_time_iso_8601": "2024-12-09T00:09:40.078789Z",
"url": "https://files.pythonhosted.org/packages/cc/9d/aebe86cfc31dda852a6687b22a7bb3a6e671b91b04a8dbeff3ec2083a94f/prismix-0.1.0.dev0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-09 00:09:40",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "prismix"
}