GithubHelp home page GithubHelp logo

jjocram / py.wtf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zsol/py.wtf

0.0 1.0 0.0 578 KB

Autogenerated reference docs for PyPI packages

Home Page: https://py.wtf

License: MIT License

JavaScript 0.90% Python 45.69% TypeScript 52.18% CSS 0.02% HTML 1.21%

py.wtf's Introduction

py.wtf

All Contributors pre-commit.ci status


Wat dis?

It's autogenerated reference docs for PyPI packages. See for yourself at py.wtf.

Butwhy

py.wtf aims to be an absolutely 0 effort reference doc hosting site for all packages on PyPI: No setting up doc building pipelines, domains, hosting providers.

  • Read the Docs is very nice, but it has a tutorial. py.wtf just exists.
    • It's still very nice for putting together more than just reference docs.
  • MkDocs is very nice, but it has a tutorial. py.wtf just exists.
    • It's still very nice because you can write your docs in markdown and the output is pretty.
  • Pycco is nice and its tutorial is pretty short too! But py.wtf just exists.

py.wtf statically (i.e. without installation) analyzes Python projects to extract modules, functions, classes, variables, their types, and docstrings. Then cross-references these across projects to display them in a single, integrated, and searchable web page.

As such, it is impossible for project authors to configure py.wtf, apart from changing docstrings themselves. This brutal inflexibility allows py.wtf to stay relatively simple1, and attempt to do one thing, well.

Installation

Just don't.

Hacking

Please do. Python 3.10, Node 18.

cd py.wtf
pipx run hatch shell
YOUR_FAVORITE_PROJECT=click
py-wtf index --project-name $YOUR_FAVORITE_PROJECT www/public/_index/
cd www
npm install
npm run dev

Acknowledgements

This project draws inspiration heavily from the following excellent software:

Thanks goes to these wonderful people (emoji key):


Zsolt Dollenstein

๐Ÿ’ป ๐Ÿš‡ ๐ŸŽจ

Zoltรกn Nagy

๐Ÿ’ป ๐ŸŽจ

Adrienn ร‰va Csengeri-Pap

๐Ÿ’ป ๐ŸŽจ

Anuj Upadhyaya

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

License

py-wtf is distributed under the terms of the MIT license.

Footnotes

  1. except for the parts that deal with reStructuredText and markdown โ†ฉ

py.wtf's People

Contributors

zsol avatar abesto avatar anathien avatar allcontributors[bot] avatar anuj98 avatar pre-commit-ci[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.