Skip to content

Commit 4886ca0

Browse files
committed
refactor: rename package from indepacer to pacer-cli
- Rename src/indepacer to src/pacer_cli - Update pyproject.toml with new package name - Update all imports in tests - Update README, docs, and config paths - Config now at ~/.config/pacer-cli/ instead of ~/.config/indepacer/
1 parent 62d6e77 commit 4886ca0

36 files changed

Lines changed: 103 additions & 97 deletions

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
environment:
3737
name: pypi
38-
url: https://pypi.org/p/indepacer
38+
url: https://pypi.org/p/pacer-cli
3939
permissions:
4040
id-token: write # Required for trusted publishing
4141

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [0.2.0] - 2026-03-07
99

10+
### Changed
11+
12+
- **Package renamed** from `indepacer` to `pacer-cli` for clarity
13+
- Config directory changed from `~/.config/indepacer/` to `~/.config/pacer-cli/`
14+
1015
### Added
1116

1217
- **Auth init wizard** (`pacer auth init`) - Interactive setup with MFA validation, encrypted vault, and credential testing

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Contributing to indepacer
1+
# Contributing to pacer-cli
22

33
## Development Setup
44

55
```bash
66
# Clone the repo
7-
git clone git@github.com:johnzfitch/indepacer.git
8-
cd indepacer
7+
git clone git@github.com:johnzfitch/pacer-cli.git
8+
cd pacer-cli
99

1010
# Create virtual environment
1111
python -m venv .venv
@@ -24,7 +24,7 @@ ruff check src/
2424
## Project Structure
2525

2626
```
27-
src/indepacer/
27+
src/pacer-cli/
2828
__init__.py
2929
cli.py # Click CLI commands
3030
config.py # PacerConfig, credentials
@@ -82,7 +82,7 @@ Use Rich for output:
8282
pytest
8383

8484
# Run with coverage
85-
pytest --cov=indepacer
85+
pytest --cov=pacer-cli
8686

8787
# Run specific test
8888
pytest tests/test_parser.py -v

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# ![console](icons/console.png) indepacer
1+
# ![console](icons/console.png) pacer-cli
22

