Giter VIP home page Giter VIP logo

clashfinder's Introduction

ClashFinder

Tools to export raw data from festival applications and transform into Clashfinder schedules

Supported Festival Platforms

Setup

Required tools for use:

  • curl
  • jq
  • poetry
  • python 3+

Extract the application session key using a MITM proxy tool like Charles Proxy or mitmproxy.

Within the desired festival application directory, add the extracted SESSION_KEY to a .env file (e.g. festivals/shambhalafestival/.env). The format should be:

SESSION_KEY=VALUE_HERE

Usage

  • Setup the python virtualenv using Poetry
poetry install
poetry shell
  • Extract all scheduling data by running an extract script
pushd festivals/shambhalafestival
./2023.sh
popd
  • Render the scheduling data as Clashfinder markup and paste the output from the transform script into the Clashfinder data field:
./bin/appmiral_transform.py --tz "US/Pacific" --artists festivals/shambhalafestival/2023/shambhalafestival.artists.json --stages festivals/shambhalafestival/2023/shambhalafestival.stages.json

Clashfinder Data Format

Each performance is composed of an act object with start, end, stage, and act keys.

timezone = US/Pacific

act = {"start": "2022-07-24 07:30", "end": "2022-07-24 09:00", "stage": "Pagoda", "act": "Justin Martin"}

The schedule dictates the festival's local time zone. While performing a data transform, set the --tz flag to match this timezone to ensure accurate schedules are produced. TZ values are defined by the TZ database.

clashfinder's People

Contributors

porkcharsui avatar

Watchers

 avatar

clashfinder's Issues

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.