Episode #27: The PyCon 2017 recap and functional Python
Published Thurs, May 25, 2017, recorded Tues, May 23, 2017.
- All videos available: https://www.youtube.com/channel/UCrJhliKNQ8g0qoE_zvL8eVg
- Lessons learned:
- pick up swag on day one. vendors run out.
- take business cards with you and keep them on you
- Not your actual business cards unless you are representing your company.
- Cards that have your social media, github account, blog, or podcast or whatever on them.
- 3x3 stickers are too big. 2x2 plenty big enough
- lightening talks are awesome, because they are a lot of ranges of speaking experience
- will definitely do that again
- 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.
- lastly: everyone knows Michael.
- Tutorial from Full Stack Python
- Walks you through creating an account
- Select your Python version (3.6, yes!)
def lambda_handler(event, context): …# write this function, done!
- Set and read environment variables (could be connection strings and API keys)
Brian #3: How to Publish Your Package on PYPI
- jetbrains article
- structure of the package
- oops. doesn't include src, see https://pythonbytes.fm/22
- decent discussion of a the contents of the setup.py file (but interestingly absent is an example setup.py file)
- good discussion of .pypirc file and links to the test and production PyPi
- example of using twine to push to PyPI
- overall: good discussion, but you'll still need a decent example.
- Coconut is a functional programming language that compiles to Python.
- Since all valid Python is valid Coconut, using Coconut will only extend and enhance what you're already capable of in Python.
pip install coconut
- Some of Coconut’s major features include built-in, syntactic support for:
- Algebraic data-types,
- Tail call optimization,
- Partial application,
- Better lambdas,
- Parallelization primitives, and
- A whole lot more, all of which can be found in Coconut’s detailed documentation.
- Talk Python episode coming in a week
Brian #5: Choose a licence
- MIT : simple and permissive
- Apache 2.0 : something extra about patents.
- GPL v3 : this is the contagious one that requires derivitive work to also be GPL v3
- Nice list with overviews of what they all mean with color coded bullet points: https://choosealicense.com/licenses/
Michael #6: Python for Scientists and Engineers
- Table of contents:
- Beginners Start Here:
- Main Book
- Machine Learning Section
- Machine Learning with an Amazon like Recommendation Engine
- Machine Learning For Complete Beginners: Learn how to predict how many Titanic survivors using machine learning. No previous knowledge needed!
- Cross Validation and Model Selection: 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.
- Natural Language Processing
- Introduction to NLP and Sentiment Analysis
- Natural Language Processing with NTLK
- Intro to NTLK, Part 2
- Build a sentiment analysis program
- Sentiment Analysis with Twitter
- Analysing the Enron Email Corpus: 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?
- Build a Spam Filter using the Enron Corpus
In other news:
- Python Testing with pytest Beta release and initial feedback is going very well.