Skip to main content

No project description provided

Project description

ByteArk SDK for Python

Usage

from byteark_sdk import ByteArkSigner

signer = ByteArkSigner(
    access_key="2Aj6Wkge4hi1ZYLp0DBG",
    access_secret="31sX5C0lcBiWuGPTzRszYvjxzzI3aCZjJi85ZyB7"
)
signed_url = signer.sign(
    'https://example.cdn.byteark.com/path/to/file.png',
    1514764800
)
print(signed_url)

# Output:
#    https://example.cdn.byteark.com/path/to/file.png
#       ?x_ark_access_id=2Aj6Wkge4hi1ZYLp0DBG
#       &x_ark_auth_type=ark-v2
#       &x_ark_expires=1514764800
#       &x_ark_signature=OsBgZpn9LTAJowa0UUhlYQ

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

byteark_sdk-0.1.1a0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

byteark_sdk-0.1.1a0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file byteark_sdk-0.1.1a0.tar.gz.

File metadata

  • Download URL: byteark_sdk-0.1.1a0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.12.8 Darwin/24.2.0

File hashes

Hashes for byteark_sdk-0.1.1a0.tar.gz
Algorithm Hash digest
SHA256 7a6a9d3661d2673e291cba040ba25430baefee80e68bf7e29d3738037b2933c9
MD5 6ddfa9bd398ed88bbc5204ef8c019753
BLAKE2b-256 0434d4cde9864c80bbc4d319d4aec31818641d523c291100e30ef3af93a9028c

See more details on using hashes here.

File details

Details for the file byteark_sdk-0.1.1a0-py3-none-any.whl.

File metadata

  • Download URL: byteark_sdk-0.1.1a0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.0 CPython/3.12.8 Darwin/24.2.0

File hashes

Hashes for byteark_sdk-0.1.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac0b58d5d0605d7b42c778940d32800f90b91f7539b0f52dc613aba3109ab7a0
MD5 2cd911b8af4f60b1e3b897e8525f18fc
BLAKE2b-256 2943213ce6df00e200980a8b33bf5a7d70525c9fcd08c3301d522873427dbfbe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page