Skip to main content

Batman Curve

Python 3.10 PyPI Test coverage Unit tests Code style: black

A Python library for generating the iconic Batman curve - a mathematical function that creates a plot resembling the legendary Batman symbol.

Learn More

Explore the mathematical details of the Batman curve on Wolfram MathWorld:

Weisstein, Eric W. "Batman Curve." From MathWorld - A Wolfram Web Resource.
https://mathworld.wolfram.com/BatmanCurve.html

Installation

# production installation
$ pip install -r requirements.txt
$ pip install batman

# development installation
$ pip install -e .[dev]
$ pre-commit install

Usage

import matplotlib.pyplot as plt
import numpy as np

from batman_curve import batman

x = np.linspace(-7, 7, 300)
upper, lower = batman(x)

fig, ax = plt.subplots()
ax.plot(x, upper)
ax.plot(x, lower)

Batman curve

Metadata

Release files for batman-curve 1.0

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

Source distribution (sdist)

Source distribution for batman-curve 1.0
File Size Uploaded Provenance
batman-curve-1.0.tar.gz 22.9 kB Without provenance Details

Release files / batman-curve-1.0.tar.gz

Download URL batman-curve-1.0.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
266fda1987223611c6d2d26643edb1a40f60f932fc7c6b4fd6376f3bb3098f2a
BLAKE2b-256 checksum
How to use checksums
49d28947630865b8ab187ed69031afef3c6e474f6c3aec01d5ea27f145efec9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for batman-curve 1.0

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.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

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