blob: 45160bbe6ac26f877e0657f8e6de081ada8a9bd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
KittyStore
=========
:Author: Pierre-Yves Chibon <pingou@pingoured.fr>
Provides an interface for different storage solution for mailman3
and expose and API to access the information.
Get this project:
-----------------
Source: https://github.com/pypingou/kittystore
Dependencies:
-------------
- SQLAlchemy
- bson
- pymongo (for mongodb)
License:
--------
.. _GPL v2.0: http://www.gnu.org/licenses/gpl-2.0.html
``KittyStore`` is licensed under the `GPL v2.0`_
Load the database:
------------------
- Retrieve the archives using the get_mbox.py script
- Configure the to_sqldb.py or to_mongo.py script (adjust user/password/database name/host/port)
- Load the archives by calling the to_sqldb.py or to_mongo.py script
(this might be memory intensive, so you may want to do 2 or 3 years per run and split
the runs)
Alternatively, to load the data you may want to do something like:
for i in lists/devel-*; do python to_sqldb.py devel $i; done;
|