The Python programming language (by python)

Cpython Alternatives

Similar projects and alternatives to cpython
  • motioneye

    A web frontend for the motion daemon.

  • per4m

    Profiling and tracing information for Python using viztracer and perf, the GIL exposed.

  • viztracer

    VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.

  • abi-aa

    Application Binary Interface for the Arm® Architecture

  • arrow

    Apache Arrow is a cross-language development platform for in-memory data. It specifies a standardized language-independent columnar memory format for flat and hierarchical data, organized for efficient analytic operations on modern hardware. It also provides computational libraries and zero-copy streaming messaging and interprocess communication. Languages currently supported include C, C++, Java, JavaScript, Python, and Ruby.

  • pip

    The Python package installer

  • vaex

    Out-of-Core DataFrames for Python, ML, visualize and explore big tabular data at a billion rows per second 🚀

  • h5py

    HDF5 for Python -- The h5py package is a Pythonic interface to the HDF5 binary data format.

  • simplejson

    simplejson is a simple, fast, extensible JSON encoder/decoder for Python

  • rope

    a python refactoring library

  • bitey

  • PurefunctionPipelineDataflow

    My Blog: The Grand Unified Programming Theory: The Pure Function Pipeline Data Flow with principle-based Warehouse/Workshop Model

  • rss-proxy

    RSS-proxy allows you to do create an RSS or ATOM feed of almost any website, just by analyzing just the static HTML structure.

  • gil_load

    Utility for measuring the fraction of time the CPython GIL is held

  • python-imphook

    Simple and clear import hooks for Python - import anything as if it were a Python module

  • gilstats.py

    A utility for dumping per-thread statistics for CPython GIL using eBPF

  • dissert

    A file-level assertion disabler for Python

  • plus-minus-zero

    EMA Rank calculator

  • ubitey

    Remake of David Beazley's "bitey" tool for Pycopy the small Python - import LLVM bitcode directly as a Python module

  • concurrency-examples

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better alternative or higher similarity.


Posts where cpython has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-01-23.
  • (Python - not necessarily exclusive to it?) What happens "under the hood," when you string format?
    The formatting string is parsed into an iterable with the native function formatter_parser, and this is used to iterate over and insert the objects. The actual logic of the iteration happens in MarkupIterator_next.
  • Pip has dropped support for Python 2
    news.ycombinator.com | 2021-01-23

      commit b71c7dc9ddd6997be49ed6aaabf99a067e2c0388
  • Python 3's F-Strings: An Improved String Formatting Syntax
    news.ycombinator.com | 2021-01-20
    As the sibling comment points out, it actually doesn't work that way. The first parameter is only treated as a format string _if_ there are arguments. If not, it is treated as a literal string: https://github.com/python/cpython/blob/dcea78ff53d02733ac598...
  • Who knew 20 nested loops is the max...
  • Is It Guaranteed That The Del Methods Will Be
    Because that's how it's defined to work: https://github.com/python/cpython/blob/master/Objects/typeobject.c#L6281
    You can see all of them here: https://github.com/python/cpython/blob/master/Objects/typeobject.c#L436
  • Trying to create a peteranswer type program in python
  • What's the difference between operator.lt(a, b) and operator.__lt__(a, b)?
    Here's the official source code for the python operator module, you'll see it's extremely simple: https://github.com/python/cpython/blob/3.9/Lib/operator.py
    I'm guessing somewhere in here: https://github.com/python/cpython/blob/master/Include/cpython/object.h
  • python idle new window
  • JSON parser
    Might I suggest before spending too long trying to solve it with regexps you look at the official JSON spec and a few existing solutions to see if they give you a better understanding of the problem you want to solve. SimpleJSON's decoder, and the standard Python library version are both easy to read pure python solutions.
  • Tracing and visualizing the Python GIL with perf and VizTracer
    dev.to | 2021-01-14
    Looking at the output of perf script (where we add --no-inline for performance reasons), we get a load of information. Looking at a state change event, we can now see that take_gil was called!
  • If the compiled bytecode is portable, is the code for Python Virtual Machine (PVM) different across different platforms?
    I found this switch statement at line 1606 on Github. I read that this powers Python. I think this is the same for all platforms. So are there platform-specific things around it?
    LOAD_CONST is not the string "LOAD_CONST", it's a preprocessor macro that refers to the value of that specific instruction's opcode as a number. You can see all the opcode numbers here.
  • How do generators store the state internally?
    If Im not mistaken, right there: https://github.com/python/cpython/blob/master/Objects/frameobject.c#L726


Basic cpython repo stats
about 23 hours ago

python/cpython is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.