Skip to main content

special database for python lovers

Project description

KOT

The KOT is a Flexible, secure and scalable database and your python scripts. It comes with built-in features for compressing and encrypting data, and is compatible with all operating systems. With easy-to-use commands, the KOT is full-fit for configuration and small object storing proccess.

Website | Twitter

Installation

You can install KOT by pip3:

pip3 install kot

Using

from kot import KOT

# Creating databases
db = KOT("My_New_DB")


# Flexible
db.set("Key", "String")
db.set("Key", 123)
db.set("Key", 123.213)
db.set("Key", Object())
db.set("Key", ["Alist"])
db.set("Key", {"a": "dict"})
db.set("Key", (1,"Atuple"))
db.set("Key", file="onur.jpg")
db.set("Key", file="onur.anytype")


# Secure
db.set("Key", "String",        encryption_key="my_encryption_key")
db.set("Key", 123,             encryption_key="my_encryption_key")
db.set("Key", 123.213,         encryption_key="my_encryption_key")
db.set("Key", Object(),        encryption_key="my_encryption_key")
db.set("Key", ["Alist"],       encryption_key="my_encryption_key")
db.set("Key", {"a": "dict"},   encryption_key="my_encryption_key")
db.set("Key", (1,"Atuple"),    encryption_key="my_encryption_key")
db.set("Key", file="onur.jpg", encryption_key="my_encryption_key")



# Scalable
db.get("Key") #Instant, no waiting and no searching

Interfaces

Features

  • Flexibility: Save data in any format, including objects and files, providing great flexibility and adaptability to different use cases and data structures.
  • Compressing: Compress data to minimize storage space while enabling faster data retrieval and processing.
  • Encryption: Keep sensitive information secure and private with the included encryption feature.
  • Scalability: Offers stable processing times of set, get, and delete commands, regardless of the dataset's size.
  • Fault Tolerance: By the design of the KOT, it is fully fault-tolerant because each datas are designed to be independent of each other on the disk.
  • Memory Friendly: The KOT is designed to use as little memory as possible. It only loads the data you want to access into memory.
  • Cross-Platform Compatibility: Compatible with all operating systems, making it easier to integrate into any project.
  • Docker Avaibility: You can use KOT API as an container on Docker platform. It's good for more stable, safe and durable uses.
  • Transactional and Asynchronous Operations: Perform multiple operations in a single transaction or perform operations asynchronously for improved performance.
graph TD;
    A[KOT];

    A --> O[API];
    A --> P[CLI];
    A --> Q[GUI];
    A --> R[Web];
    O --> N[Interfaces];
    P --> N[Interfaces];
    Q --> N[Interfaces];
    R --> N[Interfaces];

    N --> J[Functions];


    J --> B[Features];
    B --> C[Multi-threaded Writing];
    B --> D[Compression];
    B --> E[Encryption];
    B --> F[Scalability];
    B --> G[Fault Tolerance];
    B --> H[Memory Friendly];
    B --> I[Cross-Platform Compatibility];

Contributing

Contributions to KOT are welcome! If you have any suggestions or find a bug, please open an issue on the GitHub repository. If you want to contribute code, please fork the repository and create a pull request.

License

KOT is released under the MIT License.

Contributors

Thank you for your contribution!

and Sweep !

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

kot-0.1.1.tar.gz (12.6 kB view hashes)

Uploaded Source

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