python script that will show the dutch ems pager services.
default settings has the refresh modus disabled. if you want the refresh modus enabled, please change refresh = false
to refresh = true
in the configuration file p2000.cfg
under the [global]
section.
$ ./p2000.py --help
$ ./p2000.py -r <region code>
$ ./p2000.py -r <[1-25, 40] [grip|tis|knrm]>
$ ./p2000.py -l <number of lines>
- working internet connection
- libp2000/libp2000.py
- requires: requests and bs4 (pip install -r requirements.txt)
- p2000.cfg
- create live modus for automatic refresh
- add mysql support for saving history
- add slite3 support for saving history
The default region is set to 'whole netherlands' this can be changed by adding the region code as a parameter
The following regions can be used:
region code | name of region |
---|---|
1 | groningen |
2 | friesland |
3 | drenthe |
4 | ijsselland |
5 | twente |
6 | noord-en-oost-gelderland |
7 | gelderland-midden |
8 | gelderland-zuid |
9 | utrecht |
10 | noord-holland-noord |
11 | aaanstreek-waterland |
12 | kennemerland |
13 | amsterdam-amstelland |
14 | gooi-en-vechtstreek |
15 | haaglanden |
16 | hollands-midden |
17 | rotterdam-eijnmond |
18 | zuid-holland-zuid |
19 | zeeland |
20 | midden-en-west-brabant |
21 | brabant-noord |
22 | brabant-zuidoost |
23 | limburg-noord |
24 | zuid-limburg |
25 | flevoland |
40 | geheel-nederland |
51 | grip |
53 | tis |
p2000 is licensed under the GPLv3:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
For the full license, see the LICENSE file.