Veze, linkovi
Kompjuter biblioteka
Korpa

 

Access

ALGORITMI

Alternativna učenja

Analiza podataka

Android

Animacija

Antropologija

Apple - MAC OS X

Arheologija

Arhitektura

Astrologija

Astronomija

Audio kursevi + knjige

Audio, Multimedia, Video

Autobiografija

AutoCad, ArchiCAD, SolidWorks, Catia, Pro/Engineer

Automobili

Bajke

Baze podataka

Biografija

Biološke nauke

Blockchain

Botanika

C, C++ i C#

ChatGPT

CSS

Dečije knjige

Delphi

Digitalna fotografija

Dizajn

Django

Domaće pripovetke

Domaći roman

Drama

E-knjiga

E-komerc

ECDL

Ekologija

Ekonomija

Elektrotehnika

Enciklopedija

Esejistika

Etika

Fantastika

Film

Filologija

Filozofija

Fizika

Fotografija

FULL STACK DEVELOPMENT

Funkcionalno programiranje

Generativna veštačka inteligencija

Geografija

Geologija

Git i GitHub

GOOGLE

GPT

Grafika, Dizajn, Štampa

Građevinarstvo

Hardver

Hemija

Hidrotehnika

Hobi

Horor

Humor

Internet

Intervju

Istorija

Istorija i teorija književnosti

Istorija umetnosti

Istorijski roman

Java

JavaScript

Joomla

jQuery

Knjiga posle posla - Beletristika i ostala izdanja

Knjižare i naše knjige

Književna kritika

Kuvari, hrana i piće

Leksikografija

Lingvistika

Ljubavni roman

logo

Magija

Marketing

Mašinsko učenje

Mašinstvo

Matematika

Medicina

Memoari

Menadžment

Modeliranje podataka

Monografija

Mreže

MS Office

Muzika

Nagrađivanje knjige

Naučna fantastika

Obrada teksta

OFFICE 2013

OpenOffice.org

Operativni sistemi

Oracle

Organizacione nauke

Pedagogija

PHP I MYSQL

Pisci u medijima

Ples

Poezija

Politika

Poljoprivreda

Popularna medicina

Popularna nauka

Popularna psihologija

Posao

Poslovanje

Pozorište

Pravo

Pravoslavlje

Primenjene nauke

Pripovetke

Prirodne nauke

Priručnik

Programiranje

Projektovanje softvera

Psihologija

Publicistika

Putopis

Python programiranje

Računarstvo u oblaku

Raspberry PI

Razvoj

Rečnici

Religija

Robotika

Roman

Ruby i Ruby on Rails

Satira

Saveti

Serija Roberta C. Martina

Sertifikati

Slikarstvo

Socijalna mreža - Facebook

Sociologija

Sport

Sport i hobi

SQL

Statistika

Strip

Tabele

Tableti

Tehnologija

Telekomunikacije

Triler

Turizam

Twitter

Udžbenici

Umetnost

Unix, Linux

Urbanizam

UX DIZAJN

Veštačka inteligencija

Visual Basic .NET, VBA, V. Studio

Web design

Windows

Windows 7

Windows 8

WordPress

Zaštita i sigurnost

Zoologija

 

Saveti – Python programiranje

Ukupno: 54, strana 1 od 3

30 Amazing Python Projects for the Past Year

 

 

 

For the past year, we’ve compared nearly 15,000 open source Python projects to pick Top 30 (0. 2% chance). This is an extremely competitive list and it carefully picks the best open source Python libraries, tools and programs published between January and December 2017.  Mybridge AI evaluates the quality by considering popularity, engagement and recency. To give you an idea about the quality, the average number of Github stars is 3,707. Machine Learning Projects of the Year (avg. 3,558 ⭐️): Here Open source projects can be useful for programmers. You can learn by reading the source code and build something on top of the existing projects. Give a plenty of time to play around with Python projects you may have missed for the past year. No 1 Home-assistant (v0. 6+): Open-source home automation platform running on Python 3 [11357 stars on Github]. Courtesy of Paulus Schoutsen No 2 Pytorch: Tensors and Dynamic neural networks in Python with strong GPU acceleration [11019 stars on Github]. Courtesy of Adam Paszke and others at PyTorch Team No 3 Grumpy: A Python to Go source code transcompiler and runtime.  [8367 stars on Github]. Courtesy of Dylan Trotter and others at Google No 4 Sanic: Async Python 3. 5+ web server that’s written to go fast [8028 stars on Github]. Courtesy of Channel Cat and Eli Uriegas No 5 Python-fire: A library for automatically generating command line interfaces (CLIs) from absolutely any Python object.  [7775 stars on Github]. Courtesy of David Bieber and others at Google Brain. No 6 spaCy (v2. 0): Industrial-strength Natural Language Processing (NLP) with Python and Cython [7633 stars on Github]. Courtesy of Matthew Honnibal No 7 Pipenv: Python Development Workflow for Humans [7273 stars on Github]. Courtesy of Kenneth Reitz No 8 MicroPython: A lean and efficient Python implementation for microcontrollers and constrained systems [5728 stars on Github]. No 9 Prophet: Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth [4369 stars on Github]. Courtesy of Facebook No 10 SerpentAI: Game Agent Framework in Python. Helping you create AIs / Bots to play any game [3411 stars on Github]. Courtesy of Nicholas Brochu No 11 Dash: Interactive, reactive web apps in pure python [3281 stars on Github]. Courtesy of Chris P No 12 InstaPy: Instagram Bot. Like/Comment/Follow Automation Script.  [3179 stars on Github]. Courtesy of TimG No 13 Apistar: A fast and expressive API framework. For Python [3024 stars on Github]. Courtesy of Tom Christie No 14 Faiss: A library for efficient similarity search and clustering of dense vectors [2717 stars on Github]. Courtesy of Matthijs Douze and others at Facebook Research No 15 MechanicalSoup: A Python library for automating interaction with websites [2244 stars on Github]. No 16 Better-exceptions: Pretty and useful exceptions in Python, automatically [2121 stars on Github]. Courtesy of Qix No 17 Flashtext: Extract Keywords from sentence or Replace keywords in sentences [2019 stars on Github]. Courtesy of Vikash Singh No 18 Maya: Datetime for Humans in Python [1828 stars on Github].  Kenneth Reitz No 19 Mimesis (v1. 0): Python library, which helps generate mock data in different languages for various purposes. These data can be especially useful at various stages of software development and testing [1732 stars on Github]. Courtesy of Líkið Geimfari No 20 Open-paperless: Scan, index, and archive all of your paper documents. A document management system.  [1717 stars on Github]. Courtesy of Tina Zhou No 21 Fsociety: Hacking Tools Pack. A Penetration Testing Framework.  [1585 stars on Github]. Courtesy of Manis Manisso No 22 LivePython: Visually trace Python code in real-time [1577 stars on Github]. Courtesy of Anastasis Germanidis No 23 Hatch: A modern project, package, and virtual env manager for Python [1537 stars on Github]. Courtesy of Ofek Lev No 24 Tangent: Source-to-Source Debuggable Derivatives in Pure Python [1433 stars on Github]. Courtesy of Alex Wiltschko and others at Google Brain No 25 Clairvoyant: A Python program that identifies and monitors historical cues for short term stock movement [1159 stars on Github]. Courtesy of Anthony Federico No 26 MonkeyType: A system for Python that generates static type annotations by collecting runtime types.  [1143 stars on Github]. Courtesy of Carl Meyer at Instagram Engineering No 27 Eel: A little Python library for making simple Electron-like HTML/JS GUI apps [1137 stars on Github]. No 28 Surprise v1. 0: A Python scikit for building and analyzing recommender systems [1103 stars on Github]. No 29 Gain: Web crawling framework for everyone.  [1009 stars on Github]. Courtesy of 高久力 No 30 PDFTabExtract: A set of tools for extracting tables from PDF files helping to do data mining on scanned documents.  [722 stars on Github]. ORIGINAL
 
   

Django 69, Django Admin Cookbook, Django Projects

 

 

 

