Reads Alteryx data files into Python
Project description
yxdb-py
yxdb-py is a library for reading YXDB files into Python.
install using pip install yxdb
The library does not have external dependencies and is a pure Python solution.
The public API is contained in the YxdbReader class. Instantiate YxdbReader with the following constructors:
YxdbReader(path=str)
- load from a fileYxdbReader(stream=BytesIO)
- load from an in-memory stream
Iterate through the records in the file using the next()
method in a while loop:
while reader.next():
# do something
Fields can be access via the read_index()
and read_name()
methods on the YxdbReader class.
The list of fields in the YXDB file can be access via the list_fields()
method.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yxdb-0.0.3.tar.gz
(8.1 kB
view hashes)
Built Distribution
yxdb-0.0.3-py3-none-any.whl
(9.2 kB
view hashes)