git
CPython
| git | CPython | |
|---|---|---|
| 625 | 1,555 | |
| 8,999 | 70,429 | |
| 0.8% | 1.2% | |
| 0.0 | 10.0 | |
| 2 days ago | 1 day ago | |
| C | Python | |
| 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.
git
- How to Set Up Your Git Workspace on a PC
Download Git Bash. This is a tool developers use to write Git commands on a PC. I use this on my computer. Just go to gitforwindows.org and click the download button to start downloading the file.
- AltSchool Of Engineering Tinyuka’24 Month 1 Week 2
Go to the Git for Windows website.
- Linux as co-operative Windows process
At work when I work on Windows (currently stuck using Mac for the first time in my career at work), but on Windows I would use https://gitforwindows.org/ which also uses msys2 and that is a very popularly supported free product using msys2 on Windows. If you ever forget the URL, search for "git bash for windows".
- Azure DevOps: Version Control Using Git and VS Code
Git installed and configured on your machine. For Windows, For Mac
- Streamline Your Smart Contract Development with Foundry
How to install?? Before going further make sure you have installed GIT BASH because these commands will not work on windows terminal. Before installing foundry we need to install latest version of the rust. To install rust run below command in your bash terminal
- Bro Install Neovim On Windows And Setup Neovim Without Neovim Package Manager 🙀
Install gitbash 😸
- Solving the Worst Problem in Programming Education: Windows
I use windows, mac and linux basically interchangeably for coding. For windows, I install the Git Bash package [https://gitforwindows.org/] and then just use chocolatey as a package manager for stuff like python and node.js. Bash gives me a completely functional commandline with my C drive mounted as `/c`, and I can write code using VSCode. I don't really have issues. With this setup, it operates indistinguishably from the other two platforms.
For me, the key really is the commandline. Learning powershell is not something I'm going to do.
- 👾 Git - Getting Started Guide for Dummies 👾
Mac (OSX) • Windows • Linux
- Getting Started with GitHub CLI: A Quick Guide to Installation and Usage
For more information on the Git for Windows project, which is separate from Git itself, you can visit https://gitforwindows.org.
- Understanding the Basics of Git.
Go to this link
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
What are some alternatives?
ParrelSync - (Unity3D) Test multiplayer without building
RustPython - A Python Interpreter written in Rust
sensible-side-buttons - A macOS menu bar app that enables system-wide navigation functionality for the side buttons on third-party mice.
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
Chocolatey - Chocolatey - the package manager for Windows
node - Node.js JavaScript runtime ✨🐢🚀✨