Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →
CPython Alternatives
Similar projects and alternatives to CPython
-
-
-
Mergify
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
-
-
Pandas
Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
-
-
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
-
-
-
-
-
PostgreSQL
Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch
-
countwords
Playing with counting word frequencies (and performance) in various languages.
-
Plex-Meta-Manager
Python script to update metadata information for items in plex as well as automatically build collections and playlists. The Wiki Documentation is linked below.
-
fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
-
-
-
Redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
-
ipython
Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
CPython reviews and mentions
-
The Top 20 Programming Languages and Their Origins
Python
-
Creating Own Chat GPT
For the backend, we chose Python, Django Rest Framework. On the frontend, React, Redux, Saga, Sass. Let’s start with the backend, which was managed by Yegor. He writes about the server part of the project himself.
-
When URL parsers disagree (CVE-2023-38633, librsvg)
Speaking of URL parsing differences, Python's urllib library recently had a CVE for failing to strip whitespace from the scheme and domain.
-
Decimal to Fraction
The mediant-based implementation is at https://github.com/python/cpython/blob/607f18c89456cdc9064e2...
-
Building a Fitness and diet Chatbot with FaunaDB, OpenAI, and Twilio in Python
Python 3.x installed on your machine
-
Go 1.21 Released
Python will also do something like that. In fact it does something smarter, since Python 3.6 it snips out repeated lines in self-recursive calls: https://github.com/python/cpython/issues/71010
-
Ten Ways to Teach Kids to Code
also there is pyturtle - asweigart wrote a nice intro here: https://github.com/asweigart/simple-turtle-tutorial-for-pyth...
Turns out that pyturtle has a nice beginner friendly interface with global functions (I overlooked it at first). The library makes this on the fly with a nice trick: https://github.com/python/cpython/blob/f978a79130133de1cf264...
-
A Tour of CPython Compilation
CPython is the official reference implementation of Python written in the C programming language. The historical design is documented in PEP-0339. To better facilitate updates however, design internals are now hosted in the devguide site. Source code for CPython is easily accessible via the official GitHub repository.
-
Golang panics in libraries
The main idea of this approach is to throw an error from a function up to callers stack until someone will catch it. This way is the most popular way to handle errors in languages with exceptions like Java, PHP, Python, Ruby, etc.
-
What's up, Python? The GIL removed, a new compiler, optparse deprecated
> every process keeps its own copy of hundreds of gigabytes of stuff. May be okay, depending on how many processes you spawn
That depends on how you're using multiprocessing. If you're using the "spawn" multiprocessing-start method (which was set to the default on MacOS a few years ago[1], unfortunately), then every process re-starts python from the beginning of your program and does indeed have its own copy of anything not explicitly shared.
However, the "fork" and "forkserver" start methods make everything available in python before your multiprocessing.Pool/Process/concurrent.futures.ProcessPoolExecutor was created accessible for "free" (really: via fork(2)'s copy-on-write semantics) in the child processes without any added memory overhead. "fork" is the default startup mode on everything other than MacOS/Windows[2].
I find that those differing defaults are responsible for a lot of FUD around memory management regarding multiprocessing (some of which can be found in these comments!); folks who are watching memory while using multiprocessing on MacOS or Windows observe massively different memory consumption behavior than folks on Linux/BSD (which includes folks validating in Docker on MacOS/Windows). There's an additional source of FUD among folks who used Python on MacOS before the default was changed from "fork" to "spawn" and who assume the prior behavior still exists when it does not.
If you're on MacOS (not Windows) and wish to use the "fork" or "forkserver" behaviors of multiprocessing for memory sharing, do "export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES" in your shell before starting Python (modifying os.environ or calling os.setenv() in Python will not work), and then call "multiprocessing.set_start_method("fork", force=True)" in your entry point. Per the linked GitHub issue below, this can occasionally cause issues, but in my experience it does so rarely if ever.
1. https://github.com/python/cpython/issues/77906
2. https://docs.python.org/3/library/multiprocessing.html#conte...
-
A note from our sponsor - InfluxDB
www.influxdata.com | 28 Sep 2023
Stats
python/cpython is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.
The primary programming language of CPython is Python.