Djangobook.com Has anyone read the book?
I am wondering if this book is worth buying? I have been reading the free tutorial and it is very good learning tool so far, better than the documentation because it is human readable.
/r/djangolearning
https://redd.it/7nzniv
I am wondering if this book is worth buying? I have been reading the free tutorial and it is very good learning tool so far, better than the documentation because it is human readable.
/r/djangolearning
https://redd.it/7nzniv
reddit
Djangobook.com Has anyone read the book? • r/djangolearning
I am wondering if this book is worth buying? I have been reading the free tutorial and it is very good learning tool so far, better than the...
[N] TensorFlow 1.5.0 Release Candidate
https://github.com/tensorflow/tensorflow/releases/tag/v1.5.0-rc0
/r/MachineLearning
https://redd.it/7o21w7
https://github.com/tensorflow/tensorflow/releases/tag/v1.5.0-rc0
/r/MachineLearning
https://redd.it/7o21w7
GitHub
tensorflow/tensorflow
tensorflow - Computation using data flow graphs for scalable machine learning
Hacking WiFi to inject cryptocurrency miner to HTML requests with Python
http://arnaucode.com/blog/coffeeminer-hacking-wifi-cryptocurrency-miner.html
/r/Python
https://redd.it/7o23lb
http://arnaucode.com/blog/coffeeminer-hacking-wifi-cryptocurrency-miner.html
/r/Python
https://redd.it/7o23lb
Shared db with restricted views per user.
I have a db that is to be shared. Where if a specific object has a certain value I need specific users to be able to see and edit it. No other users can see or edit these objects.
I am trying to understand what way one should do this. I don't know django very well. I am currently looking at conditionals for views. Not sure if that is even possible given i don't know if conditionals on views can filter objects from models.
If anyone could point me in the right direction I would greatly appreciate it.
/r/djangolearning
https://redd.it/7nqkiu
I have a db that is to be shared. Where if a specific object has a certain value I need specific users to be able to see and edit it. No other users can see or edit these objects.
I am trying to understand what way one should do this. I don't know django very well. I am currently looking at conditionals for views. Not sure if that is even possible given i don't know if conditionals on views can filter objects from models.
If anyone could point me in the right direction I would greatly appreciate it.
/r/djangolearning
https://redd.it/7nqkiu
reddit
Shared db with restricted views per user. • r/djangolearning
I have a db that is to be shared. Where if a specific object has a certain value I need specific users to be able to see and edit it. No other...
Wrecking ball animation in 14 lines of code in Blender 3d
http://slicker.me/blender/wreck.htm
/r/Python
https://redd.it/7o2xy3
http://slicker.me/blender/wreck.htm
/r/Python
https://redd.it/7o2xy3
slicker.me
Blender Python tutorial - wrecking ball effect in 14 lines of code
Community Curated Flask Resources [2018]
https://hackr.io/tutorials/learn-flask
/r/flask
https://redd.it/7o2t14
https://hackr.io/tutorials/learn-flask
/r/flask
https://redd.it/7o2t14
Hackr.io
Learn Flask - Best Flask Tutorials | Hackr.io
Learning Flask? Check out these best online Flask courses and tutorials recommended by the programming community. Pick the tutorial as per your learning style: video tutorials or a book. Free course or paid. Tutorials for beginners or advanced learners. Check…
The power of class based views
So the main (or one of them) reason to use class based views is to be able to display a list of objects in IndexView, and the details of that object in DetailView. But what if after the user clicks on an object in IndexView, I want to display another list of objects, and then when the user clicks on that, it will display details.
Example:
IndexView display's a list of categories. When the user clicks on a category it will display a list of sub-categories. When a subcategory is clicked, it will display details of that subcategory.
Thanks and sorry if my question is to basic!
/r/django
https://redd.it/7o15do
So the main (or one of them) reason to use class based views is to be able to display a list of objects in IndexView, and the details of that object in DetailView. But what if after the user clicks on an object in IndexView, I want to display another list of objects, and then when the user clicks on that, it will display details.
Example:
IndexView display's a list of categories. When the user clicks on a category it will display a list of sub-categories. When a subcategory is clicked, it will display details of that subcategory.
Thanks and sorry if my question is to basic!
/r/django
https://redd.it/7o15do
reddit
The power of class based views • r/django
So the main (or one of them) reason to use class based views is to be able to display a list of objects in IndexView, and the details of that...
Using Django with Discourse
Does anyone have experience integrating Discourse into their Django project? Was it difficult?
/r/django
https://redd.it/7o7dn0
Does anyone have experience integrating Discourse into their Django project? Was it difficult?
/r/django
https://redd.it/7o7dn0
reddit
Using Django with Discourse • r/django
Does anyone have experience integrating Discourse into their Django project? Was it difficult?
[AF] Where do you store abstractions for Redis commands? Same models folder as DB?
Hey everyone, I'm curious where you store functions that abstract out calls to redis. For example, I'd rather have a command like `active_users = get_active_users()` in my API controllers than long & ugly `active_users = json.loads(r.hget('users', 'active') or '[]')`calls. It feels to me like these should be organized alongside your models, but I'm not sure if this is common practice... or even what the common practice even is.
Thanks for any insight you can provide!
/r/flask
https://redd.it/7nzksv
Hey everyone, I'm curious where you store functions that abstract out calls to redis. For example, I'd rather have a command like `active_users = get_active_users()` in my API controllers than long & ugly `active_users = json.loads(r.hget('users', 'active') or '[]')`calls. It feels to me like these should be organized alongside your models, but I'm not sure if this is common practice... or even what the common practice even is.
Thanks for any insight you can provide!
/r/flask
https://redd.it/7nzksv
reddit
[AF] Where do you store abstractions for Redis commands?... • r/flask
Hey everyone, I'm curious where you store functions that abstract out calls to redis. For example, I'd rather have a command like `active_users =...
Groups as roles
Are django groups enough for a straightforward role based auth implementation?
/r/django
https://redd.it/7nv2z3
Are django groups enough for a straightforward role based auth implementation?
/r/django
https://redd.it/7nv2z3
reddit
Groups as roles • r/django
Are django groups enough for a straightforward role based auth implementation?
Python® Notes for Professionals book
http://books.goalkicker.com/PythonBook/
/r/Python
https://redd.it/7o3kl4
http://books.goalkicker.com/PythonBook/
/r/Python
https://redd.it/7o3kl4
Goalkicker
Free Python Programming Book
Getting started with Python Language, Python Data Types, Indentation, Comments and Documentation, Date and Time, Date Formatting, Enum, Set, Simple Mathematical Operators, Bitwise Operators, Boolean Operators, Operator Precedence, Variable Scope and Binding…
Related, does this ERD behind my flask app makes sense?
https://www.lucidchart.com/invitations/accept/74564e9f-4d85-422f-b217-a4ae4db92c0b
Above is My Lucidchart ERD which you can modify, if you do please make notations.
JPG: https://drive.google.com/open?id=1cN7nyYYlKG1D0HXCAWzSTM5xqAXoA0gK
Above is the ERD of the flask webapp i am developing. I am really new to python, flask and databases. So far i have only the listing table setup where i have several scrapers daily enter data into the table.
That side of my projects works as i want. Now i am creating a GUI webapp to visualize the data. Did some testing and have a bootstrap layout working. Now i have to rebuild the database from all the lose parts i have. I want to do this right this time so i dont waste any time forward with bad design.
So this is the setup.
Scraper scrapes specific url from a brance, this brance is a child of a company because some companies have serveral brances.
The scraper puts the new found listings in the listing table, and updates the remove/sold date if it can't find the listing or finds a soldmarker on the listing. The new thing i added is a sperate table for pricechanges so i can track if there are pricechanges and retrieve when.
* Every Listing has a brance and company
* Every company has a brance (even if they only have one) but not every compay has listings (if i don't track their listings but they subscribe to track others(targets))
I have the website login seperate because i like to keep it like this, it would let me add users without whole companies.
Did i choose the right 'intermediate' table for the price changes and for the targets (a companie can track several brances). ?
Also did i use the right crowfood notation? I am studying my ass off for 2 days on database/design and modelling them in sqlalchemy and i has been very hard to grasp it fully.
/r/flask
https://redd.it/7nth1d
https://www.lucidchart.com/invitations/accept/74564e9f-4d85-422f-b217-a4ae4db92c0b
Above is My Lucidchart ERD which you can modify, if you do please make notations.
JPG: https://drive.google.com/open?id=1cN7nyYYlKG1D0HXCAWzSTM5xqAXoA0gK
Above is the ERD of the flask webapp i am developing. I am really new to python, flask and databases. So far i have only the listing table setup where i have several scrapers daily enter data into the table.
That side of my projects works as i want. Now i am creating a GUI webapp to visualize the data. Did some testing and have a bootstrap layout working. Now i have to rebuild the database from all the lose parts i have. I want to do this right this time so i dont waste any time forward with bad design.
So this is the setup.
Scraper scrapes specific url from a brance, this brance is a child of a company because some companies have serveral brances.
The scraper puts the new found listings in the listing table, and updates the remove/sold date if it can't find the listing or finds a soldmarker on the listing. The new thing i added is a sperate table for pricechanges so i can track if there are pricechanges and retrieve when.
* Every Listing has a brance and company
* Every company has a brance (even if they only have one) but not every compay has listings (if i don't track their listings but they subscribe to track others(targets))
I have the website login seperate because i like to keep it like this, it would let me add users without whole companies.
Did i choose the right 'intermediate' table for the price changes and for the targets (a companie can track several brances). ?
Also did i use the right crowfood notation? I am studying my ass off for 2 days on database/design and modelling them in sqlalchemy and i has been very hard to grasp it fully.
/r/flask
https://redd.it/7nth1d
A SQLite Tutorial with Python
http://stackabuse.com/a-sqlite-tutorial-with-python/
/r/Python
https://redd.it/7o2ucx
http://stackabuse.com/a-sqlite-tutorial-with-python/
/r/Python
https://redd.it/7o2ucx
Stack Abuse
A SQLite Tutorial with Python
This tutorial will cover using SQLite in combination with Python's sqlite3 interface. SQLite is a single file relational database bundled with most standard Py...
How to start learning Django?
I have a fair experience in programming in C++ and I also know HTML and a bit of CSS. Any resources from where can I start learning?
/r/djangolearning
https://redd.it/7o92c2
I have a fair experience in programming in C++ and I also know HTML and a bit of CSS. Any resources from where can I start learning?
/r/djangolearning
https://redd.it/7o92c2
reddit
How to start learning Django? • r/djangolearning
I have a fair experience in programming in C++ and I also know HTML and a bit of CSS. Any resources from where can I start learning?
Python framework for data transport, parsing, ETLing
I'm struggling with setting up data ingestion ETL pipelines/processing pipelines/architectures.
I've been playing around with Apache Nifi and like the functionality of the job scheduling, the processors of things like "GetFile", "TailFile", "PutFile" etc. but to me it falls short quickly when you have to do any type of manipulation to the data. For example, if you are reading a CSV file that isn't ideal (e.g. no quote around a string but you know its the last column in each row), you have to write these god awful RegEx to parse the data to send it to the next stage of the pipeline. The same goes for any of the other tools like LogStash/Streamsets etc.
It almost feels like I need something of a "programmable" nifi/libarary/framework. I can tell the framework to simply "go tail these sets of files with X parameters" on this schedule, when it runs I get the context of that information back similar to nifi but I have it available directly in python (can be any just an example) where I can use pandas or some other libraries to manipulate that data as I see fit, do my processing on it, and then call other "nifi like" processors from within python directly to putfile, insert into a database, pass it to a message queue, or some other action.
With something like how I describe, I don't have to worry about writing all of the boilerplate of scheduling, running the job, file I/O. I simply call a process that Tails a file and it send it back to me when it gets something. I do the work on the data and then send it to the next stage. Everything is contained within code and I don't have to worry about "scripts" to handle little silos.
I do not feel that "pandas, odo, and csv "modules are the answer. I feel some combination of all of those tools + some framework of processors, job runners, where you are working within that frameworks context to move and send data around and manipulating it with those tools would be closer to the answer.
Is there any type of framework out there that will do this?
/r/Python
https://redd.it/7obtrz
I'm struggling with setting up data ingestion ETL pipelines/processing pipelines/architectures.
I've been playing around with Apache Nifi and like the functionality of the job scheduling, the processors of things like "GetFile", "TailFile", "PutFile" etc. but to me it falls short quickly when you have to do any type of manipulation to the data. For example, if you are reading a CSV file that isn't ideal (e.g. no quote around a string but you know its the last column in each row), you have to write these god awful RegEx to parse the data to send it to the next stage of the pipeline. The same goes for any of the other tools like LogStash/Streamsets etc.
It almost feels like I need something of a "programmable" nifi/libarary/framework. I can tell the framework to simply "go tail these sets of files with X parameters" on this schedule, when it runs I get the context of that information back similar to nifi but I have it available directly in python (can be any just an example) where I can use pandas or some other libraries to manipulate that data as I see fit, do my processing on it, and then call other "nifi like" processors from within python directly to putfile, insert into a database, pass it to a message queue, or some other action.
With something like how I describe, I don't have to worry about writing all of the boilerplate of scheduling, running the job, file I/O. I simply call a process that Tails a file and it send it back to me when it gets something. I do the work on the data and then send it to the next stage. Everything is contained within code and I don't have to worry about "scripts" to handle little silos.
I do not feel that "pandas, odo, and csv "modules are the answer. I feel some combination of all of those tools + some framework of processors, job runners, where you are working within that frameworks context to move and send data around and manipulating it with those tools would be closer to the answer.
Is there any type of framework out there that will do this?
/r/Python
https://redd.it/7obtrz
reddit
Python framework for data transport, parsing, ETLing • r/Python
I'm struggling with setting up data ingestion ETL pipelines/processing pipelines/architectures. I've been playing around with Apache Nifi and...
Django JET updated to support Django 2+
https://github.com/geex-arts/django-jet
/r/django
https://redd.it/7obj51
https://github.com/geex-arts/django-jet
/r/django
https://redd.it/7obj51
GitHub
GitHub - geex-arts/django-jet: Modern responsive template for the Django admin interface with improved functionality. We are proud…
Modern responsive template for the Django admin interface with improved functionality. We are proud to announce completely new Jet. Please check out Live Demo - geex-arts/django-jet
Where do I put my own object instances?
Hi,
i'm woking with django channels and I have realtime data incoming into my django server wich I then write into a custom object. When I call update() on my object it submits the Data to a Vue.js frontend.
It works but I'm not shure where to put the instance of my object. I'm asking because on a server farm my guess is that the object would be in different RAMs and therefor have differnt values, is this correct? Where do I instaniate objects so that they are handled properly?
/r/django
https://redd.it/7oc1bt
Hi,
i'm woking with django channels and I have realtime data incoming into my django server wich I then write into a custom object. When I call update() on my object it submits the Data to a Vue.js frontend.
It works but I'm not shure where to put the instance of my object. I'm asking because on a server farm my guess is that the object would be in different RAMs and therefor have differnt values, is this correct? Where do I instaniate objects so that they are handled properly?
/r/django
https://redd.it/7oc1bt
reddit
Where do I put my own object instances? • r/django
Hi, i'm woking with django channels and I have realtime data incoming into my django server wich I then write into a custom object. When I call...
Unsure which flask user system to use
I'm building a website and I need a user system. I have found multiple libraries that handle this but I'm having some difficulties finding the right one. I thought some of you might have experience with these.
I'm looking for a library that has all the basic stuff like login, logout, remembering the user's session, etc. But I'm also looking for some customisability like using something different for confirmations (when you forgot your password for example) than emails.
Help is much appreciated.
/r/flask
https://redd.it/7obuuc
I'm building a website and I need a user system. I have found multiple libraries that handle this but I'm having some difficulties finding the right one. I thought some of you might have experience with these.
I'm looking for a library that has all the basic stuff like login, logout, remembering the user's session, etc. But I'm also looking for some customisability like using something different for confirmations (when you forgot your password for example) than emails.
Help is much appreciated.
/r/flask
https://redd.it/7obuuc
reddit
Unsure which flask user system to use • r/flask
I'm building a website and I need a user system. I have found multiple libraries that handle this but I'm having some difficulties finding the...