pdoc VS nushell

Compare pdoc vs nushell and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pdoc nushell
10 214
1,815 29,963
1.5% 1.3%
8.2 9.9
1 day ago 7 days ago
Python Rust
The Unlicense MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pdoc

Posts with mentions or reviews of pdoc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-27.
  • How to Write Impeccably Clean Code That Will Save Your Sanity
    7 projects | dev.to | 27 Jul 2023
    You can also use doc-strings to generate automated documentation for your code using a library like pdoc. Consider the following example from Stack-Scraper and the corresponding documentation generated using pdoc library.
  • what's a good documentation platform that you guys would recommend?
    6 projects | /r/Python | 16 Aug 2022
    I’ve used sphinx extensively and though it is one of the standards and does a ton, I do not like or recommend it. Personally, I realllly like pdoc for its simplicity. Do not confused pdoc with pdoc3
  • The Slow March of Progress in Programming Language Tooling
    2 projects | news.ycombinator.com | 18 Jul 2022
    RE browser vs reading the code: sounds like you have a nicer setup than my neovim setup. Although I think my first point still holds unless CLion handles that case too.

    With respect to the rest of your comment, indeed, those are issues. Although I think I take issue with you pinning this on rustdoc. I actually think it's a dance between documentation presentation (so, rustdoc), API design and familiarity with the language.

    I've long said that rustdoc makes unknown unknowns difficult to discover, and this is particularly painful for folks new to Rust. Because you don't really know what to look for yet. And writing docs is a difficult exercise in perspective taking, where you need to balance what you think others know. If you assume they know too little, it's not hard to end up writing too much and adding a fair bit of noise. With that said, I agree that "too little docs" is a far more common problem than "too many docs."

    But yeah, your experience is a perfect example of what I mean when I say "generics complicate APIs." They introduce indirection everywhere, and I'm not sure how much rustdoc can really help with that. You might be right that maybe there are some visualizations that can be added, but like you, I've always seen those as gimmicks in other tools that are rarely useful. IMO, a heavily generic API really requires the crate author to write more prose about how their APIs are intended to be used with lots of concrete examples.

    The interesting bit here is that I've personally found the documentation experience in Rust to be far far better than any other ecosystem. All the way from writing docs up to consuming them. I've sampled many different ecosystems (C, C++, Haskell, Python, Go to name some) and other than maybe Go, I thought the doc experience was really just not great in any of them. Python specifically seems to be a case where I tend to see a lot of variance in opinion. I hated Sphinx so much, for example, that I built an alternative.[1] I also just generally dislike the output that Sphinx produces. I find that it lacks structure, and I've always had a hard time navigating my way through Python library docs.

    [1]: https://github.com/mitmproxy/pdoc

  • What is it that makes Rust documentation so special, and how could we make that lightning strike twice in other languages?
    3 projects | /r/rust | 7 Jun 2022
    Anyway, this is all my opinion. And a lot of it is based on reflecting on my own experience. I have no idea how well it generalizes. I have given this topic a lot of thought though, and have even written documentation generators for other ecosystems because I thought the other choices were bad enough to warrant spending a few weeks on such a tool.
  • Bombsquad 1.6.11 (20538, 2022-03-23) released
    1 project | /r/Bombsquad | 26 Mar 2022
    Documentation is now generated using pdoc https://pdoc.dev. Thanks Dliwk!! (I'll get it wired up to auto-update to a webpage soon).
  • My first open-source package on PyPI: `spectrumdevice`, a high-level, object-oriented library for controlling Spectrum Instruments digitisers. A bit of a niche one!
    2 projects | /r/Python | 14 Jan 2022
    There's a comprehensive README.md with installation and Quickstart information on GitHub, and reference documentation (auto generated by pdoc) on GitHub Pages.
  • Mitmproxy 7.0
    5 projects | news.ycombinator.com | 16 Jul 2021
    Our main docs are built with Hugo (https://github.com/mitmproxy/mitmproxy/tree/main/docs). For our API docs we use pdoc (https://pdoc.dev), which integrates well with most static site generators. pdoc is also maintained by us. :)
  • Things I Wish I Knew as a New Python User
    4 projects | dev.to | 26 Mar 2021
    PEP 257 and a few others define "docstrings". Leverage them to make full use of autodoc tools. pdoc is a pretty fun tool that "just works". Build good habits from the start. Projects that have great documentation are just more attractive to me. If I come across a project that seems to do what I need, but has crappy documentation, I keep looking.
  • Show HN: Pdoc, a lightweight Python API documentation generator
    2 projects | news.ycombinator.com | 25 Jan 2021
    Hi HN! Some of you may remember @BurntSushi's pdoc tool, a lightweight alternative to Sphinx. We're a bit in an unfortunate situation with a hostile work assuming our name [1], but I figured that we shouldn't give in and continue the legacy of that tool. Long story short, we have just published a major new "modern Python 3" release, which hopefully makes pdoc a really compelling option again. :-)

    [1] https://github.com/mitmproxy/pdoc#pdoc-vs-pdoc3

    1 project | news.ycombinator.com | 25 Jan 2021

nushell

Posts with mentions or reviews of nushell. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • Exploring Nushell, a Rust-powered, cross-platform shell
    1 project | dev.to | 2 May 2024
    The first method is through downloading the pre-built binaries. With this method, you don't need to install anything other than Nushell's dependencies. Once you've downloaded the binaries, add them to your system's environment path to run it directly in your terminal.
  • PowerShell: The object-oriented shell you didn't know you needed
    2 projects | news.ycombinator.com | 29 Apr 2024
    I rather nushell for this purpose, it's more fun to write and easier to read.

    https://www.nushell.sh/

  • NuShell - Ceci n'est pas une |
    1 project | dev.to | 18 Mar 2024
    These are just three small examples of what this shell written in Rust allows. The features are many and many more, but I'll leave it up to you to discover and enjoy them; I'm currently playing around with it and it's giving me a lot of satisfaction and immediacy, now it has a fixed place among the tools I use when working! The project is Open Source, so if you want to contribute, I invite you, as always, to do so, I leave you the link to the repo here!
  • Xonsh: Python-powered, cross-platform, Unix-gazing shell
    12 projects | news.ycombinator.com | 14 Feb 2024
  • Fish shell 3.7.0: last release branch before the full Rust rewrite
    9 projects | news.ycombinator.com | 1 Jan 2024
    Any thoughts on fish as compared to nushell [0]? It's similar to PowerShell in its philosophy and is also written in Rust.

    [0] https://github.com/nushell/nushell

  • jc: Converts the output of popular command-line tools to JSON
    8 projects | news.ycombinator.com | 8 Dec 2023
    > In PowerShell, structured output is the default and it seems to work very well.

    PowerShell goes a step beyond JSON, by supporting actual mutable objects. So instead of just passing through structured data, you effectively pass around opaque objects that allow you to go back to earlier pipeline stages, and invoke methods, if I understand correctly: https://learn.microsoft.com/en-us/powershell/module/microsof....

    I'm rather fond of wrappers like jc and libxo, and experimental shells like https://www.nushell.sh/. These still focus on passing data, not objects with executable methods. On some level, I find this comfortable: Structured data still feels pretty Unix-like, if that makes sense? If I want actual objects, then it's probably time to fire up Python or Ruby.

    Knowing when to switch from a shell script to a full-fledged programming language is important, even if your shell is basically awesome and has good programming features.

  • Ripgrep is faster than {grep, ag, Git grep, ucg, pt, sift}
    14 projects | news.ycombinator.com | 30 Nov 2023
    Maybe if the "popular" shells, but http://www.nushell.sh/ is looking better and better
  • "<ESC>[31M"? ANSI Terminal security in 2023 and finding 10 CVEs
    7 projects | news.ycombinator.com | 20 Oct 2023
  • jq 1.7 Released
    33 projects | news.ycombinator.com | 6 Sep 2023
    Yeah agreed, especially now that PowerShell is available cross-platform.

    Nushell[1] also seems like a promising alternative, but I haven’t had a chance to play with it yet.

    [1]: https://www.nushell.sh/

  • The Case for Nushell
    4 projects | news.ycombinator.com | 31 Aug 2023
    I also discovered an existing discussion[1] related to this topic which includes a link[2] to a "helper to call nushell nuon/json/yaml commands from bash/fish/zsh" and a comment[3] that the current nushell dev focus is "on getting the experience inside nushell right and [we] probably won't be able to dedicate design time to get the interface of native Nu commands with an outside POSIX shell right and stable.".

    [0] https://gitlab.com/RancidBacon/notes_public/-/blob/main/note...

    [1] "Expose some commands to external world #6554": https://github.com/nushell/nushell/issues/6554

    [2] https://github.com/cruel-intentions/devshell-files/blob/mast...

    [3] https://github.com/nushell/nushell/issues/6554#issuecomment-...

What are some alternatives?

When comparing pdoc and nushell you can also consider the following projects:

sphinx - The Sphinx documentation generator

fish-shell - The user-friendly command line shell.

MkDocs - Project documentation with Markdown.

elvish - Powerful scripting language & Versatile interactive shell

Pycco - Literate-style documentation generator.

starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

pdocs - A simple program and library to auto generate API documentation for Python modules.

PowerShell - PowerShell for every system!

Python Cheatsheet - All-inclusive Python cheatsheet

alacritty - A cross-platform, OpenGL terminal emulator.

pyment - Format and convert Python docstrings and generates patches

xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.