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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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