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
Project Euler 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 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.1.tar.gz (6.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.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pefetch-0.0.1.tar.gz
  • Upload date:
  • Size: 6.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.1.tar.gz
Algorithm Hash digest
SHA256 817602fcb4e4a63e0595804c4d284599aa1d4266939f2173ae4e7b35621fd3c3
MD5 31064e0e4956b383cb963d3df28a0d70
BLAKE2b-256 632046dd646abf87c53404d3246e1d3a93530db6caa06b364ad00f653032a67e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pefetch-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a47c4abcdf5df6ea27a7e8d7d9ef71a15fbd03842a69b642aa463ca245f72fb1
MD5 40e7befb458a0935f948c8c8e0f58266
BLAKE2b-256 9f6e34d65b8a0af7a12d835a6564282aacd1b10075418f15d3a4f1fdffdcb06e

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