]>
git.ipfire.org Git - people/ms/libloc.git/blob - examples/python/read-database.py
2f59dec4ecc96d777cf0ee1331ea058da5fa7f82
6 d
= location
.Database("test.db")
9 # Try to get information about AS123
13 # Try to get information about AS204867
17 # Search for an IP address in the database
18 n
= d
.lookup("8.8.8.8")