🚀 TransmorphAI - AI-Powered Data Transformation for APIs
📌 Introduction
TransmorphAI is a Python library designed to simplify communication between APIs. Normally, when integrating with an API, developers must strictly follow the API’s documentation, ensuring that their requests match the required data types and structure.
With TransmorphAI, this is no longer necessary. API consumers can send data in any format (JSON, XML, plain text) without worrying about how the final API expects it.
🔹 Why Use TransmorphAI?
✅ API consumers don’t need to adapt to the API provider’s documentation.
✅ You only need to know the parameter names, not their types or format.
✅ The API receiving the request, which has TransmorphAI integrated, will automatically format and validate the data before storing it.
✅ API consumers don’t need to know the final format—they just send the data, and TransmorphAI handles the transformation.
🛠 Features
✅ Supports multiple input formats (JSON, XML, plain text).
✅ Automatically formats data according to the API’s required structure.
✅ Detects missing required fields and alerts if any are missing.
✅ Maintains correct data types (e.g., converts numbers, strings, and lists correctly).
✅ Detects input language and preserves the intended output format.
✅ Secure and flexible, allowing easy integration into any Python-based API.
🎯 Use Case Example
Traditional API Integration (Without TransmorphAI)
Normally, when consuming an API, developers need to strictly follow the API documentation and format their requests exactly as required.
For example, if an API requires:
{
"full_name": "John Doe",
"age": 30,
"email": "john.doe@example.com"
}
The consumer must send this exact format, with correct data types and field names.
If they send:
{
"name": "John Doe",
"years": "30",
"mail": "john.doe@example.com"
}
🚨 The API will reject it! 🚨
API Integration with TransmorphAI
With TransmorphAI, the API consumer doesn’t need to worry about formatting. They can send:
✅ As JSON:
{
"name": "John Doe",
"years": "30",
"mail": "john.doe@example.com"
}
✅ As XML:
<user>
<name>John Doe</name>
<years>30</years>
<mail>john.doe@example.com</mail>
</user>
✅ As Plain Text:
name: John Doe
years: 30
mail: john.doe@example.com
👉 TransmorphAI automatically converts the input to the correct format required by the API provider:
{
"full_name": "John Doe",
"age": 30,
"email": "john.doe@example.com"
}
✅ No need to follow API documentation strictly!
✅ Faster integration without error-handling headaches!
📌 Installation
TransmorphAI will soon be available on PyPI. In the meantime, you can install it manually:
pip install TransmorphAI
Or clone the repository and install locally:
git clone https://github.com/gimenomarc/TransmorphAI.git
cd TransmorphAI
pip install -e .
📜 License
MIT License
📞 Contact
For questions or suggestions, feel free to reach out on GitHub! 🚀
Metadata
Release files for transmorphai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| transmorphai-0.1.0.tar.gz | 4.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| transmorphai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / transmorphai-0.1.0.tar.gz
| Download URL | transmorphai-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
766f5717fa1e793ca185c5e53f73ce5bf2d38fb1019b17ef4693909f4c9a27e5
|
|
BLAKE2b-256 checksum How to use checksums |
348052e02f97b2d61c344a4f42b948d54117c500d2f0e9646f77291cc4ff1eba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Release files / transmorphai-0.1.0-py3-none-any.whl
| Download URL | transmorphai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e2afb68f8623ad374409cf26b36f778758b8e7d545a40f436a62e920aaf0390
|
|
BLAKE2b-256 checksum How to use checksums |
b05e415973755affd0d778ea47c9129cc564831e16961e9f55a5a7674432ce8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Security for transmorphai 0.1.0
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.