Skip to main content

A data local persistence ORM framework.

Project description

cushy-storage

An ORM framework based on disk caching

English 中文

Introduction

cushy-storage is an ORM framework based on disk caching that allows you to easily perform CRUD operations on your custom data through ORM. On the other hand, cushy-storage saves you the effort of devising a data storage standard. Dictionary-like operations can reduce a lot of development costs. If you have a need for local file data operations, this framework can facilitate local data storage with ease.

Features

  • Supports ORM storage, basic data storage, and custom data storage, compatible with all data types
  • Supports ORM framework-level object operations, enabling easy CRUD operations on object-level data
  • Basic data storage operations are as simple as dict read and write, very convenient
  • Easily perform local disk storage of data (basic data types, custom data types)
  • Eliminates the need for direct file handling
  • Provides multiple serialization options
  • Offers various data compression methods

Quick Start

Installation

pip install cushy-storage -U

Getting Started

The use of cushy-storage is mainly divided into four parts: CushyOrmCache, CushyDict, BaseDict, disk_cache. For more detailed information, please read the relevant documentation.

  • CushyORMCache Object storage based on the ORM framework, which allows for very convenient CRUD operations on object-level data.
  • CushyDict: An enhanced version of BaseDict, storing various types of data, including basic data types and custom data types.
  • BaseDict: Stores basic binary data.
  • disk_cache: Function data caching.

Contribution

If you want to contribute to this project, you can submit a PR or issue. I am happy to see more people get involved and improve it.

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

cushy_storage-1.3.8.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

cushy_storage-1.3.8-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file cushy_storage-1.3.8.tar.gz.

File metadata

  • Download URL: cushy_storage-1.3.8.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.19 Linux/6.5.0-1017-azure

File hashes

Hashes for cushy_storage-1.3.8.tar.gz
Algorithm Hash digest
SHA256 82e5af7329da08d0190d26f4cc9a217eac74c94754570e80429dedf6421c48db
MD5 34cff2c839280c4eec1d2a6f65465cf3
BLAKE2b-256 110c12b584d960aec3096052530256a3c319420038b3bc49c9d8c544f01ea9da

See more details on using hashes here.

File details

Details for the file cushy_storage-1.3.8-py3-none-any.whl.

File metadata

  • Download URL: cushy_storage-1.3.8-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.19 Linux/6.5.0-1017-azure

File hashes

Hashes for cushy_storage-1.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 683f58fea2d05897f02ac24e80b4aff06ab45238e254ecbe933bc5d459c5b53f
MD5 d333df209b98da88253923a0c4455bc5
BLAKE2b-256 5b728bb83650f41c58eed97a924ce5ec837fe4368040a3cae516f34c520d1965

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page