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.2.0.tar.gz
(8.9 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
File details
Details for the file aoc_lube-1.2.0.tar.gz.
File metadata
- Download URL: aoc_lube-1.2.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
005b8dad298a1a92dd46bdeed053d60c41dc514ea8583616b837f66ff8ecfd35
|
|
| MD5 |
61aa87aa1fd7ed6d4ca3af7a781f21af
|
|
| BLAKE2b-256 |
0bb883735d423ddbe3ce0a2610bdeceeecb39dc66c11f7b10ece9946a3f44fbb
|
File details
Details for the file aoc_lube-1.2.0-py3-none-any.whl.
File metadata
- Download URL: aoc_lube-1.2.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17a383a1b8fa75f83f51d5e0447ba1ffe5532b7b45a10e2c9c965d3d127f70cd
|
|
| MD5 |
9b54f9d6390acf35de0e24361159c141
|
|
| BLAKE2b-256 |
0c7302d352038de0ace445e16a54fe3708b0e0290d2806aed7f226f5d01f9f8a
|