The gemstone framework
An extensible and simplistic library for writing microservices in Python.
Core features:
JSON RPC 2.0 communication (request-response)
Event based communication (publisher-subscriber)
autodiscovery
dynamic configuration of the services
possibility to add web application functionality
API token based security
See the documentation for more info: documentation
Check out the issue tracker: issue tracker
Changes: Changelog
0.6.0 (14.02.2017)
- added configurable framework:
gemstone.config.configurable.Configurable class
gemstone.config.configurator.* classes
gemstone.MicroService.configurables and gemstone.MicroService.configurators attributes
switched testing to pytest
improved documentation (restructured and minor additions). Still a work in progress
0.5.0 (09.02.2017)
- added support for publisher-subscriber communication method:
base class for event transports: gemstone.event.transport.BaseEventTransport
first concrete implementation: gemstone.event.transport.RabbitMqEventTransport
gemstone.MicroService.emit_event for publishing an event
gemstone.event_handler decorator for designating event handlers
restructured documentation (added tutorial, examples and howto sections).
added asynchronous method calls in gemstone.RemoteService.
added gemstone.as_completed, gemstone.first_completed, gemstone.make_callbacks utility functions for dealing with asynchronous method calls.
0.4.0 (25.01.2017)
modified accessible_at attribute of the gemstone.MicroService class
added the endpoint attribute to the gemstone.MicroService class
improved how the microservice communicates with the service registry
0.3.1 (25.01.2017)
fixed event loop freezing on Windows
fixed a case when a TypeError was silenced when handling the bad parameters error in JSON RPC 2.0 handler (#21)
major refactoring (handling of JSON RPC objects as Python objects instead of dicts and lists) to improve readability and maintainability
improved documentation
0.3.0 (23.01.2017)
added validation strategies (method for extraction of api token from the request)
base subclass for implementing validation strategies
built in validation strategies: HeaderValidationStrategy, BasicCookieStrategy
improved documentation
0.2.0 (17.01.2017)
added gemstone.RemoteService.get_service_by_name method
added call command to cli
added call_raw command to cli
improved documentation a little
0.1.3 (16.01.2017)
fixed manifest to include required missing files
0.1.2 (16.01.2017)
added py36 to travis-ci
refactored setup.py and reworked description files and documentation for better rendering
0.1.1 (13.01.2017)
changed the name of the library from pymicroservice to gemstone
added the gemstone.MicroService.accessible_at attribute
0.1.0 (09.01.2017)
added the pymicroservice.PyMicroService.get_cli method
improved documentation a little bit
0.0.4
fixed bug when sending a notification that would result in an error was causing the microservice to respond abnormally (see #10)
fixed a bug that was causing the service to never respond with the invalid parameters status when calling a method with invalid parameters
0.0.3
added pymicroservice.RemoteService class
added the pymicroservice.PyMicroService.get_service(name)
improved documentation
Metadata
Release files for gemstone 0.7.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 | Actions |
|---|---|---|---|---|
| gemstone-0.7.0.tar.gz | 31.5 kB | Without provenance | Details for gemstone-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gemstone-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for gemstone-0.7.0-py3-none-any.whl |
Total release size: 77.7 kB
Release files / gemstone-0.7.0.tar.gz
| Download URL | gemstone-0.7.0.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10ea9a73efc1d37860e4e96b38e1aa495c9bb117c974a3d9d40c33588a4c4d46
|
|
BLAKE2b-256 checksum How to use checksums |
5c83ebee04098f8bcfc6a87979dd5eedaf53d571560f3096b4be078fe5e9efb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / gemstone-0.7.0-py3-none-any.whl
| Download URL | gemstone-0.7.0-py3-none-any.whl |
|---|---|
| Size | 46.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7bcb8a6092e59a4d456d9f47ba7e69052db86c51231b712248193a6d5d135ed
|
|
BLAKE2b-256 checksum How to use checksums |
8902a1bfdefd4a120983812a3398e08e74484434e15ff233429c6d0214371350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gemstone 0.7.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.