Latest: #27 The PyCon 2017 recap and functional Python

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

Michael #2: How to Create Your First Python 3.6 AWS Lambda Function

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

Michael #4: Coconut: Simple, elegant, Pythonic functional programming

  • 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
    1. Some of Coconut’s major features include built-in, syntactic support for:
    2. Pattern-matching,
    3. Algebraic data-types,
    4. Tail call optimization,
    5. Partial application,
    6. Better lambdas,
    7. Parallelization primitives, and
    8. 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

In other news:


Full details

What is Python Bytes?

Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. Python Bytes podcast delivers headlines directly to your earbuds. If you want to stay up on the Python developer news but don't have time to scour reddit, twitter, and other news sources, just subscribe and you'll get the best picks delivered weekly.

Have feedback for the show? Send it to contact_pythonbytes@talkpython.fm. We'd love to hear from you.

Michael Kennedy
Brian Okken

What listeners think

Just wanted to let you guys know how much I enjoy your new podcast. These BYTE sized chunks of news is a great concept and keeps me up to date.
Leonardo Vega
Thank you
Keep up the great work!!!
Joshuiagio
Love the show!
It's great hearing you talk about stuff I've recently seen mentioned on Twitter or Reddit. Also all the other things I've missed!
Clamytoe
Do you love the show and want to tell the world?
Send us a review or post one on iTunes. Thanks!

Suggest a headline

We are always on the look out for topics to cover on Python Bytes. We could use your help!

Do you have a great idea or item to feature on the show? Send us an email!