Skip to main content

AI-powered code generator and executor for Python

Project description

PyArtifIn

PyArtifIn is a Python library that writes and executes code using AI. Just describe your task in Russian (or our languages), and the neural network does everything for you.

CLI

pyartifin "Hello! Write Hello World in C++"

Installation

pip install pyartifin

Environment variables

set OLLAMA_API_KEY=you_api_key_ollama_cloud # for Windows

export OLLAMA_API_KEY=you_api_key_ollama_cloud # for linux Debian-based, RedHat-based, Arch-based (and mac)

Example

import pyartifin as ai

art = ai.PyArtifIn(api_key="API_KEY_OLLAMA_CLOUD")

art.safe_run("myscript.py", "напиши программу для сортировки списка")

License

MIT License

Copyright (c) 2026 tur1kay

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.

Author

tur1kay

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

pyartifin-0.2.3.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

pyartifin-0.2.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file pyartifin-0.2.3.tar.gz.

File metadata

  • Download URL: pyartifin-0.2.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pyartifin-0.2.3.tar.gz
Algorithm Hash digest
SHA256 33978fc85dd06b6c4d01cd7828d9e2c5e1ab1e4523bb9c3b978d650402b94714
MD5 fbc89def7d1078f138b67f8143f3b666
BLAKE2b-256 de06b3aa2d56a0d1459a87e7e275929beac7671ff403adbc0aac3137ac014ed8

See more details on using hashes here.

File details

Details for the file pyartifin-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: pyartifin-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pyartifin-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cfde7d2e68999863c786efaadbf6584917fc9746f5e65604542502bfd5b58619
MD5 ddd0ce7775a1e33be77de5afdf2498c6
BLAKE2b-256 2057142ec6538e1f78d8159732d82225b3fa4f9317d48cc4f8d0677697f00bfb

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