Django Admin Cookbook This is a book about doing things with Django admin. It takes the form of about forty questions and common tasks with Django admin we answer.   GoCD: Visualize and Model Complex CD Workflows GoCD supports continuous delivery out of the box with its built-in pipelines, advanced traceability and value stream visualization. With GoCD, you can easily model, orchestrate and visualize complex workflows from end to end. GoCD supports modern infrastructure and cloud deployments. Learn how to setup your first pipeline - https://goo. gl/7Y5u7c OR check out their enterprise plugins and support. - https://goo. gl/Xqk6kL  How to Write Dockerfiles for Python Web Apps This post is filled with examples ranging from a simple Dockerfile to multistage production builds for Python apps.   Django — Custom Migrations I have a Django app running on Heroku. Recently I had to change one of the models to add a new ForeignKey. The app in production has data stored in the database that I want to keep and this existing data can be used to define the new ForeignKey field. After a bit of searching I discovered I can run a custom migration to manipulate the data in the database.   How to create Content Types and Permissions for already created tables? ContentTypes, apart from a lot of awesomeness to build genericness in your Django app (as quoted), is also essential for defining Permissions in Django admin interface (remember this widget from the User and Groups models in Django admin?)  DevSecOps Best Practices 4 steps that are critical to DevSecOps success. Download now!  Cookie Cutter Online Generator Get a ZIP-archive with project by filling out the form.   Wagtail 2. 0 We've just released Wagtail 2. 0. This is a significant update to Wagtail, which - if you're not already familiar with it - is a popular open source CMS, built on Django, with a beautiful admin UI, powering sites for Google, NASA, the NHS, Oxfam, Mozilla, governments, universities, corporations, schools, startups and bloggers around the world.   2. 0 is our biggest ever release, in terms of changes and improvements from the previous version. Here's what you need to know:  How to use Django with MongoDB by adding just one line of code. I took you through several ways of integrating Django with MongoDB. You will find a multitude of online literature describing the MongoEngine and other variants for doing this. I focused on Djongo which is a new connector that makes this possible in a different way. It is easy to use and makes the process of migrating from a SQL backend to MongoDB very simple, by adding just one line of code.   Hacking Django’s makemessages for better (translations) matching in React JSX components Have you ever found a missing translation when running Django makemessages on React JSX components? I did and it can happen as far as you don’t keep your gettext tags in the beginning of JSX modules.   Django Girls San Francisco 2018 – Maria Surmenok After this workshop, I feel more confident in my interpersonal skills and probably will not be as shy as before anymore. I had an opportunity to learn something new and met amazing people with diverse background. If you have a chance to attend Django Girls workshop, definitely do it. I sincerely believe that you will not regret.   Django Migrations and UUID Fields – Andy Byers Recently I wanted to add a UUID field to an existing model called Institution, this model represents the Institutions that support the Open Library Humanities and the UUID field would represent a referral code  Synchronizing Django model definitions This is about a small problem we faced with the models used for customers in YPlan, now Time Out Checkout.   How to access request object from models? Django has some standard practices of organizing codes. It appreciates separating different contextual codes and classes in different files and modules.   Knjiga dana Više o knjizi. Projects django-servertiming - 5 Stars, 0 Fork Django servertiming is allows you to view performance details for your app in the chrome dev tools. It uses the Server Timing API. django-lint2 - 4 Stars, 0 Fork Lint2 is a linter work on Django. RegisteredUsers - 3 Stars, 1 Fork A django app to fetch and display all the registered users based on their events. django-experiments - 0 Stars, 0 Fork Django AB testing module. tumbo-server - 0 Stars, 0 Fork Tumbo is a Server Platform for simplifying common development and deployment tasks. It conduce to go live quickly with an application - with less deployment- and configuration requirements. The Tumbo Stack is based on Linux, Django and Docker.
 
   

Django Weekly 26, Contributing to Django Framework is easier than you think

 

 

 

Contributing to Django Framework is easier than you think In this blog post I will show you step-by-step how I got started contributing the to open source by fixing a Django easy pick issue and how you can do the same in few steps. I will use a bug fixed by me to explain everything from the beginning to the end.   3 Ways Our Dev Teams Create Velocity with Multi-System Integrations Whitepaper  Django admin: How to insert Inline between fields The positioning of the TabularInline, it would seem to be a simple task. Most of Django developers face this challenge when the size of ModelAdmin becomes bigger than the several “screens” and ordering becomes critical for the usability.   Provisioning django application using ansible How to write provisioning scripts for django application using ansible      How Django Girls is fighting to make a global space for women in tech When programmers Ola Sendecka and Ola Sitarska regularly found themselves to be the only women at tech conferences, hackathons, and meet-ups, they decided to actually do something about it. That's how Django Girls was born in 2014. "This is an international community of people who work together to make the tech industry, in particular the Python and Django worlds, more inclusive and welcoming," explains Sendecka, a developer at Potato London.   Hire Development Experts Toptal hand-matches leading companies with experts in software, web and mobile app development. Let us match you with on-demand developers for your next project.   Mozilla Complete Django Development Guide | MDN Good Resource To Learn Django.   How to Integrate OAuth 2 Into Your Django/DRF Back-end? In this tutorial, you’ll learn how to integrate OAuth 2 into your Django or Django Rest Framework using Python Social Auth. Although this article focuses on the Django REST Framework, you can apply the information provided here to implement the same in a variety of other common back-end frameworks.   Preferred way of performing asynchronous tasks in Django ? Poll by the Author of Two Scoops of Django.   Understanding the Need: A Django Deployment Guide My belief that there is little to no modern (circa 2017) documentation on how to deploy a full stack web application using Django      Cleaning up Django Persistent Database Connections For the past year at work we have been utilizing more Kafka infrastructure for what typically would have been handled using celery workers. This has led to some interesting rediscoveries of Django ORM. While this example is used in a Kafka implementation, it is not dependent on it and can be used in any scenario where code is run outside of a typical Django view.   Projects   django-behaviors - 17 Stars, 2 Fork Easily integrate common behaviors for Django models, e. g. Timestamps, Publishing, Authoring, Editing and more.   django_redux - 3 Stars, 0 Fork A re-usable bridge between Django channels and Redux.   django-static-version - 2 Stars, 1 Fork This is a simple django utility that adds a version number to static files with a custom templatetag and context_processor. The version number is pulled from the django settings. The motivating use case was cache busting in CloudFront, we will simple bump up the version number on redeploy to invalidate static files.
 
   

Django Weekly 30

 

 

 

Django REST framework 3. 6 Released The 3. 6 release adds two major new features to REST framework. Built-in interactive API documentation support. A new JavaScript client library.   Manual Kinks in your CI/CD Pipeline? See The 3 Use Cases of How Our DevOp Teams Automate Development  Logging verbosity in django management commands Making using of django's --verbosity command line argument.   Using Jinja2 with Django (1. 8 onwards) I have been using Jinja2 previously in my projects created with Flask. Recently however I wanted to use Jinja2 with Django for its potential performance boost (10 to 20 times faster compared to Django templates according to this) and interoperability with Nunjucks.   Django FK on_delete defaults to CASCADE Redesigning an autocomplete for Django How we used generic relations to add comments to model instances? As I talked to some people, few new about Django’s Generic Relation and Generic Foreign Key. And when I was studying it to apply on our system, I realised that the documentation can be kind of tricky and sparse. Nevertheless, Generic Relations helped us a lot, and so I decided to write about it in this blog post.   Find Top Developers Fast. The search is over. Let Toptal connect you with the world's most talented developers. Get started today.   django classifier django-classifier allows you to create models at start, and set the properties needed from the admin panel at any time.   Learn how to create an AJAX-powered like button in Django. We show you how to create a like button much like what you'd see on Facebook, Instagram, Google+, YouTube, and others. We are using the Django web framework along with the Django Rest Framework and jQuery. The key here in this series is how to setup Django's backend so your project can collect like data. We use jQuery as a easy-to-implement solution for working with Django but really, this method could be used with any client technology like Angular, React, Swift, Java, and more.  
 
   

Django weekly 51

 

 

 

Worthy Read Clean Architecture in Django This post will try to explain our approach to apply Clean Architecture on a Django Restful API. It is useful to be familiarized with Django framework as well as with Uncle Bob's Clean Architecture before keep reading. architecture Central Authentication Service (CAS) implementation using Django microservices In this tutorial, I will be using Django framework for microservices. And then I will use django-mama-cas and django-cas-ng packages microservices Catch Errors Before Users Do Error monitoring, alerting, analytics. Root cause to resolution in 30 secs. sponsor Using The Redirects App Django comes with a few optional apps that can easily be installed. One of those apps is the Redirects App, which is particularly useful in the cases where you want to update some existing URLs without compromising your Website SEO or in any case avoid 404 errors. redirect Creating and populating a non-nullable field in Django I’ll show you how to create a new non-nullable field in Django and how to populate it using Django migrations. migrations, NULL Web REST API Benchmark on a Real Life Application Working as a web freelancer I am interested in how different frameworks and technologies perform, but the majority of the benchmarks found over the internet are considering just the Hello World example. When you are building a real life application there are more aspects to take into consideration, so I decided to run a complete benchmark between the most popular frameworks and technologies. Alongside the performance, I was interested in how easy is to achieve specific tasks in each framework and what is the cost of scaling the application performance. benchmark How Django helped us make a better conference website? Talk at Pycon Australia. pycon Python: Ludicrous mode (with Django) Introducing the idea of appropriate data flows, query optimisation, and algorithm selections via the broader objective of reducing website latency. The techniques taught are broadly applicable, not specific to websites in Django. The goal is to open audience members eyes to the broader concepts of appropriate tech stack selection by looking briefly at HTTP/2, caching (both local and global), infrastructure stack layout, streaming responses, aggregate requests, lazy evaluation, and some thoughts on the future of low-latency web development. performance Projects django-eventstream - 4 Stars, 1 Fork Django EventStream provides an API endpoint for your Django application that can push data to connected clients. It relies on Pushpin or Fanout Cloud to manage the connections. Data is sent using the Server-Sent Events protocol (SSE), in which data is streamed over a never-ending HTTP response. django-tmpl - 0 Stars, 0 Fork Django project template with many basic useful features.
 
   

