Skip to main content

rars

A Rust implementation of RAR.

rars is free software for compression, decompression and recovery of RAR archives. It supports all the archive types I could find - from the early RE~^ ones from the DOS days all the way through to RAR 7. It comes with a Rust library, a CLI, Python and TypeScript bindings.

It's a bit slower than WinRAR, it uses more memory and has slightly worse compression. It could probably use more testing, too. Other than that it's in pretty good shape.

Usage

The API is in the rars crate, which is used by the Python and TypeScript bindings. For the CLI, run:

cargo install rars-cli.

To inspect, test, and extract archives:

rars info archive.rar
rars test archive.rar
rars x archive.rar out/

To create archives with a specific RAR generation:

rars a --format rar29 archive.rar files...
rars a --format rar29 --solid --auto-filter archive.rar files...
rars a --format rar70 --store --volume-size 10m archive.part1.rar files...

The writer supports stored and compressed members, split volumes, passwords, comments, RARVM filters, RAR5 quick-open records, recovery records and header encryption. There are a lot of things I won't list here, so run rars --help for more details.

Bindings

Python bindings are published to pypi, so you can pip install rars. To build locally, it's just python.

For JS it's built to WebAssembly and published to npm; npm install @bitplane/rars. It reads and writes in the browser and in Node, with no native module. To build locally, type just npm.

Download files

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

Source Distribution

rars-0.9.3.tar.gz (4.8 MB view details)

Uploaded Source

Built Distributions

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

rars-0.9.3-cp310-abi3-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

rars-0.9.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

rars-0.9.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

rars-0.9.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (2.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file rars-0.9.3.tar.gz.

File metadata

  • Download URL: rars-0.9.3.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for rars-0.9.3.tar.gz
Algorithm Hash digest
SHA256 6c8f2d3a51e179e18baabd3637c4ad04c177ceace07310f05ba768715ed0edc7
MD5 76d9bf5deb95bb6743a426bc9ff314e3
BLAKE2b-256 492c03912bee55c7a886b5d2005e641620f74b591fe345ad601af6b01e869b5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for rars-0.9.3.tar.gz:

Publisher: release.yml on bitplane/rars

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rars-0.9.3-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: rars-0.9.3-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for rars-0.9.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 27e20684446e6c4620bdbb88d5febb468a5b6fc1f839f5236061a28565a22aa4
MD5 668f18a5e23d58b9424292884cc8999a
BLAKE2b-256 6f0a06ca62bd1d8625f754edde95ac29df7db0ef9fb77f0d9dce75ab7641b2a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for rars-0.9.3-cp310-abi3-win_amd64.whl:

Publisher: release.yml on bitplane/rars

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rars-0.9.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rars-0.9.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b92844b530e1e2b0cda657edd0ea2dcdf02bd111195eacf8204375b68b9211ba
MD5 71f78e0e0d207b3bc597be2749f8a442
BLAKE2b-256 0464e43b392625d32e29b8a947686c5e022d0f606bfb7c415a6561e669fd8cff

See more details on using hashes here.

Provenance

The following attestation bundles were made for rars-0.9.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on bitplane/rars

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rars-0.9.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rars-0.9.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a64bb1697acfa84a263e8081d3459a66580cae9e67e4d8b1fba85207d6cd7ba8
MD5 d1b0f9a3b71bfdf7ad6c48aad1838d46
BLAKE2b-256 2f699a3ec7768a40183d5936a365ca562ccdee0cd3850ecac45ade3ffc365886

See more details on using hashes here.

Provenance

The following attestation bundles were made for rars-0.9.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on bitplane/rars

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rars-0.9.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for rars-0.9.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 101e3f283f918365ff2b06fd5b1185068cd0abaaad57e8de40bd63e610e19bdf
MD5 8e8f99930e543a359017ef099df3b0f7
BLAKE2b-256 b01350f0c8f0dc6624e5a76a940d4250767900113ea2ccdfaa21f99cfe352b03

See more details on using hashes here.

Provenance

The following attestation bundles were made for rars-0.9.3-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: release.yml on bitplane/rars

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.9.3 This release

5 files

0.9.2

5 files

0.9.1

5 files

0.9.0

5 files

0.8.0

5 files

0.7.4

5 files

0.7.3

5 files

0.6.0

5 files

0.5.2

5 files

0.5.1

5 files

0.5.0

5 files

0.4.9

5 files

0.4.8

5 files

0.4.7

5 files

0.4.6

5 files

0.4.5

5 files

0.4.4

5 files

0.4.3

4 files

0.4.2

5 files

0.4.1

5 files

0.4.0

5 files

0.3.2

5 files

0.3.1

5 files

Supported by

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