Skip to main content

skyra data wrapper

Ruff

This is a wrapper for Skyra APIs. You can use it to download survey responses and metadata for each survey. Built with requests and tqdm.

Install with

pip install skyra-data-wrapper

or

uv add skyra-data-wrapper

Supported APIs

Note most of these APIs are still in beta and might change in the future.

Find surveys

You can list all surveys available by your skyra token

import src.skyra_data_wrapper.skyra_api as skyra

surveys = skyra.find_surveys(token=token)
Expandable example data
{'data': {'items': [{'id': 'fafaa700-ade8-4ffb-9106-9f1ad293dd85',
    'name': 'Example',
    'slug': 'example'}],
  'pagination': {'limit': 2, 'nextCursor': None, 'hasMore': False},
  'organisation_id': 'fafaa700-ade8-4ffb-9106-9f1ad293dd85'}}

Download survey

You can download a survey as json or csv.

For the csv format

data = skyra.download_survey(
    survey_id=survey_ids[0],
    filename_path="data/test_survey.csv",
    token=token,
    format="csv",
)

For the json format

data = skyra.download_survey(
    survey_id=survey_ids[0],
    filename_path="data/test_survey.json",
    token=token,
    format="json"
)

Downloading responses for a date range

start = datetime(2026, 1, 5, 00, 00, tzinfo=zoneinfo.ZoneInfo("Europe/Oslo"))
end = datetime(2026, 1, 12, 00, 00, tzinfo=zoneinfo.ZoneInfo("Europe/Oslo"))

data = skyra.download_survey(
    survey_id=survey_ids[0],
    filename_path="data/test_survey_range.csv",
    token=token,
    format="csv",
    start_date=start.isoformat(),  # 2026-01-05T00:00:00+01:00 # 8601 with timezone oslo
    end_date=end.isoformat(),  # 2026-01-12T00:00:00+01:00
)

See more examples in examples.py

Metadata

Release files for skyra-data-wrapper 0.1.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 skyra-data-wrapper 0.1.3
File Size Uploaded Provenance Actions
skyra_data_wrapper-0.1.3.tar.gz 4.0 kB With provenance Details for skyra_data_wrapper-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for skyra-data-wrapper 0.1.3
File Interpreter ABI Platform Actions
skyra_data_wrapper-0.1.3-py3-none-any.whl Python 3 none any Details for skyra_data_wrapper-0.1.3-py3-none-any.whl

Total release size: 8.4 kB

Release files / skyra_data_wrapper-0.1.3.tar.gz

Download URL skyra_data_wrapper-0.1.3.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a9cc19afceef44f4894c82c8adf4fc508aac9ef099b824f122c3ae2983717933
BLAKE2b-256 checksum
How to use checksums
c949c297c9fbdd4add17cc34b5b4af7dd9dd87ae7ade5e9c3db9366fcf6b2fa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / skyra_data_wrapper-0.1.3-py3-none-any.whl

Download URL skyra_data_wrapper-0.1.3-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e053adcf7d548ac28984eba8be233ff9189d924136fd927188b7915472af4ad6
BLAKE2b-256 checksum
How to use checksums
cf753cc2a827c692a001bba80edd714c5a2e389d1068a842123df22268907ba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for skyra-data-wrapper 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for skyra_data_wrapper-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

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.

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