Server implmentation of services for python
Project description
servc-iceberg
Iceberg extension for the servc library. Includes a managed interface for iceberg that includes schema migration, intialization and common query functions.
Requirements
As per usual, this package does not come bundled with any libraries to ensure full flexibility on dependencies and security vulnerabilities.
$ pip install servc servc-iceberg pyiceberg
Environment Variables
DATA_PATH - the location to start writing files. Default: /tmp/ CATALOGUE_NAME - the name of the catalogue to use. default: 'default' CATALOGUE_NAMESPACE - the name of the namespace to use. default: 'namespace' CATALOGUE_TYPE - the type of catalog. default: sql CATALOGUE_URI - the postgres url for the catalog. eg: postgresql+psycopg2://username:password@localhost/mydatabase
Documentation
Servc's documentation can be found https://docs.servc.ca
Example
Here is the most simple example of use,
from servc.com.server.server import start_server
def inputProcessor(messageId, bus, cache, components, message, emit):
pass
# the method 'methodA' will be resolved by inputProcessor
start_server(
"my-route",
{
"methodA": inputProcessor
}
)
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 Distribution
Built Distribution
File details
Details for the file servciceberg-1.0.0.tar.gz
.
File metadata
- Download URL: servciceberg-1.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff3fc3f4cf8cdd669f7a1d62526de90e66ef9f5eab2b11526a5fedea1f3fbd2 |
|
MD5 | 2c7885f1fd003cbec9462bc7dbad6b64 |
|
BLAKE2b-256 | 863658cc7bd77df798badfdba39fd4c6a7dae560bbcb915abf9c3104160f5888 |
File details
Details for the file servciceberg-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: servciceberg-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca586694be7ccd452033a5018c1a20af77979997fbf63a6fa7d659584c4ad78b |
|
MD5 | 58058c0f90811e9be985b9a8dfa30a1a |
|
BLAKE2b-256 | 0712b4244c0176f02eb159de6b338f90bcc752d41c754d27760d4e7471545a87 |