PoC app to try to generate libraries from flureenjs
Project description
Hello from Fluree jsii for Python
from flureenjs.core import FlureeConn
import pprint
pp = pprint.PrettyPrinter(indent=4)
fluree_conn = FlureeConn(url="http://localhost:8090")
ledger_name = "test111100/test200006"
fluree_conn.new_ledger(ledger_name)
results = fluree_conn.ledger_list()
pp.pprint(results)
query = {"select": ["*"], "from": "_user"}
results = fluree_conn.query(ledger_name, query)
pp.pprint(results)
transaction = [
{
"_id": "_user",
"username": "testyTest",
}
]
transaction_results = fluree_conn.transact(ledger_name, transaction)
pp.pprint(transaction_results)
query = {"select": ["*"], "from": "_user"}
results = fluree_conn.query(ledger_name, query)
pp.pprint(results)
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
flureenjs.core-1.0.3.tar.gz
(9.6 MB
view hashes)
Built Distribution
Close
Hashes for flureenjs.core-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8425bc2973a470d4bcb8267dcd333787e2eeb4688869889632f29be66a497680 |
|
MD5 | ea3febe15f280b041e790b6a8a547cb0 |
|
BLAKE2b-256 | e1a6b948b438de99410ae4ae5bf8b2b603a595d56e7192eecef864624a9068a3 |