python-trio / python-trio/unasync
Allow pattern matching / substitutions
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 108
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Think this would be a generally very useful feature. Easy to structure your code so that various things have Async/Sync prefixes, and then you can just target them all with a regex instead of having to list every token.
This is something that httpcore are doing in their custom unasync script https://github.com/encode/httpcore/blob/0.11.1/unasync.py#L10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the issue and the referenced httpcore unasync.py example to understand the proposed pattern matching and substitution behavior. Then inspect the unasync repository entry points and tests, if present, to identify where token targeting is implemented. Done means the tool supports regex-based targeting and substitutions with documented, tested behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100