Skip to main content

Proper Advent of Code lubricant.

Project description

aoc_lube - Proper Advent of Code lubricant.

Setting up aoc_lube

  • pip install aoc-lube for just fetch and submit functions or pip 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 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.

User Token

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.3.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aoc_lube-1.3.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

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

Hashes for aoc_lube-1.3.0.tar.gz
Algorithm Hash digest
SHA256 a2ffd35d7e7d7d271e61c1e63f5605f68f9c5071ce8b482f7bedc14c5f1e45ca
MD5 3e4d9bfde5247af8cab780535eabbdcb
BLAKE2b-256 40c4da1acdf130942d7b6f2bfeacdd48a777d92c24dae91e6582c9e457abd24a

See more details on using hashes here.

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

Hashes for aoc_lube-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f2aa5178972a7160354d04205c79e366e6a320a15217e92b7ef7ceb10464872
MD5 de0700637227742e9424f4de88a7b166
BLAKE2b-256 d26f202fdbc4c5622f3a0676f61b3841d801f928089e5d4cb147e06eb3f72d55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page