chubin / chubin/cheat.sh

Python module usages?

Open
#200 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
41.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Does it make sense for cheat to start storing code snippets? (is it an overkill?)

I was thinking particularly about python - the official docs usually have code snippets for most of the modules. For eg. see difflib: https://docs.python.org/3/library/difflib.html

I was thinking querying `curl cht.sh/python/difflib` would give me these snippets.

If you don't have a problem with storing these snippets as "cheat sheets", I'll be up to create them!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the proposal and the Python difflib documentation linked in the issue, then inspect how the cht.sh/python/difflib entry point currently behaves. The scope is not yet defined: completion would require an agreed approach for storing and exposing official Python module snippets.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.