Skip to main content

enetpy

Python wrapper for the ene't Marktpartner API

Setup

Install the package:

pip install enetpy

Make sure to set the authentication token in your production environment.

export ENET_AUTH_TOKEN='****'

Testing

The API wrapper comes with a testing stub. To use it set your test environment to:

export ENET_TESTING_STUB=1

Usage

>>> from enet import api
>>> api.get_gas_grid_operator_for_address(
...     zip_code='10115',
...     city='Berlin',
...     street='Brunnenstr.',
...     house_number='153'
... )
GasGridOperator(vnbg_nr=107851, title='NBB Netzgesellschaft Berlin-Brandenburg mbH & Co. KG', email='netzzugang@nbb-netzgesellschaft.de', contact_name='Herr Cornelius Baumann', phone_number='030/81876-1382', fax_number='', gas_type='H-Gas')

Download files

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

Source Distribution

enetpy-1.0.1.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file enetpy-1.0.1.tar.gz.

File metadata

  • Download URL: enetpy-1.0.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for enetpy-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e5684600e4bf1c5e867bfad531c6b30625fd430d89b7c47ebde769f7843b6937
MD5 4047eb4e5f745bc9e33b21f8eddb737a
BLAKE2b-256 de7222df7e8774f8c4f63907b5148f3e3a06c174876013f6ad6e29f057ef1664

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 file

1.0.0

1 file

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