Skip to main content

Modest collection of electrical energy calculation tools.

Project description

energy-tools

Modest collection of electrical energy calculation tools.

Note: This repo is currently being translated to English and under heavy alterations to make it suitable for PyPi. Major changes are to be expected.

Installation

Requirements

Basic requirements:

Development requirements:

  • pre-commit;
  • pytest;
  • twine.

Installation energy-tools

With pip

  1. Open a command prompt (e.g. Start > cmd on windows systems);
  2. Install energy-tools by running:
pip install energy-tools

Without pip

If you don’t have internet access on your system or don’t want to use pip for some other reason, energy-tools can also be installed without using pip:

  1. Download and unzip the current energy-tools distribution from PyPi under “Download files”.

  2. Open a command prompt (e.g. Start > cmd on Windows) and navigate to the folder that contains the setup.py file with the command cd :

    cd %path_to_energy-tools%\energy-tools-x.x.x\

Install energy-tools by running :

python setup.py install

Development version

To install the latest development version of energy-tools from GitLab, simply follow these steps:

  1. Download and install git.

  2. Open a git shell and navigate to the directory where you want to keep your energy-tools files.

  3. Run the following git command:

    git clone https://gitlab.com/miek770/energy-tools.git

  4. Navigate inside the repository and check out the develop branch:

    cd energy-tools git checkout develop

  5. Install Black using pre-commit:

    pre-commit install

  6. Set your Python path to the outer energy-tools folder (/energy-tools, NOT energy-tools/energy-tools).

  7. If necessary, install missing dependencies via pip install (see Development requirements above).

Test your installation

To test your installed development version, run pytest from the energy-tools' base directory:

pytest

Contributing

If you wish to contribute, please follow the development version instructions above and refer to the project's contribution guide.

Project details


Download files

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

Source Distribution

energy-tools-0.1.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

energy_tools-0.1.1-py2.py3-none-any.whl (10.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file energy-tools-0.1.1.tar.gz.

File metadata

  • Download URL: energy-tools-0.1.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for energy-tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9fac953ad20eefa4caa05f2f41c368cd5721b7f1f7120690ae4374562d1fa703
MD5 509c73062ec83c355d2d6019d58f478c
BLAKE2b-256 12a176cac56049dbc699a40c8c2483cc6dcf27fa81eee51e40eb32aba7d12ea0

See more details on using hashes here.

File details

Details for the file energy_tools-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: energy_tools-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for energy_tools-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c974248a135915c53cb930d4b7f2f9271d1d5ec59116930d66239f730a590ec9
MD5 07cbd217fc32d2aea8a711148a76e29d
BLAKE2b-256 8503174aba20c97421beab776f4d80de4c3389955a28ca8d8187411c7e4fb720

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page