Skip to main content

Pixtools

A collection of multimedia utilities for AI-powered applications.

Features

  • Text-to-Speech: Convert text to audio using OpenAI's TTS API
  • Voice Recording: Record and transcribe audio using OpenAI's Whisper API
  • Audio Playback: Play audio files with simple controls
  • OpenAI Client: Streamlined interface for OpenAI API interactions
  • File Caching: Efficient caching system for API responses and generated content
  • Image Generation: Generate images using OpenAI's DALL-E API

Installation

pip install pixtools

Requirements

  • Python 3.10 or higher
  • OpenAI API key

Quick Start

from pixtools import TextToSpeech, VoiceToText, ImageGen, OpenAIClient

# Initialize OpenAI client
client = OpenAIClient(api_key="your-api-key")

# Text-to-speech
tts = TextToSpeech(client)
tts.speak("Hello, world!")

# Voice recording and transcription
voice = VoiceToText(client)
text = voice.record_and_transcribe()

# Image generation
image_gen = ImageGen(client)
image_gen.generate("A beautiful sunset", "sunset.png")

License

MIT License

Metadata

Release files for pixtools 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 pixtools 0.1.1
File Size Uploaded Provenance
pixtools-0.1.1.tar.gz 15.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 28.5 kB

Release files / pixtools-0.1.1.tar.gz

Download URL pixtools-0.1.1.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4ad6a05a3c63ebedfb9c69b270d1f64a491edbdaac80aef013bcdd31366b8bc2
BLAKE2b-256 checksum
How to use checksums
f2af481087fbe4acffbe8a396e45b5ce7e1408996b1294ae979e3e9af676dd6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

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

Download URL pixtools-0.1.1-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1bbc18ba6c4a2f05e80e7707d246ac54a9827d260a9f61aa3a19fe85bed3460
BLAKE2b-256 checksum
How to use checksums
c48b34b02557c5aa27c771200d91bcf171675ecbf42b820ec149b8811a3907c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for pixtools 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.

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