Skip to main content

Magic Cloud Layer

Project description

Upsonic | Tests | codecov | After Deploy Test Every 15 Minute

The Upsonic is a Flexible, secure and scalable database and your python cloud that supports multiple data formats. It comes with built-in features for compressing and encrypting data, and is compatible with all operating systems. With easy-to-use commands, the Upsonic is an excellent choice for developers seeking an efficient and reliable storage solution for their data.

Website | Discord | Twitter

Installation

You can install Upsonic by pip3:

pip3 install upsonic

🎉 Upsonic Cloud is published ! | Cloud Test Every - 15 Minute | Go to Docs

Upsonic Cloud: the ultimate, free cloud database for all Python developers. Experience reliability, efficiency, and top-notch security in one powerful solution. Start your seamless development journey with Upsonic Cloud today!

  • "Save your Python Things to the Cloud: Code Unrestricted, Scale Limitless with Upsonic Cloud!"

Upsonic Cloud

Creating Your Free Cloud Key

Upsonic cloud_key

Using Your Cloud | Setting

from upsonic import Upsonic_Cloud
cloud = Upsonic_Cloud("YOUR_CLOUD_KEY")

@cloud.active
def get_address():
    return "Hello World I am from Upsonic Cloud"

Using Your Cloud | Getting

from upsonic import Upsonic_Cloud
cloud = Upsonic_Cloud("YOUR_CLOUD_KEY")


print(cloud.get("get_address")())

Demo

from upsonic import Upsonic

# Creating databases
db = Upsonic("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 Upsonic, it is fully fault-tolerant because each datas are designed to be independent of each other on the disk.
  • Memory Friendly: The Upsonic 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.
  • Transactional and Asynchronous Operations: Perform multiple operations in a single transaction or perform operations asynchronously for improved performance.
graph TD;
    A[Upsonic];

    A --> P[CLI];
    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];

Documentation

You can find the documentation here.

Contributing

Contributions to Upsonic 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

Upsonic is released under the MIT License.

Contributors

Thank you for your contribution!

and Sweep !

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

upsonic-0.12.4.tar.gz (13.8 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