Skip to main content

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 file
  • YxdbReader(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


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)

Uploaded Source

Built Distribution

yxdb-0.0.3-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

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