Procedural music composition with Python
An exploration on composing a musical ensemble using arvo and music21 with minimalistic procedural composition techniques.
https://deepnote.com/@essia/Procedural-music-composition-with-arvo-9b35ebd7-63e0-47bc-a3d5-c503954a083d
An exploration on composing a musical ensemble using arvo and music21 with minimalistic procedural composition techniques.
https://deepnote.com/@essia/Procedural-music-composition-with-arvo-9b35ebd7-63e0-47bc-a3d5-c503954a083d
Multiprocessing in Python: The Complete Guide
This guide provides a detailed and comprehensive guide to multiprocessing in Python, including how processes work, how to use processes in multiprocessor programming, concurrency primitives used with processes, common questions, and best practices.
https://superfastpython.com/multiprocessing-in-python/
This guide provides a detailed and comprehensive guide to multiprocessing in Python, including how processes work, how to use processes in multiprocessor programming, concurrency primitives used with processes, common questions, and best practices.
https://superfastpython.com/multiprocessing-in-python/
Super Fast Python
Python Multiprocessing: The Complete Guide - Super Fast Python
Python Multiprocessing, your complete guide to processes and the multiprocessing module for concurrency in Python.
How to Run a Django Migration “By Hand”
https://adamj.eu/tech/2022/06/29/run-a-django-migration-by-hand/
https://adamj.eu/tech/2022/06/29/run-a-django-migration-by-hand/
adamj.eu
Django: Run a migration “by hand” - Adam Johnson
Normally your Django project’s deploy process runs the migrate command, and that takes care of updating your database as necessary. Especially on smaller databases, Django’s migration system can “just do it” for you.
A recipe recommendation system
Learn how to build a recipe recommendation system with Python, embeddings and FAISS.
https://duarteocarmo.com/blog/scandinavia-food-python-recommendation-systems
Learn how to build a recipe recommendation system with Python, embeddings and FAISS.
https://duarteocarmo.com/blog/scandinavia-food-python-recommendation-systems
Duarte O.Carmo
A recipe recommendation system
Building a recipe recommendation system with Python, embeddings and FAISS
PyTorch 1.12
This release is composed of over 3124 commits, 433 contributors. Along with 1.12, we are releasing beta versions of AWS S3 Integration, PyTorch Vision Models on Channels Last on CPU, Empowering PyTorch on Intel® Xeon® Scalable processors with Bfloat16 and FSDP API.
https://pytorch.org/blog/pytorch-1.12-released/
This release is composed of over 3124 commits, 433 contributors. Along with 1.12, we are releasing beta versions of AWS S3 Integration, PyTorch Vision Models on Channels Last on CPU, Empowering PyTorch on Intel® Xeon® Scalable processors with Bfloat16 and FSDP API.
https://pytorch.org/blog/pytorch-1.12-released/
pytorch.org
PyTorch 1.12: TorchArrow, Functional API for Modules and nvFuser, are now available
We are excited to announce the release of PyTorch 1.12 (release note)! This release is composed of over 3124 commits, 433 contributors. Along with 1.12, we are releasing beta versions of AWS S3 Integration, PyTorch Vision Models on Channels Last on CPU, Empowering…
Red Engine: modern scheduling framework for Python applications
https://red-engine.readthedocs.io/en/stable/index.html
https://red-engine.readthedocs.io/en/stable/index.html
red-engine.readthedocs.io
Red Engine — Red Engine: Advanced Scheduler
Red Engine, modern scheduling framework
silero-models
Pre-trained speech-to-text, text-to-speech and text-enhancement models made embarrassingly simple.
https://github.com/snakers4/silero-models
Pre-trained speech-to-text, text-to-speech and text-enhancement models made embarrassingly simple.
https://github.com/snakers4/silero-models
GitHub
GitHub - snakers4/silero-models: Silero Models: pre-trained speech-to-text, text-to-speech and text-enhancement models made embarrassingly…
Silero Models: pre-trained speech-to-text, text-to-speech and text-enhancement models made embarrassingly simple - snakers4/silero-models
Custom JSON encoder and decoder
This article explains how to extend the JSON format by using a custom encoder and a custom decoder to turn arbitrary Python objects into JSON and back.
https://mathspp.com/blog/custom-json-encoder-and-decoder
This article explains how to extend the JSON format by using a custom encoder and a custom decoder to turn arbitrary Python objects into JSON and back.
https://mathspp.com/blog/custom-json-encoder-and-decoder
Mathspp
Custom JSON encoder and decoder
This article explains how to extend the JSON format by using a custom encoder and a custom decoder to turn arbitrary Python objects into JSON and back.
Faster Django Queries With Materialized Views
Materialized views can be very useful for creating reports that will be used repeatedly. They cut down on query times because the query has already been made, and the view has been written to the disk. In this video, Nafiul Islam demonstrates how to create materialized views, explains the benefits of using them, and shows how to integrate them into Django ORM.
https://www.youtube.com/watch?v=qcTGppyu1nw
Materialized views can be very useful for creating reports that will be used repeatedly. They cut down on query times because the query has already been made, and the view has been written to the disk. In this video, Nafiul Islam demonstrates how to create materialized views, explains the benefits of using them, and shows how to integrate them into Django ORM.
https://www.youtube.com/watch?v=qcTGppyu1nw
YouTube
Faster Django Queries With Materialized Views
Materialized views can be very useful for creating reports that will be used repeatedly. They cut down on query times because the query has already been made, and the view has been written to the disk.
In this video, Nafiul Islam demonstrates how to create…
In this video, Nafiul Islam demonstrates how to create…
How to Patch Requests to Have a Default Timeout
Python’s requests package is very popular.
Even if you don’t use it directly, it’s highly likely ...
https://adamj.eu/tech/2022/06/23/how-to-patch-requests-to-have-a-default-timeout/
Python’s requests package is very popular.
Even if you don’t use it directly, it’s highly likely ...
https://adamj.eu/tech/2022/06/23/how-to-patch-requests-to-have-a-default-timeout/
adamj.eu
How to Patch Requests to Have a Default Timeout - Adam Johnson
Python’s requests package is very popular. Even if you don’t use it directly, it’s highly likely one of your dependencies does.
How to Make Django Raise an Error for Missing Template Variables
It’s all too easy to forget to pass a variable to your template, or make a typo in a variable ...
https://adamj.eu/tech/2022/03/30/how-to-make-django-error-for-undefined-template-variables/
It’s all too easy to forget to pass a variable to your template, or make a typo in a variable ...
https://adamj.eu/tech/2022/03/30/how-to-make-django-error-for-undefined-template-variables/
adamj.eu
Django: Raise an error for missing template variables - Adam Johnson
It’s all too easy to forget to pass a variable to your template or make a typo in a variable name. Unfortunately, it can be quite hard to debug such mistakes, since Django’s default behaviour is to ignore the problem and render an empty string.
Faster routing for Flask & Quart
Flask and Quart both utilize Werkzeug's HTTP router to route request paths to the relevant function. With the upcoming 2.2 release of Werkzeug this router will be significantly faster, with up to a factor of 5 seen in testing. This speedup increases with the size of the routing table and so you are likely to see further increases in your production applications.
https://pgjones.dev/blog/faster-routing-2022/
Flask and Quart both utilize Werkzeug's HTTP router to route request paths to the relevant function. With the upcoming 2.2 release of Werkzeug this router will be significantly faster, with up to a factor of 5 seen in testing. This speedup increases with the size of the routing table and so you are likely to see further increases in your production applications.
https://pgjones.dev/blog/faster-routing-2022/
Barfi
A Python visual Flow Based Programming library that integrates into your existing workflow.
https://github.com/krish-adi/barfi
A Python visual Flow Based Programming library that integrates into your existing workflow.
https://github.com/krish-adi/barfi
GitHub
GitHub - krish-adi/barfi: Framework to build a custom no-code platform. Comes with a Flow Based programming env and a GUI.
Framework to build a custom no-code platform. Comes with a Flow Based programming env and a GUI. - krish-adi/barfi