Skip to main content

License Wheel Version Python Tests

Devo Python SDK

This is the SDK to access Devo directly from Python. It can be used to:

  • Send events and files to Devo.
  • Make queries.
  • Manage deferred tasks.

[!WARNING]
Right now the upload of lookups functionality is based on the my.lookup.data and my.lookup.control tables. This method is deprecated on the Devo backend, and it will be discontinued on 1st January 2026. As an alternative, you can use the Lookups API: Lookups API Documentation. There is a developer guide in documentation.

Requirements

The Devo SDK for Python requires Python 3.10+

Compatibility

  • Tested compatibility for python 3.10, 3.11, 3.12 and 3.13

Quick Start

Installing the SDK

You can install the Devo SDK by using easy_install or pip:

# option 1
easy_install devo-sdk

# option 2
pip install devo-sdk

You can use sources files, cloning the project too:

# option 3
python setup.py install

# option 4
pip install .

# option 5 - dev option
pip install -e .

Documentation

There is specific documentation in the docs folder for each part of SDK:

Contributing

See PyLibs contributing guide.
Pull and merge requests are welcome ☺

Endpoints

Sender

To send data with Devo SDK, first choose the required endpoint depending on the region your are accessing from:

Region Endpoint Port
USA collector-us.devo.io 443
Canada collector-ca.devo.io 443
Europe collector-eu.devo.io 443
APAC collector-ap.devo.io 443

You have more information in the official documentation of Devo, Sending data to Devo.

API

To perform a request with API, first choose the required endpoint depending on the region your are accessing from:

Region Endpoint
USA https://apiv2-us.devo.com/search/query
Canada https://apiv2-ca.devo.com/search/query
Europe https://apiv2-eu.devo.com/search/query
APAC https://api-apac.devo.com/search/query

You have more information in the official documentation of Devo, REST API.

Credentials

To obtain the access credentials necessary to use this SDK, you must have an account in DEVO.

Check the security credentials info for more details.

Certificates

You need use a three files (Cert, key and chain) to secure send data to Devo. Administrator users can find them in Administration → Credentials, in the X.509 tab.

API authorization

You can use a domain API key and API secret to sign the request. These are are a pair of credentials that every Devo account owns. Administrator users can find them in Administration → Credentials, in the Access Keys tab.

Launch tests

Pytest

The SDK uses Pytest for testing. Install the package and testing requirements, then run tests from the project root:

pip install -e .
pip install -r requirements-test.txt

Run all tests:

python -m pytest tests/

Run only unit tests:

python -m pytest tests/unit/

Run only integration tests:

python -m pytest tests/integration/

Run a single test file:

python -m pytest tests/unit/test_sender_encoding.py

Run with coverage report:

python -m pytest tests/ --cov

See the pytest-cov documentation for coverage options.

Integration tests need either a connection to Devo or a local server started by the test run; some tests also require environment variables (e.g. DEVO_API_KEY, DEVO_API_SECRET) or certificate paths. It is normal for integration tests that require Devo credentials or remote certs to be skipped or fail when those are not configured.

Contact Us

You can contact with us at support@devo.com.

License

MIT License

(C) 2024 Devo, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for devo-sdk 7.0.2

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

Source distribution (sdist)

Source distribution for devo-sdk 7.0.2
File Size Uploaded
devo_sdk-7.0.2.tar.gz 42.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for devo-sdk 7.0.2
File Interpreter ABI Platform
devo_sdk-7.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 87.6 kB

Release files / devo_sdk-7.0.2.tar.gz

Download URL devo_sdk-7.0.2.tar.gz
Size 42.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cd923821e43b080e601e2415fc3f49adab27210c339e54c7046f77cf6342853d
BLAKE2b-256 checksum
How to use checksums
4d1a63179ad0726f22e3677df6b9fde99ad98bf98a8fbc57f6f1ef3160e7eb45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / devo_sdk-7.0.2-py2.py3-none-any.whl

Download URL devo_sdk-7.0.2-py2.py3-none-any.whl
Size 45.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ef47b7e15a5dfadefd4432b5f46e63cccf83000375dfc0c0c67b9a8b34f74e77
BLAKE2b-256 checksum
How to use checksums
87d801c18de7d561b091c5ae68531fd0e202d59b5503910fe76c5f012df9c3da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

7.0.2 This release

2 release files

7.0.1

2 release files

7.0.0

2 release files

6.0.7

2 release files

6.0.6

2 release files

6.0.5

2 release files

6.0.4

2 release files

6.0.3

2 release files

6.0.2

2 release files

6.0.1

2 release files

6.0.0

2 release files

5.4.1

2 release files

5.4.0

2 release files

5.3.0

2 release files

5.2.0

2 release files

5.1.10

2 release files

5.1.9

2 release files

5.1.8

2 release files

5.1.7

2 release files

5.1.6

2 release files

5.1.5

2 release files

5.1.4

2 release files

5.1.3

2 release files

5.1.1

2 release files

5.1.0

2 release files

5.0.6

2 release files

5.0.5

2 release files

5.0.4

2 release files

5.0.2

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.6.7

2 release files

3.6.4

2 release files

3.6.3

2 release files

3.6.2

2 release files

3.6.1

2 release files

3.5.0

2 release files

3.4.2

2 release files

3.4.1

2 release files

3.3.7

2 release files

3.3.6

2 release files

3.3.3

2 release files

3.3.2

2 release files

3.3.1

2 release files

3.3.0

2 release files

3.2.5

2 release files

3.2.2

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.3

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.0

2 release files

1.6.3

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.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