Skip to main content

cardano-method

release

A fast, reliable Python library to solve cubic equations of all kinds. You can test out cardano-method in your browser.

How It Works

cardano-method implements Gerolamo Cardano's famous method of solving cubic equations - 'Cardano's Method'. Split amongst various stages of processing, this library mirrors the steps described in Cardano's Method.

Installation

$ pip install cardano-method

Usage

from cardano_method import CubicEquation

a = CubicEquation([1, 3, 4, 4])

print(a.answers)
# [(-2+0j), (-0.5+1.322875j), (-0.5-1.322875j)]

Note that the answers attribute contains a list of complex objects representing the zeroes of the cubic equation.

Metadata

Release files for cardano-method 1.2.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 cardano-method 1.2.0
File Size Uploaded Provenance Actions
cardano-method-1.2.0.tar.gz 5.6 kB Without provenance Details for cardano-method-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cardano-method 1.2.0
File Interpreter ABI Platform Actions
cardano_method-1.2.0-py3-none-any.whl Python 3 none any Details for cardano_method-1.2.0-py3-none-any.whl

Total release size: 11.9 kB

Release files / cardano-method-1.2.0.tar.gz

Download URL cardano-method-1.2.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
23ece032ab1a1f411410096f66bda74bc3d30e314e23f82867ad99aaad42ca0b
BLAKE2b-256 checksum
How to use checksums
20c019c0f76fa40582cfc764710d87449b99a0aa37a538b8660814d5b9ae8bd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / cardano_method-1.2.0-py3-none-any.whl

Download URL cardano_method-1.2.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b5021e63e0e8c7feb1202bc7482a7271d4da57655b82c382ce81aa423cebf29
BLAKE2b-256 checksum
How to use checksums
96178332a63ae4137375af70dc84a1a0b4c2dd5f2b47123e629843bdb3e8a866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for cardano-method 1.2.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.2.0 This release

2 release files 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