This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
schedule: | |
# Run every day at 19:00 | |
- cron: "0 19 * * *" | |
jobs: | |
generate-data: | |
runs-on: ubuntu-latest | |
env: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sort photos from a flickr bulk export into a better directory structure | |
# | |
# It creates directories based on album names and copies photos into the specified | |
# output location. | |
# | |
# Usage: flickr_import.py [flickr export dir] [flickr metadata dir] [output dir] | |
# | |
# Requires Python 3.6 and the python magic package (do `pip install python-magic`) | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import json | |
import requests | |
import pandas as pd | |
from pandas.io.json import json_normalize | |
url = "https://api.postcodes.io/postcodes" | |
api_limit = 99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am lucyb on github. | |
* I am lucyb (https://keybase.io/lucyb) on keybase. | |
* I have a public key ASD34mMRiEIogVXyCk8vJras6IzgyNJxbKl5nXDZyFwnjQo | |
To claim this, I am signing this object: |