Skip to main content

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).




Metadata

Release files for emission 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for emission 0.3.6
File Size Uploaded
emission-0.3.6.tar.gz 21.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for emission 0.3.6
File Interpreter ABI Platform
emission-0.3.6-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 3.1 MB

Release files / emission-0.3.6.tar.gz

Download URL emission-0.3.6.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0b85913016df184f6e3711074774ad6eea5350a0cc52b417c3337b428e1a14e4
BLAKE2b-256 checksum
How to use checksums
8e2b2bc7036360b2d49860a0da5b5cf5212e9161eb799f0a4550e10a5d27eb2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / emission-0.3.6-py2.py3-none-any.whl

Download URL emission-0.3.6-py2.py3-none-any.whl
Size 3.1 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9e0b73596636d34517b84515fd47d28bc620d8fb641b80051027ce7496c0a7c4
BLAKE2b-256 checksum
How to use checksums
93ae32f46a8fd7d8bcf01bba8738fb4fafc8cd768b6ba1817c895b505ea2e053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3

2 release files

0.2.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page