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.0.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.0-py3-none-any.whl
(10.3 kB
view details)
File details
Details for the file aoc_lube-1.3.0.tar.gz.
File metadata
- Download URL: aoc_lube-1.3.0.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 |
a2ffd35d7e7d7d271e61c1e63f5605f68f9c5071ce8b482f7bedc14c5f1e45ca
|
|
| MD5 |
3e4d9bfde5247af8cab780535eabbdcb
|
|
| BLAKE2b-256 |
40c4da1acdf130942d7b6f2bfeacdd48a777d92c24dae91e6582c9e457abd24a
|
File details
Details for the file aoc_lube-1.3.0-py3-none-any.whl.
File metadata
- Download URL: aoc_lube-1.3.0-py3-none-any.whl
- Upload date:
- Size: 10.3 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 |
0f2aa5178972a7160354d04205c79e366e6a320a15217e92b7ef7ceb10464872
|
|
| MD5 |
de0700637227742e9424f4de88a7b166
|
|
| BLAKE2b-256 |
d26f202fdbc4c5622f3a0676f61b3841d801f928089e5d4cb147e06eb3f72d55
|