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

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.2.tar.gz (12.2 kB view details)

Uploaded Source

File details

Details for the file kot-0.1.2.tar.gz.

File metadata

  • Download URL: kot-0.1.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.18

File hashes

Hashes for kot-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2a141f41895302147bb746af19216ae6f6a120fb02fe0988da18d6aef20dc6dc
MD5 2f0000f7f46a9d938572ce733ae0b5f0
BLAKE2b-256 bedb82d34129fe6c87058cb60c53c28b62bb5c1d68050e1ada740ca16c72d1be

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