Skip to main content

PreHEAT Open Python Package

This is the open Python package designed to wrap Neogrid's REST API.

For a quick introduction on how to use the package, see the quick start guide.

Installation and configuration

Simple installation:

Install the package directly from PyPi using:

pip install preheat_open

Configuring the toolbox

First, make sure that you have created an API key for your user. This can be done on your user profile page in the PreHEAT App.

Your API key may be set within the code code itself. We do however recommend to use a YAML configuration file. This user configuration file should be located in the following directories:

OS User level (recommended) Machine level
Windows C:/Users/[your user]/.preheat/config.yaml (unsupported)
Linux ~/.preheat/config.yaml /etc[/opt]/preheat/config.yaml

The default content of a YAML configuration file is given here. The API key can be pasted under neogrid_api -> token.

cache:
  directory: null
  size_limit: null
  time_to_live: null
  type: null
logging:
  format: '%(asctime)-23s  %(levelname)-8s  %(name)-32s  %(message)-80s'
  level: 20
neogrid_api:
  token: ''
  url: https://api.neogrid.dk/public/api/v1
personal:
  email: ''
  name: ''
  runtime_mode: 10
  timezone: Europe/Copenhagen

For information about the additional fields, please check the quick start guide.

Additional Information

You can find additional information about the PreHeat REST API here. Neogrid Technologies company homepage

Contributions

We encourage pull requests if you have developed new interesting features.

Code style: black Imports: isort

Metadata

Release files for preheat-open 2.7

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

Source distribution (sdist)

Source distribution for preheat-open 2.7
File Size Uploaded
preheat_open-2.7.tar.gz 100.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for preheat-open 2.7
File Interpreter ABI Platform
preheat_open-2.7-py3-none-any.whl Python 3 none any Details

Total release size: 200.9 kB

Release files / preheat_open-2.7.tar.gz

Download URL preheat_open-2.7.tar.gz
Size 100.1 kB
Tags Source
SHA-256 checksum
How to use checksums
453991e324d84fd36ec1860e03382d4cd52fa4cb0da1639048991ded213aaa0b
BLAKE2b-256 checksum
How to use checksums
af026dd9978a47a546a8af5437052a8827d22824df447a4f4c15215ce27d1bf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / preheat_open-2.7-py3-none-any.whl

Download URL preheat_open-2.7-py3-none-any.whl
Size 100.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e118fb4cb820ba158f5971c8572b79580e3faad2f167c7cec3cdaab73b359f1a
BLAKE2b-256 checksum
How to use checksums
4c94cc30f17957cd2b2961fa5ecd85fdba2b91145ca5b14c5f5d143ea851a14f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release history Release notifications | RSS feed

This release

2.7 This release

2 release files

2.5

2 release files

2.4

2 release files

2.3

2 release files

2.2

2 release files

2.1

2 release files

2.0

2 release files

1.39

2 release files

1.38

2 release files

1.37

2 release files

1.36

2 release files

1.35

2 release files

1.34

2 release files

1.33

2 release files

1.32

2 release files

1.30

2 release files

1.29

2 release files

1.28

2 release files

1.24

2 release files

1.23

2 release files

1.22

2 release files

1.20

2 release files

1.19

2 release files

1.18

2 release files

1.17

2 release files

1.15

2 release files

1.14

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