Proper Advent of Code lubricant.
Project description
aoc_lube - Proper Advent of Code lubricant.
Setting up aoc_lube
pip install aoc-lubefor justfetchandsubmitfunctions 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 [-y YEAR] [-t TEMPLATE]. (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
Networktab. - 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
Release history Release notifications | RSS feed
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.3.1.tar.gz
(10.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
aoc_lube-1.3.1-py3-none-any.whl
(10.4 kB
view details)
File details
Details for the file aoc_lube-1.3.1.tar.gz.
File metadata
- Download URL: aoc_lube-1.3.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c71f9307799a9e246fac1d481f959c7a22a269d0513ab1aa77a8f737d099c3b8
|
|
| MD5 |
908e30cf1fbd301a745225c5f77811af
|
|
| BLAKE2b-256 |
86ea2aa384b49ade6aa686427f63579935b238686b760c7f606638b4f44f3cc5
|
File details
Details for the file aoc_lube-1.3.1-py3-none-any.whl.
File metadata
- Download URL: aoc_lube-1.3.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7ae992fabd60d23bcfba78f9f16088ebc8553eaaeb69fa440f42c1d76e87753
|
|
| MD5 |
eea734fbe6a9d3fd58b2ca89b487a4d2
|
|
| BLAKE2b-256 |
62577368f5483b36feb8f3f545b1d3214d7dbee7211513846c061c0dcfb040bf
|