chaos99 / cachetools Goto Github PK
View Code? Open in Web Editor NEWGenerate geocaching statistics and badges (with Python)
Generate geocaching statistics and badges (with Python)
Various geocaching related python tools (geocaching.com login service does no longer work in this version) cachetools.py Analyse the given gpx file and retrieve statistics for the geocaches listed. Retrieve online information for badge definitions, geolocation and elevation of caches, trackables found and new geocaches not yet listed in the gpx file. Usage: python cachetools.py <gpxfile> [-t|--forceTBupdate] [-c|--checkUpdate] [-o|--forceOwnupdate] - gets settings from a config.cfg file, will generate template if not found (needs at least username and password) - will download list of coins and TBs from you geocaching.com account - will download list of caches hidden by the user from geocaching.com - will download list of badges and ranges/conditions from kyle mills website - will download list of countries for state badges from kyle mills website - will download elevation data for all geocaches - will download state district information if not provided - all downloads are cached. delete cached files for re-download. - use -t or --forceTBupdate to re-download TB and Coin info - use -o or --forceOwnupdate to re-download list of own caches hidden - use -c or --checkUpdate to update local .gpx file with new logs from geocaching.com (premium members only) - outputs output.html with badges to be included in profile page or in other tools like GCStatistics Detailed description: General configuration, including username, password, proxy configuration, badge definition file name and home coordinates are read from a config.cfg file. A template is generated if no file is found. Downloaded informations about elevation, geolocation and trackables are cached in the cache.dat file. Use the -f option, delete this file or parts of it to force a re-download. Badge definition is downloaded on first run and saved as .html file (path given in config.cfg). Delete this file to force re-download. Use the -c option to update the loaded .gpx file with the newest finds from geocaching.com. Downloaded files are cached for error recovery, but deleted after successful integration in .gpx file. !!THE ORIGINAL gpx FILE IS ALTERED! NO BACKUP IS MADE!!! Extensive statistics are outputed to console. Generated badges are saved to a output.html file as a html table. Attribution: This software generates HTML based on the badge definitions and bitmaps generated by Kyle Mills http://kylemills.net/Geocaching/BadgeGen/ This software incorporates information retrieved from the openstreetmap database. Data Copyright OpenStreetMap Contributors, Some Rights Reserved. CC-BY-SA 2.0 This software uses services offered by Mapquest.com Nominatim Search Courtesy of http://www.mapquest.com/ This software uses code under the MIT License http://www.opensource.org/licenses/mit-license.php by mickwomney http://blogs.translucentcode.org/mick/ License: This software is distributed under the CC Share Alike License http://creativecommons.org/licenses/by-sa/3.0/ Fork it, use it, make it better!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.