Logo for Python Social Media Networking App

Social Networks with Python & Stream

Stream helps you build social media networking sites and apps with Python. Build, scale and personalize your news feeds and activity streams with our Activity Feed API.

Start Hacking

Build Better Apps, Faster

Stream is the fastest feed service
Stream is used for social media companies that need feeds that scale
Stream is the fastest feed service

Interactive Demo

Try the API

Build Social Networks with Python

Whether you want to build a news feed like Twitter, Instagram, Spotify or Facebook we have you covered. Stream's API enables you to build, scale and personalization your news feeds and activity streams.

Python Aggregated Feeds, Ranked Feeds, feed specific analytics and personalization all help you make improvements to your social media app's engagement, retention and conversion.

Working with the Stream API in the Python language

Python is a powerful, mature coding language that is easy to learn and has a very strong following across web, systems and scientific developer communities.

When it comes to building large, performant and reliable web applications, Python is a solid choice. It’s trusted by developers at the largest of tech companies like Google, Facebook, Instagram, Twitter, and Uber. We use it heavily at Stream.

As a language, Python is somewhat unique in that it uses whitespace and indentation rather than semi-colons and brackets to delineate code-blocks. These syntax rules and other popular style conventions lead to more concise code. It’s also argued that this characteristic makes it easier to read and therefore learn the language.

For the web, the vast majority of developers have migrated to two popular frameworks, Django and Flask. Plenty of teams also create “from scratch”.

For deployment and hosting there are a myriad of options with Python. Heroku and Google App Engine are popular platform hosts while there are always the go-to options of Amazon Web Services, Azure, Digital Ocean, and Google Cloud Platform.

Getting started: open source API Client

Our Client API for Python is stream-python.

Continuous integration is via Travis and we publish to the Python Package Index. Contributions in the form of issues, feature suggestions and pull requests are most welcome.

API for Feeds

Stream is an API for building scalable news feeds and activity streams. Try it out in this 5 minute interactive tutorial. To run the examples you'll need an API key. Register to continue...

var client = stream.connect('GET YOUR KEY');
var chrisFeed = client.feed('user', 'chris');
// Add the activity to the feed
actor: 'chris',
verb: 'add',
object: picture:10,
message: 'Working on improving the user experience of the Stream Dashboard...'
Flexible Implementation
Implement with Python or many other languages and platforms