Anyone interested in how to automate Tableau Server flow execution in Python without add-ons?
Hi there, I have released an instructional course on Udemy on how to implement a Python implementation of how to schedule flows on Tableau Server without add-ons, but unfortunately it didn't catch anyone's attention. I'll post a free coupon here so that someone can review it. By the way, I do not speak English, so I rely on translation software to post it. The course was for Japanese, but now I have added English subtitles. 17 out of 37 have been added, and the rest will be added within this month.
Udemy Link (Free Coupon)
https://www.udemy.com/course/tag-flow-conductor/?couponCode=TAG\_FLOW\_CONDUCTOR
The final product we will make in this course is available on Youtube. Sorry, this one is not subtitled yet, but if you watch 3:20-5:00 you can see what it looks like.
https://www.youtube.com/watch?v=gEw5oXFwlI0
The full source code for this application is available in the Udemy resources.
In addition to automatically executing specified flows in parallel at specified times, the application can easily be controlled synchronously, such as waiting for one flow to complete execution before automatically executing the next flow.
If you have any questions, please ask me.
Thank you.
/r/Python
https://redd.it/13l1k8s
Hi there, I have released an instructional course on Udemy on how to implement a Python implementation of how to schedule flows on Tableau Server without add-ons, but unfortunately it didn't catch anyone's attention. I'll post a free coupon here so that someone can review it. By the way, I do not speak English, so I rely on translation software to post it. The course was for Japanese, but now I have added English subtitles. 17 out of 37 have been added, and the rest will be added within this month.
Udemy Link (Free Coupon)
https://www.udemy.com/course/tag-flow-conductor/?couponCode=TAG\_FLOW\_CONDUCTOR
The final product we will make in this course is available on Youtube. Sorry, this one is not subtitled yet, but if you watch 3:20-5:00 you can see what it looks like.
https://www.youtube.com/watch?v=gEw5oXFwlI0
The full source code for this application is available in the Udemy resources.
In addition to automatically executing specified flows in parallel at specified times, the application can easily be controlled synchronously, such as waiting for one flow to complete execution before automatically executing the next flow.
If you have any questions, please ask me.
Thank you.
/r/Python
https://redd.it/13l1k8s
Udemy
How to run a flow on Tableau Server automatically in Python
PythonでTableau Server上のフローを自動実行させる方法を及び、 PySimpleGUI の基礎も学べます。English subtitles fully supported!
Accessing Django admin site from browser says refused to connect
I run my app in vscode debug. The debug config is as follows:
{
"name": "bodhitree",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args":
"runserver",
"--noreload",
"0.0.0.0:3000"
,
"django": true,
"justMyCode": false
}
This simply seem to run
/r/djangolearning
https://redd.it/13l6qmz
I run my app in vscode debug. The debug config is as follows:
{
"name": "bodhitree",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args":
"runserver",
"--noreload",
"0.0.0.0:3000"
,
"django": true,
"justMyCode": false
}
This simply seem to run
runserver 0.0.0.0:3000. Earlier I was able to access django admin site. But now I am not/r/djangolearning
https://redd.it/13l6qmz
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Ajax Not Working on Live Server
I am moving a Django project onto a PythonAnywhere server and am experiencing a few hiccups (as expected). But there is one particular problem I can't figure out. I have a view that display a bunch of different form data. Within each form is a button, where when pressed, there is AJAX code that triggers to post it to another view that saves it my database.
When I do it on a local server I don't have any issues, but when trying it on the live server, nothing happens. I checked the error and server logs on PA, but don't see anything to indicate what is happening. Any idea of what could be causing this or where to look to resolve it?
/r/djangolearning
https://redd.it/13l30rq
I am moving a Django project onto a PythonAnywhere server and am experiencing a few hiccups (as expected). But there is one particular problem I can't figure out. I have a view that display a bunch of different form data. Within each form is a button, where when pressed, there is AJAX code that triggers to post it to another view that saves it my database.
When I do it on a local server I don't have any issues, but when trying it on the live server, nothing happens. I checked the error and server logs on PA, but don't see anything to indicate what is happening. Any idea of what could be causing this or where to look to resolve it?
/r/djangolearning
https://redd.it/13l30rq
Reddit
r/djangolearning on Reddit: Ajax Not Working on Live Server
Posted by u/nalbright36 - 1 vote and 4 comments
Importing lot of data to Django
Hi guys !
I am being given the task of planning a data migration from legacy system consisting of a SQL server database and an IBM db2 database to the new ERP database which is a PostGres database serving a Django app (the ERP).
The fact is that the ORM nature of Django makes me wonder if I use Django to operate the data migration or to use classic tools such as ETL or SQL/Python scripts to interact directly with the db ?
What the general community point of view and strategy to import huge quantity of data to a Django app ?
Thanks in advance !
/r/django
https://redd.it/13l25fa
Hi guys !
I am being given the task of planning a data migration from legacy system consisting of a SQL server database and an IBM db2 database to the new ERP database which is a PostGres database serving a Django app (the ERP).
The fact is that the ORM nature of Django makes me wonder if I use Django to operate the data migration or to use classic tools such as ETL or SQL/Python scripts to interact directly with the db ?
What the general community point of view and strategy to import huge quantity of data to a Django app ?
Thanks in advance !
/r/django
https://redd.it/13l25fa
Reddit
r/django on Reddit: Importing lot of data to Django
Posted by u/Ok_Smile8316 - 4 votes and 3 comments
I created a app to manage Feature Flags with Django + Vue, feedback appreciated!
Hello I created a small app to quickly create feature flags.
I'd appreciate any feedback on it :)
You can check it out on https://flagly.dev/
/r/django
https://redd.it/13l0cv6
Hello I created a small app to quickly create feature flags.
I'd appreciate any feedback on it :)
You can check it out on https://flagly.dev/
/r/django
https://redd.it/13l0cv6
flagly.dev
flagly - Easy Feature Flags
The easiest place to create Feature Flags
Where does pre_login() function in adapter.py get called in django-allauth?
I have searched the github code and cant find out where it is called? Is the call coming from django instead of allauth?
/r/django
https://redd.it/13lm04w
I have searched the github code and cant find out where it is called? Is the call coming from django instead of allauth?
/r/django
https://redd.it/13lm04w
Reddit
From the django community on Reddit
Explore this post and more from the django community
How to log webpage access information in django
I trying to log URLs accessed by user to the database. For this I have implemented django middleware. Below is the relevant code:
**Model for logging**
class UserPageTracking(models.Model):
""" Page hits with user info """
id = models.AutoField(db_column='ID', primary_key=True)
user_id = models.CharField(db_column='USER_ID', max_length=8, default="")
url = models.URLField(db_column='URL')
date_visited = models.DateTimeField(db_column='DATE_VISITED', auto_now_add=True)
class Meta:
managed = True
db_table = 'page_views'
**The middleware**
from .models import UserPageTracking
class UserPageTrackingMiddleware(object):
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
/r/djangolearning
https://redd.it/13l2emi
I trying to log URLs accessed by user to the database. For this I have implemented django middleware. Below is the relevant code:
**Model for logging**
class UserPageTracking(models.Model):
""" Page hits with user info """
id = models.AutoField(db_column='ID', primary_key=True)
user_id = models.CharField(db_column='USER_ID', max_length=8, default="")
url = models.URLField(db_column='URL')
date_visited = models.DateTimeField(db_column='DATE_VISITED', auto_now_add=True)
class Meta:
managed = True
db_table = 'page_views'
**The middleware**
from .models import UserPageTracking
class UserPageTrackingMiddleware(object):
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
/r/djangolearning
https://redd.it/13l2emi
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
How can I handle very large file uploads
I want to upload large files(as big as 4GB) and can I do that in admin page? Thank you for your time
/r/djangolearning
https://redd.it/13kpord
I want to upload large files(as big as 4GB) and can I do that in admin page? Thank you for your time
/r/djangolearning
https://redd.it/13kpord
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
DjangoCon Europe 2023 is being held May 29-June 2 in Edinburgh
https://2023.djangocon.eu/
/r/django
https://redd.it/13lm7zt
https://2023.djangocon.eu/
/r/django
https://redd.it/13lm7zt
DjangoCon Europe
DjangoCon EU 2023 • May 29th - June 2nd 2023 • Edinburgh, Scotland
Five days of talks, sprints, and tutorials by the community for the community.
I’m open-sourcing the Python interface for JOY OF PROGRAMMING - a programming game where you automate all kinds of machines, robots, drones and more.
Earlier this year, I first announced JOY OF PROGRAMMING here on r/python and it was met with an overwhelmingly positive reception and a lot of valuable feedback. In case you missed it, the game is all about practicing and applying your Python skills to challenging tasks in realistic, physically simulated 3D environments and covers a wide variety of topics.
The game’s release is still some months away, but today I am releasing the game’s Python interface as an open-source project (MIT licensed) on GitHub.
GitHub: https://github.com/maschere/pyjop
Steam: https://store.steampowered.com/app/2216770
Discord: https://discord.com/invite/2ZrdzkNeBP
While the game is obviously needed to fully play with this interface, I’d like to use this opportunity to get early feedback on the design of the interface, fix potential bugs, and showcase another important point: By forking this repo, you could create alternative wrappers to communicate with the game (maybe a purely functional interface, instead of my object-oriented approach?) or use it as a base to create wrappers for other programming languages (of course we will have nothing of that here in this Python subreddit 😊 ). This open-source strategy is also part my plan to ensure the longevity and continued development of JOY OF PROGRAMMING (other steps include a scripting-based level editor
/r/Python
https://redd.it/13ltk4q
Earlier this year, I first announced JOY OF PROGRAMMING here on r/python and it was met with an overwhelmingly positive reception and a lot of valuable feedback. In case you missed it, the game is all about practicing and applying your Python skills to challenging tasks in realistic, physically simulated 3D environments and covers a wide variety of topics.
The game’s release is still some months away, but today I am releasing the game’s Python interface as an open-source project (MIT licensed) on GitHub.
GitHub: https://github.com/maschere/pyjop
Steam: https://store.steampowered.com/app/2216770
Discord: https://discord.com/invite/2ZrdzkNeBP
While the game is obviously needed to fully play with this interface, I’d like to use this opportunity to get early feedback on the design of the interface, fix potential bugs, and showcase another important point: By forking this repo, you could create alternative wrappers to communicate with the game (maybe a purely functional interface, instead of my object-oriented approach?) or use it as a base to create wrappers for other programming languages (of course we will have nothing of that here in this Python subreddit 😊 ). This open-source strategy is also part my plan to ensure the longevity and continued development of JOY OF PROGRAMMING (other steps include a scripting-based level editor
/r/Python
https://redd.it/13ltk4q
GitHub
GitHub - maschere/pyjop: Official JOY OF PROGRAMMING Python Interface. https://store.steampowered.com/app/2216770
Official JOY OF PROGRAMMING Python Interface. https://store.steampowered.com/app/2216770 - maschere/pyjop
Testing flask socketio
Hi! I'm trying to write test cases for Flask socket io using pytest. But it seems we can't test the emitted messages from namespaces using pytest only. What would be a good approach to test it?
Also, I am trying to figure out resources for flask socketio testing, I tried writing tests using some repos but there's not much explanation on what is being done. So it would be really helpful if anyone could point me towards any resources.
These are the repos I was talking about
1. https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/test\_socketio.py
2. https://github.com/julianYaman/bitcoinPriceApp\_python/tree/master
/r/flask
https://redd.it/13lssox
Hi! I'm trying to write test cases for Flask socket io using pytest. But it seems we can't test the emitted messages from namespaces using pytest only. What would be a good approach to test it?
Also, I am trying to figure out resources for flask socketio testing, I tried writing tests using some repos but there's not much explanation on what is being done. So it would be really helpful if anyone could point me towards any resources.
These are the repos I was talking about
1. https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/test\_socketio.py
2. https://github.com/julianYaman/bitcoinPriceApp\_python/tree/master
/r/flask
https://redd.it/13lssox
GitHub
Flask-SocketIO/test_socketio.py at main · miguelgrinberg/Flask-SocketIO
Socket.IO integration for Flask applications. Contribute to miguelgrinberg/Flask-SocketIO development by creating an account on GitHub.
Propan - is a new python framework for building messaging services
Hello everyone!
I have accumulated a critical mass of stuffed bumps in the development of RabbitMQ based services. The amount of boilerplate forced me to drag the same code from project to project. So I decided to put all this code in a separate package, spice it up with a small pinch of FastAPI concepts and scale my experience to other message brokers.
The only purpose of the framework is to make interaction with message brokers as simple and comfortable as possible: one decorator, launch via the CLI - and your application is ready to production.
Please take a look at the project and give me your feedback: maybe you have some ideas for improvement. Also, I really need your help as a developers, as it becomes difficult for me alone with a project of this scale.
https://github.com/Lancetnik/Propan
/r/Python
https://redd.it/13lncci
Hello everyone!
I have accumulated a critical mass of stuffed bumps in the development of RabbitMQ based services. The amount of boilerplate forced me to drag the same code from project to project. So I decided to put all this code in a separate package, spice it up with a small pinch of FastAPI concepts and scale my experience to other message brokers.
The only purpose of the framework is to make interaction with message brokers as simple and comfortable as possible: one decorator, launch via the CLI - and your application is ready to production.
Please take a look at the project and give me your feedback: maybe you have some ideas for improvement. Also, I really need your help as a developers, as it becomes difficult for me alone with a project of this scale.
https://github.com/Lancetnik/Propan
/r/Python
https://redd.it/13lncci
GitHub
GitHub - Lancetnik/Propan: Propan is a powerful and easy-to-use Python framework for building event-driven applications that interact…
Propan is a powerful and easy-to-use Python framework for building event-driven applications that interact with any MQ Broker - Lancetnik/Propan
NoDoze - smart sleep for Linux computers
If you find yourself periodically disabling sleep on your computer, NoDoze may be useful for you. NoDoze is a service that temporarily blocks sleep under certain conditions.
The conditions which have been implemented are:
Process Running: While specified processes (i.e. make, apt etc.) are running, sleep is prevented until they complete.
qBittorrent Downloading: While download rate remains above a certain threshold, sleep is prevented.
qBittorrent Seeding: While upload rate remains above a certain threshold, sleep is prevented.
Plex Streaming: While a Plex server is actively streaming media to clients, sleep is prevented. After playback completes, sleep is allowed to resume.
If there's something you'd like to add, a pretty simple plugin interface is available. The service has a YAML config file to enable, disable or tweak plugins and a plugin auto discovery to allow adding plugins without touching the core codebase.
Install and Uninstall scripts are provided to make setup fast.
Currently only Linux is supported.
/r/Python
https://redd.it/13lftqi
If you find yourself periodically disabling sleep on your computer, NoDoze may be useful for you. NoDoze is a service that temporarily blocks sleep under certain conditions.
The conditions which have been implemented are:
Process Running: While specified processes (i.e. make, apt etc.) are running, sleep is prevented until they complete.
qBittorrent Downloading: While download rate remains above a certain threshold, sleep is prevented.
qBittorrent Seeding: While upload rate remains above a certain threshold, sleep is prevented.
Plex Streaming: While a Plex server is actively streaming media to clients, sleep is prevented. After playback completes, sleep is allowed to resume.
If there's something you'd like to add, a pretty simple plugin interface is available. The service has a YAML config file to enable, disable or tweak plugins and a plugin auto discovery to allow adding plugins without touching the core codebase.
Install and Uninstall scripts are provided to make setup fast.
Currently only Linux is supported.
/r/Python
https://redd.it/13lftqi
GitHub
GitHub - ericghara/no-doze: Extensible service to conditionally prevent a Linux system from sleeping
Extensible service to conditionally prevent a Linux system from sleeping - GitHub - ericghara/no-doze: Extensible service to conditionally prevent a Linux system from sleeping
Writing a chat application in Django 4.2 using async StreamingHttpResponse, Server-Sent Events and PostgreSQL LISTEN/NOTIFY
https://valberg.dk/django-sse-postgresql-listen-notify.html
/r/django
https://redd.it/13ls3dd
https://valberg.dk/django-sse-postgresql-listen-notify.html
/r/django
https://redd.it/13ls3dd
Reddit
r/django on Reddit: Writing a chat application in Django 4.2 using async StreamingHttpResponse, Server-Sent Events and PostgreSQL…
Posted by u/pauloxnet - 20 votes and no comments
Self keyword
How comes in Django classes you don't have to pass self as the first argument when making a class?
/r/djangolearning
https://redd.it/13lww43
How comes in Django classes you don't have to pass self as the first argument when making a class?
/r/djangolearning
https://redd.it/13lww43
Reddit
r/djangolearning on Reddit: Self keyword
Posted by u/SamB7334 - 1 vote and 7 comments
Best video resource to learn django
Hello guys, the question is simply the title i want to learn django and I hope you guys could recommend some good resources for it. I don't like learning from documentation specially when i learn a new tech.
There are so many tutorials on YouTube but not sure if they will cover the important things and i am concerned about the quality of the tutorial since i do not want to waste my time.
Hope you could help me this and have a nice day.
/r/djangolearning
https://redd.it/13jxwfo
Hello guys, the question is simply the title i want to learn django and I hope you guys could recommend some good resources for it. I don't like learning from documentation specially when i learn a new tech.
There are so many tutorials on YouTube but not sure if they will cover the important things and i am concerned about the quality of the tutorial since i do not want to waste my time.
Hope you could help me this and have a nice day.
/r/djangolearning
https://redd.it/13jxwfo
Reddit
r/djangolearning on Reddit: Best video resource to learn django
Posted by u/irritatedfck - No votes and 5 comments
🌍EOmaps v6.5 released!
I just released EOmaps v6.5!
EOmaps is a python module to create maps of of geographical datasets and use them as interactive data-analysis widgets.
Now you can add GridLabels in arbitrary projections!
https://preview.redd.it/dt6gkryb8v0b1.png?width=1423&format=png&auto=webp&v=enabled&s=2d60c11c4830ead873cbc50221530a0154d3da6b
/r/Python
https://redd.it/13ma54g
I just released EOmaps v6.5!
EOmaps is a python module to create maps of of geographical datasets and use them as interactive data-analysis widgets.
Now you can add GridLabels in arbitrary projections!
https://preview.redd.it/dt6gkryb8v0b1.png?width=1423&format=png&auto=webp&v=enabled&s=2d60c11c4830ead873cbc50221530a0154d3da6b
/r/Python
https://redd.it/13ma54g
GitHub
GitHub - raphaelquast/EOmaps: A library to create interactive maps of geographical datasets
A library to create interactive maps of geographical datasets - raphaelquast/EOmaps
Password form style not working
I am trying to change the basic sign in form and did the following style
widgets = {
'username': forms.TextInput(attrs={
'class': 'w-100 p-3 rounded-4 border border-success shadow',
'placeholder': 'Nume utilizator',
}),
'email': forms.EmailInput(attrs={
'class': 'w-100 p-3 rounded-4 border border-success shadow',
'placeholder': 'exemplu@email.com',
}),
'password1': forms.PasswordInput(attrs={
'class': 'w-100 p-3 rounded-4 border border-success shadow',
}),
'password2': forms.PasswordInput(attrs={
'class': 'w-100 p-3 rounded-4 border border-success shadow',
}),
}
Now my problem is that the field for both password did not change while the other two did. How can I make them work?
/r/djangolearning
https://redd.it/13jaqpn
I am trying to change the basic sign in form and did the following style
widgets = {
'username': forms.TextInput(attrs={
'class': 'w-100 p-3 rounded-4 border border-success shadow',
'placeholder': 'Nume utilizator',
}),
'email': forms.EmailInput(attrs={
'class': 'w-100 p-3 rounded-4 border border-success shadow',
'placeholder': 'exemplu@email.com',
}),
'password1': forms.PasswordInput(attrs={
'class': 'w-100 p-3 rounded-4 border border-success shadow',
}),
'password2': forms.PasswordInput(attrs={
'class': 'w-100 p-3 rounded-4 border border-success shadow',
}),
}
Now my problem is that the field for both password did not change while the other two did. How can I make them work?
/r/djangolearning
https://redd.it/13jaqpn
Reddit
r/djangolearning on Reddit: Password form style not working
Posted by u/Fit-Refrigerator495 - 2 votes and 7 comments
GenForum, a django forum maker and and my first personal project that's been in development hell
https://www.youtube.com/watch?v=w8SCwsgxiyw
/r/django
https://redd.it/13luaz0
https://www.youtube.com/watch?v=w8SCwsgxiyw
/r/django
https://redd.it/13luaz0
YouTube
GenForum showcase