8000 GitHub - geosiris-technologies/py-etp-client: An etp client python module to make an etp websocket connexion
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
10000

geosiris-technologies/py-etp-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-etp-client

License Documentation Status Python CI Python version PyPI Version Status Codecov

An etp client python module to make an etp websocket connexion

Example of use :

Check "example" folder for a example project that uses this library.

To test the example : Create an .env file in the example folder with the following content :

INI_FILE_PATH=../configs/sample.yml 

Then create the corresponding yaml file :

# sample.yml
PORT: 443
URL: wss://....
USERNAME: username
PASSWORD: pwd
ADDITIONAL_HEADERS:
  - data-partition-id: osdu
TOKEN: ACCESS_TOKEN
TOKEN_URL: https://.../token
TOKEN_GRANT_TYPE: ...
TOKEN_SCOPE: ...
TOKEN_REFRESH_TOKEN: ...

Finally run the client script :

poetry install
poetry run client

installation :

Pip:

pip install py-etp-client

Poetry

poetry add py-etp-client

Usage :

Check example for more information

About

An etp client python module to make an etp websocket connexion

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0