Skip to main content

PROJECT


Acenv (Algebraic Calculation Environment)

A python 3 package that provides some tools to perform operations over complex polynomials objects, useful if you are working on a project that requires your program solving equations and polynomials expression parsing in general.

FEATURES


  • Fully implemented in Python 3;
  • No external dependencies;
  • Class for representing real numbers in single objects, enabling operations with more complex numbers in an algebraic sense (the sum √2 + √2 returns 2√2, not the approximated float value 2.828...);
  • Class for representing polynomials as single objects, enabling operations with algebraic entities containing one or more literal variables and real numbers;
  • Polynomial factorization engine;
  • Polynomial string parsers, which permits the user to simply type the readable string representation of the object, avoiding tedious object instantiation procedures;
  • Algebraic expression parser, which takes a string representing an expression, simplifies it and can return both the resulting polynomial and the factorized form.

PREREQUISITES AND INSTALLATION GUIDE


With the library running without any external dependency, there is no need for you to install any other code than the one provided here. So, to install the library, it is sufficient to use the 'pip' command in terminal:

 pip install acenv 

DOCUMENTATION


The complete documentation should have been downloaded together with the rest of the package

HOW TO USE


Just import the components you need:

from acenv import Ex

and start creating the objects you intend to use

expression = Ex('x^2+4(1-x)')

print(expression.value.numerator)
print(expression.reduced)

and the output is

'+4-4x^(1)+1x^(2)'
[['+2-1x^(1)', '+2-1x^(1)'], ['+1']]

For more checking the documentation is highly encouraged

NOTES


The project is still in its early stages of development, and it is born as a school project of mine for my ICT class. A lot of work and changes have been done since then, but there are still a lot of thing than can be hugely improved, so every feedback and bug report is widely appreciated.

LICENSE


MIT license, see LICENSE.txt that should have been downloaded with the package or simply go to https://opensource.org/licenses/MIT.

CONTACT ME


For any feedback, bug report or problems, you can contact me at:

vigano02aceproject@gmail.com

Release files for acenv 0.1.4

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

Source distribution (sdist)

Source distribution for acenv 0.1.4
File Size Uploaded
acenv-0.1.4.tar.gz 46.1 kB Details

Release files / acenv-0.1.4.tar.gz

Download URL acenv-0.1.4.tar.gz
Size 46.1 kB
Tags Source
SHA-256 checksum
How to use checksums
07e680d6b650ac51ab1083ad07d107996ff16cd6a42130d17c09af63e1d9d1e1
BLAKE2b-256 checksum
How to use checksums
d8b60454d025ae165d58ab04f7d5d662f2187d23397bf04207ec9cae8a9c1380
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

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