Skip to main content

Python SDK for Eidos

Project description

Eidospy

Python SDK for Eidos

Install

py -m pip install eidospy

Usage

read data from a table

from eidospy import Eidos


if __name__ == "__main__":
    eidos = Eidos("https://api.eidos.space/rpc/585067c5-d5e3-4e05-bf60-ba69d75eb7c7")
    space = eidos.space("eidos3")
    table = space.table("532b30d66d984c8a9d9a0ef0245b0afb")
    for row in table.rows():
        print(row)

write data to a table

from eidospy import Eidos

if __name__ == "__main__":
    eidos = Eidos("https://api.eidos.space/rpc/585067c5-d5e3-4e05-bf60-ba69d75eb7c7")
    space = eidos.space("eidos3")
    table = space.table("532b30d66d984c8a9d9a0ef0245b0afb")
    table.add({"title": "test"})

Development

build

py -m build

install

py -m pip install .\dist\eidospy-0.0.1-py3-none-any.whl --force-reinstall

test

py -m unittest

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

eidospy-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

eidospy-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page