Aeca 1.0.0.Dev1 | Coderz Repository

aeca 1.0.0.dev1

Last updated:

0 purchases

aeca 1.0.0.dev1 Image
aeca 1.0.0.dev1 Images

Free

Languages

Categories

Add to Cart

Description:

aeca 1.0.0.dev1

Aeca Python Client
A Python client for Aeca database server.
Installation
$ pip install aeca

Current Status
The current version is fully functional and stable for the production environment. However, the API is still subject to change and may break backward compatibility in the next release.
Current Version
import aeca

# Establish connection to a local database server.
channel = aeca.Channel("localhost", 10080)

# List collections.
db = aeca.DocumentDB(channel)
collections = db.list_collections()
for collection in collections:
print(collection)

# Find a specific document in the Wikipedia collection.
collection = aeca.find_collection("Wikipedia")
df = collection.find({
"page_id": 42
}, to_pandas=True)
print(df)

Next Version (Work in progress)
import aeca

# Establish connection to a local database server.
channel = aeca.Channel("localhost", 10080)

# Login to the database.
ws = aeca.Workspaces(channel, "user_id", "password")

# List workspaces.
workspaces = ws.list_workspaces()
for workspace in workspaces:
print(workspace)

# Open the workspace and list the collections.
workspace = ws.find_workspace("test")
db = aeca.DocumentDB(workspace)
collections = db.list_collections()
for collection in collections:
print(collection)

# Find a specific document in the Wikipedia collection.
collection = aeca.find_collection("Wikipedia")
df = collection.find({
"page_id": 42
}, to_pandas=True)
print(df)

License:

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

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.