StackoverflowReader (In Beta)
Using the Stackoverflow API, this class will read the Stackoverflow Teams API and return a list of questions and answers based on posts.
It also supports caching the results to a local directory, so that you can run the load_data() method multiple times without hitting the API.
getting a token
Visit: https://stackoverflowteams.com/users/pats/
- Click Create a new PAT
- Name the token, and pick the team scope
- Select an expiration date
- Click Create
Add this to your env, or to the instantiation of the StackoverflowReader(pa_token, team_name, cache_dir='./stackoverflow_cache')
export STACKOVERFLOW_PAT=your_token
export STACKOVERFLOW_TEAM_NAME=your_team
Other features which could be added:
- Add articles
- Add comments
- Add tags
- Add users
- Add votes
- Add badges
Release files for llama-index-readers-stackoverflow 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llama_index_readers_stackoverflow-0.6.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_readers_stackoverflow-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / llama_index_readers_stackoverflow-0.6.0.tar.gz
| Download URL | llama_index_readers_stackoverflow-0.6.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39c274dcd23137209aa4e83afbb2fab525b79bb01b73c663543cefa24720016d
|
|
BLAKE2b-256 checksum How to use checksums |
41ba85f1e33aa3a0ed7dc67df037d22ec7f1c8f183b648e4ff8fe8f8ef37db33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_readers_stackoverflow-0.6.0-py3-none-any.whl
| Download URL | llama_index_readers_stackoverflow-0.6.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16afdb82d2891f4b26936406daa22a14ad0741d0c007b63ee49ec2366f93b1d0
|
|
BLAKE2b-256 checksum How to use checksums |
74666692414c458b065c2940a6a0d5055635073602086785a86a283a5b909603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|