Etpclient
==========
Installation :
Poetry is required to use the client. Poetry documentation
poetry update
poetry install
Sample commands :
poetry run python client --host RDDMS_HOST --port 9002 -t MY_TOKEN
poetry run python client --host MY_HOST --port 80 --sub-path etp -t MY_TOKEN
poetry run python client --host 127.0.0.1 --port 17000 --sub-path etp --username login --password passwordTest
poetry run python client --host 127.0.0.1 --port 5432 --username testerlogin --password passwordtester
ETP supported commands :
When the client is connected you can send your request.
This is the help menu :
[XXX] : replace XXX with your value
[XXX=Y] : replace XXX with your value, default is Y
[[XXX]] : optional parameter
Help : show this menu
Quit : hard quit (no CloseSession sent)
CloseSession : close this session
GetDataArrayMetadata [URI] [PATH_IN_RESOURCE]
GetDataArray [URI] [PATH_IN_RESOURCE]
GetDataSubArray [URI] [PATH_IN_RESOURCE] [START] [COUNT]
PutDataArray [[UUIDS]]* [DATASPACE_NAME] [EPC_FILE_PATH] [H5_FILE_PATH]
GetDataObject [URI_1] [...] [URI_N]
PutDataObject [FILE_PATH] [[DATASPACE_NAME]]
GetResources [[uri=eml:/// or notUri=DataspaceName]] [[depth=1]] [[SCOPE]]
GetDataspaces
PutDataspace [NAME]
DeleteDataspace [NAME]
Configuration
It is possible to change the "capabilities" of your client in the prefilled RequestSession object in etpclient/etp/requester.py
To add/remove supported protocols and request, modify the file etpclient/etp/serverprotocols.py. Do not forget to decorate your protocols to allow the class ETPConnection to use your protocol. Example :
@ETPConnection.on(CommunicationProtocol.CORE)
class myCoreProtocol(CoreHandler):
...
Metadata
Release files for etpclient 0.0.3
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 |
|---|---|---|---|---|
| etpclient-0.0.3.tar.gz | 30.9 kB | Without provenance | Details for etpclient-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| etpclient-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for etpclient-0.0.3-py3-none-any.whl |
Total release size: 65.4 kB
Release files / etpclient-0.0.3.tar.gz
| Download URL | etpclient-0.0.3.tar.gz |
|---|---|
| Size | 30.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0fab184830a7432b0dc386735ce946f1353b6173f58ccbe57167d589cd61852
|
|
BLAKE2b-256 checksum How to use checksums |
64c39fc595e5f0dc062dc0d004f7dd4ea67692e40e2409fb121c4fa413f079dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.18 Linux/6.2.0-1015-azure
|
Release files / etpclient-0.0.3-py3-none-any.whl
| Download URL | etpclient-0.0.3-py3-none-any.whl |
|---|---|
| Size | 34.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab6ca73bee6486733d202475f8bda65869c4ba94bd3d9ff0cf5b3cbad2555e17
|
|
BLAKE2b-256 checksum How to use checksums |
fda5ccf70f0c266fdb4d3057df966ca071bfff5c67462526785d812acb659270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.18 Linux/6.2.0-1015-azure
|
Security for etpclient 0.0.3
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.