Django weekly 8

 

 

 

Worthy Read Review of Djaneiro, a Sublime Text plugin for Djangodevelopment. In this review I’ll explain how Djaneiro can make your Django development workflow more productive and I’ll go over the pros and cons of the plugin as I experienced them. After that I’ll take a look at alternatives to Djaneiro in the Sublime Text plugin landscape. At the end I’ll share my final verdict and rating.   Django Factory Audit Factories build instances of models, primarily for testing, but can be used anywhere. ( Read on Factory Design Patterns). In this post I present my attempts at grading different factory libraries available for Django based on the validity of the instances that they create.     Testing Django - Lessons Learned By Oliver Roick I recently had the honor to work on a major refactoring of Cadasta’s test code. The goal was to make the test code more consistent and easier to write.   Great Dev - Meet Great Jobs Try Hired and get in front of 4,000+ companies with one application. No more pushy recruiters, no more dead end applications and mismatched companies, Hired puts the power in your hands.   mypy-django PEP-484 type hints bindings for the Django web framework  Unit Testing Django Middleware Until recently unit testing middleware was a bit of a bit of a mystery. Getting unit tests on everything is pretty important, so I figured I should give it a go. To my surprise Python made this stupidly simple!  Django Inline formsets example: mybook Tutorial on Django Inline formsets with code snippets.   6 Tips To Use When Kicking Off a Django Project I've compiled a list of 6 must-do housekeeping steps when kicking off a new Djangoproject. Many of these tips have been collected from other development teams and mentors that I've worked with over the past decade using Django. Local Settings Override, Test-Specific Configuration Stanza, Set up coverage. py, Install iPython, Install django-extensions Configure PyCharm with a Django Shell Debugger. Curators Note Check the comments section for discussion.   Rails vs Django vs Laravel: An analysis of web frameworks from a non-technical founder Personally the only thing I found interesting in the post was the "Developer Cost" Section. It's an interesting perspective from someone who is not going to code in these frameworks on a day to day basis but judging from a business perspective. Note - THIS IS NOT A TECHNICAL COMPARISON.   Projects django-konfera Yet another event organization app for Django. django-pg-utils Custom query expressions for Django, built on top of PostgreSQL functions django-estimators django app to load and persist scikit learn machine learning models
 
   

Django weekly 9

 

 

 

Solving Performance Problems in the Django ORM - By Kyle Hanson performance With something as complex like a web application, it is hard to know where to start. A bottom-up technique to working with the data, starting from where the data lives to how it is displayed, gives a pragmatic approach to debugging performance problems. Datastore (missing indexes / data-model), Interface to the datastore (the ORM / inefficient queries), Displaying / using the data (Views / reports).   Upgrading Django - Never Clever upgrading django General Guidelines when upgrading Django.   Filestack - Upload Files From Anywhere. sponsor Upload Files From Anywhere. The API for file uploads. Integrate Filestack in 2 lines of code. Python library for Filestack https://github. com/filepicker/filepicker-python  Django Admin is really slow. Any thoughts on how to speed it up ? - Reddit Discussion admin panel The Django admin site for our website is really slow. I'm pretty sure that is because when we view the entries in a model, it loads every single one, which, for some tables, means 10s of thousands of entries. Any thoughts on good ways to fix this issue ?  Handling statuses in Django Whether you're building up a CMS or a bespoke application, chances are that you will have to handle some states / statuses. Let's discuss your options in Django.   Search Django Weekly Archive djangoweekly Have added the ability to search newsletter archive. So if you are looking to find an article and remember the tag, issue no, title head to http://djangoweekly. com/search/and you can find it. Please let me know your feedback.   WebSocket-based app with Django Channels and React channels,  web sockets For my very first blog post, I chose to share my exploration of a library that I wanted to try for some time: Django Channels. I was also curious about how a React application can be plugged to a backend different from a REST API. Let’s see that with a real example: the Game of Life!  Django/PyCharm promotion results and future partnership DSF Results of the Django/Pycharm fundraising campaign raised a total of $50,000 USD for the Django Software Foundation. All money raised will go towards Django outreach and diversity programs: Django Girls workshops, the Django Fellowship program, sponsoring official Django conferences, and others. Additionally, a portion of money will be used to fund the support for type hints in a future release of Django, which is the next step of our partnership:  How to Use Django's Generic Relations You probably have already seen Django’s ContentTypes and wondered how to use it or what is it for anyway. Basically it’s a built in app that keeps track of models from the installed apps of your Django application. And one of the use cases of the ContentTypes is to create generic relationships between models. That’s what this post is about.   Serverless WSGI opensource project,  serverless A Serverless v1. 0 plugin to build your deploy Python WSGI applications using Serverless. Compatible WSGI application frameworks include Flask, Django and Pyramids - for a complete list, see: http://wsgi. readthedocs. io/en/latest/frameworks. html.   Weekly Python Chat: Class-Based Views in Django Most Django programmers use function-based views, but some use class-based views. Why? Special guest Buddy Lindsey will be joining us this week to talk about how class-based views are different.   Great Dev - Meet Great Jobs sponsor Try Hired and get in front of 4,000+ companies with one application. No more pushy recruiters, no more dead end applications and mismatched companies, Hired puts the power in your hands.  
 
   

Django Weekly Newsletter Issue 40

 

 

 

Worthy Read Django Admin Basics and Beyond - PyCon 2017 ( Kenneth Love ) Django's admin is a great tool but it isn't always the easiest or friendliest to set up and customize. The ModelAdmin class has a lot of attributes and methods to understand and come to grips with. On top of these attributes, the admin's inlines, custom actions, custom media, and more mean that, really, you can do anything you need with the admin. . . if you can figure out how. The docs are good but leave a lot to experimentation and the code is notoriously dense. In this tutorial, you'll learn the basics of setting up the admin so you can get your job done. Then we'll dive deeper and see how advanced features like autocomplete, Markdown editors, image editors, and others would be added to make the admin really shine.   Find Top Developers We help companies like Airbnb, Pfizer, and Artsy find great developers. Let us find your next great hire. Get started today.   Simple is Better Than Complex: How to Deploy a Django Application on RHEL 7 In this tutorial, you will learn how to deploy a Django application with PostgreSQL, Nginx, Gunicorn on a Red Hat Enterprise Linux (RHEL) version 7. 3. For testing purpose I’m using an Amazon EC2 instance running RHEL 7. 3.   3 Reasons to Upgrade to the Latest Version of Django It helps to have an understanding of why upgrading the backend should be considered a necessary part of any website upgrade project. We offer 3 reasons, focusing on our specialty of Django-based websites. Increases security, reduces development and maintenance costs, and ensures support for future growth.   Rollbar Know when and why code breaks: Users finding bugs? Searching logs for errors? Find + fix broken code fast!  Advantages and Disadvantages of Django Django Long Running Processes The most commonly suggested solution for long running processes is to use Celery. I suspect that if you need scalabilty or high volume, etc… Celery is the best solution. That said, I have been down the Celery rabbit hole more than once. It has never been pleasant. Since my needs are more modest, maybe there is a better alternative?  Throttling Specific Actions in Django Rest Framework Viewsets If you are using rate limiting with Django Rest Framework you probably already know that it provides some pretty simple methods for setting global rate limits using DEFAULT_THROTTLE_RATES. You can also set rate limits for specific views using the throttle_classes property on class-based views or the @throttle_classes decorator for function based views.   Danielle Madeley: PostgreSQL date ranges in Django forms Django’s postgres extensions support data types like DateRange which is super useful when you want to query your database against dates, however they have no form field to expose this into HTML. Handily Django 1. 11 has made it super easy to write custom widgets with complex HTML.   Django: Building REST APIs
 
   

Django Weekly Newsletter Issue 43

 

 

 

