Skip to main content

reftool - A commandline interface for accessing reference archives

Project description

reftool


reftool is a command line interface for accessing reference archives. It allows to display references, copy single reference items into the clipboard and optionally to apply encodings to a copied reference. An example implementation for a reference archive is the usd-reference-archive.

Installation


reftool can be installed via pip, either by installing from PyPi:

[user@host ~]$ pip3 install --user reftool

or by building and installing it manually:

[user@host ~]$ git clone https://github.com/usdAG/reftool
[user@host ~]$ cd reftool
[user@host ~]$ pip3 install -r requirements.txt
[user@host ~]$ python3 setup.py sdist
[user@host ~]$ pip3 install --user dist/reftool-*

reftool supports autocompletion for bash. To take advantage of autocompletion, you need to have the completion-helpers project installed. If setup correctly, just copying the completion script to your ~/.bash_completion.d folder enables autocompletion.

Configuration


During the installation, reftool creates a configuration file ~/.config/reftool.ini. Inside this file, the path for the reference archive and some other display related options are set. You can adjust these options to your own preferences.

In order to be useful, at least one reference archive should be available within reftools reference path. The usd-reference-archive is one example for a reftool compatible archive. You can have several different archives within your reference path.

For a default installation, the following commands can be used to setup a reference archive:

[user@host ~]$ mkdir -p ~/.local/share/reftool-archives
[user@host ~]$ cd ~/.local/share/reftool-archives
[user@host ~]$ git clone https://github.com/usdAG/usd-reference-archive

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reftool-2.2.0.tar.gz (22.5 kB view details)

Uploaded Source

File details

Details for the file reftool-2.2.0.tar.gz.

File metadata

  • Download URL: reftool-2.2.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for reftool-2.2.0.tar.gz
Algorithm Hash digest
SHA256 d2fc95065fd7ad91a57444ee823be982095e05c4b1c2d2f7383bce42d298c245
MD5 40c383db0551ce4676a4efa4fc565793
BLAKE2b-256 9173f83743e3c953a99c14dec6d2198aaf979c80b112182611c9279969d3971e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page