Skip to main content

A Python package for generating polynomial expressions

Project description

Polynomial Generator

License Release

Overview

Polynomial Generator is a Python package that provides a command-line interface (CLI) application and a graphical user interface (GUI) application for generating polynomial expressions. It allows users to specify variables and degrees to create custom polynomials effortlessly.

Features

  • Generate polynomial expressions with custom variables and degrees.
  • Cross-platform compatibility (Linux, Mac, Windows).
  • Simple and intuitive user interface.

Installation

You can install the Polynomial Generator package using pip:

pip install polynomial-generator

Command-Line Interface (CLI)

You can use the CLI script to generate polynomials from the command line. Here's how to use it:

polygen -v <variables> -d <degree>

Replace <variables> with a comma-separated list of variables and <degree> with the desired degree of the polynomial. If no arguments are provided, default values (x,y,z for variables and 2 for degree) will be used.

Example:

polygen -v x,y,z -d 3

Output:

variables: ['x', 'y', 'z']
degree: 3
Polynomial: x^3 + x^2*y + x^2*z + x*y^2 + x*y*z + x*z^2 + y^3 + y^2*z + y*z^2 + z^3

Graphical User Interface (GUI)

After installation, you can run the Polynomial Generator GUI application using the following command:

polygenapp

Enter the variables and degree for your polynomial, then click "Generate" to see the result.

GUI Frontend

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/improvement).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/improvement).
  6. Create a new Pull Request.

License

This project is licensed under the MIT License.

Contact

For any questions or feedback, feel free to contact Hermann Agossou.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polynomial_generator-0.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

polynomial_generator-0.1.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file polynomial_generator-0.1.1.tar.gz.

File metadata

  • Download URL: polynomial_generator-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.4 Linux/6.5.0-25-generic

File hashes

Hashes for polynomial_generator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5b981c183de5ad2cefa1698346c1cfa3f70c14f5f882bce49bbab92df0817062
MD5 4e4d9722050a730c3e7f7a5c1922b4f0
BLAKE2b-256 f8074ef968a626a2c2c9cb09735c010663040f4fd0ac358c87b383ee6ecbb110

See more details on using hashes here.

File details

Details for the file polynomial_generator-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for polynomial_generator-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd906772d90eddd5837908e32f4d064131de7c284e69463e5e02e5420e019978
MD5 70ed980218e2deb8aae13090ccfe5b73
BLAKE2b-256 e9011ba7b6de7ef66c8b51533f58aa4cf02f756d9c7921667726e13bc65dc049

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page