About 462,000 results
Open links in new tab
  1. Packaging Python Projects - Python Packaging User Guide

    3 days ago · Packaging Python Projects¶ This tutorial walks you through how to package a simple Python project. It will show you how to add the necessary files and structure to create the package, how to build the package, and how to upload it to the Python Package Index (PyPI).

  2. How do I document a module in Python? - Stack Overflow

    For the packages, you can document it in __init__.py. For the modules, you can add a docstring simply in the module file. All the information is here: http://www.python.org/dev/peps/pep-0257/

  3. 6. Modules — Python 3.13.3 documentation

    2 days ago · Such a file is called a module; definitions from a module can be imported into other modules or into the main module (the collection of variables that you have access to in a script executed at the top level and in calculator mode). A module is a file containing Python definitions and statements.

  4. Python Packaging User Guide

    3 days ago · Welcome to the Python Packaging User Guide, a collection of tutorials and references to help you distribute and install Python packages with modern tools. This guide is maintained on GitHub by the Python Packaging Authority. We happily accept contributions and feedback. 😊. Building your understanding of Python packaging is a journey.

  5. Build Your Python Project Documentation With MkDocs

    In this tutorial, you’ll learn how to quickly build documentation for a Python package using MkDocs and mkdocstrings. These tools allow you to generate nice-looking and modern documentation from Markdown files and your code’s docstrings.

  6. Our Documentation | Python.org

    Browse the docs online or download a copy of your own. Python's documentation, tutorials, and guides are constantly evolving. Get started here, or scroll down for documentation broken out by type and subject. See also Documentation Releases by Version.

  7. The Packaging Flow - Python Packaging User Guide

    3 days ago · Publishing a package requires a flow from the author’s source code to an end user’s Python environment. The steps to achieve this are: Have a source tree containing the package. This is typically a checkout from a version control system (VCS).

  8. documentation - how to document a python package - Stack Overflow

    Mar 7, 2010 · Now if you import the package, and use help (package), you will see your docstring. See more here: http://www.python.org/dev/peps/pep-0257/ A package may be documented in the module docstring of the __ init __.py file in the package directory. Documenting is a good idea, so long as you don't document something obvious in your code.

  9. Documentation generator and online help system - Python

    2 days ago · For modules, classes, functions and methods, the displayed documentation is derived from the docstring (i.e. the __doc__ attribute) of the object, and recursively of its documentable members.

  10. PyPI · The Python Package Index

    PyPI helps you find and install software developed and shared by the Python community. Learn about installing packages. Package authors use PyPI to distribute their software. Learn how to package your Python code for PyPI. Developed and maintained by the Python community, for the Python community. Donate today!

Refresh