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.
Minimal and clean examples of machine learning algorithms
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 .
pip install --upgrade git+git://github.com/user/user_repository.git and you are done.
Simple code snippets showing how iterators and generators work in Python.
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.
The following steps will install TensorFlow1 on a fresh Digital Ocean virtual machine running Ubuntu.
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.
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.
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.
I first wrote a Python script to make a GIF illustration for any 5-unit color scheme.
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 ?
This post is high level description of how CPython (just Python below) manages object life cycle.
"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.
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.
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.
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.
Start a free JIRA Software trial and get this shirt.
A Pipfile, and its related Pipfile.lock, are a new (and much better!) replacement for pip's requirements.txt files.
Write with those green dots on your GitHub profile. This takes a message, encodes it to a simple bitmap font, and generates a bunch of git commits in the past.
A Trie, (also known as a prefix tree) is a special type of tree used to store associative data structures. A trie (pronounced try) gets its name from retrieval?—?its structure makes it a stellar matching algorithm. Repository for the article https://medium.com/algorithms/trie-prefix-tree-algorithm-ee7ab3fe3413#.e5281rxmo
financial_life is an opinionated framework written in Python that allows to simulate monetary flows between different types of accounts. These simulations allow a deeper understanding of financial plans and a better comparison of financial products (in particular loan conditions) for personal circumstances. With financial_life you can
An example project for configuring Djcelery with Flask application and dynamically changing tasks via REST API and through django admin.