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

Analyzing Python for Sourcegraph

Sourcegraph ( is a code search engine that indexes over 300,000 open source Python libraries (and hundreds of thousands more in other languages). In addition to search, it allows the user to jump to definitions and find usage examples for any function they see in code. To provide these features, Sourcegraph must parse and semantically analyze each repository it indexes. I'll talk about the design and architecture of our open-source language analysis toolchain, particularly how we handle the hairy problems of resolving dependencies and inferring types in Python. And I'll explain how people can use this information to build better programming tools.


Beyang is co-creator of Sourcegraph. He hopes you like it and would love to hear any feedback you have, so please say hi! Previously, he worked on data analysis and visualization at Palantir and researched computer vision algorithms in Professor Daphne Koller's lab at Stanford University. He currently lives in San Francisco, but loves visiting the warmer climates of Mountain View.

Meeting Schedule

7:00 pm Dinner and networking 
7:30 pm Presentation 

*This is a Bay Area Python Interest Group (BayPIGgies) organized event. Please also see their web page:

Join or login to comment.

  • Oliver Z.

    This event was held at LinkedIn HQ in Mountain View by the BayPIGgies (Python Interest Group). Beyong Liu from Sourcegraph gave a brief introduction of srclib / sourcegraph tools, how it could chop, knit and stitch the very complex world of Python libraries.

    The project is very ambitious given the nature of language, srclib does the task through a few stages: scanning, resolve dependency, graphing and formatting. The advantages are cross-language and output language-independent.

    Sourcegraph is a discovery tool for the programing languages, if you are interested in open source projects for Python, Go, JavaScript or other language, I highly recommend Sourcegraph.

    Thanks to LinkedIn for providing the venue and facility.

    November 3, 2014

  • A former member
    A former member

    Great talking to folks at the meetup today. Here are my slides:

    Here's links to related talks about srclib and Sourcegraph if you're curious:

    1 · October 24, 2014

  • Lawrence

    Is there anyone interested in forming a study group for python? So we can discuss issues, code reviews or working on small projects together. I want to speed up the learning process. Please send me message if you are interested. [masked]

    1 · October 23, 2014

  • evans

    Thanks Beyang to contribute this talk. I learn a lot today.

    October 23, 2014

  • A former member
    A former member

    The address listed seems wrong. What's the actual address?

    October 23, 2014

  • Eva

    The one on the opposite of 2061.. I think it's 2025 Ct

    1 · October 23, 2014

  • Petr G.

    If anyone is interested to carpool, I've created an event on with event key


    Please feel free to participate.

    October 23, 2014

  • A former member
    A former member

    Hey everyone, looking forward to talking about Python analysis on Thursday. Just FYI, I'm thinking of going over some command-line examples with an open-source tool called srclib. Here's the link to install it if you want to do so ahead of time and follow along during the talk:

    2 · October 21, 2014

Our Sponsors

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