Worthy Read 5 ways to make Django Admin safer In this article I present 5 ways to protect the Django Admin from human errors and attackers.   Analyzing Django requirement files on GitHub On pyup. io we really care about requirement files and dependencies. Thankfully, GitHubs data is available at BigQuery which allows us to run a query giving us access to all requirement files across public repos. Let's take a look at how Django is being used.   Catch Errors Before Your Users Do. Full-stack error monitoring and analytics for developers  Zappa! or How to go serverless with Django and never look back Zappa allows us to deploy a WSGI-compatible web app on the Amazon Web Services platform using two AWS products: Lambda andAPI Gateway, and S3. This article talks about using Django + Zappa together.   Nginx Letsencrypt, Django and Minio – Sarit Ritwirune – Medium Aisha, Rachell and Dayoung join the Django Girls We couldn’t be any happier to announce that three amazing women joined the Django Girls Support Team in the recent weeks. We were amazed with all of their contributions to the Django Girls community so far, and we’re so excited to see how their energy, enthusiasm and ideas change what’s next for us.   Guide to Building a Django Web App, Lessons from a Non-Coder. Resources and Broad Approach to learning Django.   Projects mgc-django - 186 Stars, 19 Fork Machine learning approach to classify music based on genres django-hackathon - 16 Stars, 2 Fork I used to spend a lot of time setup Django and Django REST framework. . . So this is a base project use to play around or hackerathon.   djanban - 9 Stars, 0 Fork Stats for kanban boards, now as a Django application   django-antispam - 2 Stars, 0 Fork Anti-spam protection tools for django applications.   github-trending - 1 Stars, 0 Fork Crawling Site that gain data from GitHub's trending page https://trend. pythonanywhere. com/   volla - 0 Stars, 0 Fork Social story writing web app in Django.
 
   

Django Weekly Newsletter Issue 44

 

 

 

Django project optimization guide (part 1) This is the first part of a series about Django performance optimization. It will cover logging, debug toolbar, locust. io for testing, Silk etc.   Django vs Flask This analysis is a comparison of 2 python frameworks, Flask and Django. It discusses their features and how their technical philosophies impact software developers. It is based on my experience using both, as well as time spent personally admiring both codebases.   Is Your DevOps Pipeline Leaking? Gartner’s Recommendations for Long-Term Pipeline Success.   Getting started with translating a Django Application After reading this article, you have a basic understanding of translating a Django app.   Kubernetes Health Checks in Django - By Ian Lewis Health checks are a great way to help Kubernetes help your app to have high availability, and that includes Django apps.   How web requests are processed in a typical Django application - By Arun Ravindran Illustration of request processing in Django from browser to back.   Simple Google Authentication in Django - By Sahil Jain How to build a simple google authentication app on Django framework.   Celery 4 Periodic Task in Django - By Yehan Djoehartono Automation in Django is a developer dream. Tedious work such as creating database backup, reporting annual KPI, or even blasting email could be made a breeze. Through Celery?—?a well-known software in Python for delegating task?—?such action made possible.   Django For Beginners Book Django For Beginners Book  Projects       django-admin-env-notice - 24 Stars, 0 Fork Visually distinguish environments in Django Admin. Based on great advice from post: 5 ways to make Django Admin safer by hakibenita.   Scrum - 0 Stars, 0 Fork Now work in a far more efficient and organized manner! The project allows users to list their tasks in a scrum order, monitor and update their progress.   django-base - 0 Stars, 0 Fork A Dockerized Django project template with NGINX and PostgreSQL ready to go
 
   

Django Weekly Newsletter Issue 46

 

 

 

Worthy read Django profiler: My journey to code optimization My experience from my profiler hunt motivated me to build an easy to use, user-friendly 2 step profiling middle-ware. Neither too complicate nor any unnecessary installations. You can check it out on : django-profile-middleware.   What really annoys me about Django migrations The same way an ORM allows us to forget about SQL when writing queries to the database, migrations make sure we don’t write a single ‘ALTER TABLE’ in our schema changes. Some may argue that’s bad: we “lose control” over a critical part of our infrastructure, we don’t know how to write SQL anymore when needed, we’re not sure how that operation is really translated into SQL, etc, etc. Ok, these points are actually valid. However, Django migrations module is more than just a way of automatically generating and applying SQL statements, it’s also a transparent API to write your own database changes in Python. It comes with wheels for those who need it (or trust enough) and tools for those who like to get their hands dirty.   Is Your DevOps Pipeline Leaking? Get the report.   Overview of Django Translations The slides look at how strings can be marked for translating using Django template tags, and methods from django. utils. translation in python code, template html and js.   Facebook comment preview craze using Django DjangoCon Europe 2018 Call for volunteers 2018's DjangoCon Europe will be held in beautiful Heidelberg, from the 23rd to the 27th May. There is a lot to do, but it's very much worth it – DjangoCon Europe is an extremely friendly, open, inclusive, and informative (for beginners and advanced users alike) conference. We're looking for support in the following areas, but if you have other interests and want to help out, please contact us:  Addressing Security Regression Through Unit Testing The code for this blog post is written using the Django Web Framework. The techniques discussed here will certainly work with other frameworks (and perhaps even compiled languages), but one core component that we’ll be leveraging here is the presence of an explicit mapping of URL routes to the views that handle requests to those routes.   Django project optimization guide - part 2 This is the second part of Django project optimisation series. The first part was about profiling and Django settings, it's available here. This part will be about working with database optimisation (Django models).   Projects SOTA-Py - 258 Stars, 9 Fork SOTA-Py is a Python-based solver for the policy- and path-based "SOTA" problems, using the algorithm(s) described in Tractable Pathfinding for the Stochastic On-Time Arrival Problem (also in the corresponding arXiv preprint) and previous works referenced therein. djurl - 44 Stars, 3 Fork Simple yet helpful library for writing Django urls by an easy, short an intuitive way. django-bot - 10 Stars, 2 Fork A django library that makes it easier to develop bots with a common interface for messaging platforms (eg. Slack, FB messenger) and natural langauge parsers (eg.  api. ai). recruitr: - 6 Stars, 0 Fork Online Code Judging Tool  
 
   

Django Weekly Newsletter Issue 48.

 

 

 

Worthy Read Django Anti-Patterns: Signals Django's Signal Dispatcher is a really powerful feature that you should never use. Ok, it has valid use cases, but they may be rarer than you think. Curator's note - I have worked in C++/Qt where signal slots are the default way to communicate and propagating user events/actions. In large Qt code base it becomes important to have a sense of how these signals are propagating and coding guidelines on the direction these signals will propagate vis a vi say the inheritance hierarchy / object composition. Personally I dislike signals in Django and try to say away from them.   The Environment Variables Pattern This guide will show you how to use environment variables to store your secret keys, API keys and database keys outside of version control when you have Virtualenv enabled and when you don’t.   Orchestrate Your DevOps Toolchain As a DevOps leader it’s up to you to balance the autonomy and flexibility of a DevOps approach with the business value it was meant to create by making all your pipeline tools more collaborative, integrated, and automated. But challenges arise when you have multiple instances of the same tool, different tools with overlapping functionality, no ability to collaborate across teams—all resulting in unknown bottlenecks and complicated or no reporting. Read this Gartner research note to learn how to patch any leaks in your DevOps toolchain.   Django many to many relation with metadata In ManyToManyField there is parameter called through, using through parameter we can relate two model in many to many relation by using a extra model.   Django’s new Extract classes Django 1. 10 and even more 1. 11 comes with convenient methods for annotating date parts to your query. Django comes with these methods in terms of date manipulating  Caktus at DjangoCon2017 Django: Laying out projects A brief glance at how I like to maintain stuff, and possibly, the better way. What’s the optimal layout for Django applications, configuration files and it’s associated directories?  How to deploy Django on Dokku Logging Django errors to Slack channels. Projects django-rest-easy: - 28 Stars, 0 Fork django-rest-easy is an extension to DRF providing QOL improvements to serializers and views.
 
   

ImportPython 124

 

 

 

