GithubHelp home page GithubHelp logo

heavyai / heavyai-olio.py Goto Github PK

View Code? Open in Web Editor NEW
3.0 13.0 1.0 111 KB

A medley of python functions to use with HeavyDB

License: Apache License 2.0

Makefile 1.32% Python 98.08% Dockerfile 0.58% Shell 0.03%

heavyai-olio.py's Introduction

OmniSci-olio.py

This is a collection of python functions to use with OmniSci DB.

Stability Experimental

Schema

Python object API for generating table DDL.

For example, see tests/test_schema.py.

Workflow Client

High-level API client for workflow, with functions to connect, store data and Prefect tasks.

For example, see tests/test_client.py.

Ibis and Pyomnisci

See Ibis project.

See also Pyomnisci project and docs.

omnisci_olio.ibis includes functions to connect using prompts and session_id and other functions on top of Ibis.

IPython

Jupyter magic for %%sql when connected to OmniSciDB.

Usage in Jupyter:

%load_ext omnisci_olio.ipython

Then in a new cell:

%%sql
SELECT *
FROM omnisci_countries
LIMIT 10

Monitor

Monitor system resources, cpu, disk, gpu/nvidia-smi, and also OmniSciDB internal memory. Metrics can be saved to csv and/or loaded into OmniSciDB.

Catalog

omnisci_olio.catalog includes functions to load standard datasets into OmniSciDB:

  • omnisci_states
  • omnisci_counties
  • omnisci_countries
  • OmniSciDB log files

For example, see (tests/test_catalog.py)[tests/test_catalog.py].

For more advance loading of omnisci log files, see omnisci-log-scraper.

Development, Test and Contribute

In general, we will use the same standards and guidelines as Pyomnisci contributing.

Some of the common commands are coded in the Makefile.

heavyai-olio.py's People

Contributors

avinash-raj avatar cgoodric avatar emada avatar mikehinchey avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ajunlonglive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.