Skip to main content

Project description

Athena is the core SDK for requesting the EnOS API

Example

1.1 Query

from poseidon.poseidon import poseidon

appkey = 'xxxxx-xxxx-xxxx-xxxx-xxxxxxxx'
appsecret = 'xxxxx-xxxx-xxxx-xxxx-xxxxxx'

url = 'http://{apim-url}/someservice/v1/tyy?sid=28654780'

req = poseidon.urlopen(appkey, appsecret, url)
print(req)

1.2 Header

from poseidon.poseidon import poseidon

appkey = 'xxxxx-xxxx-xxxx-xxxx-xxxxxxxx'
appsecret = 'xxxxx-xxxx-xxxx-xxxx-xxxxxx'

url = 'http://{apim-url}/someservice/v1/tyy?sid=28654780'

header = {}

req = poseidon.urlopen(appkey, appsecret, url, None, header)
print(req)

1.3 Body

from poseidon.poseidon import poseidon

appkey = 'xxxxx-xxxx-xxxx-xxxx-xxxxxxxx'
appsecret = 'xxxxx-xxxx-xxxx-xxxx-xxxxxx'

url = 'http://{apim-url}/someservice/v1/tyy?sid=28654780'

data = {"username": "11111", "password": "11111"}

req = poseidon.urlopen(appkey, appsecret, url, data)
print(req)

Metadata

Release files for enos-poseidon 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enos-poseidon 0.2.0
File Size Uploaded Provenance Actions
enos-poseidon-0.2.0.tar.gz 3.2 kB Without provenance Details for enos-poseidon-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for enos-poseidon 0.2.0
File Interpreter ABI Platform Actions
enos_poseidon-0.2.0-py2.7.egg Legacy Egg format - - Details for enos_poseidon-0.2.0-py2.7.egg

Total release size: 9.3 kB

Release files / enos-poseidon-0.2.0.tar.gz

Download URL enos-poseidon-0.2.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d94e4ac78dc304cef16a59607ac80a5d15f909abbf9b6e09d4e9d8a7b040dc3a
BLAKE2b-256 checksum
How to use checksums
5b6ea2cfeaec0da5a2e780d992a628e4331fe2c8d452443d632dd17eefbc70d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/2.7.18

Release files / enos_poseidon-0.2.0-py2.7.egg

Download URL enos_poseidon-0.2.0-py2.7.egg
Size 6.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
140a75c844d3d7cef4d6e4c0db943f394336f58e10e6e74588fc31d7cf957277
BLAKE2b-256 checksum
How to use checksums
aefd8cbba2a00c5c2f871660732bf54344071de360c926d5c95e8903c6eac225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/2.7.18

Security for enos-poseidon 0.2.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page