Skip to content

Commit 4846cc1

Browse files
committed
Rename SDK back to setu
1 parent 4838bd8 commit 4846cc1

20 files changed

Lines changed: 41 additions & 42 deletions

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ tag = True
77
search = version = "{current_version}"
88
replace = version = "{new_version}"
99

10-
[bumpversion:file:setu_python_sdk/__init__.py]
10+
[bumpversion:file:setu/__init__.py]
1111
search = __version__ = '{current_version}'
1212
replace = __version__ = '{new_version}'

CONTRIBUTING.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Report bugs at https://github.com/SetuHQ/setu-python-sdk/issues.
1313

1414
If you are reporting a bug, please include:
1515

16-
* Your operating system name and version.
17-
* Any details about your local setup that might be helpful in troubleshooting.
18-
* Detailed steps to reproduce the bug.
16+
- Your operating system name and version.
17+
- Any details about your local setup that might be helpful in troubleshooting.
18+
- Detailed steps to reproduce the bug.
1919

2020
### Fix Bugs
2121

@@ -39,10 +39,10 @@ The best way to send feedback is to file an issue at https://github.com/SetuHQ/s
3939

4040
If you are proposing a feature:
4141

42-
* Explain in detail how it would work.
43-
* Keep the scope as narrow as possible, to make it easier to implement.
44-
* Remember that this is a volunteer-driven project, and that contributions
45-
are welcome :)
42+
- Explain in detail how it would work.
43+
- Keep the scope as narrow as possible, to make it easier to implement.
44+
- Remember that this is a volunteer-driven project, and that contributions
45+
are welcome :)
4646

4747
## Get Started!
4848

@@ -102,12 +102,11 @@ Before you submit a pull request, check that it meets these guidelines:
102102
## Tips
103103
104104
```
105-
$ poetry run pytest tests/test_setu_python_sdk.py
105+
$ poetry run pytest tests/test_setu.py
106106
```
107107
108108
To run a subset of tests.
109109
110-
111110
## Deploying
112111
113112
A reminder for the maintainers on how to deploy.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ pip install setu
3535
### Setup
3636

3737
```python
38-
from setu_python_sdk import Deeplink
39-
from setu_python_sdk.contract import RefundRequestItem, SetuAPIException
38+
from setu import Deeplink
39+
from setu.contract import RefundRequestItem, SetuAPIException
4040

4141
dl = Deeplink(
4242
scheme_id="c4f57443-dc1e-428f-8c4e-e5fd531057d2",

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
::: setu_python_sdk
1+
::: setu

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
To use Setu UPI DeepLinks SDK in a project
44

55
```
6-
import setu_python_sdk
6+
import setu
77
```

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sources = setu_python_sdk
1+
sources = setu
22

33
.PHONY: test format lint unittest coverage pre-commit clean
44
test: format lint unittest

mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ plugins:
5151
lang: en
5252
- mkdocstrings:
5353
watch:
54-
- setu_python_sdk
54+
- setu
5555
extra:
5656
social:
5757
- icon: fontawesome/brands/twitter
@@ -71,5 +71,5 @@ extra:
7171
# disqus: disqus_id
7272
# uncomment the following and put your google tracking id below to enable GA
7373
#google_analytics:
74-
#- UA-xxx
75-
#- auto
74+
#- UA-xxx
75+
#- auto

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ classifiers=[
1919
'Programming Language :: Python :: 3.9',
2020
]
2121
packages = [
22-
{ include = "setu_python_sdk" },
22+
{ include = "setu" },
2323
{ include = "tests", format = "sdist" },
2424
]
2525

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Top-level package for Setu UPI DeepLinks SDK."""
2-
from setu_python_sdk.deeplink import Deeplink
2+
from setu.deeplink import Deeplink
33

44
__version__ = '1.0.0'
55

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import jwt
66
import requests
77

8-
from setu_python_sdk.contract import API, AUTH_TYPE_OAUTH, Mode
9-
from setu_python_sdk.endpoint import get_url_path
8+
from setu.contract import API, AUTH_TYPE_OAUTH, Mode
9+
from setu.endpoint import get_url_path
1010

1111

1212
def generate_jwt_token(scheme_id: str, secret: str) -> str:

0 commit comments

Comments
 (0)