Proper Advent of Code lubricant.
Project description
aoc_lube - Proper Advent of Code lubricant.
Setting up aoc_lube
pip install aoc-lube
for justfetch
andsubmit
functions orpip install aoc-lube[utils]
for optional dependencies (networkx, numpy) for utility functions.- Save your user token to
~/.aoc_lube/.token
. - [Optional] Create a new directory for your solutions. In this directory, run the function
aoc_lube.setup_dir()
or from the command line,python -m aoc_lube [YYYY]
. (If no year is given, the current year will be used.)
Getting your user token
- Navigate to https://adventofcode.com/. Make sure you are logged in.
- Right-click the page and click
Inspect
. - Click on the
Network
tab. - Reload the page.
- The token will be the session cookie in the request header to the page. It's a long hex string.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aoc_lube-1.1.0.tar.gz
(8.4 kB
view details)
Built Distribution
File details
Details for the file aoc_lube-1.1.0.tar.gz
.
File metadata
- Download URL: aoc_lube-1.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50e86a2894a6cd73258aa4644681d0d5be1feecfc73160a9522d796b4fd3c8ad |
|
MD5 | 0373d1b69bca2a936b37970ef3139d3e |
|
BLAKE2b-256 | dc6635d76b01ab250631be24f99ea1d7ebf9064b34d55df140668ad447bd145e |
File details
Details for the file aoc_lube-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: aoc_lube-1.1.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6afaca62ec86cfad7b2fb3b52a2fdd26620fe13c913563244e47d8553a630282 |
|
MD5 | 87cc3d090aa1261fcac0212d5a8df594 |
|
BLAKE2b-256 | 7f58e2acbdba80f9dcd376a0a7768331fc4a6acdcb4c1a3ad19e93ef46e48847 |