Skip to main content

hicues

hicues (HIndenburg CUES) is a command line helper tool for Hindenburg Journalist that reads a project file and lists the cue points and their locations on the timeline along with their names. As of October 2021, you cannot get such a list within Hindenburg Journalist itself.

Example output

By default, the program keeps running and listens to changes to the file; the output is refreshed when the file is changed.

Installation

The best way to install hicues is via pip: pip install hicues. You can alternatively install it from the source: python setup.py install.

Usage

Basic usage

Run the program in the command line using hicues path/to/myproject.nhsx. You will then see a table with the cue points in your project (if there are any). The table gets refreshed when you save the file. You can stop the program by pressing ctrl-c.

Command line parameters

For more advanced use cases, you can use some of the following parameters.

flag option description
-h --help Show the help
-t --no-track Don't show track names in the table-formatted output
-r --no-region Don't show region names in the table-formatted output
-d --dump Dump the list of cuepoints to output once instead of watching for changes forever
-v --verbose Print diagnostic messages to stderr
-j --json Output the results in JSON format instead of a formatted table
  --json-indent If the output is JSON, this many spaces will be used to indent it. If not passed, everything will be on one line

Python package

The main function, get_cue_points_from_file() can be accessed by

from hicues import cue_finder
cue_finder.get_cue_points_from_file(filename)

This function returns a dictionary with the cue points ordered by their appearance on the timeline. Each cue point has four keys: timestamp, which is a datetime.time object with the location of the cue point on the timeline; name, the label associated with the cue point; region, the name of the region to which the cue point is attached; and track, showing the name of the track where the the region is located.

Contributing

Issue submissions and pull requests are welcome. Simple fixes do not require an issue to be submitted, however, do submit one if your pull request includes a lot of changes or new features.

Changelog

  • 0.1.0:
    • initial public release

Metadata

Release files for hicues 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hicues 0.1.0
File Size Uploaded
hicues-0.1.0.tar.gz 6.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for hicues 0.1.0
File Interpreter ABI Platform
hicues-0.1.0-py3.9.egg Legacy Egg format - - Details
hicues-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / hicues-0.1.0.tar.gz

Download URL hicues-0.1.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d90f2e86f93662fb1f8ff7ac99726397525b113b3ca621c6e44b666d0db3e82a
BLAKE2b-256 checksum
How to use checksums
85c50ba0ff86ab731be816904453af1904b83fbf7194d605c4b9b3bf2a665e63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

Release files / hicues-0.1.0-py3.9.egg

Download URL hicues-0.1.0-py3.9.egg
Size 11.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
600079abc631e68e813e512a673b474000564d9632e647e857fa4a4c4b4da7c0
BLAKE2b-256 checksum
How to use checksums
b0163752962a162c5b0022cbd2ffc89a57a194b81d63a76b09aa6f2ff65c98a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

Release files / hicues-0.1.0-py3-none-any.whl

Download URL hicues-0.1.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff5d25a0ab36695ef1e5f330be51ec1867bfe7e6a84e4c2fe528597460fac09c
BLAKE2b-256 checksum
How to use checksums
09f2491f1fd740131bbbcdac4cbd878e1097de01db1703712d9eec3241d7337f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

0.1.0 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page