[tor-bugs] #6471 [Metrics Utilities]: Design file format and Python/Java library for multiple GeoIP or AS databases
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Nov 8 15:09:02 UTC 2012
#6471: Design file format and Python/Java library for multiple GeoIP or AS
databases
-------------------------------+--------------------------------------------
Reporter: karsten | Owner: karsten
Type: enhancement | Status: accepted
Priority: normal | Milestone:
Component: Metrics Utilities | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------------+--------------------------------------------
Changes (by karsten):
* status: needs_review => accepted
* owner: => karsten
Comment:
Replying to [comment:21 gsathya]:
> Replying to [comment:19 karsten]:
> > How do we proceed with turning this simple Python script into a
library that can be used by #6232? In theory, we could start by simply
copying the parts we need over, but maybe there's a smarter way.
> Why not just import pygeodate? No need to copy parts. We can remove
pygeoip as well.
This is mostly a question of where the code is supposed to live, and how
to make it more library-like. The idea of the metrics-tasks.git
repository is to keep code of ongoing or completed projects in case we
need it for future projects. Nothing else should use code from metrics-
tasks.
I wonder if we should move the task-6471/ directory to metrics-utils.git
as pygeodate/. What do you think about that? How's the directory layout
for a Python library supposed to look like?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6471#comment:23>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list