Skip to main content

file storage layer for my personal server.

Project description

square_file_store

about

file storage layer for my personal server.

installation

pip install square_file_store

env

  • python>=3.12.0

changelog

v2.3.0

  • env
    • add DB_IP, DB_PORT, DB_USERNAME, DB_PASSWORD
    • add ALLOW_ORIGINS
    • add config.testing.ini
    • file path reading through os.path.join method.
  • testing
    • add conftest file to create and cleanup test database, also to patch config file.
    • add pytest.yaml to enable pytest in github actions.
    • update existing tests to use the new fixtures.
    • update get_patched_configuration and create_client_and_cleanup to be session scoped.

v2.2.3

  • bump square_logger to 2.0.0

v2.2.2

  • add auto logger decorator to all functions.
  • add logs to errors in all endpoints.

v2.2.1

  • add rollback logic to upload_file/v0.

v2.2.0

  • setup auto docker image build github action.

v2.1.0

  • set allow_credentials=True.

v2.0.0

  • rearrange file structure.
  • add versions to all api endpoints.
  • standard output for json outputs.
  • replace hardcoded column names with variables from square_database_structure.
  • update tests.
  • refactor some code logic.

v1.0.1

  • replace file_purpose with app_id.

v1.0.0

  • initial implementation.

Feedback is appreciated. Thank you!

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

square_file_store-2.3.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

square_file_store-2.3.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file square_file_store-2.3.0.tar.gz.

File metadata

  • Download URL: square_file_store-2.3.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for square_file_store-2.3.0.tar.gz
Algorithm Hash digest
SHA256 dbad703c848e1f241360eda7930deb3ee5a8e29ac6554febb8a2d542f0e69cfe
MD5 a4863b20d30b5f725dafb363c62cd4b2
BLAKE2b-256 236df19b40d1823f7b95a6e192868ed243542c06bb34bcab8f4ad6a316ec725a

See more details on using hashes here.

File details

Details for the file square_file_store-2.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for square_file_store-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98e32b647dec4186d5072fff26d600d841c164476a8e5d43e5c923c8dc94da54
MD5 caec891ec885ade4c32efcde40267a5a
BLAKE2b-256 eeb135c64e967467ec84e2891ec2b3e89e53ff383659d8bcbeddec3ef5e6da48

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