Skip to content

A Python tool that converts XRFF files to CSV format.

License

Notifications You must be signed in to change notification settings

rhiever/xrff2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI version Python 2.7 Python 3.5 License DOI

xrff2csv

A Python tool that converts XRFF files to CSV format.

License

Please see the repository license for the licensing and usage information for xrff2csv.

Generally, we have licensed xrff2csv to make it as widely usable as possible.

Installation

pip install xrff2csv

Usage

xrff2csv can be used on the command line. Use --help to see its usage instructions.

xrff2csv --help

usage: xrff2csv [-h] [-o OUTPUT_FILENAME] [-sep SEP]
                [--ignore-update-check] [--version]
                INPUT_FILENAME

A Python tool that converts XRFF files to CSV format

positional arguments:
  INPUT_FILENAME        XRFF file to convert

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_FILENAME    CSV file to output to
  -sep SEP              Separator in the CSV file (default: \t)
  --ignore-update-check
                        Do not check for the latest version of xrff2csv
                        (default: False)
  --version             show program's version number and exit

An example use on the command line would be:

xrff2csv zoo.xrff -o zoo.csv -sep ,

This command would convert zoo.xrff to zoo.csv with commas (,) as the separator.

xrff can also be used programmatically. An example use in code would be:

from xrff2csv import xrff2csv

xrff2csv('zoo.xrff', 'zoo.csv', sep=',')

Contributing to xrff2csv

We welcome you to check the existing issues for bugs or enhancements to work on. If you have an idea for an extension to xrff2csv, please file a new issue so we can discuss it.

About

A Python tool that converts XRFF files to CSV format.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages