Import python 100th Issue Quiz
It's been 2 years of curating ImportPython and today is the 100th Issue. Wow. What a moment ?. Here is a python quiz competition. Five random() participants who answer all questions correctly win complete bundle of Writing Idiomatic python book by Jeff Knupp. If you take the quiz at the end of it is a link with discount too. This quiz is an our attempt at having fun and saying thanks to all you readers of ImportPython. Do take to twitter with the hashtag #importpython100 happy to hear what you have to say.
importpython
MLAlgorithms
Minimal and clean examples of machine learning algorithms
machine learning
,algorithms
New Relic Infrastructure
Move fast, with confidence. Learn more about Infrastructure at an upcoming webinar. Curator's note - I used Newrelic in all my projects. It's drill down of performance from browser to one's backend is very helpful when it comes to optimizing. Check out New Relic Python Documentation on how to integrate it with your codebase https://docs.newrelic.com/docs/agents/python-agent/getting-started/new-relic-python .
Sponsor
Using pip to Install Python Packages from github
pip install --upgrade git+git://github.com/user/user_repository.git and you are done.
pip
,github
Iterators and Generators in Python
Simple code snippets showing how iterators and generators work in Python.
core-python
Patrick Kennedy: Unit Testing a Flask Application
This blog post provides an introduction to unit testing a Flask application. I’ve been on a big unit testing kick at work recently which is spilling over into updating the unit tests for my personal projects. Therefore, I thought it would be a good time to document the basics of unit testing a Flask application.
testing
,flask
Tensorflow Python Setup on DigitalOcean
The following steps will install TensorFlow1 on a fresh Digital Ocean virtual machine running Ubuntu.
tensorflow
,digitalocean
Building a Financial Model withPandas - By Chris Moffitt
This specific post will discuss how to do financial modeling in pandas instead of Excel. For this example, I will build a simple amortization table in pandas and show how to model various outcomes.
pandas
Custom Filters and Ordered Dicts
This week I ran into a minor problem that took a surprising amount of time to resolve. Getting a Django template to produce a dict in sorted order. While there were answers out there, none seemed to match the environment that I am using (python 3, Django 1.10). After some experimentation, I finally came up with what I think is a good solution.
django
,python3
Web Scraping Tutorial using BeautifulSoup
In this tutorial, we’ll show you how to perform web scraping using Python 3 and the BeautifulSoup library. We’ll be scraping weather forecasts from the National Weather Service, and then analyzing them using the Pandas library.
beautifulsoup
Making animated GIFs in Python
I first wrote a Python script to make a GIF illustration for any 5-unit color scheme.
gif
How to get superior text processing in Python with Pynini ?
Regular expressions are the standard for string processing, but did you know you can often get better text untangling with Pynini's finite-state transducers ?
regex
CPython memory management
This post is high level description of how CPython (just Python below) manages object life cycle.
cpython
The Case Against Python 3
"There is high probability that Python 3 is such a failure it will kill Python" - Zed Shaw. As Curator of a Python Newsletter for 2+ years I can tell you at-least 20-30% of all articles I read of late have code written only for Python 3. Just recently I was at Pycon India and met lot of student who never wrote a single line in 2.x. Startup founders starting with new development choosing Python 3. Lot of people are sleeping on Python 3. A year more and hopefully everyone will be awake.
python3
Using Python for Research - Harvard University Course - edx
Take your introductory knowledge of Python programming to the next level and learn how to use Python 3 for your research. You will learn Python 3 programming basics, Python tools (e.g., NumPy and SciPy modules) for research applications, How to apply Python research tools in practical settings.
course
,mooc
Watermarking images on Django sites
Have you ever noticed how stock photography sites add watermarks to the images shown on their catalogs ? They do that to make sure people don’t just take the free samples and use them without proper licensing. Turns out this is pretty easy to do it with Pillow.
pillow
,watermarking
Metaprogramming and Django - Using Decorators
The article starts of with an introduction snippet to decorators and then goes on to explore some real world examples in context of Django. Personally one good find in the article was boltons library.
django
,decorators
JIRA Software
Start a free JIRA Software trial and ge