-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
44 additions
and
48 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[package] | ||
name = "sen-py" | ||
version = "0.1.0" | ||
name = "senpy-club" | ||
version = "0.1.1" | ||
authors = ["Fuwn <[email protected]>"] | ||
edition = "2021" | ||
description = "The Senpy Club API Wrapper for Python" | ||
readme = "README.rst" | ||
homepage = "https://github.com/senpy-club/sen-py" | ||
readme = "README.md" | ||
homepage = "https://pypi.org/project/senpy-club/" | ||
repository = "https://github.com/senpy-club/sen-py" | ||
license = "GPL-3.0-only" | ||
keywords = ["rust", "anime", "senpy", "senpy-club"] | ||
categories = ["web-programming", "api-bindings"] | ||
|
||
[lib] | ||
name = "sen_py" | ||
name = "senpy_club" | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 🐍 `sen-py` | ||
|
||
[![PyPI version](https://badge.fury.io/py/senpy-club.svg)](https://badge.fury.io/py/senpy-club) | ||
|
||
The Senpy Club API Wrapper for Python | ||
|
||
## Usage | ||
|
||
```shell | ||
poetry add senpy-club # Poetry | ||
pip install senpy-club # PIP | ||
``` | ||
|
||
## Examples | ||
|
||
Examples can be found within the [`examples/`](./examples) directory. | ||
|
||
## License | ||
|
||
[GNU General Public License v3.0](https://github.com/senpy-club/sen-py/blob/main/LICENSE) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import sen_py | ||
import senpy_club | ||
|
||
print("SENPY_CLUB_API_BASE_URL:", sen_py.SENPY_CLUB_API_BASE_URL) | ||
print("SENPY_CLUB_API_CURRENT_VERSION:", sen_py.SENPY_CLUB_API_CURRENT_VERSION) | ||
print("SENPY_CLUB_API_URL:", sen_py.SENPY_CLUB_API_URL) | ||
print("SENPY_CLUB_API_BASE_URL:", senpy_club.SENPY_CLUB_API_BASE_URL) | ||
print("SENPY_CLUB_API_CURRENT_VERSION:", senpy_club.SENPY_CLUB_API_CURRENT_VERSION) | ||
print("SENPY_CLUB_API_URL:", senpy_club.SENPY_CLUB_API_URL) | ||
|
||
random: sen_py.Random = sen_py.Random() | ||
random: senpy_club.Random = senpy_club.Random() | ||
print("Random.image:", random.language) | ||
print("Random.image:", random.image) | ||
|
||
print("languages:", sen_py.languages()) | ||
print("language(\"C\"):", sen_py.language("C")) | ||
print("languages:", senpy_club.languages()) | ||
print("language(\"C\"):", senpy_club.language("C")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[tool.poetry] | ||
name = "sen-py" | ||
version = "0.1.0" | ||
name = "senpy-club" | ||
version = "0.1.1" | ||
description = "The Senpy Club API Wrapper for Python" | ||
authors = ["Fuwn <[email protected]>"] | ||
license = "GPL-3.0-only" | ||
readme = "README.rst" | ||
readme = "README.md" | ||
repository = "https://github.com/senpy-club/sen-py" | ||
keywords = ["rust", "anime", "senpy", "senpy-club"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters