Code Monkey home page Code Monkey logo

findpenguinsparser's Introduction

Find Penguins Parser

This project contains tree scripts for transforming Find Penguins Trips Into PDFs or HTML Documents.

Downloading Trips

The first script is the penguin_parser.py which requires two arguments, the storage path and the trip. This script will download all footprints, including text and images from the given trip into the given directory. Usage:

python3 penguin_parser.py <path-to-local-storage-directory> "<find-penguins-user>/trip/<trip-name>"

After termination, the storage path should contain folders for the days inside of which folders for the different footprints are located. These folders contain the images as well as a json file for the meta information.

Generators

At the moment, two generators exist. These generators are supposed to take the data inside of the previously created storage directory and convert it into another representation. Generators expect two arguments, the storage path and the trip title. The latter is free text.

  • pdf_generator.py creates a PDF
  • html_generator.pycreates a HTML document

Usage:

python3 pdf_generator.py <path-to-local-storage-directory> "<your-trip-title>"

Requirements

All scripts require Python 3 and the requirements, specified in the requirements.txt.

findpenguinsparser's People

Contributors

tobiasmende avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.