Worthy Read The Many Layers of Packaging Packaging in Python has a bit of a reputation for being a bumpy ride. This is mostly a confused side effect of Python's versatility. Once you understand the natural boundaries between each packaging solution, you begin to realize that the varied landscape is a small price Python programmers pay for using the most balanced, flexible language available.   packaging 100 days of algorithms Tomas is blogging an algorithm / data structure a day. Code in Python.   Know when and why code breaks Users finding bugs? Searching logs for errors? Find + fix broken code fast!  Python support is now stable in Visual Studio 2017 Today we have released our next update to Visual Studio 2017, and it’s the one you’ve been waiting for. As of today, the Python development and Data Science and Analytical Applications workloads are stable and ready for production use.   A game of tokens: write an interpreter in Python with TDD In this series of posts I want to try an experiment. I want to guide you through the creation of a simple interpreter in Python using a pure TDD (Test-Driven Development) approach. The posts will be structured like a game, where every level is represented by a new test that I will add to the suite.   python-easter-eggs Curated list of all the easter eggs and hidden jokes in Python.   Python Basics: Using sets to compare keymaps A curated list of courses on Python Principle Component Analysis in Python Principle component analysis (PCA) is an unsupervised statistical technique that is used for dimensionality reduction. It turns possible correlated features into a set of linearly uncorrelated ones called ‘Principle Components’. In this post we’ll be doing PCA on the pokemon data set.   K-means Clustering in Python K-means clustering is a clustering algorithm that aims to partition nn observations into kk clusters.   Creating Graphs with Python and GooPyCharts Last summer, I came across an interesting plotting library called GooPyCharts which is a Python wrapper for the Google Charts API. In this article, we will spend a few minutes learning how to use this interesting package. GooPyCharts follows syntax that is similar to MATLAB and is actually meant to be an alternative to matplotlib.   Multi-step Time Series Forecasting with Long Short-Term Memory Networks in Python The Long Short-Term Memory network or LSTM is a recurrent neural network that can learn and forecast long sequences.   OnlineSchemaChange rebuilt in Python - By Facebook In 2010, Facebook open-sourced OnlineSchemaChange. php, a tool to perform MySQL schema changes while minimizing downtime. We are happy to announce that an improved version written in Python is now available on GitHub.   4 Python libraries for building great command-line user interfaces In the second installment of a two-part series on terminal applications with great command-line UIs, we explore Prompt Toolkit, Click, Pygments, and Fuzzy Finder.   Merging two Python dictionaries by deep-updating A Beginner’s Guide to Crowdsourcing ML Training Data with Python and MTurk For many machine learning projects one of the best ways to generate training data is to crowdsource it programmatically from Amazon Mechanical Turk (MTurk) using Python. In this guide, we will walk through an end-to-end example of using Python to access MTurk.   Projects pocket-archive-stream - 631 Stars, 28 Fork Save an archived copy of all websites starred using Pocket. Outputs browseable html. flask-common - 89 Stars, 4 Fork A Flask extension with lots of common time-savers (file-serving, favicons, etc). pdpipe - 74 Stars, 2 Fork Easy pipelines for pandas DataFrames. dotter - 33 Stars, 0 Fork A small dotfile manager. Chattie - 20 Stars, 4 Fork A framework for making bots in Python. Inspired by Hubot. Reinforcement-learning-with-tensorflow - 14 Stars, 4 Fork Reinforcement learning tutorials. vimapt - 7 Stars, 0 Fork A package manager for vim (VimApt => Vim's Advanced Package Tools) python-license-checker - 4 Stars, 2 Fork A license checker for source code written in python pyastro17-qt - 3 Stars, 0 Fork Qt tutorial at Python in Astronomy 2017
 
   

ImportPython 59 i knjiga Uvod u Python automatizovanje svakodnevnih poslova

 

 

 

  Knjiga meseca - Uvod u Python, automatizovanje svakodnevnih poslova Zahvaljujući knjizi „Uvod u Python - Automatizovanje dosadnih poslova“, naučićete kako da koristite Python za pisanje programa koji će za nekoliko minuta obaviti ono što biste ručno radili satima.   DETALJNIJE I KORPA ZA NARUČIVANJE Worthy Read Learn to program with minecraft - Book Review book review   Minecraft is a sandbox video game. A game where you build constructions out of textured cubes in a 3D generated world. One can then explore worlds, do resource gathering, plan combat. What makes minecraft interesting is you can use Python API and create, control the world using Python. Here is a review of the book.   Python testing, book and podcast book review   Ned batchelder endorses Harry Percival's book Test-Driven Development with Python. If you have been reading this newsletter for long you would know we love the book. Here's another proof it's worth reading.   Deploy a Python 3 Application to an Apache Mesos Cluster using the Marathon API Where I work we are actively using Apache Mesos to deploy our production applications written in Go, Python, Lua, etc. We also use Chronos and Marathon. In this article I’ll show you how to setup a local Mesos Cluster complete with Marathon (using Docker) and how to build a simple Python 3. x application to deploy into it.   caktus/margarita: A collection of delicious Salt states for Django project deployments. This repository holds a collection of states and modules for deployments using SaltStack. These exist primarily to support the Caktus Django project template.   Your Django Story: Meet Katie Bell interview   Katie Bell is a developer at Grok Learning, where she’s been doing a combination of things since joining the team in March 2015. She builds new components of the learning platform and also writes course content. Grok Learning provides programming and web development courses to be used in schools. Before Katie moved back to Sydney to join Grok, she was a Site Reliability Engineer at Google in Switzerland, working on storage systems.   meza: A Python toolkit for processing tabular data meza is a Python library for reading and processing tabular data. It has a functional programming style API, excels at reading/writing large files, and can process 10+ file types.   PyDelhi Conference pycon   PyDelhi Conference is an upcoming conference hosted by PyDelhi Community which focuses on using and developing using the Python programming language. The conference, now in its first year, will be conducted annually by the PyDelhi community. We hope to attract the best Python programmers from across the country and abroad.   Examples of using Walrus, a lightweight Redis Toolkit redis   walrus is my go-to toolkit for working with Redis in Python, and hopefully this post will convince you that it can be your go-to as well. I've tried to include lots of high-level Python APIs built on Redis primitives and the result is quite a lot of functionality. In this post I'll take you on a tour of the library and show examples of how it might be useful in your next project.   Python based URL Shortener flask   Py URL Shortener is a Python powered Flask app implementing a technique in which a Uniform Resource Locator (URL) has been made substantially shorter in length and still direct to the required page. This is achieved by using a redirect on a domain name that is short, which links to the web page that has a long URL.   PEP 513 - A Platform Tag for Portable Linux Built Distributions PEP proposes the creation of a new platform tag for Python package built distributions, such as wheels, called manylinux1_{x86_64,i386} with external dependencies limited to a standardized, restricted subset of the Linux kernel and core userspace ABI. It proposes that PyPI support uploading and distributing wheels with this platform tag, and that pip support downloading and installing these packages on compatible platforms.   django-scribbler django   django-scribbler is an application for managing snippets of text for a Django website. http://readthedocs. org/docs/django-scribbler/  Jobs  Senior Python/Java developer at Psiog Data Science Chennai, Tamil Nadu, India Projects   django-stackoverflow-trace - 103 Stars, 3 Fork A customized django stack trace whatportis - 93 Stars, 10 Fork A command to search port names and numbers flyover - 62 Stars, 5 Fork what's that plane flying over my apartment RIGHT NOW? open-syllabus-project - 30 Stars, 0 Fork What can be learned from 1M+ college course syllabi? jenkins-phoenix - 21 Stars, 5 Fork Stateless Jenkins deployment with Docker django-post-request-task - 14 Stars, 2 Fork A celery task class whose execution is delayed until after the request finishes, using request_started and request_finished signals from django. preprocessor - 11 Stars, 0 Fork Elegant tweet preprocessing pipstrap - 9 Stars, 1 Fork A small script that can act as a trust root for installing pip 8 pipgh - 8 Stars, 1 Fork A tool to install python packages from Github. Gitffiti - 6 Stars, 0 Fork Gitffiti Repo
 
   

ImportPython Newsletter 128

 

 

 

