Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22462

Import Python: ImportPython Issue 94

$
0
0

Worthy Read

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.

Talk by Steven F. Lott.

AST
Write Python code and see how the ast looks like in the browser right now. No installation needed.

This project tries to provide a lot of piece of Python code that makes life easier.

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.


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

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 (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
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.

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 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.

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.

The Python Imaging Library or PIL allowed you to do image processing in Python. Here is a tutorial.

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.

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.



Upcoming Conference / User Group Meet








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 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.

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.


Viewing all articles
Browse latest Browse all 22462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>