Skip to content

eos-sns/helios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EOS | Helios

Interact with EOS database

Say Thanks!

Use case

Reads and searches EOS database.

Example

helios = Helios()
query = helios.builder() \
    .with_p0_as(MongoFilters.LESS_THAN, 11) \
    .with_p1_as(MongoFilters.GREATER_THAN, 1) \
    .build()
results = query.execute()
print(results)  # mmmh, not exaclty what I wanted, let's refine

results = results \
    .filter_by({'p0': {'>=': 2}}) \
    .filter_by('p0 > 1 and p2 <= 9')
print(results)  # yess, now let's save and download

results = results.get()  # get raw
disk_path = helios.save_to_disk(results)  # saved in home folder
download_url = helios.download(results)  # now let's download

Install

$ pip install .

Upgrade

$ pip install . --upgrade --force-reinstall

Contributing

Fork | Patch | Push | Pull request

Feedback

Suggestions and improvements are welcome!

Authors

sirfoga
Stefano Fogarollo

License

All of the codebases are MIT licensed unless otherwise specified.

Back to top