Skip to main content

This is a light-weight, NoSQL, file-based database managemet system

Reason this release was yanked:

Deprecated

Project description

# amazedb

It is a file based NoSQL database management system written in python.

All the databases are stored in the `db` sub-directory of the current directory. This behaviour can be manipulated as we’ll see later on.

## Using the database

The database can simply be used by cloning the project in a directory you may call `amazedb` and then create another directory named `db` in your projects root. Then import the main file as:

`python from amazedb import dbms as db `

This will create the namespace `db` in your file.

## Creating and accessing databases

Now that you have imported the dbms, you can access a database with the following code:

`python mydb = db.db('mydb') `

This will try to locate the `./db` directory relative to the file you are working on. To locate a different directory, you can use:

`python mydb = db.db('mydb', dbPath="D:/project") `

In this case, it will look for `D:/project/db` directory.

Now, what next? The project will see if the mydb databae exists in that directory. If it exists, well and good otherwise it will be created by default. To override this behaviour, simply use:

`python mydb = db.db('mydb', safeMode=False) `

In this case, an exception will be raised if the database is not found.

This page is still incomplete. We’re working on 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

amazedb-v1.0.0-beta.tar.gz (10.8 kB view details)

Uploaded Source

File details

Details for the file amazedb-v1.0.0-beta.tar.gz.

File metadata

  • Download URL: amazedb-v1.0.0-beta.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for amazedb-v1.0.0-beta.tar.gz
Algorithm Hash digest
SHA256 b7af7af9faad87acc66deaa5acc40a77d10f21cb0df7b7332973d7657ef6c452
MD5 b653b3c98ec10755abd1a09d3b9f26f7
BLAKE2b-256 3bc8d438ec648622fea7412a88b0db1795ef36fb26411e9a7cf48e77da7ff265

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