robotframework-mimesislibrary 1.0.0__tar.gz → 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/.github/workflows/ci.yml +2 -2
- robotframework_mimesislibrary-2.0.0/.github/workflows/publish.yml +36 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/PKG-INFO +24 -19
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/README.md +18 -15
- robotframework_mimesislibrary-2.0.0/docs/index.html +484 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/pyproject.toml +9 -4
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/__init__.py +4 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/address.py +115 -2
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/cryptographic.py +74 -0
- robotframework_mimesislibrary-2.0.0/src/MimesisLibrary/keywords/datetime_kw.py +309 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/development.py +10 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/finance.py +90 -27
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/food.py +3 -3
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/hardware.py +11 -11
- robotframework_mimesislibrary-2.0.0/src/MimesisLibrary/keywords/internet.py +376 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/numeric.py +86 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/path.py +1 -1
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/payment.py +24 -9
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/person.py +70 -27
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/science.py +7 -36
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/text.py +13 -11
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/transport.py +4 -4
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/utils.py +20 -10
- robotframework_mimesislibrary-2.0.0/src/MimesisLibrary/version.py +11 -0
- robotframework_mimesislibrary-2.0.0/tests/acceptance/mimesis_tests.robot +1861 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/tests/unit/test_keywords.py +189 -6
- robotframework_mimesislibrary-1.0.0/.github/workflows/publish.yml +0 -66
- robotframework_mimesislibrary-1.0.0/docs/index.html +0 -387
- robotframework_mimesislibrary-1.0.0/src/MimesisLibrary/keywords/datetime_kw.py +0 -129
- robotframework_mimesislibrary-1.0.0/src/MimesisLibrary/keywords/internet.py +0 -175
- robotframework_mimesislibrary-1.0.0/src/MimesisLibrary/version.py +0 -2
- robotframework_mimesislibrary-1.0.0/tests/acceptance/mimesis_tests.robot +0 -319
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/.gitignore +0 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/LICENSE +0 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/Makefile +0 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/__init__.py +0 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/src/MimesisLibrary/keywords/code.py +0 -0
- {robotframework_mimesislibrary-1.0.0 → robotframework_mimesislibrary-2.0.0}/tests/unit/__init__.py +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Upload Python Package to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
publish:
|
|
13
|
+
name: Build & Publish to PyPI
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout repository
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: Set up Python
|
|
21
|
+
uses: actions/setup-python@v5
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.12"
|
|
24
|
+
|
|
25
|
+
- name: Install build tools
|
|
26
|
+
run: |
|
|
27
|
+
python -m pip install --upgrade pip
|
|
28
|
+
pip install build
|
|
29
|
+
|
|
30
|
+
- name: Build package distribution
|
|
31
|
+
run: python -m build
|
|
32
|
+
|
|
33
|
+
- name: Publish package to PyPI
|
|
34
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
35
|
+
with:
|
|
36
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: robotframework-mimesislibrary
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Robot Framework keyword library wrapper for the Mimesis fake data generator
|
|
5
5
|
Project-URL: Homepage, https://github.com/your-org/robotframework-mimesislibrary
|
|
6
6
|
Project-URL: Repository, https://github.com/your-org/robotframework-mimesislibrary
|
|
7
7
|
Project-URL: Bug Tracker, https://github.com/your-org/robotframework-mimesislibrary/issues
|
|
8
|
-
Project-URL: Documentation, https://
|
|
8
|
+
Project-URL: Documentation, https://robotframework-mimesislibrary.sinanerdinc.com/
|
|
9
9
|
Author: robotframework-mimesis contributors
|
|
10
10
|
License: MIT License
|
|
11
11
|
|
|
@@ -44,13 +44,15 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
44
44
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
45
45
|
Classifier: Topic :: Software Development :: Testing
|
|
46
46
|
Requires-Python: >=3.10
|
|
47
|
-
Requires-Dist: mimesis>=
|
|
47
|
+
Requires-Dist: mimesis>=22.2
|
|
48
48
|
Requires-Dist: robotframework>=5.0
|
|
49
|
+
Requires-Dist: typing-extensions>=4.0
|
|
49
50
|
Provides-Extra: dev
|
|
50
51
|
Requires-Dist: docutils>=0.20; extra == 'dev'
|
|
51
52
|
Requires-Dist: mypy>=1.10; extra == 'dev'
|
|
52
53
|
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
|
|
53
54
|
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
55
|
+
Requires-Dist: pytz>=2024.1; extra == 'dev'
|
|
54
56
|
Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
55
57
|
Description-Content-Type: text/markdown
|
|
56
58
|
|
|
@@ -112,21 +114,21 @@ Library MimesisLibrary locale=EN seed=42
|
|
|
112
114
|
|
|
113
115
|
| Category | Example Keywords |
|
|
114
116
|
|----------|-----------------|
|
|
115
|
-
| **Person** | `Fake First Name`, `Fake Full Name`, `Fake Email`, `Fake Password` |
|
|
116
|
-
| **Address** | `Fake City`, `Fake Country`, `Fake Street Name`, `Fake Zip Code` |
|
|
117
|
-
| **Internet** | `Fake IPv4`, `Fake URL`, `Fake MAC Address`, `Fake User Agent` |
|
|
117
|
+
| **Person** | `Fake First Name`, `Fake Full Name`, `Fake Email`, `Fake Password`, `Fake Birthdate`, `Fake Identifier` |
|
|
118
|
+
| **Address** | `Fake City`, `Fake Country`, `Fake Street Name`, `Fake Zip Code`, `Fake Postal Code`, `Fake Default Country` |
|
|
119
|
+
| **Internet** | `Fake IPv4`, `Fake IPv4 CIDR`, `Fake Cloud Region`, `Fake URL`, `Fake URI`, `Fake Query String`, `Fake Top Level Domain`, `Fake MAC Address`, `Fake User Agent` |
|
|
118
120
|
| **Code** | `Fake EAN`, `Fake IMEI`, `Fake ISBN`, `Fake UUID` |
|
|
119
|
-
| **Cryptographic** | `Fake UUID`, `Fake Token Hex`, `Fake
|
|
120
|
-
| **Datetime** | `Fake Date`, `Fake Time`, `Fake Datetime`, `Fake
|
|
121
|
-
| **Finance** | `Fake Bank Account`, `Fake Currency Code`, `Fake Cryptocurrency` |
|
|
122
|
-
| **Payment** | `Fake Credit Card Number`, `Fake CVV` |
|
|
121
|
+
| **Cryptographic** | `Fake UUID`, `Fake Token Hex`, `Fake JWT`, `Fake API Key`, `Fake Hash`, `Fake Mnemonic Phrase` |
|
|
122
|
+
| **Datetime** | `Fake Date`, `Fake Time`, `Fake Datetime`, `Fake Past Date`, `Fake Future Datetime`, `Fake Duration`, `Fake Formatted Date`, `Fake Timestamp` |
|
|
123
|
+
| **Finance** | `Fake Bank Account`, `Fake Currency Code`, `Fake Company`, `Fake Price In BTC`, `Fake Cryptocurrency Symbol` |
|
|
124
|
+
| **Payment** | `Fake Credit Card Number`, `Fake CVV`, `Fake CID`, `Fake Credit Card Owner` |
|
|
123
125
|
| **Food** | `Fake Dish`, `Fake Drink`, `Fake Fruit`, `Fake Vegetable` |
|
|
124
|
-
| **Text** | `Fake Word`, `Fake Sentence`, `Fake Color`, `Fake Quote` |
|
|
125
|
-
| **Numeric** | `Fake Integer`, `Fake Float` |
|
|
126
|
-
| **Hardware** | `Fake CPU`, `Fake GPU`, `Fake RAM Size` |
|
|
127
|
-
| **Transport** | `Fake Car`, `Fake
|
|
128
|
-
| **Development** | `Fake Programming Language`, `Fake OS`, `Fake License` |
|
|
129
|
-
| **Science** | `Fake Chemical Element`, `Fake
|
|
126
|
+
| **Text** | `Fake Word`, `Fake Sentence`, `Fake Color`, `Fake Quote`, `Fake Level` |
|
|
127
|
+
| **Numeric** | `Fake Integer`, `Fake Float`, `Fake Matrix`, `Fake Increment` |
|
|
128
|
+
| **Hardware** | `Fake CPU`, `Fake GPU`, `Fake RAM Size`, `Fake Generation` |
|
|
129
|
+
| **Transport** | `Fake Car`, `Fake Vehicle Registration Code`, `Fake Airplane` |
|
|
130
|
+
| **Development** | `Fake Programming Language`, `Fake OS`, `Fake License`, `Fake Stage` |
|
|
131
|
+
| **Science** | `Fake Chemical Element`, `Fake DNA Sequence`, `Fake RNA Sequence` |
|
|
130
132
|
| **Path** | `Fake Root Path`, `Fake Project Dir` |
|
|
131
133
|
|
|
132
134
|
## Supported Locales
|
|
@@ -154,9 +156,12 @@ Reproducible Test
|
|
|
154
156
|
${name}= Fake First Name # Always returns the same value
|
|
155
157
|
```
|
|
156
158
|
|
|
157
|
-
##
|
|
159
|
+
## Documentation
|
|
158
160
|
|
|
159
|
-
|
|
161
|
+
Full keyword documentation is available online:
|
|
162
|
+
👉 **[https://robotframework-mimesislibrary.sinanerdinc.com/](https://robotframework-mimesislibrary.sinanerdinc.com/)**
|
|
163
|
+
|
|
164
|
+
You can also generate the full keyword reference HTML locally:
|
|
160
165
|
|
|
161
166
|
```bash
|
|
162
167
|
python -m robot.libdoc MimesisLibrary docs/index.html
|
|
@@ -56,21 +56,21 @@ Library MimesisLibrary locale=EN seed=42
|
|
|
56
56
|
|
|
57
57
|
| Category | Example Keywords |
|
|
58
58
|
|----------|-----------------|
|
|
59
|
-
| **Person** | `Fake First Name`, `Fake Full Name`, `Fake Email`, `Fake Password` |
|
|
60
|
-
| **Address** | `Fake City`, `Fake Country`, `Fake Street Name`, `Fake Zip Code` |
|
|
61
|
-
| **Internet** | `Fake IPv4`, `Fake URL`, `Fake MAC Address`, `Fake User Agent` |
|
|
59
|
+
| **Person** | `Fake First Name`, `Fake Full Name`, `Fake Email`, `Fake Password`, `Fake Birthdate`, `Fake Identifier` |
|
|
60
|
+
| **Address** | `Fake City`, `Fake Country`, `Fake Street Name`, `Fake Zip Code`, `Fake Postal Code`, `Fake Default Country` |
|
|
61
|
+
| **Internet** | `Fake IPv4`, `Fake IPv4 CIDR`, `Fake Cloud Region`, `Fake URL`, `Fake URI`, `Fake Query String`, `Fake Top Level Domain`, `Fake MAC Address`, `Fake User Agent` |
|
|
62
62
|
| **Code** | `Fake EAN`, `Fake IMEI`, `Fake ISBN`, `Fake UUID` |
|
|
63
|
-
| **Cryptographic** | `Fake UUID`, `Fake Token Hex`, `Fake
|
|
64
|
-
| **Datetime** | `Fake Date`, `Fake Time`, `Fake Datetime`, `Fake
|
|
65
|
-
| **Finance** | `Fake Bank Account`, `Fake Currency Code`, `Fake Cryptocurrency` |
|
|
66
|
-
| **Payment** | `Fake Credit Card Number`, `Fake CVV` |
|
|
63
|
+
| **Cryptographic** | `Fake UUID`, `Fake Token Hex`, `Fake JWT`, `Fake API Key`, `Fake Hash`, `Fake Mnemonic Phrase` |
|
|
64
|
+
| **Datetime** | `Fake Date`, `Fake Time`, `Fake Datetime`, `Fake Past Date`, `Fake Future Datetime`, `Fake Duration`, `Fake Formatted Date`, `Fake Timestamp` |
|
|
65
|
+
| **Finance** | `Fake Bank Account`, `Fake Currency Code`, `Fake Company`, `Fake Price In BTC`, `Fake Cryptocurrency Symbol` |
|
|
66
|
+
| **Payment** | `Fake Credit Card Number`, `Fake CVV`, `Fake CID`, `Fake Credit Card Owner` |
|
|
67
67
|
| **Food** | `Fake Dish`, `Fake Drink`, `Fake Fruit`, `Fake Vegetable` |
|
|
68
|
-
| **Text** | `Fake Word`, `Fake Sentence`, `Fake Color`, `Fake Quote` |
|
|
69
|
-
| **Numeric** | `Fake Integer`, `Fake Float` |
|
|
70
|
-
| **Hardware** | `Fake CPU`, `Fake GPU`, `Fake RAM Size` |
|
|
71
|
-
| **Transport** | `Fake Car`, `Fake
|
|
72
|
-
| **Development** | `Fake Programming Language`, `Fake OS`, `Fake License` |
|
|
73
|
-
| **Science** | `Fake Chemical Element`, `Fake
|
|
68
|
+
| **Text** | `Fake Word`, `Fake Sentence`, `Fake Color`, `Fake Quote`, `Fake Level` |
|
|
69
|
+
| **Numeric** | `Fake Integer`, `Fake Float`, `Fake Matrix`, `Fake Increment` |
|
|
70
|
+
| **Hardware** | `Fake CPU`, `Fake GPU`, `Fake RAM Size`, `Fake Generation` |
|
|
71
|
+
| **Transport** | `Fake Car`, `Fake Vehicle Registration Code`, `Fake Airplane` |
|
|
72
|
+
| **Development** | `Fake Programming Language`, `Fake OS`, `Fake License`, `Fake Stage` |
|
|
73
|
+
| **Science** | `Fake Chemical Element`, `Fake DNA Sequence`, `Fake RNA Sequence` |
|
|
74
74
|
| **Path** | `Fake Root Path`, `Fake Project Dir` |
|
|
75
75
|
|
|
76
76
|
## Supported Locales
|
|
@@ -98,9 +98,12 @@ Reproducible Test
|
|
|
98
98
|
${name}= Fake First Name # Always returns the same value
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
##
|
|
101
|
+
## Documentation
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
Full keyword documentation is available online:
|
|
104
|
+
👉 **[https://robotframework-mimesislibrary.sinanerdinc.com/](https://robotframework-mimesislibrary.sinanerdinc.com/)**
|
|
105
|
+
|
|
106
|
+
You can also generate the full keyword reference HTML locally:
|
|
104
107
|
|
|
105
108
|
```bash
|
|
106
109
|
python -m robot.libdoc MimesisLibrary docs/index.html
|