Skip to main content

Multi purpose API Generator based on an Ontology Framework.

Project description

OntologyToAPI

This python package is an ontology-driven API generator designed for backend development by transforming structured domain knowledge, different data sources and implemented business models into fully functional APIs. The tool accepts ontologies specified in Turtle (.ttl), Resource Description Framework (.rdf) and Web Ontology Language (.owl).

Publish to PyPI and TestPyPI


Expected Results from a simple ontology specification

APIEndpoints

Supported communication technologies are (Currently):

Stateful Connections

  • "SOCKET" - For Socket connections using asyncio streams

Stateless Connections

  • "API" - For REST APIs using requests driver
  • "MYSQL" - For MySQL Databases using aiomysql driver
  • "SQLITE" - For SQLite Databases using aiosqlite driver
  • "POSTGRESQL" - For PostgreSQL Databases using asyncpg driver
  • "MONGODB" - For MongoDB Databases using motor driver
  • "UNQLITE" - For UnQLite Databases using unqlite+asyncio driver

Next Steps:

Next steps involve extending the support for new communication technologies.

  • "FILE" - For File operations using aiofiles driver
  • "WEBSOCKET" - For WebSocket connections using websockets driver
  • "MQTT" - For MQTT connections using asyncio-mqtt driver
  • "REDIS" - For Redis Databases using aioredis driver
  • "CASSANDRA" - For Cassandra Databases using cassandra-driver with asyncio support

Change Log

VERSION="0.0.20" LAST_UPDATE="11/02/2026"

  • Added to the Ontological Framework in the Business Model ontology a concept to link a business model to an output metadata: this is aligned with the integration goals with user interfaces and other systems by providing a data schema of the output.
  • Added Wiki at https://github.com/JCGCosta/OntologyToAPI/wiki

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

ontologytoapi-0.0.20.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

ontologytoapi-0.0.20-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file ontologytoapi-0.0.20.tar.gz.

File metadata

  • Download URL: ontologytoapi-0.0.20.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ontologytoapi-0.0.20.tar.gz
Algorithm Hash digest
SHA256 bd81bce38082ab6dbde149e3f19230c83105f2ab19fa6a0c97c30172f2d52f08
MD5 a4e87c003c3781309fecc56bab7b65b5
BLAKE2b-256 18173d2420b4fd8bf53d922ff56e15d4f1d142ca1beae8851e10c232153ffb83

See more details on using hashes here.

File details

Details for the file ontologytoapi-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: ontologytoapi-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ontologytoapi-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 5f256199e2da3a4157c5aea353c7c4f127b11d3f2f004a264956126d781772ea
MD5 95e4836fa1b6b1261aae5675c591af41
BLAKE2b-256 11f86cb61582433083250df49a6312b3cc3a38fe06bf15741281d0574635c0bd

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