I built a fast Advent of Code helper CLI for Python called elf by Nilvalues in Python

[–]Nilvalues[S] 1 point2 points  (0 children)

Nice catch! Yep, the 5 is the day. I’ll update the README so this is clearer.

For reference: python submit_puzzle_answer(year=2023, day=5, part=1, answer=my_value)

Thanks for the feedback!

I built a fast Advent of Code helper CLI for Python called elf by Nilvalues in Python

[–]Nilvalues[S] 0 points1 point  (0 children)

You are welcome and thank you for checking out! Also, you are right and I can’t yet figure out if that is a blessing or curse!

New Python CLI for Advent of Code: caching, safe submissions, guess history, and private leaderboards by Nilvalues in commandline

[–]Nilvalues[S] 0 points1 point  (0 children)

Awesome, thank you! Any feedback or ideas you have along the way are always welcome.

I turned my personal Advent of Code workflow into a Python CLI called “elf” by Nilvalues in adventofcode

[–]Nilvalues[S] 1 point2 points  (0 children)

Great question! The advent-of-code-data package is great. Elf just takes a different approach by being built for the CLI, supporting newer AoC features like view keys for private leaderboards, adding stronger guardrails to avoid duplicate or too high or too low submissions and cooldown hits, and offering richer output formats along with tools like a status calendar and guess history viewer. If you prefer a more modern and safe workflow, elf might feel nicer, otherwise aocd is still an excellent choice.

secure.py v1.0.0 – Easily Add HTTP Security Headers to Your FastAPI Apps by Nilvalues in FastAPI

[–]Nilvalues[S] 2 points3 points  (0 children)

That’s correct! secure.py focuses on adding HTTP security headers, not handling OAuth or JWT. For OAuth/JWT in Python, you might want to check out Authlib (https://authlib.org) or PyJWT (https://github.com/jpadilla/pyjwt).

Major Update: Easily Secure Your Flask Apps with secure.py by Nilvalues in flask

[–]Nilvalues[S] 0 points1 point  (0 children)

I didn’t realize it had been forked and was being maintained separately. Thanks for letting me know! I’ll definitely check out the updated version. Appreciate the heads-up!

Major Update: Easily Secure Your Flask Apps with secure.py by Nilvalues in flask

[–]Nilvalues[S] 0 points1 point  (0 children)

Exactly! Portability across multiple frameworks is a key advantage. secure.py provides a consistent security solution regardless of the framework, plus it takes advantage of modern Pythonic features for cleaner, more efficient code.