Thank you for helping improve this learning project.
- Keep code identifiers and file names in English.
- Prefer clear explanations over clever wording.
- Explain why and when, not only how.
- Use original examples created for this repository.
- Keep the three language versions conceptually aligned.
- Never include confidential, proprietary, or personal data.
- Create or choose an issue describing the improvement.
- Create a focused branch from
main. - Make small, reviewable commits.
- Update every affected language document.
- Run the examples and tests that were changed.
- Open a pull request describing what changed and why.
feat/topic-name
docs/topic-name
fix/topic-name
test/topic-name
refactor/topic-name
Use concise Conventional Commit-style messages:
docs: add chapter about comments
feat: add string validation example
fix: correct average calculation
New learning chapters should cover:
- What it is
- Why it exists
- Syntax
- When to use it
- When to avoid it
- How it connects to other resources
- Basic example
- Practical example
- Common mistakes
- Exercise
- Quick-reference summary
English is the repository's default language. Brazilian Portuguese and Spanish translations should preserve the same technical meaning without forcing literal word-for-word translation.
When changing translated documentation, update all affected language versions whenever possible. If a translation cannot be completed in the same pull request, clearly identify the missing version.
AI tools may be used to support research, drafting, translation, programming, testing, and review.
The contributor remains responsible for understanding, checking, testing, and verifying everything submitted. Do not send automatically generated content without meaningful human review.
Before submitting AI-assisted work:
- verify important technical claims with reliable sources;
- run relevant examples and tests;
- review every affected language version;
- disclose uncertainty or anything that could not be verified;
- remove confidential, personal, or proprietary material;
- confirm that the contribution complies with applicable licenses.
Read the AI-assisted development guide for the project's prompting, validation, privacy, and review practices.
- Use descriptive English names.
- Follow PEP 8.
- Add type hints when they improve understanding.
- Comment decisions, constraints, and non-obvious reasons.
- Do not comment code that already explains itself.
Run the same dependency-free checks used by GitHub Actions from the repository root:
python -m compileall -q -x '(^|/)\.git/' .
python scripts/run_examples.py
python scripts/check_internal_links.py
python scripts/validate_repository_structure.pyOnly examples listed in scripts/example_manifest.txt are executed automatically. Add a file to the manifest only when it is deterministic, non-interactive, network-free, free of external dependencies, and safe to run in a public continuous integration environment.
A pull request should be focused, easy to review, and free from unrelated changes. Screenshots may be included when documentation layout is affected.
Before submitting, confirm that:
- links work correctly;
- examples run as described;
- terminology is consistent;
- translated documents remain conceptually aligned;
- AI-assisted material has been understood and verified;
- no confidential or third-party proprietary material was included.
Python Study Guide was created and is maintained by Ramon Estevez Rodriguez.
Submitting a contribution does not transfer or erase the authorship of individual changes. Contributor credit remains recorded through commit metadata, Git history, and pull requests. Read the project authorship record for details.
By submitting a contribution, you agree that it may be distributed under the same MIT License used by this repository.