May 25th, 2017

Python Bytes: #27 The PyCon 2017 recap and functional Python

Programing, Python, by admin.

<ul>
<li>All videos available: <a href=”https://www.youtube.com/channel/UCrJhliKNQ8g0qoE_zvL8eVg”>https://www.youtube.com/channel/UCrJhliKNQ8g0qoE_zvL8eVg</a></li>
<li>Lessons learned:
<ul>
<li>pick up swag on day one. vendors run out.</li>
<li>take business cards with you and keep them on you</li>
<li>Not your actual business cards unless you are representing your company.</li>
<li>Cards that have your social media, github account, blog, or podcast or whatever on them.</li>
<li>3×3 stickers are too big. 2×2 plenty big enough</li>
<li>lightening talks are awesome, because they are a lot of ranges of speaking experience</li>
<li>will definitely do that again</li>
<li>try to go to the talks that are important to you, but don’t over stress about it, since they are taped. However, it would be lame if all the rooms were empty, so don’t everybody ditch.</li>
<li>lastly: everyone knows Michael. </li>
</ul></li>
</ul> <p><strong>Michael #2:</strong> <a href=”https://www.fullstackpython.com/blog/aws-lambda-python-3-6.html”><strong>How to Create Your First Python 3.6 AWS Lambda Function</strong></a></p> <ul>
<li>Tutorial from <a href=”https://www.fullstackpython.com/”>Full Stack Python</a></li>
<li>Walks you through creating an account</li>
<li>Select your Python version (3.6, yes!)</li>
<li><code>def lambda_handler(event, context): …</code> # write this function, done!</li>
<li>Set and read environment variables (could be connection strings and API keys)</li>
</ul> <p><strong>Brian #3:</strong> <a href=”https://blog.jetbrains.com/pycharm/2017/05/how-to-publish-your-package-on-pypi/”><strong>How to Publish Your Package on PYPI</strong></a></p> <ul>
<li>jetbrains article
<ul>
<li>structure of the package</li>
<li>oops. doesn’t include src, see https://pythonbytes.fm/22</li>
<li>decent discussion of a the contents of the setup.py file (but interestingly absent is an example setup.py file)</li>
<li>good discussion of .pypirc file and links to the test and production PyPi</li>
<li>example of using twine to push to PyPI</li>
<li>overall: good discussion, but you’ll still need a decent example.</li>
</ul></li>
</ul> <p><strong>Michael #4:</strong> <a href=”http://coconut-lang.org/”><strong>Coconut: Simple, elegant, Pythonic functional programming</strong></a></p> <ul>
<li>Coconut is a functional programming language that compiles to Python. </li>
<li>Since all valid Python is valid Coconut, using Coconut will only extend and enhance what you’re already capable of in Python.</li>
<li><code>pip install coconut</code>
<ol>
<li>Some of Coconut’s major features include built-in, syntactic support for:</li>
<li>Pattern-matching,</li>
<li>Algebraic data-types,</li>
<li>Tail call optimization,</li>
<li>Partial application,</li>
<li>Better lambdas,</li>
<li>Parallelization primitives, and</li>
<li>A whole lot more, all of which can be found in <a href=”http://coconut.readthedocs.io/en/master/DOCS.html”>Coconut’s detailed documentation</a>.</li>
</ol></li>
<li>Talk Python episode coming in a week</li>
</ul> <p><strong>Brian #5:</strong> <a href=”https://choosealicense.com/”><strong>Choose a licence</strong></a></p> <ul>
<li>MIT : simple and permissive</li>
<li>Apache 2.0 : something extra about patents.</li>
<li>GPL v3 : this is the contagious one that requires derivitive work to also be GPL v3</li>
<li>Nice list with overviews of what they all mean with color coded bullet points: <a href=”https://choosealicense.com/licenses/”>https://choosealicense.com/licenses/</a></li>
</ul> <p><strong>Michael #6:</strong> <a href=”http://pythonforengineers.com/python-for-scientists-and-engineers/”><strong>Python for Scientists and Engineers</strong></a></p> <ul>
<li><strong>Table of contents</strong>:</li>
<li><strong>Beginners Start Here:</strong>
<ul>
<li><a href=”http://pythonforengineers.com/create-a-word-counter-in-python/”><strong>Create a Word Counter in Python</strong></a></li>
<li><a href=”http://pythonforengineers.com/an-introduction-to-numpy-and-matplotlib/”><strong>An introduction to Numpy and Matplotlib</strong></a></li>
<li><a href=”http://pythonforengineers.com/introduction-to-pandas/”><strong>Introduction to Pandas with Practical Examples (New)</strong></a></li>
</ul></li>
<li><strong>Main Book</strong>
<ul>
<li><a href=”http://pythonforengineers.com/image-and-video-processing-in-python/”><strong>Image and Video Processing in Python</strong></a></li>
<li><a href=”http://pythonforengineers.com/data-analysis-with-pandas/”><strong>Data Analysis with Pandas</strong></a></li>
<li><a href=”http://pythonforengineers.com/audio-and-digital-signal-processingdsp-in-python/”><strong>Audio and Digital Signal Processing (DSP)</strong></a></li>
<li><a href=”http://pythonforengineers.com/control-your-raspberry-pi-from-your-phone-tablet/”><strong>Control Your Raspberry Pi From Your Phone / Tablet</strong></a></li>
</ul></li>
<li><strong>Machine Learning Section</strong>
<ul>
<li><a href=”http://pythonforengineers.com/machine-learning-with-an-amazon-like-recommendation-engine/”><strong>Machine Learning with an Amazon like Recommendation Engine</strong></a></li>
<li><a href=”http://pythonforengineers.com/machine-learning-for-complete-beginners/”><strong>Machine Learning For Complete Beginners:</strong></a> <em><em></em></em>Learn how to predict how many Titanic survivors using machine learning. No previous knowledge needed!</li>
<li><a href=”http://pythonforengineers.com/cross-validation-and-model-selection/”><strong>Cross Validation and Model Selection</strong></a>: In which we look at cross validation, and how to choose between different machine learning algorithms. Working with the Iris flower dataset and the Pima diabetes dataset.</li>
</ul></li>
<li><strong>Natural Language Processing</strong>
<ul>
<li><a href=”http://pythonforengineers.com/natural-language-processing-and-sentiment-analysis-with-python/”><strong>Introduction to NLP and Sentiment Analysis</strong></a></li>
<li><a href=”http://pythonforengineers.com/introduction-to-nltk-natural-language-processing-with-python/”><strong>Natural Language Processing with NTLK</strong></a></li>
<li><a href=”http://pythonforengineers.com/intro-to-nltk-part-2/”><strong>Intro to NTLK, Part 2</strong></a></li>
<li><a href=”http://pythonforengineers.com/build-a-sentiment-analysis-app-with-movie-reviews/”><strong>Build a sentiment analysis program</strong></a></li>
<li><a href=”http://pythonforengineers.com/practice-session-sentiment-analysis-with-twitter/”><strong>Sentiment Analysis with Twitter</strong></a></li>
<li><a href=”http://pythonforengineers.com/analysing-the-enron-email-corpus/”><strong>Analysing the Enron Email Corpus</strong></a>: The Enron Email corpus has half a million files spread over 2.5 GB. When looking at data this size, the question is, where do you even start?</li>
<li><a href=”http://pythonforengineers.com/build-a-spam-filter/”><strong>Build a Spam Filter using the Enron Corpus</strong></a></li>
</ul></li>
</ul> <p><strong>In other news</strong>:</p> <ul>
<li><a href=”https://pragprog.com/book/bopytest/python-testing-with-pytest”>Python Testing with pytest</a> Beta release and initial feedback is going very well.</li>
</ul>

Back Top

Leave a Reply