Skip to main content
Current version License PyPI - Python Version Downloads count

Split.io is feature experimentation platform and it has it’s public API, allowing it’s customers to interact with their resources.

splitio-requests package makes it easy to interact with Admin API by wrapping endpoint requests and providing simplified way to access response data and much more.


Quick example on how to use it

>>> admin_api = AdminAPI("ADMIN_API_TOKEN")
>>> resp = admin_api.splits.get_split("awesome_split", "wsid-123")
>>> resp.status_code
200
>>> resp.json()
{"name": "awesome_split","description": "Great feature",...
>>> resp.url
'https://api.split.io/internal/api/v2/splits/ws/wsid-123/'
>>> resp.headers
'{"X-RATE-LIMIT":"12"...'
>>> bool(resp) # When request was successful
True

What’s great about splitio-requests is that it handles Split.io Admin API throttling system with polling and retires.

Those functionalities are configured by default but changes can be made by the user if necessary.

Other key features

  • Model classes for resources

  • Schemas and serializers for payload data validation

Metadata

Release files for splitio-requests 1.2.1

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

Source distribution (sdist)

Source distribution for splitio-requests 1.2.1
File Size Uploaded
splitio-requests-1.2.1.tar.gz 19.3 kB Details

Release files / splitio-requests-1.2.1.tar.gz

Download URL splitio-requests-1.2.1.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c079aab1b1b7b0b3e71f82974a2a8589a442b773ad2a5d813099af9d05dde8cf
BLAKE2b-256 checksum
How to use checksums
031355439254d12804b5a6f2e917fd1b87aae523f402faa60b6d1814dfd1dd12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.0

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file

1.2.0

1 release file

1.1.1

1 release file

1.1.0

2 release files

1.0.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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