Keeping Python competitive Victor Stinner sees a need to improve Python performance in order to keep it competitive with other languages. He brought up some ideas for doing that in a 2017 Python Language Summit session. No solid conclusions were reached, but there is a seemingly growing segment of the core developers who are interested in pushing Python's performance much further, possibly breaking the existing C API in the process. Using Luigi to create and monitor pipelines of batch jobs Luigi is a Python module that helps you build complex pipelines of batch jobs. It handles dependency resolution, workflow management, visualisation etc. It also comes with Hadoop support built in.   Cheat Sheet of Machine Learning and Python (and Math) Cheat Sheets Curated list of cheatsheets.   Full-stack error monitoring and analytics for developers Catch Errors Before Your Users Do  PyGotham 2017 - Call for proposals PyGotham is a New York City based, eclectic, Py-centric conference covering many topics. There’s a diverse speaker list, and some things which will be quite different. PyGotham attracts developers of various backgrounds and skill levels from the New York metropolitan area and beyond. Activities include two full days of talks, lightning talk sessions, and a social event.   pyenv with cron Do not use /root/. pyenv/shims/python . Use direct python in pyenv.   Build a naive Article Spell-checker in 10 Lines of Python Code Build a naive Article Spell-checker in 10 Lines of Python Code.   Python Package Management for the Paranoid Generating mock data with Elizabeth: Part II Elizabeth is a Python library, which helps generate mock data. Part II of the tutorial we shared previously.   Infoblox Bulk DNS add with Python Records, Structs, and Data Transfer Objects in Python How to implement records, structs, and “plain old data objects” in Python using only built-in data types and classes from the standard library.   10 awesome features of Python that you can't use because you refuse to upgrade to Python 3 Introduction to Apache Kafka for Python Programmers In this blog post, we’re going to get back to basics and walk through how to get started using Apache Kafka with your Python applications.   Picard Picard is a cross-platform music tagger written in Python. This is a fairly old package.   Projects netbox - 2492 Stars, 356 Fork NetBox is an IP address management (IPAM) and data center infrastructure management (DCIM) tool. Initially conceived by the network engineering team at DigitalOcean, NetBox was developed specifically to address the needs of network and infrastructure engineers. machine-learning-surveys - 652 Stars, 71 Fork A curated list of Machine Learning related surveys, overviews and books. gain - 594 Stars, 29 Fork Web crawling framework for everyone. Written with asyncio, uvloop and aiohttp. Everyone could write their own web crawler easily with gain framework. Gain framework provide a pretty simple api. proximityhash: Geohashes in proximity - 56 Stars, 1 Fork Geohash is a geocoding system invented by Gustavo Niemeyer and placed into the public domain. It is a hierarchical spatial data structure which subdivides space into buckets of grid shape, which is one of the many applications of what is known as a Z-order curve, and generally space-filling curves. six-char-max - 45 Stars, 4 Fork 80 characters per line is waaaay too many. All Python programs should have at most six characters per line. Nodz - 37 Stars, 17 Fork Nodz : Visualize your data - Free nodes based graph generator. spark-deep-learning - 13 Stars, 4 Fork Deep Learning Pipelines provides high-level APIs for scalable deep learning in Python. The library comes from Databricks and leverages Spark for its two strongest facets: In the spirit of Spark and Spark MLlib, it provides easy-to-use APIs that enable deep learning in very few lines of code. It uses Spark's powerful distributed engine to scale out deep learning on massive datasets. coreml-scikit-example - 11 Stars, 1 Fork Apple CoreML example with scikit-learn anyserv - 4 Stars, 1 Fork Get a full fake REST API with zero coding proxy2 - 4 Stars, 1 Fork HTTP/HTTPS proxy in a single python script Red-Black-Tree - 1 Stars, 0 Fork An extremely well tested and commented red black tree implementation. Worth a look if you are studying the material. pydantic - 0 Stars, 0 Fork Data validation and settings management using python 3. 6 type hinting. Define how data should be in pure, canonical python; validate it with pydantic.
 
   

ImportPython Newsletter 129

 

 

 

Worthy Read fsudoku: A fast sudoku solver I decided to crush Sudoku, once and for all, by solving all Sudoku puzzles in one fell swoop and in less than 300 lines of Python.   PyDev of the Week: Amir Rachum This week we welcome Amir Rachum as our PyDev of the Week. Amir is the author / maintainer of pydocstyle and yieldfrom. Amir also write a fun little blog about Python. Let’s take a few moments to get to know Amir better!  Catch Errors Before Your Users Do. Full-stack error monitoring and analytics for developers.   colorama colorama allows you to print text in color on the terminal.   ShutIt ShutIt is an shell automation framework designed to be easy to use.   Timsort in Python Sorted(list) vs list. sort()  Instagram Makes a Smooth Move to Python 3 - Interview with Engineers behind Instagram Four. Hundred. Million. Users. Per. Day. Not only has Instagram scaled to become the biggest Python user in the world, but the company recently moved over to Python 3 with zero user experience interruption. Instagram engineers Hui Ding and Lisa Guo talked with The New Stack to share the Python love and describe the Python 3 migration experience.   NLP on Twitter advertising data I chose to perform Natural Language Processing (NLP) on Twitter data in order to assist in advertising campaigns. This project is geared more towards advertisers, marketing, and any company who wants to extend their customer relations platform to communicate with their followers.   Minimal Python deployment on Docker with uWSGI So, you’ve built a great Python web application using Flask, Django, aiohttp, or Falcon. The next issue you could be facing is probably the setup regarding the deployment. We will explore how to use docker-compose to deploy a WSGI application using uWSGI and NGINX.   A good way to lose an afternoon reading about Python's internals tweet Test Driven Development Courses - By The RealPython Folks In this tutorial, you'll learn how to quickly spin up a reproducible development environment with Docker to create a RESTful API powered by Python, Postgres, and the Flask web framework. . . .   Parallelizing a Python Function for the Extremely Lazy Detecting Fake Videos with Python Program to detect if there are any loops in the video.   Audio signal using Python Now it comes as a surprise to many people when I tell them that generating an audio waveform is extremely simple.   How to get data from Google Analytics with Python in Jupyter Notebook Today I found an online tool that can get the stats of the published articles from Google Analytics. That’s how I got interested in Google Analytics API. As I am studying Data Science at the moment, knowing how to do web analytics would open up a lot of new possibilities.   Python Crossword Puzzle Generator Building With Python Requests Epithet Introducing Epithet, a Python-based command line tool for managing labels across an organization. You give it a Github key, organization, and label name, and it will make sure that label exists across all the repos in your org. Give it a color, and it’ll make the color of that label consistent across all repos as well. Have you decided you’re done with a particular label? Epithet can delete it from all your repos for you. Are you using Github Enterprise? Epithet supports that too.   Humor - Python Private Method RC Car + MacBook Pro = The Carputer! If you’d like to build a miniature self-driving car, perhaps you would first turn to an Arduino for control or even a Raspberry Pi for more advanced processing. Otavio Good is no exception, but after attaching a few Arduinos to an RC car, he moved on to driving it with a speedometer and camera via a TensorFlow neural network running on a Macbook Pro?—?yes, it has an actual notebook computer embedded in the 1/10th-scale model car.   Python Data Science Handbook Jupyter books This is the Jupyter notebook version of the Python Data Science Handbook by Jake VanderPlas; the content is available on GitHub. * The text is released under the CC-BY-NC-ND license, and code is released under the MIT license. If you find this content useful, please consider supporting the work by buying the book!  Toolchest for Python shell scripters Curated list of tools/packages.   Sentiment Analysis of Comments on LHL’s Facebook Page Go-Flavored Error Handling in Python The point of this article is to present an Error class in the spirit of Go error handling and consider its use/application in Python from a personal perspective.   Embedding Go and groupcache in Python Go(golang) is a very fast and efficient compiled programming language. Much like how you can build Python C-extensions to speed up your python applications, Python developers also have the option to build Go components that are embedded into their python.   Playing with variables in Python The first one is a decorator “freezing” some global variables to their current value at the time a function is defined.   Why using a context-manager is a better choice? New Books  Cloud Native Python This book will be the one stop for you to learn all about building cloud-native architectures in Python. It will begin by introducing you to the cloud-native architecture and will help break it down for you. Then you’ll learn how you can build microservices in Python using REST APIs in an event driven approach and you will build the web layer. Next, you’ll learn about Interacting data services and building Web views with React, after which we will take a detailed look at application security and performance. Projects stephanie-va - 525 Stars, 58 Fork Stephanie is an open-source platform built specifically for voice-controlled applications as well as to automate daily tasks imitating much of an virtual assistant's work. end-to-end-negotiator - 204 Stars, 22 Fork Deal or No Deal? End-to-End Learning for Negotiation Dialogues yotaq - 153 Stars, 6 Fork yotaq - Your Own Task Queue for Python validus - 141 Stars, 5 Fork A dead simple Python data validation library. Headless-rendering-with-python - 6 Stars, 0 Fork Headless 3D rendering with python
 
   

ImportPython Newsletter Issue 104.

 

 

 

