Steps to become a professional django developer
I have just completed a django tutorial and built a cloud music player website. I have also implemented it's api. What are the next steps i should take in order to be a professional django developer. I am open to contributing to open source , if that helps me in learning best practises and more about web developement. Thanks !
/r/django
https://redd.it/are5ir
I have just completed a django tutorial and built a cloud music player website. I have also implemented it's api. What are the next steps i should take in order to be a professional django developer. I am open to contributing to open source , if that helps me in learning best practises and more about web developement. Thanks !
/r/django
https://redd.it/are5ir
reddit
r/django - Steps to become a professional django developer
11 votes and 4 comments so far on Reddit
[P] Simple Tensorflow collection of easy-to-use codes
​
[by taki0112 \(Junho Kim\)](https://i.redd.it/6ihziuz4g1h21.png)
Hello.
I made a cookbook for easy use of the tensorflow code. (e.g. conv with spectral norm, partial conv, pixel shuffle, several normalizaion function, tf-datasetAPI, etc.)
Just copy & paste!
​
In now, this repo contains general architectures and functions that are useful for the GAN.
I will continue to add useful things to other areas.
Also, it's not here, but if there are things you use often, please add them!
Your pull requests and issues are always welcome.
And write what you want to implement on the issue. I'll implement it.
​
github : [https://github.com/taki0112/Tensorflow-Cookbook](https://github.com/taki0112/Tensorflow-Cookbook)
​
Also, I am going to add code for tf-Eager mode !
Thank you.
/r/MachineLearning
https://redd.it/arg0vm
​
[by taki0112 \(Junho Kim\)](https://i.redd.it/6ihziuz4g1h21.png)
Hello.
I made a cookbook for easy use of the tensorflow code. (e.g. conv with spectral norm, partial conv, pixel shuffle, several normalizaion function, tf-datasetAPI, etc.)
Just copy & paste!
​
In now, this repo contains general architectures and functions that are useful for the GAN.
I will continue to add useful things to other areas.
Also, it's not here, but if there are things you use often, please add them!
Your pull requests and issues are always welcome.
And write what you want to implement on the issue. I'll implement it.
​
github : [https://github.com/taki0112/Tensorflow-Cookbook](https://github.com/taki0112/Tensorflow-Cookbook)
​
Also, I am going to add code for tf-Eager mode !
Thank you.
/r/MachineLearning
https://redd.it/arg0vm
Jupyter Notebooks Development Manifesto
https://blog.kovalevskyi.com/jupyter-notebooks-development-manifesto-88a1ddb24581
/r/JupyterNotebooks
https://redd.it/arhywu
https://blog.kovalevskyi.com/jupyter-notebooks-development-manifesto-88a1ddb24581
/r/JupyterNotebooks
https://redd.it/arhywu
Deep Learning as I See It
Jupyter Notebooks Development Manifesto
Jupyter Notebook is a relatively young tool, it does not yet have best engineering practices. Maybe it is time to change this.
Does someone knows the real maximum size of pickle ?
Hello everyone,
I'm getting data for my deep learning project, since the AI will have to process all the data i left aside the database option.
Righ now have a list of objects which weight about 500Mo and contains 7M objects, every 10K objects i store it as a pickle file and it still works fine.
However i'm concerned that theres is some kind of limit to pickle and since i'm going have 300M to 400M objects i don't want my dataset to get corrupted at half the process.
Does anyone knows pickle real limits ?
/r/Python
https://redd.it/ari3na
Hello everyone,
I'm getting data for my deep learning project, since the AI will have to process all the data i left aside the database option.
Righ now have a list of objects which weight about 500Mo and contains 7M objects, every 10K objects i store it as a pickle file and it still works fine.
However i'm concerned that theres is some kind of limit to pickle and since i'm going have 300M to 400M objects i don't want my dataset to get corrupted at half the process.
Does anyone knows pickle real limits ?
/r/Python
https://redd.it/ari3na
reddit
r/Python - Does someone knows the real maximum size of pickle ?
3 votes and 1 comment so far on Reddit
Any good projects need some part time help?
Going to part time work for a few months anyone working on something interesting that needs another dev? I have experience with most stacks out there.
/r/Python
https://redd.it/argmin
Going to part time work for a few months anyone working on something interesting that needs another dev? I have experience with most stacks out there.
/r/Python
https://redd.it/argmin
reddit
r/Python - Any good projects need some part time help?
3 votes and 1 comment so far on Reddit
How to Connect a Customized Checkbox to a Form/Model?
I have this BooleanField in my forms.py, and I'm trying to change the checkbox in the template into a toggle button (the slider switch type). I tried to do
<label class="switch">
<input type="checkbox">
<span class="slider round">{ p_form.email_visible }</span>
</label>
as per the instructions found at [w3schools](https://www.w3schools.com/howto/howto_css_switch.asp) and putting the template variable inside the span tag, but that dog wont hunt, which I kinda expected.
I've had a look at widgets in the official docs, but I'm confused whether that's the right path, as there's no information that directly addresses what I'm trying to do.
Browsing _The Land of Milk and Honey_ I found a few results that looked like they had something to do with my question, but as per usual, I don't get those posts, and it also only adds to the confusion, I'm afraid.
The slider shows up just fine in the template, but no change is made to the model as I hit it and then click my little submit button.
So, without further adieu: How do I connect the form (and the model, I guess...) to
/r/django
https://redd.it/arjhwy
I have this BooleanField in my forms.py, and I'm trying to change the checkbox in the template into a toggle button (the slider switch type). I tried to do
<label class="switch">
<input type="checkbox">
<span class="slider round">{ p_form.email_visible }</span>
</label>
as per the instructions found at [w3schools](https://www.w3schools.com/howto/howto_css_switch.asp) and putting the template variable inside the span tag, but that dog wont hunt, which I kinda expected.
I've had a look at widgets in the official docs, but I'm confused whether that's the right path, as there's no information that directly addresses what I'm trying to do.
Browsing _The Land of Milk and Honey_ I found a few results that looked like they had something to do with my question, but as per usual, I don't get those posts, and it also only adds to the confusion, I'm afraid.
The slider shows up just fine in the template, but no change is made to the model as I hit it and then click my little submit button.
So, without further adieu: How do I connect the form (and the model, I guess...) to
/r/django
https://redd.it/arjhwy
W3Schools
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
sqlalchemy not working
I'm trying to build a site and every time I try to use sqlalchemy I can't get the errors to go away. So I tried to just try to do a simple sqlalchemy tutorial to try to figure it out and I'm getting an error with the simplest thing. Please help me.
Code I'm running is just to build a database with a table:
>import os
>import sys
>from sqlalchemy import Column, ForeignKey, Integer, String
>from sqlalchemy.ext.declarative import declarative_base
>from sqlalchemy.orm import relationship
>from sqlalchemy import create_engine
>
>Base = declarative_base()
>
>class Person(Base):
> __tablename__ = 'person'
> id = Column(Integer, primary_key=True)
> name = Column(String(250), nullable=False)
>
>class Address(Base):
> __tablename__ = 'address'
> id = Column(Integer, primary_key=True)
> street_name = Column(String(250))
> street_number = Column(String(250))
> post_code = Column(String(250), nullable=False)
> person_id = Column(Integer, ForeignKey('person.id'))
> person = relationship(Person)
>
>engine = create_engine('sqlite:///sqlalchemy_example.db')
>
>Base.metadata.create_all(engine)
I'm getting the following error:
>sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
I did what the error suggested and tried adding pool_pre_ping=True to my engine. It didn't make any difference. Also I ran the code on python anywhere and it worked as expected.
Any idea
/r/flask
https://redd.it/argyej
I'm trying to build a site and every time I try to use sqlalchemy I can't get the errors to go away. So I tried to just try to do a simple sqlalchemy tutorial to try to figure it out and I'm getting an error with the simplest thing. Please help me.
Code I'm running is just to build a database with a table:
>import os
>import sys
>from sqlalchemy import Column, ForeignKey, Integer, String
>from sqlalchemy.ext.declarative import declarative_base
>from sqlalchemy.orm import relationship
>from sqlalchemy import create_engine
>
>Base = declarative_base()
>
>class Person(Base):
> __tablename__ = 'person'
> id = Column(Integer, primary_key=True)
> name = Column(String(250), nullable=False)
>
>class Address(Base):
> __tablename__ = 'address'
> id = Column(Integer, primary_key=True)
> street_name = Column(String(250))
> street_number = Column(String(250))
> post_code = Column(String(250), nullable=False)
> person_id = Column(Integer, ForeignKey('person.id'))
> person = relationship(Person)
>
>engine = create_engine('sqlite:///sqlalchemy_example.db')
>
>Base.metadata.create_all(engine)
I'm getting the following error:
>sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file (Background on this error at: http://sqlalche.me/e/e3q8)
I did what the error suggested and tried adding pool_pre_ping=True to my engine. It didn't make any difference. Also I ran the code on python anywhere and it worked as expected.
Any idea
/r/flask
https://redd.it/argyej
reddit
r/flask - sqlalchemy not working
7 votes and 8 comments so far on Reddit
Just noticed that the code in "Ralph Breaks the Internet" is in python
/r/Python
https://redd.it/ariypt
/r/Python
https://redd.it/ariypt
There’s a new Jupyter Meetup in the Netherlands
http://meetu.ps/c/4dGFN/nF4Bd/a
/r/JupyterNotebooks
https://redd.it/aqmsb1
http://meetu.ps/c/4dGFN/nF4Bd/a
/r/JupyterNotebooks
https://redd.it/aqmsb1
Meetup
Jupyter Amsterdam (Amsterdam, Netherlands)
Jupyter Amsterdam is for everyone interested in Jupyter or in using Jupyter Notebooks. We are committed to supporting Project Jupyter (https://jupyter.org) and open source in general, it’s part of our
[D] Did weight decay fall out of favor for regularizing NNs?
At least this is my impression based on it no being used anymore in newer papers. But how come? By contrast to other techniques it actually has a very solid theoretical foundation.
​
/r/MachineLearning
https://redd.it/arlq1d
At least this is my impression based on it no being used anymore in newer papers. But how come? By contrast to other techniques it actually has a very solid theoretical foundation.
​
/r/MachineLearning
https://redd.it/arlq1d
reddit
r/MachineLearning - [D] Did weight decay fall out of favor for regularizing NNs?
48 votes and 17 comments so far on Reddit
My Django note taking tool for my engineering journal
I wanted to share my first django project should it be of any use to anyone. I use it for keeping an engineering journal at work but it can be easily used for taking notes related to a book you're reading or even a course at school.
[https://gitlab.com/shanedora/bornstellar](https://gitlab.com/shanedora/bornstellar)
Cheers\~S
/r/django
https://redd.it/arll1o
I wanted to share my first django project should it be of any use to anyone. I use it for keeping an engineering journal at work but it can be easily used for taking notes related to a book you're reading or even a course at school.
[https://gitlab.com/shanedora/bornstellar](https://gitlab.com/shanedora/bornstellar)
Cheers\~S
/r/django
https://redd.it/arll1o
GitLab
Shane Yost / Bornstellar
This media is not supported in your browser
VIEW IN TELEGRAM
Python-powered IoT device shows total # of humans online (live) on Python Discord server
/r/Python
https://redd.it/aroyp9
/r/Python
https://redd.it/aroyp9
This media is not supported in your browser
VIEW IN TELEGRAM
My ASCII generator (image2text, image2image and video2video) written in Python (Source code: https://github.com/vietnguyen91/ASCII-generator)
/r/Python
https://redd.it/arqh4i
/r/Python
https://redd.it/arqh4i
Does it make sense to use flask-restful to write restapi instead of use the original Flask?
Hi all,
I am new in the rest world. I have a big question, why people use the `flask-restful` or `flask-restplus` to writing the rest apis? I didn't see any advantages of that!
​
In my point of view, use Flask directly,
* you can reuse the original models, this is very convenient, if you change the models in the future, you don't need to change the api models... (I mean, in the case you also use Flask to build frontend. )
* you can use the `wtforms` to validate the form inputs. wtforms has a lot of Built-in validators. You can also create your own validators...
* `flask-restful` and `flask-restplus` are third party libraries, which are very possibly not to be maintained in the future...
/r/flask
https://redd.it/arr6za
Hi all,
I am new in the rest world. I have a big question, why people use the `flask-restful` or `flask-restplus` to writing the rest apis? I didn't see any advantages of that!
​
In my point of view, use Flask directly,
* you can reuse the original models, this is very convenient, if you change the models in the future, you don't need to change the api models... (I mean, in the case you also use Flask to build frontend. )
* you can use the `wtforms` to validate the form inputs. wtforms has a lot of Built-in validators. You can also create your own validators...
* `flask-restful` and `flask-restplus` are third party libraries, which are very possibly not to be maintained in the future...
/r/flask
https://redd.it/arr6za
reddit
r/flask - Does it make sense to use flask-restful to write restapi instead of use the original Flask?
5 votes and 5 comments so far on Reddit
Simple, clear and fast Web Crawler framework build on python3.6+, powered by asyncio.
## Features
* Useful http client out of box
* Things(request, response and item) can though pipelines(in async or not)
* Item extractor, it\`s easy to define and extract(by xpath, jpath or regex) one item we want from html, json or strings.
* Custom "ensure\_future" and "as\_completed" api provide a easy work flow
## Install
pip install ant\_nest
## Usage
Create one demo project by cli:
`>>> ant_nest -c examples`
Then we have a project:
`drwxr-xr-x 5 bruce staff 160 Jun 30 18:24 ants`
`-rw-r--r-- 1 bruce staff 208 Jun 26 22:59 settings.py`
Presume we want to get hot repos from github, let\`s create "examples/ants/example2.py":
from ant_nest import *
from yarl import URL
class GithubAnt(Ant):
"""Crawl trending repositories from github"""
item_pipelines = [
ItemFieldReplacePipeline(
('meta_content', 'star', 'fork'),
excess_chars=('\r', '\n',
/r/Python
https://redd.it/aru9lm
## Features
* Useful http client out of box
* Things(request, response and item) can though pipelines(in async or not)
* Item extractor, it\`s easy to define and extract(by xpath, jpath or regex) one item we want from html, json or strings.
* Custom "ensure\_future" and "as\_completed" api provide a easy work flow
## Install
pip install ant\_nest
## Usage
Create one demo project by cli:
`>>> ant_nest -c examples`
Then we have a project:
`drwxr-xr-x 5 bruce staff 160 Jun 30 18:24 ants`
`-rw-r--r-- 1 bruce staff 208 Jun 26 22:59 settings.py`
Presume we want to get hot repos from github, let\`s create "examples/ants/example2.py":
from ant_nest import *
from yarl import URL
class GithubAnt(Ant):
"""Crawl trending repositories from github"""
item_pipelines = [
ItemFieldReplacePipeline(
('meta_content', 'star', 'fork'),
excess_chars=('\r', '\n',
/r/Python
https://redd.it/aru9lm
reddit
r/Python - Simple, clear and fast Web Crawler framework build on python3.6+, powered by asyncio.
2 votes and 0 comments so far on Reddit
Build AWS CodePipeline CI/CD for your Django Application
https://girisagar46.github.io/build-aws-codepipeline-for-cicd
/r/django
https://redd.it/art4er
https://girisagar46.github.io/build-aws-codepipeline-for-cicd
/r/django
https://redd.it/art4er
Sagar's Blog
Build AWS CodePipeline CI/CD for your Django Application
In this article, you'll learn how to setup AWS CodePipeline for Continuous Integration and Continuous Delivery (CI/CD) pipeline for your Django Application.