credmgr-1.6.0
توضیحات
Credential Manager API Client
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | credmgr-1.6.0 |
| نام | credmgr |
| نسخه کتابخانه | 1.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lil_SpazJoekp |
| ایمیل نویسنده | spaz@jesassn.org |
| آدرس صفحه اصلی | https://credmgr.jesassn.org |
| آدرس اینترنتی | https://pypi.org/project/credmgr/ |
| مجوز | Proprietary |
CredentialManager
=================
Client for interacting with Credential Manager API
- API version: 1.0
- Package version: 1.6.0
Requirements
------------
Python 3.7+
Installation & Usage
--------------------
.. code-block:: sh
pip install credmgr
Then import the package:
.. code-block:: python
from credmgr import CredentialManager
Getting Started
---------------
.. code-block:: python
credential_manager = CredentialManager(api_token="api_token")
# List all Reddit apps
reddit_apps = credential_manager.reddit_apps()
for reddit_app in reddit_apps:
print(reddit_app.name)
# Create a Reddit app
redditApp = credential_manager.reddit_app.create(
name="reddit_app_name",
client_id="client_id",
client_secret="client_secret",
user_agent="user_agent",
redirect_uri="redirect_uri",
)
# Get the app by id
reddit_app = credential_manager.reddit_app(1)
# Edit the Reddit app
reddit_app.edit(client_id="client_id_2")
# Delete the app
reddit_app.delete()
نیازمندی
| مقدار | نام |
|---|---|
| - | asyncpraw |
| - | marshmallow |
| - | praw |
| - | python-dateutil |
| - | requests |
| - | requests-toolbelt |
| - | cached-property |
| - | sphinx-rtd-theme |
| - | pydocstyle |
| - | betamax |
| - | coverage |
| - | black |
| - | flake8 |
| - | flynt |
| - | sphinx |
| - | betamax-serializers |
| - | pytest-cov |
| - | pytest |
| <3.0 | sphinx |
| - | pytest-xdist |
| - | pytest-mock |
| - | docstrfmt |
| - | isort |
| - | mock |
| - | sphinx |
| - | sphinx-rtd-theme |
| - | black |
| - | docstrfmt |
| - | flake8 |
| - | flynt |
| - | isort |
| - | pydocstyle |
| <3.0 | sphinx |
| - | sphinx-rtd-theme |
| - | betamax |
| - | betamax-serializers |
| - | coverage |
| - | mock |
| - | pytest |
| - | pytest-cov |
| - | pytest-mock |
| - | pytest-xdist |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl credmgr-1.6.0:
pip install credmgr-1.6.0.whl
نصب پکیج tar.gz credmgr-1.6.0:
pip install credmgr-1.6.0.tar.gz