transforge
A transformation language is used to describe processes, like the ones implicit in workflows or software tools, as transformations between types. These types do not necessarily denote a concrete data structure, and the descriptions may be independent from any particular implementation. The goal is only to capture some properties that are deemed conceptually relevant, as a form of procedural metadata.
transforge facilitates defining a transformation language and parsing
its expressions into semantic graphs. It is written in pure Python with
few dependencies.
In order to reason about about transformations, it also implements a type inference module, which accommodates both subtype- and parametric polymorphism.
Expressions of a transformation language can be turned into transformation graphs. Such graphs can be serialized into RDF, or converted to SPARQL queries and matched against other graphs. This enables flexible searching through processes.
The library is still in development. Interfaces might change without warning.
Usage
This package was developed for the CCT algebra for geographical information, which may act as an example.
Click here for a tutorial.
Release files for transforge 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| transforge-0.2.1.tar.gz | 50.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| transforge-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.5 kB
Release files / transforge-0.2.1.tar.gz
| Download URL | transforge-0.2.1.tar.gz |
|---|---|
| Size | 50.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
609f9e12ff3b57ab8d6db562c3c207f59b0ba373bcde4fe1b1428a5a6e8ef1a6
|
|
BLAKE2b-256 checksum How to use checksums |
41ceec0dd6e860a450878c936c7129b51214f8741ef6873b3cd8c71cf81700e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.2
|
Release files / transforge-0.2.1-py3-none-any.whl
| Download URL | transforge-0.2.1-py3-none-any.whl |
|---|---|
| Size | 54.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
881cd9394fe574ba4ea3f4c8d9e7b81610625571d2af57b81dabe80b996aab94
|
|
BLAKE2b-256 checksum How to use checksums |
dda03012712bae7251d2824b49c0d719a2f3964bb44fc2167d9521dd2b487c15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.2
|