Worthy Read Pythonistas! How do you rate your favourite languages, frameworks, and technologies ? How popular is Python? Based on our survey findings, 19% of Linux and 13% of macOS developers use Python as their primary server-side language. If you want to read more insights like these, contribute to the latest Developer Economics survey - you’ll receive analysed trends in your inbox! The survey is fun, while you’ll get the chance to win a prize, and learn something new ! House price affordability - Finding using Apache Spark Back in September last year, the Guardian published a fantastic visualisation looking at house price affordability in the United Kingdom. The raw data is easily available from data. gov. uk, and they provide monthly, annual and the complete history allowing you to work with a reasonably sized set before running on the complete data set. Recreating the Guardian’s data process within Apache Spark felt like a great way to get an introduction into the platform.   Getting started with Sanic: the asynchronous, uvloop based web framework for Python 3. 5+   uvloop has been making waves in the Python world lately as a blazingly fast drop-in for asyncio’s default event loop. Sanic is a Flask-like, uvloop-based web framework that’s written to go fast. Sanic is made for Python 3. 5 . The framework allows you to take advantage of async/await syntax for defining asynchronous functions. With this, you can write async applications in Python similar to how you would write them in Node. js.   Named Entity Classification   This blog post describes three prototype solutions for the task of Named Entity Classification in the context of Booking. com. The aim is to present different approaches to the classification task, analyse their implementation and compare them in a small scale prototype use case. Sample code in Python is also provided in the following sections for each model described.   pdb to bug   If you have watched / heard the famous dialog from the movie taken, you will be able to understand this funny meme.   How to hack together a graphical Python debugger   Zero-to-Debugging in 15 mins.   Toptal   The Top 3% Of Developers: Googlers, Top 100 Rails contributors, and MIT engineers are among Toptal's elite network of only the top 3%. Let Toptal pick proven talent for your next project. Complementing Python With Rust How To Resample and Interpolate Your Time Series Data With Python   In this tutorial, you will discover how to use Pandas in Python to both increase and decrease the sampling frequency of time series data.   Pythonic code review (Red Hat Security Blog)   Most of us programmers go through technical interviews every once in a while. At other times, many of us sit on the opposite side of the table running these interviews. Stakes are high, emotions run strong, intellectual pressure builds up. I have found that an unfortunate code review may turn into something similar to a harsh job interview.   Django Weekly Issue 18   This weeks roundup insightful articles, videos on everything Django.   Introducing Maya: Datetimes for Humans - By Kenneth Reitz   Datetimes are a headache to deal with in Python, especially when dealing with timezones, especially when dealing with different machines with different locales. Maya exists to do all the hard work for you, so you can focus on what you're trying to do — import or export simple datetime data in known human and machine-readable formats.   Curated list of awesome things related to functional programming in Python   Traffic Sign Recognition with TensorFlow   In this part, I’ll talk about image classification and I’ll keep the model as simple as possible. In later parts, I’ll cover convolutional networks, data augmentation, and object detection.   Python 3 in one image   Can someone explain David Beazley's tweet ? I am glad someone on reddit asked this. I can't get some of David's tweets. It's from his book I learned Python. If you are on twitter follow him.   Projects wordvectors - 98 Stars, 11 Fork     Pre-trained word vectors of 30+ languages. This project has two purposes. First of all, I'd like to share some of my experience in nlp tasks such as segmentation or word vectors. The other, which is more important, is that probably some people are searching for pre-trained word vector models for non-English languages. tgboost - 76 Stars, 18 Fork Tiny Gradient Boosting Tree. It is a Tiny implement of Gradient Boosting tree, based on the xgboost algorithm, and support most features in xgboost. This project aims to help people get deeper insights into GBM, especially XGBoost. The current implement has little optimization, so the code is easy to follow. But this leads to high memory consumption and slow speed. squeaky-wheel - 65 Stars, 8 Fork Automatically run speed tests and tweet @ your ISP if they are garbage. hml-equation-parser - 9 Stars, 0 Fork If you have equation string from hml document, you can convert it to latex string by using eq2latex function. razer - 6 Stars, 3 Fork Patterns & Scrolling Text for Razer RGB LED Keyboards. sofia - 5 Stars, 0 Fork An simple monitor of memory usage in real time
 
   

ImportPython Newsletter Issue 133

 

 

 

Worthy Read Interacting with a long-running child process in Python The Python subprocess module is a powerful swiss-army knife for launching and interacting with child processes. It comes with several high-level APIs like call, check_output and (starting with Python 3. 5) run that are focused at child processes our program runs and waits to complete. In this post I want to discuss a variation of this task that is less directly addressed - long-running child processes.   debugging Seeing words: A Deep-Learning Classifier that can crunch Unicode and weird Youtube comments One of the things I’ve been thinking about recently is how to do natural language processing (NLP) effectively with deep neural networks using real world language examples. An example would be to classify the youtube comment  machine learning Hellosign Embed docs directly on your website with a few lines of code.   sponsor Exploring and cleaning the Union of Concerned Scientists database of Earth Satellites The Union of Concerned Scientists maintains a database of ~1000 Earth satellites. For the majority of satellites, it includes kinematic, material, electrical, political, functional, and economic characteristics, such as dry mass, launch date, orbit type, country of operator, and purpose. The data appears to have been mirrored on other satellite search websites, e. g.  http://satellites. findthedata. com/ . This iPython notebook describes a sequence of interactions with a snapshot of this database using the bayeslite implementation of BayesDB, using the Python bayeslite client library. The snapshot includes a population of satellites defined using the UCS data as well as a constellation of generative probabilistic models for this population.   data science Entity Extraction and Network Analysis How you can extract meaningful information from raw text and use it to analyze the networks of individuals hidden within your data set.   machine learning Making e-commerce business decisions using Scikit-learn Today, let’s learn how to build a simple linear regression model using Python’s Pandas and Scikit-learn libraries. Our goal is to build a model that analyses customer data and solves a problem for a (simulated) e-commerce business.   machine learning,  scikit-learn Python Quirks: Comments core-python Load Testing with Locust. io & Docker Swarm testing,  docker ,  locust FAT Python : the next chapter in Python optimization The FAT Python project was started by Victor Stinner in October 2015 to try to solve issues of previous attempts of “static optimizers” for Python. Victor has created a set of changes to CPython (Python Enhancement Proposals or “PEPs”), some example optimizations and benchmarks. We’ll explore those 3 levels in this article.   optimization K Means Clustering in Python machine learning f-strings For the Win It has been a long time coming, but I am now actively migrating existing projects to Python 3. Python 3. 6 specifically, because when I am done I will be able to take advantage of my new favourite feature everywhere! That feature is f-strings.   f-strings This one weird trick will simplify your ETL workflow | Stitch Fix Technology – Multithreaded Seashells Seashells lets you pipe output from command-line programs to the web in real-time, even without installing any new software on your machine. You can use it to monitor long-running processes like experiments that print progress to the console. You can also use Seashells to share output with friends!  project Arrange Act Assert pattern for Python developers // James Cooke // Brighton-based Python developer This is the first post in a series exploring the Arrange Act Assert pattern and how to apply it to Python tests.   testing Palindrome Dates numpy,  pandas , code snippets Save API Results to PostgreSQL for Free with AWS Lambda  In this tutorial I will show you how to use Amazon Web Services (AWS) Lambda service to save the results of an API response to a PostgreSQL database on a recurring schedule.   aws lambda Get Started with Matplotlib – Data Visualization for Python matpoltlib Jobs  Python Developer - with Orchestration experience using Openstack at Diversant Westlake, TX, United States Python Developer with Orchestration experience using Openstack. Westlake, TX. W2 ONLY!  NO C2C.  We can transfer your Visa!  2 1/2 year contract!   Projects crackcoin - 392 Stars, 28 Fork Very basic blockchain-free cryptocurrency PoC in Python. crocs - 334 Stars, 18 Fork Write regex using pure python class/function syntax and test it better. (Regex for humans). django-eraserhead - 67 Stars, 0 Fork Provide hints to optimize database usage by deferring unused fields (and more). winton-kafka-streams - 16 Stars, 3 Fork A Python implementation of Apache Kafka Streams py-clui - 13 Stars, 0 Fork This is a Python toolkit for quickly building nice looking command line interfaces. s3-environ - 8 Stars, 0 Fork Load environment variables from a AWS S3 file.
 
   

ImportPython Newsletter Issue 134.

 

 

 

