Robot Framework - SQLess
robotframework-sqless is a SQL abstraction library for Robot Framework
Usage
pip install robotframework-sqless
Example testcase
| *** Settings *** | ||||
| Library | SQLess | schema.yml | db_config.yml | |
| *** Test Cases *** | ||||
| Get Users By Filter | ||||
| ${users} | Get By Filter | Users | username=TestUser | |
| Length Should Be | ${users} | 1 |
The example presumes there is a database with a user table and at least a column username.
Schema definition
The database schema and the database configuration must be defined in separate .yml files. For the above example, the following files should apply:
db_config.yml
dbms: sqlite
db: sqless.db
schema.yml
users:
tablename: user
fields:
id: integer
username: char
Metadata
Release files for robotframework-sqless 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-sqless-0.1.0.tar.gz | 4.5 kB | Without provenance | Details for robotframework-sqless-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robotframework_sqless-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for robotframework_sqless-0.1.0-py3-none-any.whl |
Total release size: 16.3 kB
Release files / robotframework-sqless-0.1.0.tar.gz
| Download URL | robotframework-sqless-0.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0133dba75665a9f5f0347a04483ce8103d1c18f6c784d4635d13809885c178b
|
|
BLAKE2b-256 checksum How to use checksums |
ed38811c6bf25800dcd28612a481e4e07a444251ac5ae1689eaac175b87a71cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9
|
Release files / robotframework_sqless-0.1.0-py3-none-any.whl
| Download URL | robotframework_sqless-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e11893391dac82b4b665c09ab95de101ef7ab93dcc800fa3a511c272d814a3ac
|
|
BLAKE2b-256 checksum How to use checksums |
6fd7b7e2216c760281a7fa60eeaa41fd6609c8d00fa6cba26dd46565553b2eb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9
|
Security for robotframework-sqless 0.1.0
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.