db1 0.1.6

Creator: bradpython12

Last updated:

Add to Cart

Description:

db1 0.1.6

DB1
Store one item in the cloud with one line. No login. Share, visualize and embed live view in Notion.
Getting started
DB1 is like a global python dict. Upload anything, access anywhere. For Javascript client, CLI and more examples see documentation.
1. Install
pip install db1

2. Upload and retrieve data
Choose a key and replace 'example_key' with your own.
from db1 import DB1
import numpy as np

# upload anything
DB1['example_key'] = {
"message" : "Hey, I'm using DB1! 🤙",
"temperature" : 21.2421,
"numbers" : [1, 2, 3, "four"],
"matrix" : np.eye(5)
}

# retrieve anywhere
my_value = DB1['example_key']

3. View your item in the browser
Go to https://db1.io/ and enter your key in the text field.
4. Embed item in Notion
To embed the item above in your Notion page, simply paste the URL https://db1.io/?key=example_key in any page and click “Create embed”.
Notion examples.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.