Skip to main content

A fork of minio-py with some modifications.

Project description

fano-oss-py-sdk

This is a fork of minio-py.

Difference

  • Add external_host and contextual_path to Minio constructor.
  • Add is_external to presigned_get_object and presigned_put_object method.

Following is an example code:

client = Minio(
    "192.168.4.19:9000",
    access_key="accesskey",
    secret_key="secretkey",
    secure=False,
    external_host="https://sample.fano.ai",
    contextual_path=True,
)

# For external link
result = client.presigned_get_object("example", "test", is_external=True)
# for internal link
result = client.presigned_get_object("example", "test")

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

fano-oss-py-sdk-7.1.17.tar.gz (112.4 kB view details)

Uploaded Source

Built Distribution

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

fano_oss_py_sdk-7.1.17-py3-none-any.whl (77.0 kB view details)

Uploaded Python 3

File details

Details for the file fano-oss-py-sdk-7.1.17.tar.gz.

File metadata

  • Download URL: fano-oss-py-sdk-7.1.17.tar.gz
  • Upload date:
  • Size: 112.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.13

File hashes

Hashes for fano-oss-py-sdk-7.1.17.tar.gz
Algorithm Hash digest
SHA256 4608e757e52e984a5d9f6def5f06603c9506f21381d117b12ab82fe5bbfb39b5
MD5 4532aaacdd7301d43b858acefc7a91cf
BLAKE2b-256 9efaabca5be5e0dbaa69688f2a55a1b9769d851c1164fe6649bfb56a4663bd14

See more details on using hashes here.

File details

Details for the file fano_oss_py_sdk-7.1.17-py3-none-any.whl.

File metadata

File hashes

Hashes for fano_oss_py_sdk-7.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 3478e6c631310810d67f7c3c14e4ebe37fb39b74367b498c250f18b5ca85f6a5
MD5 df527ea4503f4fda26f3be4a6e5aca84
BLAKE2b-256 5cf20fa1ae5f5845a8e5aa2375a54ecc844f4dcfb0aebcab8bd81ff63cbbc972

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