Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sepandhaghighi/energy-calculator

🌏 Simple Energy-Calculator Script In Python
https://github.com/sepandhaghighi/energy-calculator

energy energy-calc energy-calculator green green-computing python python3

Last synced: 2 months ago
JSON representation

🌏 Simple Energy-Calculator Script In Python

Awesome Lists containing this project

README

        




PyPI version
DOI



Codecov

----------

# Energy-Calculator
Simple Energy-Calculator Script In Python

## Installation
### Source Code
- Download [Version 0.3](https://github.com/sepandhaghighi/Energy-Calculator/archive/v0.3.zip) or [Latest Source ](https://github.com/sepandhaghighi/Energy-Calculator/archive/master.zip)

- `python3 setup.py install` or `python setup.py install`

### PyPI

- Check [Python Packaging User Guide](https://packaging.python.org/installing/)
- `pip install energycalc` or `pip3 install energycalc`

## Usage

[Download Full Run Video](http://www.shaghighi.ir/Energy-Calculator/videos/FullRun.mkv "Video") (1.78 MB - MKV)( This video recorded by [simplescreenrecorder](http://www.maartenbaert.be/simplescreenrecorder/ "simplescreenrecorder") )


- import data for each row in [input.ref](http://www.shaghighi.ir/Energy-Calculator/files/input.ref "input.ref") file (adding expression is possible)
- Re-Run Energy-Calculator
```
python -m energycalc
```

## Ref file

```
Item Name , Wattage , Number of appliances , Hours used per day , Days used per year
```

```
Monitor,42,2,3,4
```


```
Iron,1100,2*10,30,30*3
```

## Output

Details in ```energy.out```

## Issues & Bug Reports

Just fill an issue and describe it. I'll check it ASAP!
or send an email to [[email protected]](mailto:[email protected] "[email protected]").

## Contribution

You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️

Remember to write a few tests for your code before sending pull requests.

## Citing

If you use EnergyCalc in your research , please cite this ;-)


[1]Sepand Haghighi. Energy-Calculator : Version 0.3 2017. doi:10.5281/zenodo.835590.



## License



Ref file created by US Department Of Energy Tables


![US Department Of Energy](http://www.shaghighi.ir/Energy-Calculator/files/doe.png)

## Donate to our project

Beerpay :

Hey dude! Help me out for a couple of :beers:!

[![Beerpay](https://beerpay.io/sepandhaghighi/Energy-Calculator/badge.svg?style=beer-square)](https://beerpay.io/sepandhaghighi/Energy-Calculator) [![Beerpay](https://beerpay.io/sepandhaghighi/Energy-Calculator/make-wish.svg?style=flat-square)](https://beerpay.io/sepandhaghighi/Energy-Calculator?focus=wish)

Bitcoin :

```1XGr9qbZjBpUQJJSB6WtgBQbDTgrhPLPA```

Payping (For Iranian citizens) :