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.16.tar.gz (112.3 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.16-py3-none-any.whl (76.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fano-oss-py-sdk-7.1.16.tar.gz
  • Upload date:
  • Size: 112.3 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.16.tar.gz
Algorithm Hash digest
SHA256 c95bb2123a6489c6dd49200cb7c7caf0b619c9295ff2989dc0cc44b8a6bdd58b
MD5 bd4c5d3b808b4889041d9ea79cf87da9
BLAKE2b-256 c231b8e7b54a5630a8ac8ddd4a2139b51a6d77716447919841c4428897fa7e16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fano_oss_py_sdk-7.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b3bf595cebdb7f8b910dd0eab9995af00166d16ea545e1f8007144fc916856b6
MD5 876f4a7106ff47ae2ef0a5e7f27d0f60
BLAKE2b-256 3a4470f6ed75bc809411cab2110cac8de8768c521e6cc5db959103bc7206f075

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