[hackerspaces] A command line tool (and Python module) for Space Directory and API

Sébastien Gendre seb at k-7.ch
Thu Mar 15 01:03:22 CET 2018


Hello from the moon.

Recently I write a little command line tool to query the Space Directory
and to get informations that Hackerspaces (and other spaces) publish on
their Space API.

With this tool you can print, on your terminal, the informations of a
space by providing their name or directly their Space API url.

To install it, you need Python 3 and PIP 3:
$ pip3 install --user spacedirectory

To get the list of spaces known by Space Directory:
$ spacedirectory

To get infos of a space:
$ spacedirectory "space name"

Or:
$ spacedirectory -a "api url"

To get help:
$ spacedirectory -h

This tool also provide a Python module, called spacedirectory, which you
can use on your Python software. For infos about how using it, I invite
you to read the file `doc/modules/usage.org` from the source repo.


You can find the source code repo here:
https://framagit.org/SebGen/spacedirectory


It's really new, so it maybe have bugs. Don't hesitate to suggest or
contribute. ;)


Regards
-------
Séb

GPG ID: 4DFC 4DE5 19B9 D13C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.hackerspaces.org/pipermail/discuss/attachments/20180315/e65ccd18/attachment.sig>


More information about the Discuss mailing list