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.5.tar.gz (10.6 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.5-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file aoc_lube-1.3.5.tar.gz.

File metadata

  • Download URL: aoc_lube-1.3.5.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for aoc_lube-1.3.5.tar.gz
Algorithm Hash digest
SHA256 9e7cbd9633ae93d0e18dc6bb461a7a14fd32b9cb095f113ed5d39e3073024668
MD5 bba858fea66bf703cfb07ec6290006b4
BLAKE2b-256 96dc45e75c2e21033cc1b80579e608c58cf14a8c5d4417966ec6d7bb7fa0996f

See more details on using hashes here.

File details

Details for the file aoc_lube-1.3.5-py3-none-any.whl.

File metadata

  • Download URL: aoc_lube-1.3.5-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for aoc_lube-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e05b7ca40032017e053d6c983c2091594f22b9a6240e61ad92ab1de7617f0016
MD5 3443234bde96a583d77c275a478be07b
BLAKE2b-256 c1fca940c94bbe4e0ddf4c6a14e186a5d89c523ac46d65cc922880c83cfc7e50

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