Read API docs offline, CLI, supports DevDocs.io compatible JSON files

Overview

Docote

Read API docs offline, CLI, supports DevDocs.io compatible JSON files

Usage

$ docote sql select
### postgre sql-select ###
SELECT SELECT, TABLE, WITH β€” retrieve rows from a table or view   Synopsis [ WITH [ RECURSIVE ] with_query [, ...] ]
SELECT [ ALL | DISTINCT [ ON ( expression [, ...] ) ] ]
    [ * | expression [ [ AS ] output_name ] [, ...] ]
    [ FROM from_item [, ...] ]
...

Features

  • Supports JSON dictionaries in https://DevDocs.io format. Up to date documentation is available (but not included with docoto) for Python, Go, Postgre, Apache, CSS, DOM, JavaScript, HTML 5, HTTP, Bash, GTK, Godot, jQuery, Leaflet, Lua, MariaDB, nginx, NumPy, Pandas, PHP, PyGame, Qt, Ruby, scikit, SQLite, SVG, TensorFlow, Terraform, Vagrant, Vulkan, Werkzeug and others.
  • Case insensitive AND search

Use cases

  • Search documentation without Internet connection
  • Develop your ultra-secret project without revealing your searches to the Internet and search engines
  • Quickly search docs without reaching for the mouse

In the future, docoto could be included as plugin to a text editor, such as micro.

Install

$ chmod a+x docote
$ ./docote

Testing

Docote does not include any dictionaries, so feel free to add your own. To test it with the inclded sample dictionary:

$ mkdir -p $HOME/docote-dicts/
$ cp examples/sample.json $HOME/docote-dicts/
$ ./docote
...
Found dictionaries:
        /home/tero/docote-dicts/sample.json
...
$ docote sample index
### sample index ###
Sample Dictionary for DocoteSee you at TeroKarvinen.com
...

Limitations

  • Not much tested or used in the first release
  • HTML tags are stripped from output, but HTML to text parsing is not pretty. E.g. tables are not rendered as ASCII tables
  • Search for libraries, but not functions. E.g. can search for "python os.path" but not "python os.path.basename"- Does not automatically invoke $PAGER, but you can pipe output: 'docoto index|less'

License

Copyright 2021 Tero Karvinen http://TeroKarvinen.com

GNU General Public License, version 3.

Documentation json dictionaries have their own licences.

You might also like...
A wrapper for slurm especially on Taiwania2 (HPC CLI)A wrapper for slurm especially on Taiwania2 (HPC CLI)

TWCC-slurm-wrapper A wrapper for slurm especially on Taiwania2 (HPC CLI). For Taiwania2 (HPC CLI) usage, please refer to here. (δΈ­ζ–‡) How to Install? gi

A Python API to retrieve and read MLB GameDay data

mlbgame mlbgame is a Python API to retrieve and read MLB GameDay data. mlbgame works with real time data, getting information as games are being playe

Aula-API - a school system widely used in Denmark, as you can see and read about in the python file

Information : Hello, thank you for reading this first of all. This is a Aula-API

A program to convert YouTube channel registration information into Json files for ThirdTube.

ThirdTubeImporter A program to convert YouTube channel registration information into Json files for ThirdTube. Usage Japanese https://takeout.google.c

AirDrive lets you store unlimited files to cloud for free. Upload & download files from your personal drive at any time using its super-fast API.
AirDrive lets you store unlimited files to cloud for free. Upload & download files from your personal drive at any time using its super-fast API.

AirDrive lets you store unlimited files to cloud for free. Upload & download files from your personal drive at any time using its super-fast API.

Let your friends know when you are online and offline xD
Let your friends know when you are online and offline xD

Twitter Last Seen Activity Let your friends know when you are online and offline Laser-light eyes when online Last seen is mentioned in user bio Also

πŸ’»  A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline!
πŸ’» A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline!

LocalStack - A fully functional local AWS cloud stack LocalStack provides an easy-to-use test/mocking framework for developing Cloud applications. Cur

A bot which provides online/offline and player status for Thicc SMP, using Replit.

AlynaaStatus A bot which provides online/offline and player status for Thicc SMP. Currently being hosted on Replit. How to use? Create a repl on Repli

A Python Library to interface with Flickr REST API, OAuth & JSON Responses

Python-Flickr Python-Flickr is A Python library to interface with Flickr REST API & OAuth Features Photo Uploading Retrieve user information Common Fl

Elkeid HUB - A rule/event processing engine maintained by the Elkeid Team that supports streaming/offline data processing

Elkeid HUB - A rule/event processing engine maintained by the Elkeid Team that supports streaming/offline data processing

Bytedance Inc. 61 Dec 29, 2022
A Telegram Bot to Play Audio in Voice Chats With Youtube and Deezer support. Supports Live streaming from youtube Supports Mega Radio Fm Streamings

Bot To Stream Musics on PyTGcalls with Channel Support. A Telegram Bot to Play Audio in Voice Chats With Supports Live streaming from youtube and Mega

Shamil Habeeb 37 Dec 15, 2022
A wrapper for The Movie Database API v3 and v4 that only uses the read access token (not api key).

fulltmdb A wrapper for The Movie Database API v3 and v4 that only uses the read access token (not api key). Installation Use the package manager pip t

Jacob Hale 2 Sep 26, 2021
Renjith Mangal 10 Oct 28, 2022
A simple test repo created following docker docs.

docker_sampleRepo A simple test repo created following docker docs. Link to docs: https://docs.docker.com/language/python/develop/ Other links: https:

Suraj Verma 2 Sep 16, 2022
A small python script which runs a speedtest using speedtest.net and inserts it into a Google Docs Spreadsheet.

speedtest-google-sheets This is a small python script which runs a speedtest using speedtest.net and inserts it into a Google Docs Spreadsheet. Setup

marie 2 Feb 10, 2022
It connects to Telegram's API. It generates JSON files containing channel's data, including channel's information and posts.

It connects to Telegram's API. It generates JSON files containing channel's data, including channel's information and posts. You can search for a specific channel, or a set of channels provided in a text file (one channel per line.)

Esteban Ponce de Leon 75 Jan 2, 2023
Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs.

Twython Twython is a Python library providing an easy way to access Twitter data. Supports Python 3. It's been battle tested by companies, educational

Ryan McGrath 1.9k Jan 2, 2023
Volt is yet another discord api wrapper for Python. It supports python 3.8 +

Volt Volt is yet another discord api wrapper for Python. It supports python 3.8 + How to install [Currently Not Supported.] pip install volt.py Speed

Minjun Kim (Lapis0875) 11 Nov 21, 2022