Unix Pioneer Brian Kernighan: if you could only use one language, choose Python
https://www.reddit.com/r/Python/comments/x05859/unix_pioneer_brian_kernighan_if_you_could_only/
https://www.reddit.com/r/Python/comments/x05859/unix_pioneer_brian_kernighan_if_you_could_only/
reddit
Unix Pioneer Brian Kernighan: if you could only use one language,...
Posted in r/Python by u/GreyBeardWizard • 978 points and 180 comments
Taming Bad Python Packages: Assessing Python Malware Detectors with a Benchmark Dataset
This post explains the creation and use of the benchmark dataset to measure the performance of the current PyPI malware checks.
https://blog.chainguard.dev/taming-python-malware-scanners/
This post explains the creation and use of the benchmark dataset to measure the performance of the current PyPI malware checks.
https://blog.chainguard.dev/taming-python-malware-scanners/
Chainguard, Inc.
Taming Bad Python Packages:
Assessing Python Malware Detectors with a Benchmark Dataset
Assessing Python Malware Detectors with a Benchmark Dataset
Ly D. Vu, visiting researcher at Chainguard and a lecturer and researcher at FPT University in Vietnam, contributed to this post. The number of malicious open source software packages found in popular registries is growing. According to analysis by the Atlantic…
Professional Pandas: The Pandas Assign Method and Chaining
This is the first in a series of blog posts that teach how to write professional-quality pandas code. In this post, we discuss the pandas assign function, and how it can be used together with chaining to create clean, readable code.
https://ponder.io/professional-pandas-the-pandas-assign-method-and-chaining/
This is the first in a series of blog posts that teach how to write professional-quality pandas code. In this post, we discuss the pandas assign function, and how it can be used together with chaining to create clean, readable code.
https://ponder.io/professional-pandas-the-pandas-assign-method-and-chaining/
Ponder
Professional Pandas: The Pandas Assign Method and Chaining
This is the first in a series of blog posts that teach how to write professional-quality pandas code. In this post, we discuss the pandas assign function, and how it can be used together with chaining to create clean, readable code.
Build Your Own Mobile Proxy for Web Scraping
In this guide, we show how you can build your own mobile proxy pool step by step. The most common use case for mobile proxies is web scraping. If you have a low success rate and keep getting blocked by websites you want to scrape, this guide is for you.
https://scrapingfish.com/blog/byo-mobile-proxy-for-web-scraping
In this guide, we show how you can build your own mobile proxy pool step by step. The most common use case for mobile proxies is web scraping. If you have a low success rate and keep getting blocked by websites you want to scrape, this guide is for you.
https://scrapingfish.com/blog/byo-mobile-proxy-for-web-scraping
Scrapingfish
Build Your Own Mobile Proxy for Web Scraping
In this guide, we show how you can build your own mobile proxy pool step by step. The most common use case for mobile proxies is web scraping. If you have low success rate and keep getting blocked by websites you want to scrape, this guide is for you.
Memory Management in Python - Part 3: Object Lifetimes and Garbage Collection
We ended Part 2 with an exploration of the weird and wonderful things that can happen when you override the eq magic method in Python. Now, in Part 3, we’re going to look at doing the same thing with a different magic method: del.
https://anvil.works/articles/pointers-in-my-python-3
We ended Part 2 with an exploration of the weird and wonderful things that can happen when you override the eq magic method in Python. Now, in Part 3, we’re going to look at doing the same thing with a different magic method: del.
https://anvil.works/articles/pointers-in-my-python-3
Anvil
Memory Management in Python - Part 3: Object Lifetimes and Garbage Collection
Join me for a tour of some of CPython’s dark memory magic and unintuitive behaviours! This blog post is the last in a three-part write-up of a conference talk I gave in 2021.
fastapi-best-practices
Opinionated list of best practices and conventions we used at our startup.
https://github.com/zhanymkanov/fastapi-best-practices
Opinionated list of best practices and conventions we used at our startup.
https://github.com/zhanymkanov/fastapi-best-practices
GitHub
GitHub - zhanymkanov/fastapi-best-practices: FastAPI Best Practices and Conventions we used at our startup
FastAPI Best Practices and Conventions we used at our startup - zhanymkanov/fastapi-best-practices
Flask-Backbone
Flask Boilerplate and Your Guide to Flask in 2022.
https://abstractkitchen.com/blog/flask-backbone/
Flask Boilerplate and Your Guide to Flask in 2022.
https://abstractkitchen.com/blog/flask-backbone/
Abstractkitchen
Flask Boilerplate and Your Guide to Flask in 2023. With SQLAlchemy. / abstractkitchen.com
Flask-Backbone is my take to create an initial structure and a set of rules, so most of my flask projects are easy to support.
Analyzing ScotRail audio announcements with Datasette—from prototype to production
https://simonwillison.net/2022/Aug/21/scotrail/
https://simonwillison.net/2022/Aug/21/scotrail/
Simon Willison’s Weblog
Analyzing ScotRail audio announcements with Datasette—from prototype to production
Scottish train operator ScotRail released a two-hour long MP3 file containing all of the components of its automated station announcements. Messing around with them is proving to be a huge …
New BucketRateLimiter Python package to rate limit requests to APIs
https://pypi.org/project/bucketratelimiter/
https://pypi.org/project/bucketratelimiter/
NeRF in the Dark
High Dynamic Range View Synthesis from Noisy Raw Images.
https://bmild.github.io/rawnerf/
High Dynamic Range View Synthesis from Noisy Raw Images.
https://bmild.github.io/rawnerf/
bmild.github.io
NeRF in the Dark (RawNeRF)
NeRF in the Dark: High Dynamic Range View Synthesis from Noisy Raw Images.
Building A Financial Dashboard In Python With Dash
Learn how to build a simple financial dashboard in Python using Plotly Dash by diving into loading financial data from a CSV file, generating extra columns, and how to build interactive components to control what you see on the dashboard.
https://www.youtube.com/watch?v=GlRauKqI08Y
Learn how to build a simple financial dashboard in Python using Plotly Dash by diving into loading financial data from a CSV file, generating extra columns, and how to build interactive components to control what you see on the dashboard.
https://www.youtube.com/watch?v=GlRauKqI08Y
YouTube
Building A Financial Dashboard In Python With Dash - Part 2/3
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.
In the second part of this miniseries I show you how to build a simple financial dashboard in Python using Plotly Dash. I dive into loading financial data from a CSV file,…
In the second part of this miniseries I show you how to build a simple financial dashboard in Python using Plotly Dash. I dive into loading financial data from a CSV file,…
lingua-py
The most accurate natural language detection library for Python, suitable for long and short text alike.
https://github.com/pemistahl/lingua-py
The most accurate natural language detection library for Python, suitable for long and short text alike.
https://github.com/pemistahl/lingua-py
GitHub
GitHub - pemistahl/lingua-py: The most accurate natural language detection library for Python, suitable for short text and mixed…
The most accurate natural language detection library for Python, suitable for short text and mixed-language text - pemistahl/lingua-py
Understanding async Python for the web
What is “async” Python? Why do people care about it so much? And is it really that useful for building web apps? What are all these new frameworks and other tools about? So let’s dive in.
https://www.b-list.org/weblog/2022/aug/16/async/
What is “async” Python? Why do people care about it so much? And is it really that useful for building web apps? What are all these new frameworks and other tools about? So let’s dive in.
https://www.b-list.org/weblog/2022/aug/16/async/
Python Type Hints: How to Gradually Add Types for Third Party Packages
Hynek Schlawack recently described graduality as Python’s super power: the ability to prototype in ...
https://adamj.eu/tech/2022/08/23/python-type-hints-gradually-add-types-for-third-party-packages/
Hynek Schlawack recently described graduality as Python’s super power: the ability to prototype in ...
https://adamj.eu/tech/2022/08/23/python-type-hints-gradually-add-types-for-third-party-packages/
adamj.eu
Python Type Hints: How to Gradually Add Types for Third Party Packages - Adam Johnson
Hynek Schlawack recently described graduality as Python’s super power: the ability to prototype in the REPL, and gradually add linting, type checking, and other practices to refine your code into maintainable, production-ready software. You can also apply…
SymPy: Solving Math Equations in Python and Jupyter
https://codesolid.com/sympy-solving-math-equations-in-python/
https://codesolid.com/sympy-solving-math-equations-in-python/
Python library for univariate regression, interpolation, and smoothing
https://github.com/brendanartley/Regressio
https://github.com/brendanartley/Regressio
GitHub
GitHub - brendanartley/Regressio: A python library for univariate regression, interpolation, and smoothing.
A python library for univariate regression, interpolation, and smoothing. - brendanartley/Regressio
DevCase
A privacy-focused and secure CMS, Blog and Portfolio made with Python & Django. Designed with developers and IT professionals in mind.
https://github.com/rob32/dev-case
A privacy-focused and secure CMS, Blog and Portfolio made with Python & Django. Designed with developers and IT professionals in mind.
https://github.com/rob32/dev-case
GitHub
GitHub - rob32/dev-case: A privacy-focused and secure CMS, Blog and Portfolio made with Python & Django. Designed with developers…
A privacy-focused and secure CMS, Blog and Portfolio made with Python & Django. Designed with developers and IT professionals in mind. - rob32/dev-case
Bayesian Age/Period/Cohort Models in Python with PyMC
This post shows how to use pymc to build Bayesian APC models in Python and presents a series of increasingly sophistocated systems of priors to resolve the inferential challenges these models pose.
https://austinrochford.com/posts/apc-pymc.html
This post shows how to use pymc to build Bayesian APC models in Python and presents a series of increasingly sophistocated systems of priors to resolve the inferential challenges these models pose.
https://austinrochford.com/posts/apc-pymc.html
Austin Rochford
Bayesian Age/Period/Cohort Models in Python with PyMC
For my day job, I spend a lot of time thinking about e-commerce analytics and cohort analysis in particular. Statistical age-period-cohort (APC) models are important in many fields such as epidemiolo
The Jupyter+git problem is now solved
Jupyter notebooks don’t work with git by default. With nbdev2, the Jupyter+git problem has been totally solved. It provides a set of hooks which provide clean git diffs, solve most git conflicts automatically, and ensure that any remaining conflicts can be resolved entirely within the standard Jupyter notebook environment. To
https://www.fast.ai/2022/08/25/jupyter-git/
Jupyter notebooks don’t work with git by default. With nbdev2, the Jupyter+git problem has been totally solved. It provides a set of hooks which provide clean git diffs, solve most git conflicts automatically, and ensure that any remaining conflicts can be resolved entirely within the standard Jupyter notebook environment. To
https://www.fast.ai/2022/08/25/jupyter-git/