Skip to main content

rev-reader

Parse Json of transcriptions from rev into FAVE-align format and write to CSV.

TOC

  1. Install
  2. How to use
  3. Notes

Install

Pip install as outlined above.

How to use

Built in Python 3.6.5, should work with Python 2 as well.

  1. Run from the command line, option I

    python -m rev_reader.rev_reader $INPUT_FOLDER $ADDITIONAL_OFFSET

    where

    • $INPUT_FOLDER is a path to a directory containing some JSON files of rev annotations. The output CSVs will be written to the same directory. This is a required argument.

    • $ADDITIONAL_OFFSET is a number that will be added to / subtracted from the timestamps before the data is output as CSV. This is an optional argument.

    For example, the command below will convert all the JSON files in the folder annotated_files and subtract 0.01 from each time stamp. It will write CSV files to folder annotated_files.

    python -m rev_reader.rev_reader /home/patrick/Documents/annotated_files -.01

  2. Run from the command line, option II

    You can run the rev_reader.py file directly by executing:

    python $PATH_TO_REV_READER.PY $INPUT_FOLDER $ADDITIONAL_OFFSET

    For example, the command below will convert all the JSON files in the folder annotated_files . It will write CSV files to folder annotated_files.

    e.g. python rev_reader.py /home/patrick/Documents/annotated_files -.01

  3. Import into Python

    You can access the functions directly from Python by doing

    import rev_reader

    Refer to the Github docs for info.

Notes

  1. The naming scheme for CSVs is $LOWERCASE_NAME_OF_INPUT_JSON + $TIMESTAMP + "_faved.csv"

    For example, for input file BE.TO.017.json, the CSV file will be be.to.017_20181124-1819_faved.csv

  2. Dependencies: pandas

Metadata

Release files for rev-reader 0.0.3

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

Source distribution (sdist)

Source distribution for rev-reader 0.0.3
File Size Uploaded Provenance
rev-reader-0.0.3.tar.gz 4.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for rev-reader 0.0.3
File Interpreter ABI Platform
rev_reader-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / rev-reader-0.0.3.tar.gz

Download URL rev-reader-0.0.3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8df2b24d896538c971a5700ab4cab2437f6028968f124695f7ed0b4b1f7af419
BLAKE2b-256 checksum
How to use checksums
1de5a0fa7b62170bdfc201ca315f1deaec5c7d20b70232cb78d4258773d5a73c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release files / rev_reader-0.0.3-py3-none-any.whl

Download URL rev_reader-0.0.3-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf0602dfc0bba1503dd58c63a9f5b22b95e96dd2e56cd86a52df07111475edd1
BLAKE2b-256 checksum
How to use checksums
6845c80c9beda45ce2218e45a08652841ce3708a2f6062d0a4c247ea2edd61f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Security for rev-reader 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

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