A simple CLI for anonymizing Python codebases for blind review.
Project description
unname
A simple CLI for anonymizing Python codebases for blind review.
It anonymizes pyproject.toml and README.md in your project (see below for details).
If your project is a uv workspace, it anonymizes all workspace members.
Usage
Using uv:
# Files will be overwritten in-place, so make sure you commit your edits and
# make a new branch before running
git switch -c anon
uvx unname
You can also run git grep "Your Name" to verify your name is not accidentaly left in the git repository.
What it does
pyproject.toml anonymization
authors and maintainer fields will be replaced with an empty list (if they exist).
README.md anonymization
The content between <!-- begin-unname --> and <!-- end-unname --> will be removed.
For example:
Input
# My Awesome Project
Code for the paper "My Awesome Method."
<!-- begin-unname -->
- Authors: Alice & Bob
- arXiv link: arxiv.org/abs/1234.56789
<!-- end-unname -->
## Install
...
Output
# My Awesome Project
Code for the paper "My Awesome Method."
## Install
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unname-0.1.1.tar.gz.
File metadata
- Download URL: unname-0.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6d475d8091d25f4d099203fa46c9e557e635240fd253f35e1f942005ece8370
|
|
| MD5 |
5ccb44c86335055e10c47bdaa1d34b6f
|
|
| BLAKE2b-256 |
06d1fb73a8babadc295ff73671ab7a40ac71694621ff15c00c6d803dd38fd39b
|
File details
Details for the file unname-0.1.1-py3-none-any.whl.
File metadata
- Download URL: unname-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c04ec2e56653db43e347f9235e93b76abbc87428b480ff897fcad704576f11e
|
|
| MD5 |
63eed384215e577761b460b4dcfb62a7
|
|
| BLAKE2b-256 |
682f41c588eb9836bd1d3c524c4d881b6587cbc1064393556bf6972396eb7b9f
|