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 filesystempack

Jak używać

from filesystempack.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-1.1.0.tar.gz (560.0 kB view details)

Uploaded Source

Built Distribution

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

filesystempack-1.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for filesystempack-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0528bf3f431d776e98cd7b8beb14f2c6d14782f61305dc79758854cd9074377c
MD5 2b49e392eeb474102afc0576b830b6a0
BLAKE2b-256 9b856b46d2e4ae8ddb87ce47c3031f6a15b0016e5f621d6f03034cec4653edeb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for filesystempack-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e63e7e61316f5aa315e9d51750f4dcc73d4cacf8ecbd42f18dfa1e09e03e9299
MD5 c326d99537af58f9b331eabb4b4ddac9
BLAKE2b-256 8a1e9145ab51d3ad8856a7fec4aebdad5ff7723c7b58830210a2793b89a8195d

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