addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Python Magic

  • Nov 13, 2013 · 6:15 PM

November's presentation night on 11/13 will consist of lightning talks and 

1) ABSTRACT:

Descriptors! The descriptor protocol underlies cool and well-loved features of Python such as the @property decorator but nobody seems to write descriptors directly. Are they too verbose? Too difficult? Just not useful?

In this talk we'll understand how descriptors work, how to write your own, and when doing so might be useful!

BIO:

Simeon Franklin is a technical instructor for Twitter teaching Python to the tweeps.

2) ABSTRACT:

Metaclasses are one of Python's fascinating lesser-known features, which take the mantra of "everything is an object" to the next level. Metaclasses allow you to intervene on the creation of classes themselves -- not just their instances! In other words, metaclasses are like classes for classes. But, when would you ever need a class for a class? While it is rare to genuinely need a metaclass, they are a fun feature to know about and play with. In this talk, I will explain how metaclasses work, why you might want to use them, and provide an example of my own adventures in which I used a metaclass to rewrite method docstrings to be prefixed with the name of the class they belong to. 

BIO:

Jess Hamrick is a graduate student at UC Berkeley in the psychology department, studying computational models of cognition. She has used Python for five years, for everything including psychology experiments, data analysis, machine learning, and even an implementation of a printing protocol. Jess loves any excuse to learn more about the advanced intricacies of Python.

Agenda:

6:15p - Check-in and mingle, with Pizza and Beer provided by our generous sponsor Yelp!

7:00p - Welcome and announcements

7:10p - 3-4 Lightning Talks (5 minutes each)

7:30p - First Featured Talk

7:50p - First Q & A

8:00p - Second Featured Talk

8:20p - Second Q & A, followed by advanced mingling, ping pong, pool

9:30p - Doors close

Lightning talks:

Beyang Liu: Figuring out how to use Python libraries with Sourcegraph, a new Python-aware code search tool

Melanie Warrick: I <3 Redis & Cron: How I used them with my Python project


*Please take note of the important check-in details at Yelp*

*CHECK-IN PROCESS*

Doors will open at 6:15pm to allow enough time for the check-in process.

Please update the name on your account to reflect your FIRST NAME and LAST NAME. Yelp Security and Hy will be checking IDs at the door. *Please note: You WILL ONLY be allowed into the event if we have your first and last name (that matches the name on your ID) prior to the event.  

Since alcohol will be served at the event, we ask that any underage attendees RSVP directly to the meetup host.

Waiting list folks will be allowed into the event AFTER we admit all confirmed attendees.

Yelp is generously providing pizza, drinks, and beer in addition to their venue space. 

As usual, looking forward to meeting you and feel free to ping me with questions or suggestions.

Grace

