Skip to content

Commit

Permalink
fix: change package name and update readme (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve0x2a <stevesough@gmail.com>
  • Loading branch information
Steve0x2a authored Mar 11, 2022
1 parent 6b088bb commit 1d521c6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/build.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
#needs:[test]
#needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Casdoor's SDK for Python will allow you to easily connect your application to th

Casdoor SDK is simple to use. We will show you the steps below.

Casdoor-python-sdk is available on PyPI:

```console
$ pip install casdoor
```

## Step1. Init Config
Initialization requires 5 parameters, which are all str type:
| Name (in order) | Must | Description |
Expand All @@ -14,7 +20,7 @@ Initialization requires 5 parameters, which are all str type:
| org_name | Yes |Organization name

```python
from oauth.main import CasdoorSDK
from casdoor import CasdoorSDK

sdk = CasdoorSDK(
endpoint,
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
name = casdoor-python-sdk
name = casdoor
version = 0.0.1
author = ffyuanda
author_email = shaoxuan.yuan02@gmail.com
Expand All @@ -24,7 +24,7 @@ classifiers =
package_dir=
=src
packages =
oauth
casdoor
setup_requires =
setuptools
install_requires =
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1d521c6

Please sign in to comment.