Skip to main content

Project Euler Fetch (pefetch)

A CLI utility for accessing Project Euler problems from your terminal. Currently, in development, trying to somehow render LATEX, with no dependencies!

Installation

pip install pefetch

Usage

usage: pefetch [-h] [--link] problem_number

Project Euler Problem Fetcher

positional arguments:
  problem_number  problem number, type r for random

options:
  -h, --help      show this help message and exit
  --link, -l      print link to problem

As an example, problem 1:

$ pefetch 1
Multiples of 3 or 5
Problem 1

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000.

Contributing

There are a lot of issues, performance (~1 second due to the 2 requests), rendering, colors in non-dark terminals, images etc. Feel free to contribute if you feel like it.

Metadata

Release files for pefetch 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pefetch 0.0.2
File Size Uploaded
pefetch-0.0.2.tar.gz 66.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pefetch 0.0.2
File Interpreter ABI Platform
pefetch-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 72.1 kB

Release files / pefetch-0.0.2.tar.gz

Download URL pefetch-0.0.2.tar.gz
Size 66.5 kB
Tags Source
SHA-256 checksum
How to use checksums
585fbd510c7a426c29344ff8d685b1045a4bc873db12bb6881444ec4015df302
BLAKE2b-256 checksum
How to use checksums
9d52e6ea55fe08d00d03999159d8987cd3dc684514913542678bfc32c4078931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / pefetch-0.0.2-py3-none-any.whl

Download URL pefetch-0.0.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81c537944e1f7280181419adfcf7b7a5f71f78f8f54c7b64625960d09ec624cb
BLAKE2b-256 checksum
How to use checksums
8d2e1ee0437c84373ee7b6e8418caf99bec0bfe330cfb8b12e6ce91c45c39c3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page