Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish to PyPI

on:
release:
types: [published]

jobs:
publish:
permissions:
contents: read
id-token: write
uses: casonk/.github/.github/workflows/python-publish.yml@main
with:
package-name: pushshift-python
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Python wrapper library for Reddit community analytics using the Pushshift API. I

## Key Dependencies

This project uses but does not formally declare dependencies. Key imports include:
The build metadata reads runtime dependencies from `requirements.txt`. Key imports include:
- `sklearn` (DecisionTreeClassifier, RandomForest, SVM, LogisticRegression)
- `matplotlib`, `pandas`, `numpy`
- `dateutil`
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ All notable changes to `pushshift_python` are documented here.

## Unreleased

## 0.1.0 - 2026-10-17

- Packaged the public `pushshift_python` facade and its query, analytics,
modeling, and utility modules for installation from PyPI.
- Declared runtime dependencies from `requirements.txt` and added a
release-triggered trusted-publishing workflow.
- Added the portfolio-standard governance, continuity, and contributor baseline files.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ tests/ # Public API and HPC smoke coverage

## Installation

Install the published library in a virtual environment:

```bash
python3 -m venv .venv
. .venv/bin/activate
python -m pip install pushshift-python
```

For development from a checkout:

```bash
pip install -e .
```
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ license = { file = "LICENSE" }
authors = [{ name = "Cason Konzer" }]
dynamic = ["dependencies"]

[project.urls]
Homepage = "https://github.com/casonk/pushshift_python"
Repository = "https://github.com/casonk/pushshift_python"
Changelog = "https://github.com/casonk/pushshift_python/blob/main/CHANGELOG.md"

[tool.setuptools]
py-modules = [
"pushshift_python",
Expand Down
Loading