Skip to main content

SimpleDocumentStore is used to store the documents on the local file system or AWS S3. This can be easily configured by sending the storage mode during the creation of the storage mode. Default storage mode is 'local'. For S3, send 'aws' as storage mode. It is written in python3.6

Installation: pip3 install SimpleDocumentStore

Usage: import SimpleDocumentStore

AWS: storage_mode = SimpleDocumentStore.create_storage_mode(local_path, 'aws', aws_access_key, aws_secret_key ) send the bucket name for S3.

Local: storage_mode = SimpleDocumentStore.create_storage_mode(local_path)

Operations: storage_mode.save_document(self, file_name, content, bucket_name) storage_mode.open_document(self, file_name, mode, bucket_name) storage_mode.get_size(self, file_name, bucket_name) storage_mode.get_creation_time(self, file_name, bucket_name) storage_mode.get_updated_time(self, file_name, bucket_name) storage_mode.rename_document(self, old_file_name, new_file_name, bucket_name) storage_mode.delete_document(self, file_name, bucket_name)

Metadata

Release files for SimpleDocumentStore 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SimpleDocumentStore 0.1
File Size Uploaded
SimpleDocumentStore-0.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SimpleDocumentStore 0.1
File Interpreter ABI Platform
SimpleDocumentStore-0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.7 kB

Release files / SimpleDocumentStore-0.1.tar.gz

Download URL SimpleDocumentStore-0.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e48bdc28e30a83fefaff0c6a63f7f423d974d55bffc331df121e0f2b43f10100
BLAKE2b-256 checksum
How to use checksums
345718210ab843f3a19a8225cf94400291de0c258e95f066207957f5e55f3185
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / SimpleDocumentStore-0.1-py2.py3-none-any.whl

Download URL SimpleDocumentStore-0.1-py2.py3-none-any.whl
Size 5.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e46a6c0716ae24a582d1d8a2df34d94fa7f15f30a60ab70de104110b927397a6
BLAKE2b-256 checksum
How to use checksums
704da141d7c6df9965c4a7901fd97fd788cdc7c1d63c2a7aa6f0fe34d2f5559b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page