[Interop-dev] Python packages (was: A survey of community network management solutions)

Mitar (spam-protected)
Fri May 22 11:46:20 CEST 2015


Hi!

> Is there any particular feature you have been able to extract into a
> separate python packagethat we can start contributing to?

Hm, I think our whole GitHub organization is full of various packages. :-)

https://github.com/wlanslovenija

If I focus on Python/Django ones, maybe of interest are:

https://github.com/wlanslovenija/django-datastream
https://github.com/wlanslovenija/datastream

An improved package to allow extending Django templates:

https://github.com/wlanslovenija/django-overextends/tree/wlanslovenija

(You can in a Django app define a template with the same name as in the
other Django app, and it will correctly extend in order.)

Various utility functions for Django:

https://github.com/wlanslovenija/django-missing

Improved UltraJSON:

https://github.com/wlanslovenija/ultrajson

>   * https://github.com/djangonauts/django-rest-framework-gis (geojson api)
>   * https://github.com/djangonauts/django-hstore (key value store in
>     postgres)
>   * https://github.com/djangonauts/django-rest-framework-hstore (add
>     support for hstore in django-rest-framework)

I see that you are using Django REST framework? How do you like it? We
have been using Tastypie until now and made quite some code around it,
but as it is not so actively developed, I am not sure if we should
slowly move away from it. But Django REST framework didn't really look
like it has all things we would need and get used to, at least the last
time I checked.

>   * https://github.com/ninuxorg/netdiff (detect changes in network topology)
>   * https://github.com/ninuxorg/netengine (intended for automatic data
>     entry in the node-db for nodes that are not self generated, eg:
>     importing an existing network - not quite ready for production use
>     yet though)

Cool stuff. :-)

>   * a proof of concept of storage for metrics/statistics built with
>     influxdb 0.9 rc:
>     https://github.com/ninuxorg/nodeshot/tree/master/nodeshot/core/metrics

So this could be made as an module for datastream. So datastream is
trying to server as a common API around time-series data bases. For now
only around MongoDB. But maybe it is time for influxdb. :-)

The idea is that once we have a common Python API, then we can build
REST API on top (django-datastream) and then we can build common
JavaScript tools around that REST API.


Mitar

-- 
http://mitar.tnode.com/
https://twitter.com/mitar_m




More information about the Interop-dev mailing list