An SDK for managing prompts via github
Project description
Manage prompts via github
Usage
from promptSDK import prompts
print(prompts.my_folder.myprompt)
# this expects a repo with repo/my_folder/myprompt.md
Install
pip install promptSDK
Setup
Information on how to generate a token can be found here
If your prompt repo is public just leave the token empty. Required env variables (see env.sample) are
BASE_URL=https://github.com/username/repo
TOKEN=your_github_personal_access_token
Limitations
Currently only supports reading .md files in the prompt repo
Example Prompt Repo
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
promptsdk-0.1.2.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file promptsdk-0.1.2.tar.gz.
File metadata
- Download URL: promptsdk-0.1.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2550ff55f8537b03a8d2bf25df918eadee54ef86bcb08178b4963635a7b95f4d
|
|
| MD5 |
59dd292b9037a12f99cd7f8068b76fba
|
|
| BLAKE2b-256 |
7256318d52d750fe962e81a8c35d99199127cd1bbf37eae11c7248ff8c93de73
|
File details
Details for the file promptsdk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: promptsdk-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50c4472f541506a42a92f879359b1a3adb15050dd9921bf15810c6a9237d647e
|
|
| MD5 |
b017c0605fcb239930600b90e45597b2
|
|
| BLAKE2b-256 |
425c25ec2b450e4ea3461eba9a4740299cf19714af3370899bfb597a9cc14bb8
|