Skip to main content

No project description provided

Project description

Logo

aCRUD

Motivation

The goal of this project is to create a platform agnostic CRUD storage system. This system will allow users to upload files to different platforms (Google Drive, Sharepoint, DigiCloud etc.) without having to worry about the specifics of the platform. This will allow for a more modular system where the storage system can be easily swapped out for another.

Implementation

To use aCRUD you must have a storage.config file in your project. This file should contain the configuration information for the storage system you wish to use. Currently this file should be in one of the following formats:

[DEFAULT]
STORAGE_TYPE = local
ROOT = .
[DEFAULT]
STORAGE_TYPE = s3
BUCKET = my-bucket

This file will configure the storage system on import. Now you can simply use the storage.create_file and storage.get_file functions to interact with the storage system. Changing the platform you are using is as simple as changing the storage.config file.

TODO

  • Implement more graceful error handling.
  • Documentation.
  • Add support for Microsoft Sharepoint.
  • Add support for Google Drive.
  • Add unit tests.
  • Add logging.
Note

Original version of this package can be found on the branch v0.1.0.

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

acrud-0.2.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

acrud-0.2.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file acrud-0.2.0.tar.gz.

File metadata

  • Download URL: acrud-0.2.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/23.5.0

File hashes

Hashes for acrud-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f0b41caa18c38237adc83769ac91d3923b3e17e71073cae30fb6117423c72508
MD5 9b103430b63ce60cc9139c54285ef66e
BLAKE2b-256 38d690fce158889d79f6533f6b027c8685ca0a7f88c106349747be644f5b0ddb

See more details on using hashes here.

File details

Details for the file acrud-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: acrud-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/23.5.0

File hashes

Hashes for acrud-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d88338e86d9d842a82d140cce7e5c7a8ce50dc6440aa678806849eb4cb3652
MD5 7159cdcf8554ed0a1028a288c8338ce9
BLAKE2b-256 d325767d881313a3e45fb9d12e0a61ad21ee765f85168dfaf1ab04346adfd5a3

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