Coder Social home page Coder Social logo

l6l6 / pyro-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyronear/pyro-api

0.0 0.0 0.0 6.53 MB

API for wildfire prevention, detection & monitoring

Home Page: http://pyronear-api.herokuapp.com/redoc

License: Apache License 2.0

Dockerfile 0.20% Python 98.09% Makefile 0.22% Batchfile 0.27% CSS 1.05% Mako 0.17%

pyro-api's Introduction

Pyronear API

License: Apache 2.0 Build Status Codacy Badge codecov Docs

The building blocks of our wildfire detection & monitoring API.

Table of Contents

Getting started

Prerequisites

  • Python 3.7 (or more recent)
  • pip

Installation

You can clone and install the project dependencies as follows:

git clone https://github.com/pyronear/pyro-api.git

Usage

If you wish to deploy this project on a server hosted remotely, you might want to be using Docker containers. Beforehand, you will need to set a few environment variables either manually or by writing an .env file in the root directory of this project, like in the example below:

QARNOT_TOKEN=my_very_secret_token
BUCKET_NAME=my_storage_bucket_name
BUCKET_MEDIA_FOLDER=my/media/subfolder

Those values will allow your API server to connect to our cloud service provider Qarnot Computing, which is mandatory for your local server to be fully operational. Then you can run the API containers using this command:

docker-compose up -d --build

Once completed, you will notice that you have a docker container running on the port you selected, which can process requests just like any django server.

Documentation

The full project documentation is available here for detailed specifications. The documentation was built with ReDoc.

Contributing

Please refer to CONTRIBUTING if you wish to contribute to this project.

License

Distributed under the Apache 2.0 License. See LICENSE for more information.

pyro-api's People

Contributors

fe51 avatar florianriche avatar frgfm avatar jean-pasquier avatar martin1tab 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.