ImportPython Weekly - 94

1 year ago


Text only:

ImportPython Newsletter
Issue 94.
View In Browser
Worthy
Read
Review of Djaneiro, a Sublime Text plugin for Django development.
django,
sublime
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 ratings.
PyData DC 2016 -- The Five Kinds of Python Functions
core python
Talk by Steven F. Lott.
Python AST explorer
AST
Write Python code and see how the ast looks like in the browser right now. No installation needed.
Python cheat sheets
resource
This project tries to provide a lot of piece of Python code that makes life easier.
pandasql: Make python speak SQL
sql
pandasql, a Python package we (Yhat) wrote that emulates the R package sqldf. It's a small but mighty library comprised of just 358 lines of code. The idea of pandasql is to make Python speak SQL. For those of you who come from a SQL-first background or still "think in SQL", pandasql is a nice way to take advantage of the strengths of both languages.
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.
Sponsor
Python Library for Learning Binary Trees
opensource project
BinaryTree is a minimal Python library which provides you with a simple API to generate, visualize and inspect binary trees so you can skip the tedious work of mocking up test trees, and dive right into practising your algorithms! Heaps and BSTs (binary search trees) are also supported.
Patat – Terminal-based presentations using Pandoc
opensource project
patat (Presentations And The ANSI Terminal) is a small tool that allows you to show presentations using only an ANSI terminal. It does not require ncurses.
PyCon 2017 site is live
pycon
PyCon 2017 ( US ) site is live. Note - Registration starts on Oct 17th. If you are looking to speak/attend reach out dates for talk/tutorial/paper aka Call For Proposals ( CFP ) submission.
Async Python: The Different Forms of Concurrency - By Abu Ashraf Masnun
concurrency
In this post we shall explore the different ways we can achieve concurrency and the benefits/drawbacks of them. With the advent of Python 3 the way we’re hearing a lot of buzz about “async” and “concurrency”, one might simply assume that Python recently introduced these concepts/capabilities. But that would be quite far from the truth. We have had async and concurrent operations for quite some times now. Also many beginners may think that asyncio is the only/best way to do async/concurrent operations.
Functional Python
core python
Functional programming is a discipline, not a language feature. It is supported by a wide variety of languages, although those languages can make it more or less difficult to practice the discipline. Python has a number of features that support functional programming, including map/reduce functions, partial application, and decorators.
A Whirlwind Tour of Python
python3
Jake VanderPlas explains Python’s essential syntax and semantics, built-in data types and structures, function definitions, control flow statements, and more, using Python 3 syntax.
An Intro to the Python Imaging Library / Pillow
pillow
The Python Imaging Library or PIL allowed you to do image processing in Python. Here is a tutorial.
How to Create a Diff of an Image in Python
image processing,
pillow
For the past couple of years, I’ve been writing automated tests for my employer. One of the many types of tests that I do is comparing how an application draws. Does it draw the same way every single time? If not, then we have a serious problem. An easy way to check that it draws the same each time is to take a screenshot and then compare it to future versions of the same drawing when the application gets updated.
Get names and types of all attributes of a Python module
code snippet
This recipe shows how to get the names and types of all the attributes of a Python module. This can be useful when exploring new modules (either built-in or third-party), because attributes are mostly a) data elements or b) functions or methods, and for either of those, you would like to know the type of the attribute, so that, if it is a data element, you can print it, and if it is a function or method, you can print its docstring to get brief help on its arguments, processsing and outputs or return values, as a way of learning how to use it.
Projects
RocketFuelPython -
8 Stars, 0
Fork
A Python implementation of RocketFuel topology mapping engine.
testssl.sh-masscan -
7 Stars, 0
Fork
Make TLS/SSL security mass scans with testssl.sh and import results into ElasticSearch. Script collection for generating testssl.sh command lines that can be executed sequentially or in parallel with tools like GNU Parallel and importing the results into a structured document in ElasticSearch for further analysis.
RacketCallGraph -
7 Stars, 2
Fork
A simple Python script that generate Call Graph of simple Racket program by generating dot language scripts. It uses naive approach that basically traverse the program and maintain a state machine regardless of context. Currently it only maintain a FSM so advance features of Racket, like lambda-function is not support, will improve if needed in the future.
gender_classification_challenge -
5 Stars, 7
Fork
Gender Classification Challenge for 'Learn Python for Data Science #1'. This is the code for the gender classification challenge for 'Learn Python for Data Science #1' by @Sirajology on YouTube. The code uses the scikit-learn machine learning library to train a decision tree on a small dataset of body metrics (height, width, and shoe size) labeled male or female. Then we can predict the gender of someone given a novel set of body metrics.
second_2016_presidential_debate_twitter -
4 Stars, 0
Fork
tweets from the the second presidential debate. This repo contains data on roughly 150,000 debate tweets. However, to make the data compliant with Twitter's terms of service, the public data only contains tweet IDs. A short python script to convert that list of tweet IDs into the full twitter data is coming soon.
TrickleDownML -
4 Stars, 0
Fork
Start a conversation with Ronald Reagan!. I made a chatbot that mimics Ronald Reagan.
flask_church -
3 Stars, 0
Fork
An extension for Flask that help you generate fake data. Flask-Church is a small wrapper for Church library.
Upcoming Conference / User Group Meet
Python Northwest
PyCon CZ 2016
PyCon HK 2016
PyCon Finland 2016
PyCon Ireland 2016
PyCon Canada 2016
© 2014-2016 UpToSomething And Co.
You are receiving this email because you opted in on our website. You can unsubscribe whenever
you like. unsubscribe.
UpToSomething And Co
Om Elegance, Bld 3, Malad W
Mumbai, India 400064

Deel deze nieuwsbrief op

© 2017