skip to navigation
skip to content

Not Logged In

django-flux 0.1.0

locally fetch, store, and present social media flux

Latest Version: 0.3.0

Here's the situation. You're on a website that you think is pretty cool and you think it may be worth following them on Twitter (or RSS, Facebook, Google+, etc). You hesitate. Will you be inundated with irrelevant content?

Although this information is readily available and often a click or two away, these additional clicks create an unnecessary barrier to entry. The goal of flux is to make it possible to quickly assess the utility of following a particular feed of content and whether the flux of relevant content will be useful for you. Currently, flux supports:

Quick start

  1. Install flux with pip:

    [shell]$ pip install django-flux
    
  2. Add flux to the INSTALLED_APPS <https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps> in settings.py of your django project:

    INSTALLED_APPS += ('flux', )
    
  3. Run syncdb to create the necessary tables:

    [shell]$ python manage.py syncdb
    
  4. Make sure the admin is enabled on your site and add accounts to monitor by visiting the admin page of your site (e.g., http://localhost:8000/admin/flux/account/add)

  5. Run the update_flux management command:

    [shell]$ python manage.py update_flux
    
  6. Use the flux_timeseries template tag on Account instances (account below) in your templates:

    <link rel="stylesheet" href="{{STATIC_URL}}flux/css/flux_timeseries.css" />
    
    {% load flux %}
    {% flux_timeseries account %}
    
  7. Customize the styling and layout by altering the CSS, and content accordingly

Production usage

To have the feeds monitored be continuously updated, add the following line to your crontab:

0 0 * * * /path/to/manage.py update_flux

Contribute!

  1. Clone the code from github
  2. Setup the virtualenv by following the instructions in example_project/virtualenv_requirements.txt
  3. Edit, test, and share your code. See the issues page for inspiration.
 
File Type Py Version Uploaded on Size
django-flux-0.1.0.tar.gz (md5) Source 2012-12-04 15KB
  • Downloads (All Versions):
  • 31 downloads in the last day
  • 163 downloads in the last week
  • 482 downloads in the last month