python

Initialize typed Python Lambda projects with uv, Pydantic, and Hypothesis testing.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/lambdamechanic/scrapinghub-mcp --skill python-lambdamechanic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/lambdamechanic/scrapinghub-mcp/tree/main/skills/python
Command: npx skills add https://github.com/lambdamechanic/scrapinghub-mcp --skill python-lambdamechanic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Projects built on Lambda with Python often suffer from inconsistent environments, weak typing, and ad-hoc testing setups. This skill establishes a default, opinionated Python stack that enforces typing, schemas, and reliable tooling to reduce bugs and onboarding time.

Core Features & Use Cases

  • Strong typing with explicit function signatures and Pydantic models for inputs, outputs, and configuration.
  • Schema-driven validation and Hypothesis-based testing to ensure behavior under edge cases.
  • Packaging and project layout guidelines (pyproject.toml, src/ layout) to support reproducible builds and clean imports.

Quick Start

Initialize your Python project with uv, set up a typed codebase, and align it to a standard packaging layout.

Frequently Asked Questions about python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Python project with strict typing and schema validation?

Set up a Python project with strict typing and schema validation by applying Pydantic models for inputs, outputs, and configuration alongside explicit function signatures. This enforces type-checking and schema-driven validation to reduce bugs.

What's the best way to structure a Python package for reproducible builds?

Structure a Python package for reproducible builds by adopting a src/ layout and configuring pyproject.toml. This packaging guideline supports clean imports and reproducible builds across environments.

Does this Python stack support property-based testing with Hypothesis?

Yes, this Python stack supports property-based testing with Hypothesis. It includes Hypothesis-based testing to ensure your code behaves correctly under edge cases and schema-driven validation requirements.

Can I use uv tooling to initialize a typed Python codebase?

Yes, you can use uv tooling to initialize a typed Python codebase. The stack provides a default, well-typed Python environment that aligns with standard packaging layout using uv.

Why do I need schema-driven inputs and outputs in a Python project?

You need schema-driven inputs and outputs in a Python project to enforce strong typing and reliable tooling. This establishes an opinionated stack that reduces onboarding time and prevents inconsistent environments.

How do I configure lint and type-checking for a Python project?

Configure lint and type-checking for a Python project by applying an opinionated stack with pyproject.toml. This setup ensures strict typing and lint enforcement to catch errors early.