Skip to main content

casify

casify is a Python package that implements a simplified CAS (Computer Algebra System) for symbolic computation, wrapping around sympy for facilitate its computations. The implementation provides both Norwegian and English names for all of its functions.

Basic examples

Example 1: solving equations

from casify import *

solution = solve("x**2 - x - 6 = 0")
print(solution)

Eksempel 1: løse likninger

from casify import *

løsning = løs("x**2 - x - 6 = 0")
print(løsning)

Example 2: solve system of equations

from casify import *

solution = solve("x + y = 2", "x - y = -1")

print(solution)

Eksempel 2: løse likningssystemer

from casify import *

løsning = løs("x + y = 2", "x - y = -1")

print(løsning)

Example 3: function evalution

from casify import *

f = function("x**2 - x - 6")

print(f(2)) # Computes f(2)

Eksempel 3: funksjonsverdier

from casify import *

f = funksjon("x**2 - x - 6")

print(f(2)) # Regner ut f(2)

Example 4: Differentiation

from casify import *

f = function("x**2 - x - 6")


print(f.derivative()) # Gives the general expression for the derivative

print(f.derivative(2)) # computes f'(2)

Eksempel 4: Derivasjon

from casify import *

f = funksjon("x**2 - x - 6")

print(f.derivert()) # gir det generelle uttrykket for den deriverte

print(f.derivert(2)) # regner ut f'(2)

Example 5: algebraic expansion and factorization

from casify import *

print(factor("x**2 - x - 6"))  # faktoriserer x**2 - x - 6

print(expand("2*(x - 1) * (x + 4)"))  # utvider 2 * (x - 1) * (x + 4)

Eksempel 5: algebraisk utvidelse og faktorisering

from casify import *

print(faktoriser("x**2 - x - 6"))  # faktoriserer x**2 - x - 6

print(utvid("2*(x - 1) * (x + 4)"))  # utvider 2 * (x - 1) * (x + 4)

Metadata

Release files for casify 0.6.18

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

Source distribution (sdist)

Source distribution for casify 0.6.18
File Size Uploaded Provenance Actions
casify-0.6.18.tar.gz 13.2 kB Without provenance Details for casify-0.6.18.tar.gz

Built distribution (wheel)

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

Total release size: 30.2 kB

Release files / casify-0.6.18.tar.gz

Download URL casify-0.6.18.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0c4678f27456b2d07649e8094d29f605eb725b84f74f4db7d4429eb430578102
BLAKE2b-256 checksum
How to use checksums
a1c0d054777a8be0185fdcbe8c6bc97207053dcffcb7af67180c8b5320473041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / casify-0.6.18-py3-none-any.whl

Download URL casify-0.6.18-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbffffe0738041357eef30a9be4ea0e31e61659d93751376c358206f08ef0431
BLAKE2b-256 checksum
How to use checksums
fc589aad3526ad2c2c1bedc340f1fe6a80f03a51dc30c555397be44f7f47da02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for casify 0.6.18

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

0.6.18 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