Skip to main content


An application to convert infix to postfix and vice versa...

Key Features

  • Runs standalone
  • Converts Infix expression to postfix expression.
  • Converts postfix expression to infix expression.

Basic Requirements (Pre-installed)

  • Python 3.x
  • Windows OS or MacOS or Other Linux Distribution.

Installation

  • Open terminal/cmd in windows/macos respectively.
  • Run the command pip install infix-postfix.

Usage

  • To convert infix to postfix, run infix-postfix --infix "${infix_expression}"
  • To convert postfix to infix, run infix-postfix --postfix "${postfix_expression}"

NOTE : Double quotes ("") is must for writing the expression to get correct output..

How to write expressions? 
- INFIX expression
    - Correct Methods
        - "( A+B)* C/D"
        - "((A+B)*C/D+E^F)/G"
        - "20.1 + (5 ^ 2 / 2)"
        - "20.1 + ( 5 ^ 2 / 2)"
        - etc...

- POSTFIX ecpression
    - Correct Methods
        - "A B + C * D /"
        - "A B C D + E F + * G / + * H *"
        - "20.1 5 +"
    - Wrong Methods
        - "AB+C*D/"
        - "ABCD+EF+*G/+*H*"
        - "20.1 5+"
        - "20 5+"
    - In One line, You have to give spaces after every value
  • To run this application in your own application or python script, run
from infix_postfix.infix_postfix import infix,postfix
$(variable) = $(infix/postfix){expression}
print($(variable))

Example :-

Contribution

Anyone is free to contribute to this open source project. 🎉🎉

Release files for infix-postfix 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 infix-postfix 1.2.0
File Size Uploaded
infix-postfix-1.2.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for infix-postfix 1.2.0
File Interpreter ABI Platform
infix_postfix-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / infix-postfix-1.2.0.tar.gz

Download URL infix-postfix-1.2.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f285f282237c4f83d399c80f1c38eff9c4df0d27349fb67c837d0f7f6eb58fde
BLAKE2b-256 checksum
How to use checksums
9186d3341263cc291476de5a3a1bb84c014cb515c7a822ccc7706b0db81a5a1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

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

Download URL infix_postfix-1.2.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a08c0ff61f93910be83c8f4b32047d7a5d356ef0c1d4621056a18ae653bf8f8
BLAKE2b-256 checksum
How to use checksums
6fcb9ffac2b12d65b22713723614be0dad5d825248ab34d1a7fd3574ab8f392a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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