Join or login to comment.

  • Evan D.

    And, without further ado, here is Simeon's talk on descriptors: http://crcl.to/ggx4l

    January 14, 2014

  • Evan D.

    Hey, here is the video for Jess Hamrick's talk: http://crcl.to/obm27

    Apologies it took so long to get it here. Simeon's talk will be posted tomorrow...

    1 · January 13, 2014

  • Simeon F.

    Great talkon descriptors ;)

    4 · November 13, 2013

  • Simeon F.

    If anybody wants my slides: http://simeonfranklin.com/blog/2013/nov/17/descriptors-talk-sf-python/

    I'll drop video links here when we get footage up.

    November 18, 2013

  • Stefan M.

    Descriptors are a very important topic, and Simeon's presentation was not only intuitive and thorough, but entertaining. Simeon has always been helpful to me on the Python Project Nights, and his on-stage presentation really showed how his charm could shine through to a large audience.

    2 · November 14, 2013

  • Stefan M.

    For anyone that has used a debugger to step through all the lines in django.db.models.base.ModelBase, you know how complicated and obtuse a Metaclass can be. Jess's presentation is a far better introduction to using Metaclasses, which had the single goal of descriptively instantiating docstrings for parent and child classes. Metaclasses are a difficult topic, and it would nice if someone would give a talk at intermediate level at a future Meetup.

    1 · November 14, 2013

  • Stefan M.

    I really liked Melanie's demonstration of how easy it is to integrate Redis and Cron. Her presentation was clear, well-detailed, and her SF MicroClimate App was darn-right cute!

    1 · November 14, 2013

  • Charles C.

    Good talks all around, thanks Hy, Grace, Simeon + Yelp!

    1 · November 14, 2013

  • Stefan M.

    At a Django Meetup in Aug 2013, Beyang gave a nice presentation of SourceGraph when it was still in beta. After seeing him show how useful this web service can be for developers, I took it out for a spin. All the features worked as promised, and I will use again! It might also be cool if somehow SourceGraph could also link to relevant posts on StackOverflow.

    My test case on SourceGraph was to find projects that used both fullcalendar.js and Django1.5, and it confirmed my repeated Google searches that any projects using fullcalendar and Python are not maintained, and I will have to roll my own. StackOverflow did have one useful post on how to set up the AJAX request and response, but not a full implementation.

    November 14, 2013

  • Beyang L.

    Thanks Hy, Grace, and Simeon for organizing, thanks to David for filming. Loved the other talks, esp. on descriptors. And thanks to Yelp for hosting!

    Here's the link to Sourcegraph again in case anyone missed it: https://sourcegraph.com. Let us know what you think!

    2 · November 14, 2013

  • Gabriel R.

    Super interesting, I learned stuff that I didn't know

    November 13, 2013

  • Ahmer K.

    Thanks much for the presentations. Very helpful and informative.

    2 · November 13, 2013

  • Brian B.

    Grace, Hy, if it's possible to request Gluten Free pizza, I request it. Thx in advance.

    2 · November 12, 2013

    • Hy C.

      We've got some good news folks. Julia at Yelp secured a few gluten free pizzas for us tonight. This is in addition to the usual pizzas, salads, beer, juices, soda and smiles with which they spoil us.

      November 13, 2013

    • Brian B.

      Terrific! Thanks Yelp and organizers.

      November 13, 2013

  • Beyang L.

    Hey everyone. I'll be talking about a Python-aware code search engine I'm working on tonight, but thought I'd send out the link beforehand in case anyone wanted to check it out. Feedback welcome!

    https://sourcegraph.com
    https://sourcegraph.com/github.com/django/django/symbols/python/django/db/models/fields/CharField

    3 · November 13, 2013

    • Nate A.

      Very cool to hear about Sourcegraph. It looks like a really great service. Thanks for sharing!

      November 13, 2013

  • Hy C.

    We have a great event planned for tonight. The RSVP list closes at noon today. At noon, I will merge the RSVP with the list of full names ( http://goo.gl/PRz1FS ) to provide Yelp security with our final attendee list. Please make sure to update your RSVP/name by then. Thanks and see you tonight!

    November 13, 2013

    • Hy C.

      RSVPs are closed. Please contact us (your organizers) directly with any late questions/requests.

      November 13, 2013

    • Shannon -jj B.

      Hey, Hy, I'm sorry I missed the deadline. Is there any chance you can add me to the list?

      November 13, 2013

  • Josh B.

    Grace,

    I'd like to coordinate so that I don't schedule SF Postgres on the same nights as SF Python. But it seems like I don't even hear about SF Python until a week before the event. Is there some way to change that?

    November 12, 2013

    • Josh B.

      Grace,

      November 13, 2013

    • Josh B.

      (gah, this reply webform is way broken) Thanks. The hacknights and September had given me the impression that your schedule was as chaotic as ours has been lately; we've had to go off our "2nd Tuesday of the Month" schedule because of multiple out-of-town visiting speakers. The "save the date" events do work; You'll notice that I've put up such events through March for SF Postgres.

      November 13, 2013

  • Hy C.

    Yelp has a gorgeous meeting space for us, but cannot currently provide any bike storage. Does anyone have ideas for where to park bikes (semi-)securely nearby 140 New Montgomery Street? Thanks.

    1 · November 12, 2013

    • Tajalli

      Some of the BART stations have interior parking for bikes. for the price of entering and exiting the station one could park one's bike.

      November 13, 2013

    • Hy C.

      That could work for some people. According to http://bartbikestatio...­ Embarcadero Station has self-service bike storage for registered users whenever the station is open. I have not tried this, but with the advance purchase of BikeLink card online, at Fruitvale, or at Downtown Berkeley one could park at Embarcadero. Does anyone have more details or other ideas?

      November 13, 2013

  • Stefan M.

    These are great topics. Just this week, I've been reading about the nitty-gritty of both Descriptors and Metaclasses in the book "Pro Django". I'm sure these talks will give even greater insight and hopefully some cool examples.

    November 8, 2013

Our Sponsors

  • Yelp

    Platinum Sponsor, also a host for majority of our events.

  • Sentry

    Sponsoring the venue, food, and drinks for Open Source Sprint weekend

  • Google Launchpad Space

    Sponsoring the venue, food, and drinks for Project Night in April

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy