Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python education!
This thread is not for recruitment, please see r/PythonJobs or the thread in the sidebar for that.
/r/Python
https://redd.it/109k9to
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python education!
This thread is not for recruitment, please see r/PythonJobs or the thread in the sidebar for that.
/r/Python
https://redd.it/109k9to
reddit
Thursday Daily Thread: Python Careers, Courses, and Furthering...
Discussion of using Python in a professional environment, getting jobs in Python as well as ask questions about courses to further your python...
Chronological list of Resources to Learn Django from Complete Beginner to Advanced Level
https://www.codelivly.com/resources-to-learn-django-from-complete-beginner-to-advanced-level/
/r/Python
https://redd.it/109px3s
https://www.codelivly.com/resources-to-learn-django-from-complete-beginner-to-advanced-level/
/r/Python
https://redd.it/109px3s
Scriptum: A command line utility for storing, documenting, and executing your project's scripts.
Scriptum is a command line utility for storing, documenting, and executing your project's scripts, written in Python.
With scriptum, you can easily configure and run your project's scripts, by defining them in a configuration file. Here is an example of a configuration file:
/
Scripts for my project!
/
{
"serve": "python3 server.py", // runs the server
"test": { // tests the code
"permissions": {
"set": "chmod 777 main.py"
},
"run": "./main.py $1",
"checks": "mypy **/*.py", "python3 tests/main.py"
},
"package":
/r/Python
https://redd.it/109qxzw
Scriptum is a command line utility for storing, documenting, and executing your project's scripts, written in Python.
With scriptum, you can easily configure and run your project's scripts, by defining them in a configuration file. Here is an example of a configuration file:
/
Scripts for my project!
/
{
"serve": "python3 server.py", // runs the server
"test": { // tests the code
"permissions": {
"set": "chmod 777 main.py"
},
"run": "./main.py $1",
"checks": "mypy **/*.py", "python3 tests/main.py"
},
"package":
/r/Python
https://redd.it/109qxzw
reddit
Scriptum: A command line utility for storing, documenting, and...
Scriptum is a command line utility for storing, documenting, and executing your project's scripts, written in Python. With scriptum, you can...
Updated documentation for ScreenPy which should help you understand Screenplay Pattern, we think, we hope.
'Sssup, snakes—
I'm back with some updated documentation for ScreenPy, which is our Screenplay Pattern base suite for Python. If you haven't heard of it—that's not surprising—it lets you write tests that look like this:
def testexample(Snoo: AnActor) -> None:
given(Snoo).wasableto(LogIn.using(USERNAME, PASSWORD))
when(Snoo).attemptsto(
Visit(POSTURL),
MakeNote.ofthe(VotesOnThePost()).as("votes before"),
Click.onthe(UPVOTEARROW),
)
then(Snoo).should(
See.the(VotesOnThePost(), IsEqualTo(thenoted("votes before") + 1),
)
We recently rewrote our entire documentation with a focus on showing how to build a suite using a made-up Ability, which showcases way more of the modular, composition-based approach that Screenplay Pattern uses.
Our goal is to present ScreenPy and Screenplay Pattern in a way that is easy to follow and hopefully exciting to read about. Please let
/r/Python
https://redd.it/109s091
'Sssup, snakes—
I'm back with some updated documentation for ScreenPy, which is our Screenplay Pattern base suite for Python. If you haven't heard of it—that's not surprising—it lets you write tests that look like this:
def testexample(Snoo: AnActor) -> None:
given(Snoo).wasableto(LogIn.using(USERNAME, PASSWORD))
when(Snoo).attemptsto(
Visit(POSTURL),
MakeNote.ofthe(VotesOnThePost()).as("votes before"),
Click.onthe(UPVOTEARROW),
)
then(Snoo).should(
See.the(VotesOnThePost(), IsEqualTo(thenoted("votes before") + 1),
)
We recently rewrote our entire documentation with a focus on showing how to build a suite using a made-up Ability, which showcases way more of the modular, composition-based approach that Screenplay Pattern uses.
Our goal is to present ScreenPy and Screenplay Pattern in a way that is easy to follow and hopefully exciting to read about. Please let
/r/Python
https://redd.it/109s091
GitHub
ScreenPy HQ
The headquarters for ScreenPy's star attraction and all the "official" supporting cast. - ScreenPy HQ
Enforcing fixed time step in FMI++ (fmipp)
I am learning python the hard way (at least i feel like it). I need to get an fixed step FMU running, to cosimulate with a multibody simulation Tool (MSC ADAMS). I chose fmipp, as it is quite powerful, but i cant get it to run with fixed step size.
Has anyone here ever done it?
/r/Python
https://redd.it/109ut9w
I am learning python the hard way (at least i feel like it). I need to get an fixed step FMU running, to cosimulate with a multibody simulation Tool (MSC ADAMS). I chose fmipp, as it is quite powerful, but i cant get it to run with fixed step size.
Has anyone here ever done it?
/r/Python
https://redd.it/109ut9w
reddit
Enforcing fixed time step in FMI++ (fmipp)
I am learning python the hard way (at least i feel like it). I need to get an fixed step FMU running, to cosimulate with a multibody simulation...
Take the tools out of 'Data', but don't take the data out of the tools
https://csvbase.com/blog/1
/r/Python
https://redd.it/109vtdk
https://csvbase.com/blog/1
/r/Python
https://redd.it/109vtdk
csvbase
Take the tools out of 'Data', but don't take the data out of the tools
Using dataframes to write smaller, faster programs
D The Open Deep Learning Toolkit for Robotics v2.0 was just released
The Open Deep Learning Toolkit for Robotics version 2.0 was just released! This new version of the toolkit includes several improvements, such as new tools for object detection, efficient continual inference, tracking, emotion estimation and high-resolution pose estimation. Furthermore, this version includes a refined ROS interface, along with support for ROS2.
You can download it here: https://github.com/opendr-eu/opendr
We look forward to receiving your feedback, bug reports, and suggestions for improvements!
/r/MachineLearning
https://redd.it/109w09k
The Open Deep Learning Toolkit for Robotics version 2.0 was just released! This new version of the toolkit includes several improvements, such as new tools for object detection, efficient continual inference, tracking, emotion estimation and high-resolution pose estimation. Furthermore, this version includes a refined ROS interface, along with support for ROS2.
You can download it here: https://github.com/opendr-eu/opendr
We look forward to receiving your feedback, bug reports, and suggestions for improvements!
/r/MachineLearning
https://redd.it/109w09k
GitHub
GitHub - opendr-eu/opendr: A modular, open and non-proprietary toolkit for core robotic functionalities by harnessing deep learning
A modular, open and non-proprietary toolkit for core robotic functionalities by harnessing deep learning - opendr-eu/opendr
R Git is for Data (CIDR 2023) - Extending Git to Support Large-Scale Data
Paper: https://www.cidrdb.org/cidr2023/papers/p43-low.pdf
Abstract:
Dataset management is one of the greatest challenges to the application of machine learning (ML) in the industry. Although scaling and performance have often been highlighted as the significant ML challenges, development teams are bogged down by the contradictory requirements of supporting fast and flexible data iteration while maintaining stability, provenance, and reproducibility. For example, blobstores are used to store datasets for maximum flexibility, but their unmanaged access patterns limit reproducibility. Many ML pipeline solutions to ensure reproducibility have been devised, but all introduce a degree of friction and reduce flexibility.
In this paper, we propose that the solution to the dataset management challenges is simple and apparent: Git. As a source control system, as well as an ecosystem of collaboration and developer tooling, Git has enabled the field of DevOps to provide both speed of iteration and reproducibility to source code. Git is not only already familiar to developers, but is also integrated into existing pipelines, which facilitates adoption. However, as we (and others) demonstrate, Git, as designed today, does not scale to the needs of ML dataset management. In this paper, we propose XetHub; a system that retains the Git user experience and ecosystem, but can scale to
/r/MachineLearning
https://redd.it/10a4mns
Paper: https://www.cidrdb.org/cidr2023/papers/p43-low.pdf
Abstract:
Dataset management is one of the greatest challenges to the application of machine learning (ML) in the industry. Although scaling and performance have often been highlighted as the significant ML challenges, development teams are bogged down by the contradictory requirements of supporting fast and flexible data iteration while maintaining stability, provenance, and reproducibility. For example, blobstores are used to store datasets for maximum flexibility, but their unmanaged access patterns limit reproducibility. Many ML pipeline solutions to ensure reproducibility have been devised, but all introduce a degree of friction and reduce flexibility.
In this paper, we propose that the solution to the dataset management challenges is simple and apparent: Git. As a source control system, as well as an ecosystem of collaboration and developer tooling, Git has enabled the field of DevOps to provide both speed of iteration and reproducibility to source code. Git is not only already familiar to developers, but is also integrated into existing pipelines, which facilitates adoption. However, as we (and others) demonstrate, Git, as designed today, does not scale to the needs of ML dataset management. In this paper, we propose XetHub; a system that retains the Git user experience and ecosystem, but can scale to
/r/MachineLearning
https://redd.it/10a4mns
D Microsoft ChatGPT investment isn't about Bing but about Cortana
I believe that Microsoft's 10B USD investment in ChatGPT is less about Bing and more about turning Cortana into an Alexa for corporates.
Examples: Cortana prepare the new T&Cs... Cortana answer that client email... Cortana prepare the Q4 investor presentation (maybe even with PowerBI integration)... Cortana please analyze cost cutting measures... Cortana please look up XYZ...
What do you think?
/r/MachineLearning
https://redd.it/1095os9
I believe that Microsoft's 10B USD investment in ChatGPT is less about Bing and more about turning Cortana into an Alexa for corporates.
Examples: Cortana prepare the new T&Cs... Cortana answer that client email... Cortana prepare the Q4 investor presentation (maybe even with PowerBI integration)... Cortana please analyze cost cutting measures... Cortana please look up XYZ...
What do you think?
/r/MachineLearning
https://redd.it/1095os9
reddit
[D] Microsoft ChatGPT investment isn't about Bing but about Cortana
I believe that Microsoft's 10B USD investment in ChatGPT is less about Bing and more about turning Cortana into an Alexa for corporates. ...
D Are there any papers on optimization-based approaches which combine learned parameter initializations with learned optimisers?
There are quite a few papers on optimisation-based meta-learning approaches for learning parameter initialisations (i.e. MAML and its derivatives) [1, 2\], and there are also many papers on learning optimisers [3\].
Question: Are there any papers which combine the two?
I am aware of some papers such as [4, 5\] which achieve this in some capacity indirectly/implicitly, but wondering if there are any other papers that I am not aware of, or do this explicitly? Thanks in advance.
\---
[1\] Finn, C., et al. (2017. Model-agnostic meta-learning for fast adaptation of deep networks. ICML.)
[2\] Nichol, A., et al. (2018. On first-order meta-learning algorithms.)
[3\] Andrychowicz, M., et al. (2016. Learning to learn by gradient descent by gradient descent.) NIPS
[4\] Li, Z., et al. (2017. Meta-sgd: Learning to learn quickly for few-shot learning.)
[5\] Ravi, S., & Larochelle, H. (2016. Optimization as a model for few-shot learning. ICLR.)
/r/MachineLearning
https://redd.it/109xqw3
There are quite a few papers on optimisation-based meta-learning approaches for learning parameter initialisations (i.e. MAML and its derivatives) [1, 2\], and there are also many papers on learning optimisers [3\].
Question: Are there any papers which combine the two?
I am aware of some papers such as [4, 5\] which achieve this in some capacity indirectly/implicitly, but wondering if there are any other papers that I am not aware of, or do this explicitly? Thanks in advance.
\---
[1\] Finn, C., et al. (2017. Model-agnostic meta-learning for fast adaptation of deep networks. ICML.)
[2\] Nichol, A., et al. (2018. On first-order meta-learning algorithms.)
[3\] Andrychowicz, M., et al. (2016. Learning to learn by gradient descent by gradient descent.) NIPS
[4\] Li, Z., et al. (2017. Meta-sgd: Learning to learn quickly for few-shot learning.)
[5\] Ravi, S., & Larochelle, H. (2016. Optimization as a model for few-shot learning. ICLR.)
/r/MachineLearning
https://redd.it/109xqw3
reddit
[D] Are there any papers on optimization-based approaches which...
There are quite a few papers on optimisation-based meta-learning approaches for learning parameter initialisations (*i.e.* MAML and its...
Is it still relevant today to take a Python and Pandas course that was created two years ago?
I'm learning Python nowadays and I'm taking this course on freecodecamp
Is is still relevant today or a lot of things have changed in Python and Pandas?
I'm coming from R language so I have experience in R, SQL and Tableau. I chose this one because I liked the way they teach the course (there are projects).
I really appreciate your suggestions for other courses.
The interest here is in Data Analysis/Science and Automation. (If someone has taken this path before)
https://www.freecodecamp.org/learn/data-analysis-with-python/
​
I really appreciate any help and thank you for your time.
/r/Python
https://redd.it/10a1zir
I'm learning Python nowadays and I'm taking this course on freecodecamp
Is is still relevant today or a lot of things have changed in Python and Pandas?
I'm coming from R language so I have experience in R, SQL and Tableau. I chose this one because I liked the way they teach the course (there are projects).
I really appreciate your suggestions for other courses.
The interest here is in Data Analysis/Science and Automation. (If someone has taken this path before)
https://www.freecodecamp.org/learn/data-analysis-with-python/
​
I really appreciate any help and thank you for your time.
/r/Python
https://redd.it/10a1zir
www.freecodecamp.org
Learn to Code — For Free
Train a language model from scratch
https://neuml.hashnode.dev/train-a-language-model-from-scratch
/r/Python
https://redd.it/10a72bh
https://neuml.hashnode.dev/train-a-language-model-from-scratch
/r/Python
https://redd.it/10a72bh
NeuML
Train a language model from scratch
Build new language models
Python Folium: Create Web Maps From Your Data – Real Python
https://realpython.com/python-folium-web-maps-from-data/
/r/Python
https://redd.it/10a0t7w
https://realpython.com/python-folium-web-maps-from-data/
/r/Python
https://redd.it/10a0t7w
Realpython
Python Folium: Create Web Maps From Your Data – Real Python
You'll learn how to create web maps from data using Folium. The package combines Python's data-wrangling strengths with the data-visualization power of the JavaScript library Leaflet. In this tutorial, you'll create and style a choropleth world map that shows…
Analyzing the Chemical Trends of Cannabis Sativa with Python
https://www.youtube.com/watch?v=ECvHWVrkY80
/r/Python
https://redd.it/10ajm1j
https://www.youtube.com/watch?v=ECvHWVrkY80
/r/Python
https://redd.it/10ajm1j
YouTube
Introduction to RDKit 002 - Analyzing the Chemical Ingredients of Cannabis Sativa
In this video, we will be analyzing the chemical ingredients of cannabis sativa. We will be using Global-Chem to retrieve the list, RDKit to analyze molecular properties, and Plotly to create the distribution of features of the dataset.
Code: https://g…
Code: https://g…
Console application that automates participation in giveaways on SteamGifts.com using PHPSESSID
https://github.com/PalmaLuv/SteamGiftBot
/r/Python
https://redd.it/10ah47o
https://github.com/PalmaLuv/SteamGiftBot
/r/Python
https://redd.it/10ah47o
GitHub
GitHub - PalmaLuv/SteamGiftBot: Software to automate YOUR actions on SteamGift site, turn it on and enjoy it.
Software to automate YOUR actions on SteamGift site, turn it on and enjoy it. - PalmaLuv/SteamGiftBot
Do you want to easily fetch weather data in Python for your Data Science projects?
Have a look at this medium article:
https://pub.towardsai.net/how-to-create-a-python-package-for-fetching-weather-data-b17614627f30
And the corresponding repository:
https://github.com/stavrostheocharis/weather\_data\_retriever
/r/Python
https://redd.it/10a6dj2
Have a look at this medium article:
https://pub.towardsai.net/how-to-create-a-python-package-for-fetching-weather-data-b17614627f30
And the corresponding repository:
https://github.com/stavrostheocharis/weather\_data\_retriever
/r/Python
https://redd.it/10a6dj2
Medium
How To Create a Python Package for Fetching Weather Data
An easy implementation of a python package for fetching weather data from any location
Build a ChatGPT-like SMS Chatbot with OpenAI and Python
https://www.twilio.com/blog/sms-chatbot-openai-python
/r/Python
https://redd.it/10aasev
https://www.twilio.com/blog/sms-chatbot-openai-python
/r/Python
https://redd.it/10aasev
Twilio Blog
Build a ChatGPT-like SMS Chatbot with Python and OpenAI's API
Web browser who? Learn to build a ChatGPT-like SMS Chatbot using Python, Twilio, and the OpenAI API
Create web app to manage sql tables
I am wondering if there is an out of the box solution to this for django already.
I want to give users of our organization an easy way to manipulate sql tables through a django interface. The things I would need it to do are these:
1. Have CRUD capabilities and connect to databases with sql tables.
2. Use our windows Active Directory for user sign in.
I was looking at using .net core 6 and blazor as an alternative as well. Any thoughts?
/r/django
https://redd.it/10amcgu
I am wondering if there is an out of the box solution to this for django already.
I want to give users of our organization an easy way to manipulate sql tables through a django interface. The things I would need it to do are these:
1. Have CRUD capabilities and connect to databases with sql tables.
2. Use our windows Active Directory for user sign in.
I was looking at using .net core 6 and blazor as an alternative as well. Any thoughts?
/r/django
https://redd.it/10amcgu
reddit
Create web app to manage sql tables
I am wondering if there is an out of the box solution to this for django already. I want to give users of our organization an easy way to...
Django Values queryset returns table id instead of the actual text in template
Hope everyone is doing great,
I have a queryset :
price = Price.objects.values('part', 'seller').annotate(latest_report=Max('added'))
returned values :
<QuerySet {'part': 1, 'seller': 1, 'latest_report': datetime.datetime(2023, 1, 12, 17, 47, 29, 645857, tzinfo=datetime.timezone.utc)}, {'part': 1, 'seller': 2, 'l
atest_report': datetime.datetime(2023, 1, 12, 16, 57, 48, 598057, tzinfo=datetime.timezone.utc)}, {'part': 1, 'seller': 3, 'latest_report': datetime.datetime(2023,
1, 12, 16, 55, 54, 662815, tzinfo=datetime.timezone.utc)}, {'part': 1, 'seller': 4, 'latest_report': datetime.datetime(2023, 1, 12, 17, 46, 36, 110057, tzinfo=dat
etime.timezone.utc)}, {'part': 2, 'seller': 1, 'latest_report': datetime.datetime(2023, 1, 11, 20, 2, 2, 336492, tzinfo=datetime.timezone.utc)}, {'part': 2, 'selle
r': 2, 'latest_report': datetime.datetime(2023, 1, 11, 20, 2, 7, 701336, tzinfo=datetime.timezone.utc)}, {'part': 2, 'seller': 3, 'latest_report': datetime.datetim
e(2023, 1, 11, 20, 2, 12, 618087, tzinfo=datetime.timezone.utc)}, {'part': 2, 'seller': 4, 'latest_report': datetime.datetime(2023, 1, 11, 20, 2, 17, 900953, tzinf
o=datetime.timezone.utc)}>
I want to display part name "text" and part seller "text" in template, i tried :
{% for item in price %}
/r/django
https://redd.it/10afetm
Hope everyone is doing great,
I have a queryset :
price = Price.objects.values('part', 'seller').annotate(latest_report=Max('added'))
returned values :
<QuerySet {'part': 1, 'seller': 1, 'latest_report': datetime.datetime(2023, 1, 12, 17, 47, 29, 645857, tzinfo=datetime.timezone.utc)}, {'part': 1, 'seller': 2, 'l
atest_report': datetime.datetime(2023, 1, 12, 16, 57, 48, 598057, tzinfo=datetime.timezone.utc)}, {'part': 1, 'seller': 3, 'latest_report': datetime.datetime(2023,
1, 12, 16, 55, 54, 662815, tzinfo=datetime.timezone.utc)}, {'part': 1, 'seller': 4, 'latest_report': datetime.datetime(2023, 1, 12, 17, 46, 36, 110057, tzinfo=dat
etime.timezone.utc)}, {'part': 2, 'seller': 1, 'latest_report': datetime.datetime(2023, 1, 11, 20, 2, 2, 336492, tzinfo=datetime.timezone.utc)}, {'part': 2, 'selle
r': 2, 'latest_report': datetime.datetime(2023, 1, 11, 20, 2, 7, 701336, tzinfo=datetime.timezone.utc)}, {'part': 2, 'seller': 3, 'latest_report': datetime.datetim
e(2023, 1, 11, 20, 2, 12, 618087, tzinfo=datetime.timezone.utc)}, {'part': 2, 'seller': 4, 'latest_report': datetime.datetime(2023, 1, 11, 20, 2, 17, 900953, tzinf
o=datetime.timezone.utc)}>
I want to display part name "text" and part seller "text" in template, i tried :
{% for item in price %}
/r/django
https://redd.it/10afetm
reddit
Django Values queryset returns table id instead of the actual text...
Hope everyone is doing great, I have a queryset : price = Price.objects.values('part', 'seller').annotate(latest\_report=Max('added')) returned...
How do you delete expired sessions?
I have a hosted django app and found out there are some old expired sessions as old as 2018.
Is it a good practice to delete expired sessions?
What is the usual strategy to delete expired sessions?
May be a CRON job, or run the "clearsessions" management command for every deployment, etc...?
Any there any problems/pitfalls with deleting expired sessions?
/r/django
https://redd.it/10anmjw
I have a hosted django app and found out there are some old expired sessions as old as 2018.
Is it a good practice to delete expired sessions?
What is the usual strategy to delete expired sessions?
May be a CRON job, or run the "clearsessions" management command for every deployment, etc...?
Any there any problems/pitfalls with deleting expired sessions?
/r/django
https://redd.it/10anmjw
reddit
How do you delete expired sessions?
I have a hosted django app and found out there are some old expired sessions as old as 2018. Is it a good practice to delete expired...