Skip to main content

Fetch Project Euler problems from the command line

Project description

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.

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

pefetch-0.0.2.tar.gz (66.5 kB view details)

Uploaded Source

Built Distribution

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

pefetch-0.0.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pefetch-0.0.2.tar.gz.

File metadata

  • Download URL: pefetch-0.0.2.tar.gz
  • Upload date:
  • Size: 66.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pefetch-0.0.2.tar.gz
Algorithm Hash digest
SHA256 585fbd510c7a426c29344ff8d685b1045a4bc873db12bb6881444ec4015df302
MD5 b1de6acf8f74f885bfe2301b36033cd8
BLAKE2b-256 9d52e6ea55fe08d00d03999159d8987cd3dc684514913542678bfc32c4078931

See more details on using hashes here.

File details

Details for the file pefetch-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pefetch-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pefetch-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81c537944e1f7280181419adfcf7b7a5f71f78f8f54c7b64625960d09ec624cb
MD5 2bb5524418d49ad85df7753fab762ac5
BLAKE2b-256 8d2e1ee0437c84373ee7b6e8418caf99bec0bfe330cfb8b12e6ce91c45c39c3d

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