Worthy Read First Python Notebook - Learn Pandas A step-by-step guide to analyzing data with Python and the Jupyter Notebook. This textbook will guide you through an investigation of money in politics using data from the California Civic Data Coalition. The course will teach you how to use pandas to read, filter, join, group, aggregate and rank structured data.   Revisiting Unit Testing and Mocking in Python This post covers some higher-level software engineering principles demonstrated in my experience with Python testing over the past year and half. In particular, I want to revisit the idea of patching mock objects in unit tests.   Orchestrate Your DevOps Toolchain As a DevOps leader it’s up to you to balance the autonomy and flexibility of a DevOps approach with the business value it was meant to create by making all your pipeline tools more collaborative, integrated, and automated. But challenges arise when you have multiple instances of the same tool, different tools with overlapping functionality, no ability to collaborate across teams—all resulting in unknown bottlenecks and complicated or no reporting. Read this Gartner research note to learn how to patch any leaks in your DevOps toolchain. Data Science: Performance of Python vs Pandas vs Numpy – Machine Learning Experiments Speed and time is a key factor for any Data Scientist. In business, you do not usually work with toy datasets having thousands of samples. It is more likely that your datasets will contain millions or hundreds of millions samples. Customer orders, web logs, billing events, stock prices – datasets now are huge.   Universal Jinja: a crazy idea for a Python-ready Frontend Python 3 vs Python 2: It’s Different This Time A difficult decision for any Python team is whether to move from Python 2 and into Python 3. Although this is not a new decision for Python development teams, 2017 brings with it several important differences that make this decision crucial for proper forward planning. It feels like this is the year that we're really seeing the move to Python 3. It has been a long road, but Python 3 may finally have the upper hand.   Parsing in Python: all the tools and libraries you can use conda-merge Tool for merging Conda (Anaconda) environment files into one file. This is used to merge your application environment file with any other environment file you might need (e. g. unit-tests, debugging, jupyter notebooks) and create a consistent environment without breaking dependencies from the previous environment files.   faker-schema Generate fake data using joke2k's faker and your own schema.   Dockerizing Django, uWSGI and Postgres the serious way Let’s dockerize a serious Django application. Curator's note - Love the humour in the article. Let’s Create Our Own Cryptocurrency - Using Python I’ve been itching to build my own cryptocurrency… and I shall give it an unoriginal name - Cranky Coin. After giving it a lot of thought, I decided to use Python. GIL thread concurrency is sufficient. Mining might suffer, but can be replaced with a C mining module. Most importantly, code will be easier to read for open source contributors and will be heavily unit tested. Using frozen pip dependencies, virtualenv, and vagrant or docker, we can fire this up fairly easily under any operating system.   Creating a Jupyter notebook widget This post will provide a step-by-step tutorial for creating and running a Jupyter widget.   Let’s Build the Tiniest Blockchain In Less Than 50 Lines of Python.   Python3 asyncio - call async code from synchronous code Projects yams - 57 Stars, 6 Fork A collection of Ansible roles for automating infosec builds. dependency - 16 Stars, 0 Fork A dependency injection framework for Python. ptime - 15 Stars, 1 Fork IPython magic for parallel profiling. sammy - 12 Stars, 1 Fork Python library for generating AWS SAM (Serverless Application Model) templates with validation. cpython_core_tutorial - 9 Stars, 0 Fork Tutorial to contribute to the CPython project bod - 3 Stars, 0 Fork objdump beautifier yacron: - 0 Stars, 0 Fork A modern Cron replacement that is Docker-friendly. Creating your first Python program I want to highlight that we recently create tutorials on Python that took 160+ hours to create with beautifully annotated screenshot, and is very comprehensive. The tutorials are created by a Google veteran and I have personally edited them. The course covers Python Basics like Introduction, Environment setup and Install Guide. It also introduces Main Function, Variables, Strings, Tuple, Conditional Statements, OOP Concepts, and Loop. We also touch on advanced topics like Regex Tutorial, OS Module, Shell Script Commands, and XML Parser. Here is the Link: http://www. guru99. com/creating-your-first-python-program. html
 
   

ImportPython Newsletter Issue 143, Razvoj Python mikroservisa

 

 

 

Worthy Read Free Continuous Delivery eBook from GoCD This free reference guide will take you back to the basics. You’ll find visuals and definitions on key concepts and questions you need to answer about your teams to determine your readiness for continuous delivery. Download and share with your team.   How Did We Build Book Recommender Systems in an Hour Part 1 — The Fundamentals Building recommender systems today requires specialized expertise in analytics, machine learning and software engineering, and learning new skills and tools is difficult and time-consuming. In this post, we will start from scratch, covering some basic fundamental techniques and implementations in Python. In the future posts, we will cover more sophisticated methods such as content-based filtering and collaborative based filtering.   Python Gem #19: Look up table > if chain What should be a really simple function has turned into a fifty-line gargantuan that’s too hard to read properly because of the sheer number of lines. The culprit; a seriously long if-elsif-else chain. But not to fear; there’s a better way!  My favorite terrible Python error message TypeError: object() takes no parameters  A TDD approach or building microprocessor model in Python Modern microprocessors are a very complex piece of machinery with a lot of different parts. I've learned assembler and microprocessors in my undergraduate course some years ago but, as I've been working on higher level software languages for quite some time now, I forgot many things. Lately I decided to revisit some of the topics on microprocessors and to build a very simple model of a microprocessor in Python for education purposes (I work as CS professor). You can find the final source code and some samples at https://github. com/joaoventura/simproc.   4 interactive Sankey diagrams made in Python – plotly – Medium Plotly has a new member of the Plotly. js chart family: The Sankey diagram. Jupyter notebook is at above the footnote of the blogpost.   Saasler Integrations, simplified: Integrate your SaaS app with others apps in days, not months. Get started for free!  Mapping Traffic Accidents in Metro Manila I got my hands on a dataset on traffic accidents in Metro Manila early this year, and decided to enter the realm of data science with a simple cleaning and visualization project. The primary goal: supplement the dataset’s human readable location data with geographic coordinates.   CPython internals: Arbitrary-precision integer implementation Have you ever noticed that Python supports integers of any size? Here is a quick glance at it.   How Did We Build Book Recommender Systems in An Hour Part 2 — k Nearest Neighbors and Matrix… In the last post, we saw how we could use simple correlational techniques to create a measure of similarity between the books’ users based on their rating records. In this post, we will explain how you can use those same sort of similarity metrics to recommend books to a book’s readers.   Posting messages to Slack using incoming webhooks and Python3 Requests API I wanted to make a short post on using Slack’s incoming webhooks feature to post messages to Slack using the human-friendly Requests API in Python3.   Find Top Developers We help companies like Airbnb, Pfizer, and Artsy find great developers. Let us find your next great hire. Get started today.   Devs unknowingly use “malicious” modules snuck into official Python repository | Ars Technica Code packages available in PyPI contained modified installation scripts.   Jupyter, python, Image compression and svd In this short blogpost, I will explore few topics to illustrate the interactivity of the jupyter environment and the python availability of high quality libraries in the ecosystem.   Building a desktop notification tool using python The term desktop notifications refer to a graphical control element that communicates certain events to the user without forcing them to react to this notification immediately. In other words, it is a simple application which produces a notification message in form of a pop-up message on desktop.   Getting Started on Geospatial Analysis with Python, GeoJSON and GeoPandas Geospatial analysis applies statistical analysis to data that has geographical or geometrical components. In this tutorial, we’ll use Python to learn the basics of acquiring geospatial data, handling it, and visualizing it.  More specifically, we’ll do some interactive visualizations of the United States!  Automating Web Analytics through Python The current blog deals with the case how to implement web analytics in Python. I am enthusiastic about the options that are available inside Google Analytics. Google Analytics has a rich variety of metrics and dimensions available. It has a good visualization and an intuitive Graphic User Interface (GUI). However, in certain situations it makes sense to automate webanalytics and add advanced statistics and visualizations. In the current blog, I will show how to do that using Python.   TransitFlow — using Python and Processing to visualize regional transit frequency Transit networks with higher frequency and shorter waiting times will yield a more reliable and empowering experience for passengers than those with lower frequency and longer waiting times.   Remote-controlling macOS with a Python Telegram bot I needed a quick way to remotely perform system operations: adjusting & muting the system volume, screen brightness, and putting the display to sleep. After exploring several options, I found none of them to be viable for me, and thus, I set out to develop my own solution.   How to put that GPU to good use with Python In the example below, I’ve demonstrated how this can be done using Python in a way that doesn’t require deep knowledge of CUDA and its intricacies. For this example, I suggest using the Anaconda Python distribution, which makes managing different Python environments a breeze. Follow the download and setup instructions for Anaconda as given here for your specific operating system.   Return of the Consoles: Recreating Pokémon in Python Create a Github Gist with a simple Python script How to share code snippets from command line?  Don’t mess with the celery while it running a task Some time ago we decided to move part of our logic to celery. Several tasks was wrote and in one of them bash script was called, and this task never applied correct: first half of script was executed and then halted. I found that script running in processes, and can’t understand why it just stoped. Then I set some breakpoints in bash script and realised, that script stops at  Using categorical data in machine learning with python: from dummy variables to Deep category… From dummy variables to Deep category embedding and Cat2vec?—?Part 1 (Basic Methods).   Spatial joins in GeoPandas You can join two GeoPandas GeoDataFrames through conventional means with merge, but you can also use sjoin to capitalize on the spatial relationship between two frames.   The Beginner’s Guide to Text Vectorization Python Book RAZVOJ PYTHON MIKROSERVISA Projects face-alignment - 165 Stars, 25 Fork 2D and 3D Face alignment library build using pytorch MetaDockers - 44 Stars, 8 Fork Responsible for visualization the vulhub or docker. mygf-instagram - 34 Stars, 1 Fork Like posts of my girlfriend's Instagram using web api, don't need any api key and access tokens just login and password graphscii - 3 Stars, 0 Fork Print ASCII graphs in the terminal. xlsx2csv_gui - 2 Stars, 0 Fork Convert excel xlsx file's table to csv file, A GUI application on top of python/pyqt and other opensource softwares.
 
   
Strane: 12 3

 

Veze, linkovi
Linkedin Twitter Facebook
 
     
 
© Sva prava pridržana, Kompjuter biblioteka, Beograd, Obalskih radnika 4a, Telefon: +381 11 252 0 272
 
     
z