Skip to main content

Emission calculator library

Project description


EmissionCalculatorLib
=====================


This python library uses formulas and factors from EU to calculate the emission(s) from personal cars, busses to trailers of various sizes give a start and stop point (see 'examples/simple_planner.py').

You could also calculate the emission for a given vehicle.


Pull requests are more than welcome! Please visit the `project on GitHub <https://github.com/NPRA/EmissionCalculatorLib>`_.
Also checkout the `CHANGELOG.md <CHANGELOG.md>`_.


Quickstart
---------

Show the "make help" and run the test cases

.. highlight:: bash
:linenothreshold: 5

$ make help
Use target: test, install, uninstall, upload or clean

.. highlight:: bash
:linenothreshold: 5

$ make test
Use target: test, install, uninstall, upload or clean


Examples
--------

We have some examples (more to come) under the 'examples' directory. You can use them to view how a simple planning with some pre-defined emissions might look like.

If you see some improvements, bugs or something, then please file a Github issue so we can continue to improve.


Screencast(s)
-------------

To ease the learning curve a bit we've included a screecast to help you get started:

.. image:: https://asciinema.org/a/150349.png
:scale: 50 %
:target: https://asciinema.org/a/150349


Routing Service
---------------

We are using the Routing Service which serves NPRA's "vegkart": https://www.vegvesen.no/vegkart/vegkart/. The routing services is served from Triona (triona.se).




Release history Release notifications

This version
History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2.3

History Node

0.2.2.dev1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
emission-0.3.6-py2.py3-none-any.whl (3.1 MB) Copy SHA256 hash SHA256 Wheel py2.py3 Dec 7, 2017
emission-0.3.6.tar.gz (21.5 kB) Copy SHA256 hash SHA256 Source None Dec 7, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page