Skip to main content

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flureenjs.core-1.0.3-py3-none-any.whl (9.6 MB view details)

Uploaded Python 3

File details

Details for the file flureenjs.core-1.0.3.tar.gz.

File metadata

  • Download URL: flureenjs.core-1.0.3.tar.gz
  • Upload date:
  • Size: 9.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.10

File hashes

Hashes for flureenjs.core-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f2ccb864257416bb7b934dc67bdad6019a0af5776cc9a10a3b217071403005ef
MD5 71fba985ce91af88847c9e1526651691
BLAKE2b-256 227f709fce1a18f15a3d2b0118ebde7a740e2b9ce3b8c030fd298e84b6e9244c

See more details on using hashes here.

File details

Details for the file flureenjs.core-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: flureenjs.core-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.10

File hashes

Hashes for flureenjs.core-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8425bc2973a470d4bcb8267dcd333787e2eeb4688869889632f29be66a497680
MD5 ea3febe15f280b041e790b6a8a547cb0
BLAKE2b-256 e1a6b948b438de99410ae4ae5bf8b2b603a595d56e7192eecef864624a9068a3

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