2be0e376f8
Adds a basic `setup.cfg` file with configurations for flake8 and pylama, fixes some basic issues with essentially every file including: * Many, many, whitespace line cleanups * Several unused variables and imports * Missing coding and shabang lines * Minor style fixes to more closely align with PEP8 * Turn `print` into function calls for Python 2/3 compat * A few minor bugs * Things like using an undefined `i` in `stream_limiter_ban_email.py` |
||
---|---|---|
.. | ||
EU_map_example.PNG | ||
geojson_example.geojson | ||
ips_to_maps.py | ||
NA_map_example.PNG | ||
readme.md | ||
requirements.txt | ||
World_map_example.PNG |
Maps
Maps are created with either Matplotlib/Basemap or as a geojson file on an anonymous gist.
Choose which map type you'd like by using the -l
argument:
-l , --location Map location. choices: (NA, EU, World, Geo)
(default: NA)
Requirements
* not required if creating geojson maps
Matplotlib map examples:
TODO LIST:
- Add check for user count in user_table to allow for greater than 25 users - Pull
- If platform is missing from PLATFORM_COLORS use DEFAULT_COLOR - Pull
- Add arg to allow for runs in headless (mpl.use("Agg"))
- Add pass on N/A values for Lon/Lat - Pull
Feature updates:
- Add arg for legend (best, none, axes, top_left, top_center, etc.)
- UI, toggles, interactive mode
- Add arg to group legend items by city and/or region
- Find server's external IP, geolocation. Allow custom location to override
- Add arg for tracert visualization from server to client
- Animate tracert visualization? gif?