CPython
MySQL
| CPython | MySQL | |
|---|---|---|
| 1,555 | 194 | |
| 70,429 | 11,908 | |
| 1.1% | 0.8% | |
| 10.0 | 9.9 | |
| about 6 hours ago | 2 months ago | |
| Python | C++ | |
| GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CPython
- What's New in Python 3.15
Here's the relevant diff: https://github.com/python/cpython/pull/137968/files#diff-966...
Search is limited to 20 attributes and non-descriptors only to avoid arbitrary code execution.
I assume constructing AttributeErrors isn't highly performance sensitive.
- Ask HN: How do you handle release notes for multiple audiences?
If there is an audience for release notes I haven't seen anything better than just committing entries to pre-release folder as you change things and have release automation compile the folder into the actual release notes. Python and many other large projects handle it like this: https://github.com/python/cpython/tree/main/Misc/NEWS.d/next (The release notes for major releases are crafted manually)
- Guide - Audio Modding of "Arena of Valor"
Python Software Foundation. Python Programming Language. https://www.python.org/
- How to Send an Email in Python
import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.base import MIMEBase from email import encoders # SMTP Server details port = 587 smtp_server = "smtp.sendlayer.net" username = "paulie" # Your username generated by SendLayer password = "sendlayer_smtp_password" # Your password generated by SendLayer sender_email = "paulie@example.com" receiver_email = "johndoe@example.com" # Email content subject = "Email Example with Attachment" html_message = """\ Hi, This is a test email sent from "https://www.python.org">Python using "https://sendlayer.com">SendLayer's SMTP server The email also includes an attachment """ # Create a multipart message and set headers message = MIMEMultipart() message["From"] = sender_email message["Subject"] = subject message["To"] = receiver_email # Attach the HTML part message.attach(MIMEText(html_message, "html")) # Specify the file path for the attachment filename = "./path/to/attachment/file.pdf" # Change this to the correct path # Open the file in binary mode with open(filename, "rb") as attachment: part = MIMEBase("application", "octet-stream") part.set_payload(attachment.read()) # Encode file in ASCII characters to send by email encoders.encode_base64(part) # Add header as key/value pair to attachment part part.add_header("Content-Disposition", f"attachment; filename= {filename}") # Add attachment to message message.attach(part) # Send the email with smtplib.SMTP(smtp_server, port) as server: server.starttls() server.login(username, password) server.sendmail(sender_email, receiver_email, message.as_string()) print('Email sent successfully')
- Python Concurrency: A Guide to Threads, Processes, and Asyncio
import requests from concurrent.futures import ThreadPoolExecutor URLS = [ "https://www.python.org/", "https://www.djangoproject.com/", "https://flask.palletsprojects.com/", ] def fetch_url(url: str): print(f"Fetching {url}...") response = requests.get(url) print(f"Fetched {url} with status {response.status_code}") return len(response.content) with ThreadPoolExecutor(max_workers=5) as executor: # The map function runs `fetch_url` for each item in URLS results = executor.map(fetch_url, URLS) for url, length in zip(URLS, results): print(f"URL: {url}, Length: {length}")
- Type hints in Python (4)
Use KeysView and ValuesView instead of dict_keys and dict_values respectively because type checkers don't support dict_keys and dict_values in _collections_abc.
- Optimize Python Sorting with One Little Trick
According to the benchmark in the PR that introduced this optimization, sorting a list that consists only of floats rather than a list of floats with even a single integer at the end is almost twice as fast.
- How to Use UUIDv7 in Python, Django and PostgreSQL
If you want to a UUIDv7 key for partitioning your table by date (e.g., one partition per day or month), you need to be able to compute the partition range via the minimal UUIDv7 for a given date.
There is some discussion whether or not to add helpers for this to Python‘s uuid7 module: https://github.com/python/cpython/issues/130843#issuecomment...
- How often does Python allocate?
With respect to tagged pointers, there seems to be some recent movements on that front in CPython: https://github.com/python/cpython/issues/132509
- Python: Is_dir() returns False when called from a path.relative_to(root) result
MySQL
- MariaDB 11.4 on OpenBSD 7.8: Install
MariaDB is one of the most popular relational database management systems (RDBMS), forked from MySQL by some of the original developers. It is open source licensed under GNU GPL 2, and ready for both community and enterprise use with long history and large knowledge to manage and maintain.
- How to Integrate WebAuthn in Next.js
The application needs to store the user information and passkey details in the database. To set up the database schema, log in to your MySQL server, create a new database named webauthen_demo, and run the query below to create the database schema.
- gRPC vs REST
MySql Database
- Building a JSON CRUD API in PHP
As your API grows, you'll likely outgrow JSON files. While suitable for small applications, JSON files can struggle with file locking conflicts, slow read/write operations, and complex querying needs. When these issues arise, it's time to consider a database like MySQL or PostgreSQL.
- How to add Bug Tracking to your Apps (Free Open Source Tool) - Bugsink 🐞
You can find detailed installation instructions in the docs. We will choose the Docker installation and use a MySQL database as a persistent data store.
- MySQL vs MongoDB - Visual Design with Real Data Models
DbSchema is not a database itself. It’s a visual tool that connects to your MySQL or MongoDB server and works directly with your database. Once connected, it shows you the real structure of your data - the tables or collections, the columns or fields, and even the relationships between them. You can explore the data, edit the schema, and understand your database more clearly, all in one place.
- Database Sharding vs Partitioning: What’s the Difference?
MySQL MySQL natively supports partitioning, but sharding needs add-ons like Vitess to run platforms like YouTube.
- Open Source: A Goldmine for Indie Hackers
Open source software is built on the democratic idea that everyone should be able to inspect and contribute to the source code. Major projects like Linux, WordPress, and the Apache HTTP Server have shown how collaborative efforts can produce robust, scalable solutions. Indie hackers, often working with limited budgets, gain access to highly dependable tools such as Python and MySQL, which were originally developed and maintained by global communities.
- How I Got x311 Faster Analytics on 110M Rows
Hey everyone! I recently got fed up with waiting minutes for simple analytics queries to finish, so I threw together a little demo to see how SingleStore, MySQL, and PostgreSQL stack up against each other on a 110 million‑row banking transactions dataset.
- Every Database Will Support Iceberg — Here's Why
Traditional databases — PostgreSQL, MySQL, etc. — store their data in proprietary formats. That format is optimized for that engine and can’t be directly accessed by anything else. Even if something like Trino can connect to Postgres, it’s still running queries through Postgres itself, not reading its storage directly. You’re just a client.
What are some alternatives?
git - A fork of Git containing Windows-specific patches.
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
RustPython - A Python Interpreter written in Rust
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
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
ClickHouse - ClickHouse® is a real-time analytics database management system