3-
[![CI](https://github.com/johnzfitch/indepacer/actions/workflows/ci.yml/badge.svg)](https://github.com/johnzfitch/indepacer/actions/workflows/ci.yml)
3+
[![CI](https://github.com/johnzfitch/pacer-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/johnzfitch/pacer-cli/actions/workflows/ci.yml)
4+
[![PyPI](https://img.shields.io/pypi/v/pacer-cli.svg)](https://pypi.org/project/pacer-cli/)
45
[![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/downloads/)
56
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
67
[![Security Hardened](https://img.shields.io/badge/security-hardened-brightgreen.svg)](#security)
@@ -11,10 +12,10 @@ A CLI for PACER (Public Access to Court Electronic Records) federal court resear
1112

1213
## ![download](icons/download.png) Installation
1314
```bash
14-
pip install indepacer
15+
pip install pacer-cli
1516

1617
# With full parsing support (BeautifulSoup for legacy formats)
17-
pip install 'indepacer[full]'
18+
pip install 'pacer-cli[full]'
1819
```
1920

2021
## ![checkbox](icons/checkbox.png) Quick Start
@@ -691,7 +692,7 @@ Shows: username, password status, output directories.
691692
692693
### Credentials
693694
694-
Stored in `~/.config/indepacer/config.env` (mode 600):
695+
Stored in `~/.config/pacer-cli/config.env` (mode 600):
695696
696697
```env
697698
PACER_USERNAME=myuser
@@ -728,7 +729,7 @@ Cases are stored in a hierarchical structure:
728729
└── 001-1.pdf # Attachment
729730
```
730731
731-
Credentials are stored separately in `~/.config/indepacer/config.env`.
732+
Credentials are stored separately in `~/.config/pacer-cli/config.env`.
732733
733734
---
734735
@@ -762,9 +763,9 @@ pacer auth test --otp 123456
762763
## ![console](icons/console.png) Python API
763764
764765
```python
765-
from indepacer.parser import parse_docket, parse_docket_file
766-
from indepacer.reader import DocketParser
767-
from indepacer.docket_types import ParsedDocket
766+
from pacer_cli.parser import parse_docket, parse_docket_file
767+
from pacer_cli.reader import DocketParser
768+
from pacer_cli.docket_types import ParsedDocket
768769
from pathlib import Path
769770
770771
# Fast parsing
@@ -812,7 +813,7 @@ PACER charges per page viewed:
812813
813814
## Security
814815
815-
indepacer includes a security module (`security.py`) that protects your account and federal court system resources:
816+
pacer-cli includes a security module (`security.py`) that protects your account and federal court system resources:
816817
817818
- **TLS 1.2+ enforcement** with ECDHE-only cipher suites (no deprecated DHE)
818819
- **Rate limiting** (30 req/min default, configurable) to stay within PACER guidelines
@@ -822,7 +823,7 @@ indepacer includes a security module (`security.py`) that protects your account
822823
- **Secure credential storage** (file mode `0600`, Pydantic `SecretStr` for passwords)
823824
- **Automatic retry** with exponential backoff on transient errors (429, 5xx)
824825
825-
Security configuration in `~/.config/indepacer/config.env`:
826+
Security configuration in `~/.config/pacer-cli/config.env`:
826827
827828
```bash
828829
PACER_RATE_LIMIT=true # Enable rate limiting

ROADMAP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# indepacer Roadmap
1+
# pacer-cli Roadmap
22

33
## v0.2.0 - UX Redesign (Complete)
44

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
## Reporting a Vulnerability
1111

12-
If you discover a security vulnerability in indepacer, please report it responsibly:
12+
If you discover a security vulnerability in pacer-cli, please report it responsibly:
1313

1414
1. **Do not** open a public issue
15-
2. Use [GitHub's private vulnerability reporting](https://github.com/johnzfitch/indepacer/security/advisories/new)
15+
2. Use [GitHub's private vulnerability reporting](https://github.com/johnzfitch/pacer-cli/security/advisories/new)
1616
3. Or email the maintainer directly
1717

1818
We will respond within 48 hours and aim to publish a fix within 7 days for critical issues.

conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""Root conftest — prevent pytest from collecting test-like functions from source modules."""
22

3-
import indepacer.auth
3+
import pacer_cli.auth
44

55

66
# Prevent pytest from collecting test_credentials from auth.py
77
# (it matches pytest's test function naming convention)
8-
indepacer.auth.test_credentials.__test__ = False # type: ignore[attr-defined]
8+
pacer_cli.auth.test_credentials.__test__ = False # type: ignore[attr-defined]

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "indepacer"
6+
name = "pacer-cli"
77
version = "0.2.0"
88
description = "CLI tool for PACER legal document research"
99
readme = "README.md"
1010
requires-python = ">=3.10"
1111
license = "MIT"
1212
authors = [{ name = "Zack Fitch" }]
13-
keywords = ["pacer", "legal", "court", "docket", "cli"]
13+
keywords = ["pacer", "legal", "court", "docket", "cli", "federal-courts"]
1414
classifiers = [
1515
"Development Status :: 4 - Beta",
1616
"Environment :: Console",
@@ -44,17 +44,17 @@ dev = [
4444
]
4545

4646
[project.scripts]
47-
pacer = "indepacer.cli:cli"
47+
pacer = "pacer_cli.cli:cli"
4848

4949
[project.urls]
50-
Homepage = "https://github.com/zackfitch/indepacer"
51-
Documentation = "https://pacer-lib.readthedocs.io/en/latest/"
50+
Homepage = "https://github.com/johnzfitch/pacer-cli"
51+
Repository = "https://github.com/johnzfitch/pacer-cli"
5252

5353
[tool.hatch.build.targets.wheel]
54-
packages = ["src/indepacer"]
54+
packages = ["src/pacer_cli"]
5555

5656
[tool.hatch.build.targets.wheel.force-include]
57-
"src/indepacer/data" = "indepacer/data"
57+
"src/pacer_cli/data" = "pacer_cli/data"
5858

5959
[tool.pytest.ini_options]
6060
testpaths = ["tests"]

src/indepacer/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/pacer_cli/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"""pacer-cli - CLI tool for PACER legal document research."""
2+
3+
__version__ = "0.2.0"

0 commit comments

Comments
 (0)