Software Alternatives & Reviews

py2exe VS Cython

Compare py2exe VS Cython and see what are their differences

py2exe logo py2exe

A distutils extension to create standalone Windows programs from Python scripts.

Cython logo Cython

Cython is a language that makes writing C extensions for the Python language as easy as Python...
py2exe Landing Page
py2exe Landing Page
Cython Landing Page
Cython Landing Page

py2exe details

Categories
Website Builder Website Design CMS
Website py2exe.org  

Cython details

Categories
Website Builder Website Design CMS
Website cython.org  

py2exe videos

Bypass Anti­Virus using Pyinstaller and py2exe (demo)

More videos:

  • Review - Python Py2exe Compiler Screen De-Constructed

Cython videos

Stefan Behnel - Get up to speed with Cython 3.0

More videos:

  • Review - Cython: A First Look
  • Review - Simmi Mourya - Scientific computing using Cython: Best of both Worlds!

Category Popularity

0-100% (relative to py2exe and Cython)
38
38%
62%
62
25
25%
75%
75
27
27%
73%
73

Social recommendations and mentions

Based on our record, Cython seems to be a lot more popular than py2exe. While we know about 39 links to Cython, we've tracked only 1 mention of py2exe. We are tracking product recommendations and mentions on Reddit, HackerNews and some other platforms. They can help you identify which product is more popular and what people think of it.

py2exe mentions (1)

  • Games
    Sounds like you are on Windows. I think something like https://py2exe.org/ will be what you are after. I'm on Mac / Linux systems only, so I can't really provide info on how to use it, but I know there are some good tutorials out there. - Source: Reddit / 3 months ago

Cython mentions (39)

  • Starlite development updates January ’23
    As you can see, in this benchmark Starlite handily beats even blakchseep, a notoriously fast ASGI framework written in Cython. - Source: Reddit / 24 days ago
  • Codon: A high-performance Python compiler
    How does this relate to https://cython.org/ ? Would it be possible to write performance-sensitive parts of a Python system in Codon and link that to a CPython or PyPy runtime that supports more dynamic features? - Source: Hacker News / about 2 months ago
  • Do you guys have any resources for learning C++ and/or Fortran programming for physics?
    If you're already familiar with python and numpy, you might want to look into cython as an intermediate step before going straight into C. It allows you to compile most python code into a static binary that can be imported into a python script just like any other library. This allows you to get performance close to raw C without having to invest much effort, and has a lot of bells and whistles like... - Source: Reddit / 2 months ago
  • Python devs Vs C++ chads
    Now I understand why you didn't like it. As is with most libraries cross compiling with python is not as easy as it sounds. Only pure python code is cross platform everything else needs specific instructions for compilation. Can be tedious in some cases. PyO3 looks interesting. Is there anything equivalent to cython for rust? Cython is a very popular way to export computer intensive tasks to c with a python like... - Source: Reddit / 3 months ago
  • In One Minute : Pandas
    Pandas is a Python library for PANel DAta manipulation and analysis, example: multidimensional time series and cross-sectional data sets commonly found in statistics, experimental science results, econometrics, or finance. Pandas is implemented primarily using NumPy and Cython; it is intended to be able to integrate very easily with NumPy-based scientific libraries, such as statsmodels. - Source: dev.to / 3 months ago
View more

What are some alternatives?

When comparing py2exe and Cython, you can also consider the following products

PyInstaller - PyInstaller is a program that freezes (packages) Python programs into stand-alone executables...

Numba - Numba gives you the power to speed up your applications with high performance functions written...

cx_Freeze - cx_Freeze is a set of scripts and modules for freezing Python scripts into executables in much the...

nuitka - Nuitka is a Python compiler.

PyPy - PyPy is a fast, compliant alternative implementation of the Python language (2.7.1).

bbfreeze - create stand-alone executables from python scripts

User reviews

Share your experience with using py2exe and Cython. For example, how are they different and which one is better?
Log in or Post with