# Vedro
[](https://codecov.io/gh/vedro-universe/vedro)
[](https://pypi.python.org/pypi/vedro/)
[](https://pypi.python.org/pypi/vedro/)
[](https://pypi.python.org/pypi/vedro/)
## Installation
```shell
$ pip3 install vedro
```
## Usage
```python
# ./scenarios/decode_base64_encoded_string.py
import base64
import vedro
class Scenario(vedro.Scenario):
subject = "decode base64 encoded string"
def given(self):
self.encoded = "YmFuYW5h"
def when(self):
self.decoded = base64.b64decode(self.encoded)
def then(self):
assert self.decoded == b"banana"
```
```shell
$ vedro run
```
## Documentation
🚀 [vedro.io](https://vedro.io/docs/quick-start)
Raw data
{
"_id": null,
"home_page": "https://github.com/vedro-universe/vedro",
"name": "vedro",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Nikita Tsvetkov",
"author_email": "tsv1@fastmail.com",
"download_url": "https://files.pythonhosted.org/packages/c3/20/7a3f23e223fcc81ccc32fcd0c3a60fc73d9ca7162dcc483ca1f29e123689/vedro-1.13.1.tar.gz",
"platform": null,
"description": "# Vedro\n\n[](https://codecov.io/gh/vedro-universe/vedro)\n[](https://pypi.python.org/pypi/vedro/)\n[](https://pypi.python.org/pypi/vedro/)\n[](https://pypi.python.org/pypi/vedro/)\n\n## Installation\n\n```shell\n$ pip3 install vedro\n```\n\n## Usage\n\n```python\n# ./scenarios/decode_base64_encoded_string.py\nimport base64\nimport vedro\n\nclass Scenario(vedro.Scenario):\n subject = \"decode base64 encoded string\"\n\n def given(self):\n self.encoded = \"YmFuYW5h\"\n\n def when(self):\n self.decoded = base64.b64decode(self.encoded)\n\n def then(self):\n assert self.decoded == b\"banana\"\n```\n\n```shell\n$ vedro run\n```\n\n## Documentation\n\n\ud83d\ude80 [vedro.io](https://vedro.io/docs/quick-start)\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Pragmatic Testing Framework",
"version": "1.13.1",
"project_urls": {
"Docs": "https://vedro.io/",
"GitHub": "https://github.com/vedro-universe/vedro",
"Homepage": "https://github.com/vedro-universe/vedro"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b7f4e97c8f53c88966901a2e0aab206b046389eb2378d9c3e669e8a379f87e03",
"md5": "e808d620a91c3a26dc5f68b748e98c60",
"sha256": "6981ba35e030f85005b43f8344c4c2bc25c072759f43245c4b1189d6c0b98818"
},
"downloads": -1,
"filename": "vedro-1.13.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e808d620a91c3a26dc5f68b748e98c60",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 175079,
"upload_time": "2025-02-27T17:09:50",
"upload_time_iso_8601": "2025-02-27T17:09:50.988605Z",
"url": "https://files.pythonhosted.org/packages/b7/f4/e97c8f53c88966901a2e0aab206b046389eb2378d9c3e669e8a379f87e03/vedro-1.13.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c3207a3f23e223fcc81ccc32fcd0c3a60fc73d9ca7162dcc483ca1f29e123689",
"md5": "daf0d529ad6dbb1ec2dff3760fd13ed6",
"sha256": "e6bd67e7b98fd74db7df5933cde8a14f4c14d44a9078a255199325698322bb14"
},
"downloads": -1,
"filename": "vedro-1.13.1.tar.gz",
"has_sig": false,
"md5_digest": "daf0d529ad6dbb1ec2dff3760fd13ed6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 113954,
"upload_time": "2025-02-27T17:09:54",
"upload_time_iso_8601": "2025-02-27T17:09:54.368492Z",
"url": "https://files.pythonhosted.org/packages/c3/20/7a3f23e223fcc81ccc32fcd0c3a60fc73d9ca7162dcc483ca1f29e123689/vedro-1.13.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-27 17:09:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "vedro-universe",
"github_project": "vedro",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "cabina",
"specs": [
[
"<",
"2.0"
],
[
">=",
"0.7"
]
]
},
{
"name": "filelock",
"specs": [
[
"<",
"4.0"
],
[
">=",
"3.5"
]
]
},
{
"name": "niltype",
"specs": [
[
"<",
"2.0"
],
[
">=",
"0.3"
]
]
},
{
"name": "pyparsing",
"specs": [
[
"<",
"4.0"
],
[
">=",
"3.0"
]
]
},
{
"name": "rich",
"specs": [
[
">=",
"11.0"
],
[
"<",
"14.0"
]
]
}
],
"lcname": "vedro"
}