Coder Social home page Coder Social logo

dweth / atriumdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laussenlabs/atriumdb

0.0 0.0 0.0 3.09 MB

Home Page: https://docs.atriumdb.io

License: GNU General Public License v3.0

Shell 0.18% C++ 66.87% Python 24.09% C 7.13% Makefile 0.01% HTML 0.05% CMake 1.00% Batchfile 0.02% Dockerfile 0.01% SCSS 0.06% Starlark 0.58%

atriumdb's Introduction

AtriumDB

For more detailed documentation click here.

Installation

To install the base version of AtriumDB run:

$ pip install atriumdb

Compile from source

Clone the GitHub repository and change into its directory

$ git clone https://github.com/LaussenLabs/atriumdb

Atriumdb SDK C Library

The instructions to build the C code on Linux are contained in two shell scripts in the repo tsc-lib/build_debug.sh and tsc-lib/build_release.sh. Once the two binaries are built they should be placed in a folder called bin in the sdk folder. However, it is recommended that you build the binaries using the provided Docker build container as it is a consistent build environment and contains all the necessary packages.

Docker

If you build using docker (recommended) it will cross compile both for Linux and Windows. First you build the docker image from the Dockerfile in the tsc-lib folder using the command:

$ docker build -t c-build tsc-lib

To build the docker container and the binaries for release you need edit the command below by changing "/path/to/atriumdb" to the path to the repository on your computer. Then run the command:

$ docker run --name c-build-release -v /path/to/atriumdb:/atriumdb --init -it c-build ./build_release.sh

If you want to build the binaries in debug mode use the command:

$ docker run --name c-build-debug -v /path/to/atriumdb:/atriumdb --init -it c-build ./build_debug.sh

NOTES:

  • These commands will automatically place the built binaries in the proper folder in the SDK
  • If you need to rebuild the binaries all you need to do is restart the container
  • If you would rather run the build commands yourself inside the container just remove the ./build_release.sh from the end of the docker run command and it will give you a shell for the container

Python SDK

Once you have the binaries built, make sure that you have python build installed and you are in the sdk folder of the repo. Then run the below commands to build the python wheel file. Once built you can pip install it.

$ pip install build
$ cd sdk
$ python -m build

Metadata Database Schema

schema

atriumdb's People

Contributors

williamdixon avatar svecile avatar bgreer101 avatar

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.