Skip to main content

File system to handle connection with microsevice

Project description

filesystem-integration

Biblioteka służy do obsługi plików z mikroserwisu do twojego projektu.

Instalacja

Postaw kontenery z mikroserwisem https://github.com/gufi2115/Microservice-to-save-files

pip install filesystemlib

Jak używać

from filesystemlib.filesystem import Filesystem

Storzenie instancji na przykład w helpers.py

file_system = Filesystem(url="http://host:6767/api/file/", api_key=twój_api_key_z_mikroserwisu)

POST

uuid = file_system.save_file(file=plik, content_type=mime_type_opcjonalnie)

GET

file, content_type = file_system.get_file(uuid)

DELETE

delete = file_system.delete_file(uuid)

status

status = file_system.status

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

filesystempack-0.1.0.tar.gz (558.8 kB view details)

Uploaded Source

Built Distribution

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

filesystempack-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file filesystempack-0.1.0.tar.gz.

File metadata

  • Download URL: filesystempack-0.1.0.tar.gz
  • Upload date:
  • Size: 558.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for filesystempack-0.1.0.tar.gz
Algorithm Hash digest
SHA256 be1728744bf908a75581c447ad4ca839ab85d7805f8f2d0097a4b390ad816899
MD5 1d729df2fa117e1f3e3121b4d6670bd6
BLAKE2b-256 9da1cd954031527eae192cc910afab11075a1b683a276b24096eed7524060288

See more details on using hashes here.

File details

Details for the file filesystempack-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: filesystempack-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for filesystempack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fb43c0de48c22737a91390551225d046e63da9e15e5135320e96c5fd4084b20
MD5 f0fc9909a0e577f1e9ec1bd67dc5d811
BLAKE2b-256 9aae15c03a7a290f0633df80a01747e94d2df7858189c0969eab126cf0fd42f0

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