Skip to content

Commit cdfef48

Browse files
author
Kyle McGuire
authored
Merge pull request #22 from DopplerHQ/v1.3.0-1712185506835
liblab SDK update v1.3.0
2 parents b08a0c0 + ef71a8e commit cdfef48

File tree

209 files changed

+8050
-4125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+8050
-4125
lines changed

.manifest.json

Lines changed: 415 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2023
1+
Copyright (c) 2024
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

examples/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,39 @@
11
# doppler-sdk-example
2+
23
A basic example of how to use the doppler-sdk package.
34

45
## Installation
56

67
If `doppler-sdk` is published to pypi:
8+
79
```sh
8-
pip install doppler-sdk==1.2.1
10+
pip install doppler-sdk==1.3.0
911
```
1012

1113
In the event `doppler-sdk` is not published to pypi, you can install it locally by running the following command in the example folder:
14+
1215
```sh
1316
. ./install.sh
1417
```
1518

1619
This will create and start a virtual environment and install the package locally in it.
1720

1821
To close the virtual environment run:
22+
1923
```sh
2024
deactivate
2125
```
2226

2327
To re-activate the virtual environment once it is installed run:
28+
2429
```sh
2530
source .venv/bin/activate
2631
```
2732

2833
## Usage
2934

3035
To run the example, run the following command in the examples folder:
36+
3137
```sh
3238
python sample.py
3339
```

examples/install.cmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
python -m venv .venv
3+
call .venv\Scripts\activate
4+
pip install build
5+
python -m build --outdir dist ..\
6+
pip install dist\doppler_sdk-1.3.0-py3-none-any.whl --force-reinstall

examples/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ python -m venv .venv
22
source .venv/bin/activate
33
pip install build
44
python -m build --outdir dist ../
5-
pip install dist/doppler_sdk-1.2.1-py3-none-any.whl
5+
pip install dist/doppler_sdk-1.3.0-py3-none-any.whl --force-reinstall

examples/install_py3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ python3 -m venv .venv
22
source .venv/bin/activate
33
pip3 install build
44
python3 -m build --outdir dist ../
5-
pip3 install dist/doppler_sdk-1.2.1-py3-none-any.whl
5+
pip3 install dist/doppler_sdk-1.3.0-py3-none-any.whl --force-reinstall

install.cmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
pip install -r requirements.txt
3+
pip install -e src\dopplersdk\
4+
python -m unittest discover -p "test*.py"

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "doppler-sdk"
7-
version = "1.2.1"
7+
version = "1.3.0"
88
license = { text = "MIT" }
99
description = """"""
1010
readme = "README.md"
@@ -17,11 +17,14 @@ classifiers = [
1717
]
1818
dependencies = [
1919
"requests",
20-
"http-exceptions",
20+
"http-exceptions"
21+
]
22+
23+
[project.optional-dependencies]
24+
test = [
2125
"pytest",
2226
"responses"
2327
]
24-
2528
[project.urls]
2629
Documentation = "https://docs.doppler.com/docs/sdk-python"
2730
Source = "https://github.com/DopplerHQ/python-sdk"

0 commit comments

Comments
 (0)