Skip to main content

#AI2PY

AI2PY is an OpenAI-powered Python module created to help developers easily integrate artificial intelligence into their Python projects. AI2PY provides a comprehensive set of tools for creating AI-generated text, images, and image variations. An OpenAI API Key is required.

The module contains functions to create text, create text commands, create images, and create image variations. The init function initializes the class with an api_key. The create_text function takes in data and a word count and uses the OpenAI API to generate text based on the data. The create_text_command function takes in a command, data, and a word count and uses the OpenAI API to generate text based on the command and data. The create_image function takes in prompt text and an image size and uses the OpenAI API to generate an image based on the prompt text. The create_image_variation function takes in data and an image size and uses the OpenAI API to generate an image variation based on the data. The options class contains two functions: display_imagesizes and image_resize. The display_imagesizes function prints out the required image sizes for the OpenAI API. The image_resize function takes in an image and a size and resizes the image to the specified size.

In addition, AI2PY also provides a set of pre-trained models that can be used for various tasks such as natural language processing, computer vision, and more. These models can be used to quickly build AI applications without having to train your own models from scratch.

If you have any questions, feel free to ask them in the GitHub Discussion tab. If you need help with a project or want to show off a project made with AI2PY, you can also do so in the Discussion tab. If you find a bug, please report it in the GitHub Issues tab and provide the complete error message and a minimal example code that reproduces the error. If you have ideas for improvements or requests for new functions, you can also report these in the GitHub Issues tab, but please check for previous requests to prevent duplicates.

Metadata

Release files for ai2py 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai2py 0.1.1
File Size Uploaded Provenance
ai2py-0.1.1.tar.gz 3.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai2py 0.1.1
File Interpreter ABI Platform
ai2py-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.3 kB

Release files / ai2py-0.1.1.tar.gz

Download URL ai2py-0.1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
987afa1cd91fb670e59e564f3e47b8f931d074a1be9152c466e201eb2108098c
BLAKE2b-256 checksum
How to use checksums
58643957c549de8662b73b5975ea8e0d3a2f5a8583eaba6d247ac8fc5bf5a32d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / ai2py-0.1.1-py3-none-any.whl

Download URL ai2py-0.1.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db076be29f260bd317a3cedc522bf18d7227e36b6fbb471890697e8ec41d6999
BLAKE2b-256 checksum
How to use checksums
15df1becf66bc92476d2a77cf4fecccee6cae2e939b5abb3099494630e32fce5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for ai2py 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page