Python Cheat Sheets

Provides functional Python code and detailed answers by fetching and applying proven patterns and examples from pythonsheets.com across core, system, concurr...

MIT-0 · Free to use, modify, and redistribute. No attribution required.
1 · 25 · 0 current installs · 0 all-time installs
byCHANG-NING TSAI@crazyguitar
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (Python cheat sheets, examples, and patterns) match the declared artifacts: a topic→URL map and guidelines pointing at pythonsheets.com. No unrelated env vars, binaries, or installs are requested.
Instruction Scope
The SKILL.md explicitly directs the agent to always fetch the listed pythonsheets.com URLs via WebFetch and to use that content to write code and explanations. That behavior matches the skill's stated purpose. Be aware the skill covers topics (packet sniffing, sockets, SSH, cryptography, distributed training, etc.) that can produce powerful or dangerous code; the instructions do not ask to read local files or to transmit user files to third parties, but generated code must be reviewed before execution.
Install Mechanism
No install spec or code files are present — this is instruction-only and does not write code to disk or download third-party packages during install.
Credentials
The skill requests no environment variables, credentials, or config paths. The declared needs are proportional to an aggregator/reference skill.
Persistence & Privilege
The skill is not always-installed and does not request elevated persistence or modification of other skills or system-wide settings. Autonomous invocation is allowed (platform default) but is not combined with other concerning privileges.
Assessment
This skill is coherent with its description: it fetches public examples from pythonsheets.com and uses them to produce Python code. Before installing or using it, consider: (1) it performs outbound fetches to pythonsheets.com on every invocation (so network access must be allowed); (2) it can generate powerful code (network servers, packet sniffers, SSH automation, crypto, low-level extensions, distributed training) — always review and sandbox any generated code before running, and avoid executing as root; (3) the skill has no install and requests no secrets, which reduces risk, but the skill's source/homepage are not provided — if provenance matters, prefer skills with a known author or homepage. If you plan to run code produced by this skill, test in an isolated environment and audit for unsafe patterns (unsanitized inputs, elevated permissions, or calls that interact with production systems).

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk97ezpj14mnyjncd06e32femys830rgt

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

Python Cheat Sheets (/py)

Help users write functional, correct Python code and answer Python questions by fetching proven patterns and examples from pythonsheets.com.

How It Works

When a user asks a Python question or wants to write a Python script:

  1. Look up the relevant topic(s) in Structure to find the matching URL(s)
  2. Always fetch the URL(s) using WebFetch to get real examples and patterns from the site
  3. Use the fetched content to:
    • Write code: Apply the patterns to produce functional, correct code that solves the user's task
    • Answer questions: Provide thorough explanations backed by the examples and information from the site
  4. Follow the Guidelines for code quality

Key Principle

Functionality first, cleanliness second. The code must work correctly and handle the task properly. Fetching from pythonsheets.com ensures solutions use battle-tested patterns rather than guessing. The site contains rich examples covering edge cases, common pitfalls, and practical usage that go beyond basic documentation.

Coverage Areas

Core: Syntax, typing, OOP, functions, data structures, sets, heap, regex, unicode System: File I/O, datetime, OS interfaces Concurrency: Threading, multiprocessing, asyncio Network: Sockets, SSL/TLS, SSH, async I/O, packet sniffing Database: SQLAlchemy ORM, queries, transactions Security: Cryptography, TLS, vulnerabilities Extensions: C/C++ integration, pybind11, Cython ML/LLM: PyTorch, Megatron, distributed training, inference, serving, benchmarking HPC: Slurm, cluster computing, job scheduling, EFA monitoring, NCCL Appendix: Walrus operator, GDB debugging, disaggregated prefill/decode

References

  • Structure - Topic-to-URL map for fetching examples
  • Guidelines - Code quality standards to apply after ensuring correctness

Examples

Files

3 total
Select a file
Select a file to preview.

Comments

Loading comments…