writeprints-static (v0.0.2) requires pydantic >=1.7.4,<1.9.0 which is incompatible with anthropic SDK (>=0.40) which requires pydantic >=1.9.0,<3. This is an irreconcilable dependency conflict. The writeprints-static package (Writeprints-Static stylometry feature extraction for authorship attribution, Brennan et al. 2012) cannot be installed alongside the Anthropic Python SDK in the same environment.
Implement the Writeprints-Static feature set natively instead of using the package. The core features are straightforward to extract with stdlib + collections.Counter: word-level (avg word length, short/long word ratios), character-level (digit%, uppercase%, space%), vocabulary richness (TTR, hapax ratio, dis legomena ratio), sentence-level (mean length, stdev), and punctuation rates (comma, semicolon, question mark per 1000 words). Total ~15 features, ~50 lines of code. No spaCy dependency needed if you skip POS tag features. The Brennan et al. 2012 paper documents all features clearly.