Name | coaiapy JSON |
Version |
0.2.69
JSON |
| download |
home_page | https://github.com/jgwill/coaiapy |
Summary | A Python package for audio transcription, synthesis, and tagging using Boto3. |
upload_time | 2025-08-30 00:09:45 |
maintainer | None |
docs_url | None |
author | Jean GUillaume ISabelle |
requires_python | >=3.6 |
license | Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
|
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
boto3
mutagen
certifi
charset-normalizer
idna
redis
requests
markdown
PyYAML
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# CoAiAPy
CoAiAPy is a comprehensive Python package for AI workflow automation and observability. It provides audio transcription, synthesis, and tagging capabilities using AWS services, along with revolutionary pipeline templates and environment management for automated AI workflows. Features complete Langfuse integration for AI pipeline observability, prompt management, and dataset operations.
* With a constraint to be compatible for python 3.6 (pythonista)
## Features
### 🚀 Pipeline Templates & Environment Management (NEW)
**Revolutionary Workflow Automation**: Transform 30+ minute manual setups into 30-second automated pipelines.
- **Pipeline Templates**: 5 built-in templates (simple-trace, data-pipeline, llm-chain, parallel-processing, error-handling)
- **Jinja2 Templating**: Variable substitution, validation, and conditional steps
- **Template Hierarchy**: Project → Global → Built-in discovery with customization support
- **Environment Management**: Persistent cross-session variables with `.coaia-env` files
- **Shell Integration**: Export commands for bash automation and environment persistence
- **One-Command Workflows**: Complete trace/observation hierarchies created instantly
### Core Audio & Data Processing
- **Audio Transcription**: Convert audio files to text using AWS services
- **Audio Synthesis**: Generate audio files from text input
- **MP3 Tagging**: Add metadata tags to MP3 files for better organization and identification
- **Redis Stashing**: Stash key-value pairs to a Redis service
### Langfuse AI Observability (`coaia fuse`)
**Langfuse Integration**: Complete command-line interface for [Langfuse](https://langfuse.com/) - the open-source AI engineering platform for observability, analytics, and prompt management.
- **Prompt Management**: Create, list, and retrieve AI prompts with version control
- **Dataset Management**: Manage datasets with fine-tuning export (OpenAI/Gemini formats)
- **Trace & Observation Workflows**: Production-ready AI pipeline observability
- Auto-generated observation IDs and environment variable export
- Pipeline integration with bash automation (`--export-env`)
- Parent-child relationships with SPAN, EVENT, GENERATION observations
- Shorthand type selection (`-te`, `-ts`, `-tg`)
- Batch observation processing from JSON/YAML files
- **Session Management**: Create and manage user sessions with metadata
- **Project Integration**: Full Langfuse project and workspace support
## Installation
To install the package, you can use pip:
```bash
pip install coaiapy
```
## Usage
### CLI Tool
CoAiAPy provides a CLI tool for audio transcription, summarization, and stashing to Redis.
#### Help
To see the available commands and options, use the `--help` flag:
```bash
coaia --help
```
#### Setup
Set these environment variables to use the AWS transcription service:
```bash
OPENAI_API_KEY
AWS_KEY_ID
AWS_SECRET_KEY
AWS_REGION
REDIS_HOST
REDIS_PORT
REDIS_PASSWORD
REDIS_SSL
```
#### Transcribe Audio
To transcribe an audio file to text:
```bash
coaia transcribe <file_path>
```
Example:
```bash
coaia transcribe path/to/audio/file.mp3
```
#### Summarize Text
To summarize a text:
```bash
coaia summarize <text>
```
Example:
```bash
coaia summarize "This is a long text that needs to be summarized."
```
To summarize text from a file:
```bash
coaia summarize --f <file_path>
```
Example:
```bash
coaia summarize --f path/to/text/file.txt
```
#### Stash Key-Value Pair to Redis
To stash a key-value pair to Redis:
```bash
coaia tash <key> <value>
```
Example:
```bash
coaia tash my_key "This is the value to stash."
```
To stash a key-value pair from a file:
```bash
coaia tash <key> --f <file_path>
```
Example:
```bash
coaia tash my_key --f path/to/value/file.txt
```
#### Fetch Value from Redis
To fetch a value from Redis by key:
```bash
coaia fetch <key>
```
Example:
```bash
coaia fetch my_key
```
To fetch a value from Redis and save it to a file:
```bash
coaia fetch <key> --output <file_path>
```
Example:
```bash
coaia fetch my_key --output path/to/output/file.txt
```
#### Process Custom Tags
Enable custom quick addons for assistants or bots using process tags. To add a new process tag to `coaia.json`, include entries like:
```
"dictkore_temperature":0.2,
"dictkore_instruction": "You do : Receive a dictated text that requires correction and clarification.\n\n# Corrections\n\n- In the dictated text, spoken corrections are made. You make them and remove the text related to that to keep the essence of what is discussed.\n\n# Output\n\n- You keep all the essence of the text (same length).\n- You keep the same style.\n- You ensure annotated dictation errors in the text are fixed.",
```
```bash
coaia p dictkore "my text to correct"
```
## 🚀 Pipeline Templates & Environment Management
### Revolutionary Workflow Automation
CoAiAPy transforms complex AI pipeline creation from 30+ minute manual processes into 30-second automated workflows using templates and persistent environment management.
### Pipeline Templates
#### Built-in Templates (5 Available)
1. **simple-trace**: Basic monitoring with single observation
2. **data-pipeline**: Multi-step data processing workflow with validation
3. **llm-chain**: LLM interaction pipeline with input/output tracking
4. **parallel-processing**: Concurrent task execution with synchronization
5. **error-handling**: Robust error management with retry mechanisms
#### Template Commands
```bash
# List all available templates
coaia pipeline list
coaia pipeline list --path --json
# Inspect template details and variables
coaia pipeline show simple-trace
coaia pipeline show data-pipeline --preview
# Create pipeline from template (automatic trace/observation creation)
coaia pipeline create simple-trace --var trace_name="My Process" --var user_id="john"
coaia pipeline create data-pipeline --var pipeline_name="ETL Process" --export-env
# Create new custom template
coaia pipeline init my-template
coaia pipeline init custom-workflow --from data-pipeline --location project
```
#### Template Features
- **Variable Substitution**: Jinja2-powered with validation and built-in functions
- **Conditional Steps**: Include/exclude steps based on variable conditions
- **Parent-Child Relationships**: Automatic SPAN observation hierarchies
- **Template Hierarchy**: Project → Global → Built-in discovery system
- **Auto-Generation**: Trace IDs, observation IDs, timestamps generated automatically
### Environment Management
#### Persistent Cross-Session Variables
Environment files (`.coaia-env`) provide persistent variable storage across shell sessions:
```bash
# Initialize environment with defaults
coaia env init # Creates .coaia-env (project)
coaia env init --global # Creates ~/.coaia/global.env
coaia env init --name dev # Creates .coaia-env.dev
# Manage variables
coaia env set COAIA_USER_ID "john" # Persist to file
coaia env set DEBUG_MODE "true" --temp # Session only
coaia env get COAIA_TRACE_ID # Get variable value
coaia env unset OLD_VARIABLE # Remove variable
# List and inspect environments
coaia env list # Show all environments
coaia env list --name dev # Show specific environment
coaia env list --json # JSON output
# Shell integration
eval $(coaia env source --export) # Load variables into shell
coaia env save --name "my-context" # Save current state
```
#### Advanced Workflow Examples
**One-Command Pipeline Creation:**
```bash
# Before: Complex manual setup (30+ minutes)
export TRACE_ID=$(uuidgen)
export SESSION_ID=$(uuidgen)
coaia fuse traces create $TRACE_ID -u john -s $SESSION_ID
export OBS_ID=$(uuidgen)
coaia fuse traces add-observation $OBS_ID $TRACE_ID -ts -n "Step 1"
# ... repeat for each step ...
# After: One-command automation (< 30 seconds)
coaia pipeline create data-pipeline \
--var user_id="john" \
--var pipeline_name="ETL Process" \
--export-env
# Automatic: trace creation, observation hierarchy, environment setup
```
**Cross-Session Workflow Persistence:**
```bash
# Session 1: Start pipeline and persist state
coaia pipeline create llm-chain --var model="gpt-4" --export-env
coaia env save --name "llm-session"
# Session 2: Resume from saved state (hours/days later)
eval $(coaia env source --name llm-session --export)
coaia fuse traces add-observation $COAIA_TRACE_ID -n "Continued processing"
```
**Custom Template Creation:**
```bash
# Create project-specific template
coaia pipeline init company-etl --from data-pipeline --location project
# Edit ./.coaia/templates/company-etl.json with custom variables and steps
# Use custom template
coaia pipeline create company-etl --var data_source="production_db"
```
#### Environment File Formats
**JSON Format** (`.coaia-env`):
```json
{
"COAIA_TRACE_ID": "uuid-here",
"COAIA_USER_ID": "john",
"CUSTOM_VARIABLE": "value"
}
```
**.env Format** (`.coaia-env`):
```bash
COAIA_TRACE_ID="uuid-here"
COAIA_USER_ID="john"
CUSTOM_VARIABLE="value"
```
### Building and Publishing
Use the provided `Makefile` to build and distribute the package. Typical tasks:
```bash
make build # create sdist and wheel
make dist # alias for make build
make upload-test # upload the distribution to Test PyPI
make test-release # bump patch version, clean, build, and upload to Test PyPI
```
Both upload tasks use:
`twine upload --repository testpypi dist/*`
`make test-release` automatically sources `$HOME/.env` so `TWINE_USERNAME` and `TWINE_PASSWORD` are available.
If you need the variables in your shell, run:
```bash
export $(grep -v '^#' $HOME/.env | xargs)
```
It also bumps the patch version using `bump.py` before uploading.
## Langfuse Integration (`fuse`)
CoAiAPy integrates with Langfuse to manage prompts, datasets, and traces.
### Listing Prompts
To see a formatted table of all available prompts:
```bash
coaia fuse prompts list
```
### Getting a Specific Prompt
Retrieve a prompt by name. By default, it fetches the version with the `latest` label.
```bash
coaia fuse prompts get <prompt_name>
```
**Options:**
- `--label <label>`: Fetch the version with a specific label (e.g., `dev`, `staging`).
- `--prod`: A convenient shortcut for `--label production`.
- `--json`: Output the raw JSON response.
- `-c`, `--content-only`: Output only the raw prompt content, ideal for scripting.
- `-e`, `--escaped`: Output the prompt content as a single, JSON-escaped line. This is useful for embedding the content in other scripts or commands. Using `-e` implies `-c`.
**Examples:**
```bash
# Get the latest version of a prompt
coaia fuse prompts get MyPrompt
# Get the production version of a prompt
coaia fuse prompts get MyPrompt --prod
# Get only the content of a prompt
coaia fuse prompts get MyPrompt -c
# Get the content as an escaped, single line
coaia fuse prompts get MyPrompt -e
```
### Managing Datasets
#### Listing Datasets
To see a formatted table of all available datasets:
```bash
coaia fuse datasets list
```
#### Getting a Specific Dataset and its Items
Retrieve a dataset's metadata and all of its items in a formatted display.
```bash
coaia fuse datasets get <dataset_name>
```
**Options:**
- `--json`: Output the raw JSON for the dataset and its items.
- `-oft`, `--openai-ft`: Format the dataset for OpenAI fine-tuning (JSONL).
- `-gft`, `--gemini-ft`: Format the dataset for Gemini fine-tuning (JSONL).
- `--system-instruction "<text>"`: Customize the system instruction for fine-tuning formats. The default is "You are a helpful assistant".
**Examples:**
```bash
# Get a formatted view of a dataset and its items
coaia fuse datasets get MyDataset
# Get the raw JSON for a dataset
coaia fuse datasets get MyDataset --json
# Export a dataset for OpenAI fine-tuning
coaia fuse datasets get MyDataset -oft > training_data.jsonl
# Export for Gemini with a custom system instruction
coaia fuse datasets get MyDataset -gft --system-instruction "You are a creative writing assistant."
```
#### Creating a New Dataset
You can create a new, empty dataset directly from the CLI.
```bash
coaia fuse datasets create <new_dataset_name>
```
#### Adding Items to a Dataset
You can add new items (with an input and an optional expected output) to an existing dataset.
```bash
coaia fuse dataset-items create <dataset_name> --input "User question or prompt." --expected "Ideal model response."
```
### Traces & Observations - Enhanced AI Pipeline Support
CoAiAPy provides comprehensive support for Langfuse traces and observations with enhanced pipeline integration.
#### Creating Traces
Create a new trace with session, user metadata, and optional environment variable export:
```bash
coaia fuse traces create <trace_id> -s <session_id> -u <user_id> -n "Trace Name"
```
**Pipeline Integration Example:**
```bash
# Create trace and export environment variables for pipeline use
eval $(coaia fuse traces create $(uuidgen) -s $(uuidgen) -u pipeline-user -n "AI Workflow" --export-env)
echo "Created trace: $COAIA_TRACE_ID"
```
#### Adding Observations
Add single observations to traces with auto-generated IDs and enhanced CLI options:
**Basic Usage:**
```bash
# Observation ID is auto-generated if not provided
coaia fuse traces add-observation <trace_id> -n "Processing Step" -i '{"input":"data"}' -o '{"result":"output"}'
# With explicit observation ID
coaia fuse traces add-observation <trace_id> <observation_id> -n "Custom Step"
```
**Observation Types with Shortcuts:**
```bash
# EVENT (default) - discrete events
coaia fuse traces add-observation <trace_id> -te -n "Data Loaded"
# SPAN - operations with duration
coaia fuse traces add-observation <trace_id> -ts -n "Main Processing"
# GENERATION - AI model calls
coaia fuse traces add-observation <trace_id> -tg -n "LLM Response" --model "gpt-4"
```
**Parent-Child Relationships:**
```bash
# Create parent SPAN
eval $(coaia fuse traces add-observation $COAIA_TRACE_ID -ts -n "Main Workflow" --export-env)
parent_span=$COAIA_LAST_OBSERVATION_ID
# Add child observations under the SPAN
coaia fuse traces add-observation $COAIA_TRACE_ID -n "Step 1" --parent $parent_span
coaia fuse traces add-observation $COAIA_TRACE_ID -n "Step 2" --parent $parent_span
```
**Pipeline Workflow Example:**
```bash
#!/bin/bash
# Complete AI pipeline with automatic ID propagation
# Step 1: Create trace and export environment
eval $(coaia fuse traces create $(uuidgen) -s $(uuidgen) -u ai-pipeline --export-env)
# Step 2: Create main SPAN observation
eval $(coaia fuse traces add-observation $COAIA_TRACE_ID -ts -n "AI Processing Pipeline" --export-env)
main_span=$COAIA_LAST_OBSERVATION_ID
# Step 3: Add processing steps under the main SPAN
eval $(coaia fuse traces add-observation $COAIA_TRACE_ID -n "Data Loading" --parent $main_span --export-env)
eval $(coaia fuse traces add-observation $COAIA_TRACE_ID -tg -n "Model Inference" --parent $main_span --model "gpt-4" --export-env)
eval $(coaia fuse traces add-observation $COAIA_TRACE_ID -n "Results Processing" --parent $main_span --export-env)
echo "Pipeline complete! Trace: $COAIA_TRACE_ID"
```
#### Batch Observations
Add multiple observations from JSON or YAML files:
```bash
# From file
coaia fuse traces add-observations <trace_id> -f observations.json
# From stdin with YAML format
cat observations.yaml | coaia fuse traces add-observations <trace_id> --format yaml
# Dry run to preview what would be created
coaia fuse traces add-observations <trace_id> -f observations.json --dry-run
```
**Example JSON format for batch observations:**
```json
[
{
"name": "Data Processing",
"type": "SPAN",
"input": {"dataset": "user_data.csv"},
"output": {"processed_rows": 1000}
},
{
"name": "Model Training",
"type": "GENERATION",
"parent_observation_id": "previous-observation-id",
"model": "gpt-4",
"usage": {"tokens": 150, "cost": 0.003}
}
]
```
#### Environment Variables for Pipelines
CoAiAPy exports standard environment variables for seamless pipeline integration:
- `COAIA_TRACE_ID`: Current trace identifier
- `COAIA_SESSION_ID`: Current session identifier
- `COAIA_USER_ID`: Current user identifier
- `COAIA_LAST_OBSERVATION_ID`: Most recently created observation ID
- `COAIA_PARENT_OBSERVATION_ID`: Parent observation ID (when using --parent)
**Usage Pattern:**
```bash
# Commands with --export-env output only shell export statements (no JSON)
eval $(coaia fuse traces create $(uuidgen) --export-env)
eval $(coaia fuse traces add-observation $COAIA_TRACE_ID -ts -n "Process" --export-env)
# Use the exported variables in subsequent steps
coaia fuse traces add-observation $COAIA_TRACE_ID -n "Child" --parent $COAIA_LAST_OBSERVATION_ID
```
#### Advanced Features
**Datetime Format Support:**
- ISO format: `2025-08-17T14:30:22Z`
- TLID format: `250817143022` (yyMMddHHmmss)
- Short TLID: `2508171430` (yyMMddHHmm, seconds default to 00)
**Usage Information:**
```bash
coaia fuse traces add-observation <trace_id> -tg -n "LLM Call" \
--model "gpt-4" \
--usage '{"prompt_tokens": 100, "completion_tokens": 50, "total_cost": 0.0025}'
```
**Metadata and Levels:**
```bash
coaia fuse traces add-observation <trace_id> -n "Error Handling" \
--level ERROR \
--metadata '{"error_type": "timeout", "retry_count": 3}'
```
## Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
## Links
- [GitHub Repository](https://github.com/jgwill/coaiapy)
- [PyPI Package](https://pypi.org/project/coaiapy/)
- [llms.txt (AI Documentation)](https://coaiapy.jgwill.com/llms.txt)
- [Documentation Wiki](https://github.com/jgwill/coaiapy/wiki)
## License
This project is licensed under the MIT License. See the LICENSE file for more details.
Raw data
{
"_id": null,
"home_page": "https://github.com/jgwill/coaiapy",
"name": "coaiapy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Jean GUillaume ISabelle",
"author_email": "Jean GUillaume ISabelle <jgi@jgwill.com>",
"download_url": "https://files.pythonhosted.org/packages/d7/71/7addf7efc167111d226b11810b05af08f38336d97401dc8497a7ecd626eb/coaiapy-0.2.69.tar.gz",
"platform": null,
"description": "# CoAiAPy\n\nCoAiAPy is a comprehensive Python package for AI workflow automation and observability. It provides audio transcription, synthesis, and tagging capabilities using AWS services, along with revolutionary pipeline templates and environment management for automated AI workflows. Features complete Langfuse integration for AI pipeline observability, prompt management, and dataset operations.\n\n* With a constraint to be compatible for python 3.6 (pythonista)\n## Features\n\n### \ud83d\ude80 Pipeline Templates & Environment Management (NEW)\n**Revolutionary Workflow Automation**: Transform 30+ minute manual setups into 30-second automated pipelines.\n\n- **Pipeline Templates**: 5 built-in templates (simple-trace, data-pipeline, llm-chain, parallel-processing, error-handling)\n- **Jinja2 Templating**: Variable substitution, validation, and conditional steps\n- **Template Hierarchy**: Project \u2192 Global \u2192 Built-in discovery with customization support \n- **Environment Management**: Persistent cross-session variables with `.coaia-env` files\n- **Shell Integration**: Export commands for bash automation and environment persistence\n- **One-Command Workflows**: Complete trace/observation hierarchies created instantly\n\n### Core Audio & Data Processing\n- **Audio Transcription**: Convert audio files to text using AWS services\n- **Audio Synthesis**: Generate audio files from text input\n- **MP3 Tagging**: Add metadata tags to MP3 files for better organization and identification\n- **Redis Stashing**: Stash key-value pairs to a Redis service\n\n### Langfuse AI Observability (`coaia fuse`)\n**Langfuse Integration**: Complete command-line interface for [Langfuse](https://langfuse.com/) - the open-source AI engineering platform for observability, analytics, and prompt management.\n\n- **Prompt Management**: Create, list, and retrieve AI prompts with version control\n- **Dataset Management**: Manage datasets with fine-tuning export (OpenAI/Gemini formats) \n- **Trace & Observation Workflows**: Production-ready AI pipeline observability\n - Auto-generated observation IDs and environment variable export\n - Pipeline integration with bash automation (`--export-env`)\n - Parent-child relationships with SPAN, EVENT, GENERATION observations\n - Shorthand type selection (`-te`, `-ts`, `-tg`)\n - Batch observation processing from JSON/YAML files\n- **Session Management**: Create and manage user sessions with metadata\n- **Project Integration**: Full Langfuse project and workspace support\n\n## Installation\n\nTo install the package, you can use pip:\n\n```bash\npip install coaiapy\n```\n\n## Usage\n\n### CLI Tool\n\nCoAiAPy provides a CLI tool for audio transcription, summarization, and stashing to Redis.\n\n#### Help\n\nTo see the available commands and options, use the `--help` flag:\n\n```bash\ncoaia --help\n```\n\n#### Setup\n\nSet these environment variables to use the AWS transcription service:\n\n```bash\nOPENAI_API_KEY\nAWS_KEY_ID\nAWS_SECRET_KEY\nAWS_REGION\nREDIS_HOST\nREDIS_PORT\nREDIS_PASSWORD\nREDIS_SSL\n```\n#### Transcribe Audio\n\nTo transcribe an audio file to text:\n\n```bash\ncoaia transcribe <file_path>\n```\n\nExample:\n\n```bash\ncoaia transcribe path/to/audio/file.mp3\n```\n\n#### Summarize Text\n\nTo summarize a text:\n\n```bash\ncoaia summarize <text>\n```\n\nExample:\n\n```bash\ncoaia summarize \"This is a long text that needs to be summarized.\"\n```\n\nTo summarize text from a file:\n\n```bash\ncoaia summarize --f <file_path>\n```\n\nExample:\n\n```bash\ncoaia summarize --f path/to/text/file.txt\n```\n\n#### Stash Key-Value Pair to Redis\n\nTo stash a key-value pair to Redis:\n\n```bash\ncoaia tash <key> <value>\n```\n\nExample:\n\n```bash\ncoaia tash my_key \"This is the value to stash.\"\n```\n\nTo stash a key-value pair from a file:\n\n```bash\ncoaia tash <key> --f <file_path>\n```\n\nExample:\n\n```bash\ncoaia tash my_key --f path/to/value/file.txt\n```\n\n#### Fetch Value from Redis\n\nTo fetch a value from Redis by key:\n\n```bash\ncoaia fetch <key>\n```\n\nExample:\n\n```bash\ncoaia fetch my_key\n```\n\nTo fetch a value from Redis and save it to a file:\n\n```bash\ncoaia fetch <key> --output <file_path>\n```\n\nExample:\n\n```bash\ncoaia fetch my_key --output path/to/output/file.txt\n```\n\n#### Process Custom Tags\n\nEnable custom quick addons for assistants or bots using process tags. To add a new process tag to `coaia.json`, include entries like:\n```\n\t\"dictkore_temperature\":0.2,\n\t\"dictkore_instruction\": \"You do : Receive a dictated text that requires correction and clarification.\\n\\n# Corrections\\n\\n- In the dictated text, spoken corrections are made. You make them and remove the text related to that to keep the essence of what is discussed.\\n\\n# Output\\n\\n- You keep all the essence of the text (same length).\\n- You keep the same style.\\n- You ensure annotated dictation errors in the text are fixed.\",\n```\n```bash\ncoaia p dictkore \"my text to correct\"\n```\n\n## \ud83d\ude80 Pipeline Templates & Environment Management\n\n### Revolutionary Workflow Automation\n\nCoAiAPy transforms complex AI pipeline creation from 30+ minute manual processes into 30-second automated workflows using templates and persistent environment management.\n\n### Pipeline Templates\n\n#### Built-in Templates (5 Available)\n\n1. **simple-trace**: Basic monitoring with single observation\n2. **data-pipeline**: Multi-step data processing workflow with validation\n3. **llm-chain**: LLM interaction pipeline with input/output tracking\n4. **parallel-processing**: Concurrent task execution with synchronization\n5. **error-handling**: Robust error management with retry mechanisms\n\n#### Template Commands\n\n```bash\n# List all available templates\ncoaia pipeline list\ncoaia pipeline list --path --json\n\n# Inspect template details and variables\ncoaia pipeline show simple-trace\ncoaia pipeline show data-pipeline --preview\n\n# Create pipeline from template (automatic trace/observation creation)\ncoaia pipeline create simple-trace --var trace_name=\"My Process\" --var user_id=\"john\"\ncoaia pipeline create data-pipeline --var pipeline_name=\"ETL Process\" --export-env\n\n# Create new custom template\ncoaia pipeline init my-template\ncoaia pipeline init custom-workflow --from data-pipeline --location project\n```\n\n#### Template Features\n\n- **Variable Substitution**: Jinja2-powered with validation and built-in functions\n- **Conditional Steps**: Include/exclude steps based on variable conditions\n- **Parent-Child Relationships**: Automatic SPAN observation hierarchies\n- **Template Hierarchy**: Project \u2192 Global \u2192 Built-in discovery system\n- **Auto-Generation**: Trace IDs, observation IDs, timestamps generated automatically\n\n### Environment Management\n\n#### Persistent Cross-Session Variables\n\nEnvironment files (`.coaia-env`) provide persistent variable storage across shell sessions:\n\n```bash\n# Initialize environment with defaults\ncoaia env init # Creates .coaia-env (project)\ncoaia env init --global # Creates ~/.coaia/global.env\ncoaia env init --name dev # Creates .coaia-env.dev\n\n# Manage variables\ncoaia env set COAIA_USER_ID \"john\" # Persist to file\ncoaia env set DEBUG_MODE \"true\" --temp # Session only\ncoaia env get COAIA_TRACE_ID # Get variable value\ncoaia env unset OLD_VARIABLE # Remove variable\n\n# List and inspect environments \ncoaia env list # Show all environments\ncoaia env list --name dev # Show specific environment\ncoaia env list --json # JSON output\n\n# Shell integration\neval $(coaia env source --export) # Load variables into shell\ncoaia env save --name \"my-context\" # Save current state\n```\n\n#### Advanced Workflow Examples\n\n**One-Command Pipeline Creation:**\n```bash\n# Before: Complex manual setup (30+ minutes)\nexport TRACE_ID=$(uuidgen)\nexport SESSION_ID=$(uuidgen) \ncoaia fuse traces create $TRACE_ID -u john -s $SESSION_ID\nexport OBS_ID=$(uuidgen)\ncoaia fuse traces add-observation $OBS_ID $TRACE_ID -ts -n \"Step 1\"\n# ... repeat for each step ...\n\n# After: One-command automation (< 30 seconds)\ncoaia pipeline create data-pipeline \\\n --var user_id=\"john\" \\\n --var pipeline_name=\"ETL Process\" \\\n --export-env\n\n# Automatic: trace creation, observation hierarchy, environment setup\n```\n\n**Cross-Session Workflow Persistence:**\n```bash\n# Session 1: Start pipeline and persist state\ncoaia pipeline create llm-chain --var model=\"gpt-4\" --export-env\ncoaia env save --name \"llm-session\"\n\n# Session 2: Resume from saved state (hours/days later)\neval $(coaia env source --name llm-session --export)\ncoaia fuse traces add-observation $COAIA_TRACE_ID -n \"Continued processing\"\n```\n\n**Custom Template Creation:**\n```bash\n# Create project-specific template\ncoaia pipeline init company-etl --from data-pipeline --location project\n# Edit ./.coaia/templates/company-etl.json with custom variables and steps\n\n# Use custom template\ncoaia pipeline create company-etl --var data_source=\"production_db\"\n```\n\n#### Environment File Formats\n\n**JSON Format** (`.coaia-env`):\n```json\n{\n \"COAIA_TRACE_ID\": \"uuid-here\",\n \"COAIA_USER_ID\": \"john\",\n \"CUSTOM_VARIABLE\": \"value\"\n}\n```\n\n**.env Format** (`.coaia-env`):\n```bash\nCOAIA_TRACE_ID=\"uuid-here\"\nCOAIA_USER_ID=\"john\"\nCUSTOM_VARIABLE=\"value\"\n```\n\n### Building and Publishing\n\nUse the provided `Makefile` to build and distribute the package. Typical tasks:\n\n```bash\nmake build # create sdist and wheel\nmake dist # alias for make build\nmake upload-test # upload the distribution to Test PyPI\nmake test-release # bump patch version, clean, build, and upload to Test PyPI\n```\n\nBoth upload tasks use:\n`twine upload --repository testpypi dist/*`\n`make test-release` automatically sources `$HOME/.env` so `TWINE_USERNAME` and `TWINE_PASSWORD` are available.\nIf you need the variables in your shell, run:\n```bash\nexport $(grep -v '^#' $HOME/.env | xargs)\n```\nIt also bumps the patch version using `bump.py` before uploading.\n\n\n## Langfuse Integration (`fuse`)\n\nCoAiAPy integrates with Langfuse to manage prompts, datasets, and traces.\n\n### Listing Prompts\n\nTo see a formatted table of all available prompts:\n```bash\ncoaia fuse prompts list\n```\n\n### Getting a Specific Prompt\n\nRetrieve a prompt by name. By default, it fetches the version with the `latest` label.\n```bash\ncoaia fuse prompts get <prompt_name>\n```\n\n**Options:**\n- `--label <label>`: Fetch the version with a specific label (e.g., `dev`, `staging`).\n- `--prod`: A convenient shortcut for `--label production`.\n- `--json`: Output the raw JSON response.\n- `-c`, `--content-only`: Output only the raw prompt content, ideal for scripting.\n- `-e`, `--escaped`: Output the prompt content as a single, JSON-escaped line. This is useful for embedding the content in other scripts or commands. Using `-e` implies `-c`.\n\n**Examples:**\n```bash\n# Get the latest version of a prompt\ncoaia fuse prompts get MyPrompt\n\n# Get the production version of a prompt\ncoaia fuse prompts get MyPrompt --prod\n\n# Get only the content of a prompt\ncoaia fuse prompts get MyPrompt -c\n\n# Get the content as an escaped, single line\ncoaia fuse prompts get MyPrompt -e\n```\n\n### Managing Datasets\n\n#### Listing Datasets\nTo see a formatted table of all available datasets:\n```bash\ncoaia fuse datasets list\n```\n\n#### Getting a Specific Dataset and its Items\nRetrieve a dataset's metadata and all of its items in a formatted display.\n```bash\ncoaia fuse datasets get <dataset_name>\n```\n\n**Options:**\n- `--json`: Output the raw JSON for the dataset and its items.\n- `-oft`, `--openai-ft`: Format the dataset for OpenAI fine-tuning (JSONL).\n- `-gft`, `--gemini-ft`: Format the dataset for Gemini fine-tuning (JSONL).\n- `--system-instruction \"<text>\"`: Customize the system instruction for fine-tuning formats. The default is \"You are a helpful assistant\".\n\n**Examples:**\n```bash\n# Get a formatted view of a dataset and its items\ncoaia fuse datasets get MyDataset\n\n# Get the raw JSON for a dataset\ncoaia fuse datasets get MyDataset --json\n\n# Export a dataset for OpenAI fine-tuning\ncoaia fuse datasets get MyDataset -oft > training_data.jsonl\n\n# Export for Gemini with a custom system instruction\ncoaia fuse datasets get MyDataset -gft --system-instruction \"You are a creative writing assistant.\"\n```\n\n#### Creating a New Dataset\nYou can create a new, empty dataset directly from the CLI.\n```bash\ncoaia fuse datasets create <new_dataset_name>\n```\n\n#### Adding Items to a Dataset\nYou can add new items (with an input and an optional expected output) to an existing dataset.\n```bash\ncoaia fuse dataset-items create <dataset_name> --input \"User question or prompt.\" --expected \"Ideal model response.\"\n```\n\n### Traces & Observations - Enhanced AI Pipeline Support\n\nCoAiAPy provides comprehensive support for Langfuse traces and observations with enhanced pipeline integration.\n\n#### Creating Traces\n\nCreate a new trace with session, user metadata, and optional environment variable export:\n```bash\ncoaia fuse traces create <trace_id> -s <session_id> -u <user_id> -n \"Trace Name\"\n```\n\n**Pipeline Integration Example:**\n```bash\n# Create trace and export environment variables for pipeline use\neval $(coaia fuse traces create $(uuidgen) -s $(uuidgen) -u pipeline-user -n \"AI Workflow\" --export-env)\necho \"Created trace: $COAIA_TRACE_ID\"\n```\n\n#### Adding Observations\n\nAdd single observations to traces with auto-generated IDs and enhanced CLI options:\n\n**Basic Usage:**\n```bash\n# Observation ID is auto-generated if not provided\ncoaia fuse traces add-observation <trace_id> -n \"Processing Step\" -i '{\"input\":\"data\"}' -o '{\"result\":\"output\"}'\n\n# With explicit observation ID\ncoaia fuse traces add-observation <trace_id> <observation_id> -n \"Custom Step\"\n```\n\n**Observation Types with Shortcuts:**\n```bash\n# EVENT (default) - discrete events\ncoaia fuse traces add-observation <trace_id> -te -n \"Data Loaded\"\n\n# SPAN - operations with duration \ncoaia fuse traces add-observation <trace_id> -ts -n \"Main Processing\"\n\n# GENERATION - AI model calls\ncoaia fuse traces add-observation <trace_id> -tg -n \"LLM Response\" --model \"gpt-4\"\n```\n\n**Parent-Child Relationships:**\n```bash\n# Create parent SPAN\neval $(coaia fuse traces add-observation $COAIA_TRACE_ID -ts -n \"Main Workflow\" --export-env)\nparent_span=$COAIA_LAST_OBSERVATION_ID\n\n# Add child observations under the SPAN\ncoaia fuse traces add-observation $COAIA_TRACE_ID -n \"Step 1\" --parent $parent_span\ncoaia fuse traces add-observation $COAIA_TRACE_ID -n \"Step 2\" --parent $parent_span\n```\n\n**Pipeline Workflow Example:**\n```bash\n#!/bin/bash\n# Complete AI pipeline with automatic ID propagation\n\n# Step 1: Create trace and export environment\neval $(coaia fuse traces create $(uuidgen) -s $(uuidgen) -u ai-pipeline --export-env)\n\n# Step 2: Create main SPAN observation\neval $(coaia fuse traces add-observation $COAIA_TRACE_ID -ts -n \"AI Processing Pipeline\" --export-env)\nmain_span=$COAIA_LAST_OBSERVATION_ID\n\n# Step 3: Add processing steps under the main SPAN\neval $(coaia fuse traces add-observation $COAIA_TRACE_ID -n \"Data Loading\" --parent $main_span --export-env)\neval $(coaia fuse traces add-observation $COAIA_TRACE_ID -tg -n \"Model Inference\" --parent $main_span --model \"gpt-4\" --export-env)\neval $(coaia fuse traces add-observation $COAIA_TRACE_ID -n \"Results Processing\" --parent $main_span --export-env)\n\necho \"Pipeline complete! Trace: $COAIA_TRACE_ID\"\n```\n\n#### Batch Observations\n\nAdd multiple observations from JSON or YAML files:\n```bash\n# From file\ncoaia fuse traces add-observations <trace_id> -f observations.json\n\n# From stdin with YAML format\ncat observations.yaml | coaia fuse traces add-observations <trace_id> --format yaml\n\n# Dry run to preview what would be created\ncoaia fuse traces add-observations <trace_id> -f observations.json --dry-run\n```\n\n**Example JSON format for batch observations:**\n```json\n[\n {\n \"name\": \"Data Processing\",\n \"type\": \"SPAN\",\n \"input\": {\"dataset\": \"user_data.csv\"},\n \"output\": {\"processed_rows\": 1000}\n },\n {\n \"name\": \"Model Training\", \n \"type\": \"GENERATION\",\n \"parent_observation_id\": \"previous-observation-id\",\n \"model\": \"gpt-4\",\n \"usage\": {\"tokens\": 150, \"cost\": 0.003}\n }\n]\n```\n\n#### Environment Variables for Pipelines\n\nCoAiAPy exports standard environment variables for seamless pipeline integration:\n\n- `COAIA_TRACE_ID`: Current trace identifier\n- `COAIA_SESSION_ID`: Current session identifier \n- `COAIA_USER_ID`: Current user identifier\n- `COAIA_LAST_OBSERVATION_ID`: Most recently created observation ID\n- `COAIA_PARENT_OBSERVATION_ID`: Parent observation ID (when using --parent)\n\n**Usage Pattern:**\n```bash\n# Commands with --export-env output only shell export statements (no JSON)\neval $(coaia fuse traces create $(uuidgen) --export-env)\neval $(coaia fuse traces add-observation $COAIA_TRACE_ID -ts -n \"Process\" --export-env)\n\n# Use the exported variables in subsequent steps\ncoaia fuse traces add-observation $COAIA_TRACE_ID -n \"Child\" --parent $COAIA_LAST_OBSERVATION_ID\n```\n\n#### Advanced Features\n\n**Datetime Format Support:**\n- ISO format: `2025-08-17T14:30:22Z`\n- TLID format: `250817143022` (yyMMddHHmmss)\n- Short TLID: `2508171430` (yyMMddHHmm, seconds default to 00)\n\n**Usage Information:**\n```bash\ncoaia fuse traces add-observation <trace_id> -tg -n \"LLM Call\" \\\n --model \"gpt-4\" \\\n --usage '{\"prompt_tokens\": 100, \"completion_tokens\": 50, \"total_cost\": 0.0025}'\n```\n\n**Metadata and Levels:**\n```bash\ncoaia fuse traces add-observation <trace_id> -n \"Error Handling\" \\\n --level ERROR \\\n --metadata '{\"error_type\": \"timeout\", \"retry_count\": 3}'\n```\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.\n\n## Links\n\n- [GitHub Repository](https://github.com/jgwill/coaiapy)\n- [PyPI Package](https://pypi.org/project/coaiapy/)\n- [llms.txt (AI Documentation)](https://coaiapy.jgwill.com/llms.txt)\n- [Documentation Wiki](https://github.com/jgwill/coaiapy/wiki)\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for more details.\n",
"bugtrack_url": null,
"license": "Creative Commons Legal Code\n \n CC0 1.0 Universal\n \n CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE\n LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN\n ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS\n INFORMATION ON AN \"AS-IS\" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES\n REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS\n PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM\n THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED\n HEREUNDER.\n \n Statement of Purpose\n \n The laws of most jurisdictions throughout the world automatically confer\n exclusive Copyright and Related Rights (defined below) upon the creator\n and subsequent owner(s) (each and all, an \"owner\") of an original work of\n authorship and/or a database (each, a \"Work\").\n \n Certain owners wish to permanently relinquish those rights to a Work for\n the purpose of contributing to a commons of creative, cultural and\n scientific works (\"Commons\") that the public can reliably and without fear\n of later claims of infringement build upon, modify, incorporate in other\n works, reuse and redistribute as freely as possible in any form whatsoever\n and for any purposes, including without limitation commercial purposes.\n These owners may contribute to the Commons to promote the ideal of a free\n culture and the further production of creative, cultural and scientific\n works, or to gain reputation or greater distribution for their Work in\n part through the use and efforts of others.\n \n For these and/or other purposes and motivations, and without any\n expectation of additional consideration or compensation, the person\n associating CC0 with a Work (the \"Affirmer\"), to the extent that he or she\n is an owner of Copyright and Related Rights in the Work, voluntarily\n elects to apply CC0 to the Work and publicly distribute the Work under its\n terms, with knowledge of his or her Copyright and Related Rights in the\n Work and the meaning and intended legal effect of CC0 on those rights.\n \n 1. Copyright and Related Rights. A Work made available under CC0 may be\n protected by copyright and related or neighboring rights (\"Copyright and\n Related Rights\"). Copyright and Related Rights include, but are not\n limited to, the following:\n \n i. the right to reproduce, adapt, distribute, perform, display,\n communicate, and translate a Work;\n ii. moral rights retained by the original author(s) and/or performer(s);\n iii. publicity and privacy rights pertaining to a person's image or\n likeness depicted in a Work;\n iv. rights protecting against unfair competition in regards to a Work,\n subject to the limitations in paragraph 4(a), below;\n v. rights protecting the extraction, dissemination, use and reuse of data\n in a Work;\n vi. database rights (such as those arising under Directive 96/9/EC of the\n European Parliament and of the Council of 11 March 1996 on the legal\n protection of databases, and under any national implementation\n thereof, including any amended or successor version of such\n directive); and\n vii. other similar, equivalent or corresponding rights throughout the\n world based on applicable law or treaty, and any national\n implementations thereof.\n \n 2. Waiver. To the greatest extent permitted by, but not in contravention\n of, applicable law, Affirmer hereby overtly, fully, permanently,\n irrevocably and unconditionally waives, abandons, and surrenders all of\n Affirmer's Copyright and Related Rights and associated claims and causes\n of action, whether now known or unknown (including existing as well as\n future claims and causes of action), in the Work (i) in all territories\n worldwide, (ii) for the maximum duration provided by applicable law or\n treaty (including future time extensions), (iii) in any current or future\n medium and for any number of copies, and (iv) for any purpose whatsoever,\n including without limitation commercial, advertising or promotional\n purposes (the \"Waiver\"). Affirmer makes the Waiver for the benefit of each\n member of the public at large and to the detriment of Affirmer's heirs and\n successors, fully intending that such Waiver shall not be subject to\n revocation, rescission, cancellation, termination, or any other legal or\n equitable action to disrupt the quiet enjoyment of the Work by the public\n as contemplated by Affirmer's express Statement of Purpose.\n \n 3. Public License Fallback. Should any part of the Waiver for any reason\n be judged legally invalid or ineffective under applicable law, then the\n Waiver shall be preserved to the maximum extent permitted taking into\n account Affirmer's express Statement of Purpose. In addition, to the\n extent the Waiver is so judged Affirmer hereby grants to each affected\n person a royalty-free, non transferable, non sublicensable, non exclusive,\n irrevocable and unconditional license to exercise Affirmer's Copyright and\n Related Rights in the Work (i) in all territories worldwide, (ii) for the\n maximum duration provided by applicable law or treaty (including future\n time extensions), (iii) in any current or future medium and for any number\n of copies, and (iv) for any purpose whatsoever, including without\n limitation commercial, advertising or promotional purposes (the\n \"License\"). The License shall be deemed effective as of the date CC0 was\n applied by Affirmer to the Work. Should any part of the License for any\n reason be judged legally invalid or ineffective under applicable law, such\n partial invalidity or ineffectiveness shall not invalidate the remainder\n of the License, and in such case Affirmer hereby affirms that he or she\n will not (i) exercise any of his or her remaining Copyright and Related\n Rights in the Work or (ii) assert any associated claims and causes of\n action with respect to the Work, in either case contrary to Affirmer's\n express Statement of Purpose.\n \n 4. Limitations and Disclaimers.\n \n a. No trademark or patent rights held by Affirmer are waived, abandoned,\n surrendered, licensed or otherwise affected by this document.\n b. Affirmer offers the Work as-is and makes no representations or\n warranties of any kind concerning the Work, express, implied,\n statutory or otherwise, including without limitation warranties of\n title, merchantability, fitness for a particular purpose, non\n infringement, or the absence of latent or other defects, accuracy, or\n the present or absence of errors, whether or not discoverable, all to\n the greatest extent permissible under applicable law.\n c. Affirmer disclaims responsibility for clearing rights of other persons\n that may apply to the Work or any use thereof, including without\n limitation any person's Copyright and Related Rights in the Work.\n Further, Affirmer disclaims responsibility for obtaining any necessary\n consents, permissions or other rights required for any use of the\n Work.\n d. Affirmer understands and acknowledges that Creative Commons is not a\n party to this document and has no duty or obligation with respect to\n this CC0 or use of the Work.\n ",
"summary": "A Python package for audio transcription, synthesis, and tagging using Boto3.",
"version": "0.2.69",
"project_urls": {
"Homepage": "https://github.com/jgwill/coaiapy"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "99ed141a2683b447802e54dbc25d88a9b0171f6b5b7b33c9fed62e77db3a0b33",
"md5": "1f3a6355baa86960356e3227d8487e05",
"sha256": "99e017c7568f0ede12f5de9eebcb6c95631743dcfebfc9c9a4e003ef9e911f8e"
},
"downloads": -1,
"filename": "coaiapy-0.2.69-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1f3a6355baa86960356e3227d8487e05",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 70226,
"upload_time": "2025-08-30T00:09:43",
"upload_time_iso_8601": "2025-08-30T00:09:43.860425Z",
"url": "https://files.pythonhosted.org/packages/99/ed/141a2683b447802e54dbc25d88a9b0171f6b5b7b33c9fed62e77db3a0b33/coaiapy-0.2.69-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d7717addf7efc167111d226b11810b05af08f38336d97401dc8497a7ecd626eb",
"md5": "2d195d5af956fa7fbb53a04716829e57",
"sha256": "c40b0e4fbadcd6be8a186041f8242204d79a27481af3a98112413c56de64cfb5"
},
"downloads": -1,
"filename": "coaiapy-0.2.69.tar.gz",
"has_sig": false,
"md5_digest": "2d195d5af956fa7fbb53a04716829e57",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 79773,
"upload_time": "2025-08-30T00:09:45",
"upload_time_iso_8601": "2025-08-30T00:09:45.372244Z",
"url": "https://files.pythonhosted.org/packages/d7/71/7addf7efc167111d226b11810b05af08f38336d97401dc8497a7ecd626eb/coaiapy-0.2.69.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-30 00:09:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jgwill",
"github_project": "coaiapy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "boto3",
"specs": [
[
"<=",
"1.26.137"
]
]
},
{
"name": "mutagen",
"specs": [
[
"<=",
"1.45.1"
]
]
},
{
"name": "certifi",
"specs": []
},
{
"name": "charset-normalizer",
"specs": []
},
{
"name": "idna",
"specs": []
},
{
"name": "redis",
"specs": [
[
"==",
"5.1.1"
]
]
},
{
"name": "requests",
"specs": []
},
{
"name": "markdown",
"specs": []
},
{
"name": "PyYAML",
"specs": []
}
],
"lcname": "coaiapy"
}