Skip to main content

relese-next Build Status LICENSE

wheel version python

Devo Python Utils

This package it's an extra for the Devo SDK and our clients. It can be used to:

  • Order files.
  • Generate fake data.
  • File IO generators.

Requirements

This package require Python 3.5+ and devo-sdk package

Quick Start

Installing the package:

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

#option 1
easy_install devo-utils

#option 2
pip install devo-utils

You can use sources files, clonning the project too:

#option 3
python setup.py install

#option 4
pip install .

#option 5 - dev option
pip install -e .

Documentation

You have specific documentation in docs folder for each part of SDK:

{% - set .... -%}

Faker will not treat that line as a send line, if a variable is created without the hyphens, for example:

{% set ....%}

Faker will believe that it is a line to send, so you have to keep this in mind

And examples in examples folder.

Contributing

See Python Utils contributing guide.
Pull requests are welcome ☺

Launch tests

run_tests script

You can run tests from the main folder of SDK To launch this script, you need either the environment variables loaded in the system, or the environment.env file in the root of the SDK with the correct values, since to test all the SDK functionalities it is necessary to connect to Devo for the tests of sending and extracting data. You has a example file called environment.env.example

It's normal, by the way, TCP tests fails in clients or not Devo developers systems.

~/projects/python-utils > python setup.py test 
~/projects/python-utils > python run_tests.py

You can add option "Coverage" for create HTML report about tests.

~/projects/python-utils > python run_tests.py --coverage

Run using Unittest command

You can see references in unittest documentation

For commands like:

python -m unittest discover -p "*.py" 

If you launch this command from the root directory of the SDK, you need to have the environment variables in your system for all the tests that require connection to Devo can work, not being able to use the environment.env file as in the script.

Contact Us

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

License

MIT License

(C) 2019 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-utils 3.0.7

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-utils 3.0.7
File Size Uploaded Provenance Actions
devo-utils-3.0.7.tar.gz 20.6 kB Without provenance Details for devo-utils-3.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for devo-utils 3.0.7
File Interpreter ABI Platform Actions
devo_utils-3.0.7-py2.py3-none-any.whl Python 2, Python 3 none any Details for devo_utils-3.0.7-py2.py3-none-any.whl

Total release size: 56.3 kB

Release files / devo-utils-3.0.7.tar.gz

Download URL devo-utils-3.0.7.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bb5d86a6e858100dcaff5c2a6702b75325f08122eb862330253305fde695c1c6
BLAKE2b-256 checksum
How to use checksums
d27b908891a7988a521cf28ec839d0eb427a78b0ca9ce94d0fad6c54b1254b27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.23.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3

Release files / devo_utils-3.0.7-py2.py3-none-any.whl

Download URL devo_utils-3.0.7-py2.py3-none-any.whl
Size 35.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c5ff84267afbfd26f5d01f6f1673a006c56a87fdded7a8d2ae9db2f8ec5b525c
BLAKE2b-256 checksum
How to use checksums
505e67448cece809f58e87ad6fed3ca7353ad747abd9c65d6b2c4804e5c9c2e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.23.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.3

Security for devo-utils 3.0.7

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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