Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unname-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unname-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file unname-0.1.0.tar.gz.

File metadata

  • Download URL: unname-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for unname-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7ed1cd44b666fbb7393498ef88dca2dd14d53348599763a573dfd775e995dc37
MD5 bf648c0b950b94a4aeb4fbe8e8101cc7
BLAKE2b-256 71a870c8284b76e5451b8a382ef93c779bfdeaacc82ec5fbbb021849326313ec

See more details on using hashes here.

File details

Details for the file unname-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: unname-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for unname-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f62ed8f312bb0c6a6bb831e94009f9430710a5c50a338cd728eb5771c41fb06e
MD5 aa04deb3d0546dda3b1c8122475eeb1b
BLAKE2b-256 ae34500936363737eadd78c0bbb8ad223951210bd76b3a04b676e3547e94a4e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page