Skip to main content

pyEnergyDiagrams

Installation

pip install pyenergydiagrams

Usage

from pyenergydiagrams import State, Diagram
import matplotlib.pyplot as plt

states = [State((-1) ** i) for i in range(20)]

states[5] = State(-3)
states[13] = State(-5)
my_diagram = Diagram(states)

plt.plot(my_diagram.x, my_diagram.y)

my_diagram.add_dotted_line(states[-2], dx_right=2)
my_diagram.add_arrow(states[14], states[13], "$E_1$")
my_diagram.add_arrow(states[-1], states[-2], "$E_2$")
plt.show()

image

Metadata

Release files for pyenergydiagrams 1.0.1

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

Source distribution (sdist)

Source distribution for pyenergydiagrams 1.0.1
File Size Uploaded Provenance Actions
pyenergydiagrams-1.0.1.tar.gz 37.2 kB Without provenance Details for pyenergydiagrams-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyenergydiagrams 1.0.1
File Interpreter ABI Platform Actions
pyenergydiagrams-1.0.1-py3-none-any.whl Python 3 none any Details for pyenergydiagrams-1.0.1-py3-none-any.whl

Total release size: 41.1 kB

Release files / pyenergydiagrams-1.0.1.tar.gz

Download URL pyenergydiagrams-1.0.1.tar.gz
Size 37.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3d2332be9b93740365415d934ac50243f74dc35c70a36e890f151b63a139bc87
BLAKE2b-256 checksum
How to use checksums
f9f74b9254462efa8703e9dd50e5ee4a4dc9e5bd8294647581af225eca8f00cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / pyenergydiagrams-1.0.1-py3-none-any.whl

Download URL pyenergydiagrams-1.0.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c0c87a6592e03aed13ff9da67c1403ce01161af423b51a31e4be37207323fff
BLAKE2b-256 checksum
How to use checksums
7886bcff1b27bec4af923cbef5d85944ce9c17e7fa7fb2422eb86050fe306f98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for pyenergydiagrams 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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