A polyglot hypermedia library for python ReSTful services
Project description
WSTL-PY
A python package to make implementing Web Service Transition Language (WSTL) in projects.
Package Development
I am developing this package as part of work on the Open Distributed Information Service (ODIS). Hopefully, it will be useful beyond this project, but I am not ready to make any promises just yet. At the moment it should be considered an experimental work.
Related Work
There is also the ALPS-PY developed for the same reason, which helps with Application-Level Profile Semantics (ALPS) implementations.
Feedback
Any feedback will be welcomed. Create an issue, or start a discussion on the ODIS repo
Usage
At the moment it is possible to create a valid WSTL message from code:
wstl = Wstl()
wstl.add_action(...)
wstl.add_data_item(...)
print(wstl.to_data())
Behind the scenes it can resolve action names to full action descriptions.
Plans
[ ] Integration with ALPS-PY project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file polymedia-0.2.1-py3.10.egg
.
File metadata
- Download URL: polymedia-0.2.1-py3.10.egg
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb5cb251a9a6af107e0d51df7b186120fa4eec25b8c12f0b8ce55385d8716742 |
|
MD5 | c72907e009c44118d284964d23e8e0c3 |
|
BLAKE2b-256 | 49d15cd5041690bdfb4b16118e1fcdc5bcca9f163c566d879b45a72714bc588c |