Giter VIP home page Giter VIP logo

emissions-api's Introduction

Emissions API

Documentation Status Integration Test

This is the main repository for the Emissions API.

If you just want to use Emissions API as a service, take a look at our API documentation or visit our website for additional information and examples.

Below you will find a small introduction about setting the services in this repository up for development.

If you want to take a deeper dive into this, you can take a look at the documentation, visit the issues or take a look into the libraries and tools we created around this project.

Installation

To install the requirements execute

pip install -r requirements.txt

You might have to explicitly deal with C-dependencies like psycopg2 yourself, One way to do this is to use your corresponding system packages.

After that you can run the different services using

  • preprocess: python -m emissionsapi.preprocess
  • autoupdater: python -m emissionsapi.autoupdater
  • web: python -m emissionsapi.web

Configuration

Emissions API will look for configuration files in the following order:

  • ./emissionsapi.yml
  • ~/emissionsapi.yml
  • /etc/emissionsapi.yml

A configuration file template can be found at etc/emissionsapi.yml. To get started, just copy this to the main project directory and adjust the values if the defaults do not work for you.

Database Setup

This project is using a PostgreSQL database with the PostGIS extension.

There is a simple docker-compose.yml file to make it easier to setup a database for development.

emissions-api's People

Contributors

dependabot-preview[bot] avatar lkiesow avatar shaardie avatar dependabot[bot] avatar brennerm avatar dalisaydavid avatar frangiz avatar benszau avatar embeddedhenni avatar tylerbird avatar tibroc 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.