Skip to main content

Rule converter for proxy platforms.

Project description

unirule

Rule converter for proxy platforms.

unirule supports rules in text formats only. For binary formats, we recommend MetaCubeX/geo.

Install

unirule requires Python >= 3.10 .

pip install unirule

Usage

unirule -h
usage: unirule [-h] -i {singbox,dlc,meta-domain-yaml,meta-domain-text} -o {singbox,dlc,meta-domain-yaml,meta-domain-text} input_path output_path

positional arguments:
  input_path            "stdin" or path to the input file
  output_path           "stdout" or path to the output file

options:
  -h, --help            show this help message and exit
  -i {singbox,dlc,meta-domain-yaml,meta-domain-text}, --input-type {singbox,dlc,meta-domain-yaml,meta-domain-text}
                        type of the input file
  -o {singbox,dlc,meta-domain-yaml,meta-domain-text}, --output-type {singbox,dlc,meta-domain-yaml,meta-domain-text}
                        type of the output file

Develop

This project uses Rye.

git clone https://github.com/TargetLocked/unirule.git
cd unirule
rye sync

For more information, please refer to the manual of Rye.

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

unirule-0.1.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

unirule-0.1.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file unirule-0.1.1.tar.gz.

File metadata

  • Download URL: unirule-0.1.1.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for unirule-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7b3c2200cfba96651d0d8ad105d19703f5ab48ab3bd2bccb1f028d7de5b6a2d9
MD5 3b7b6444b185d4361a40d9813ed0be62
BLAKE2b-256 bf272e7b19f959d1b2b7246a8d9beb47fcce40950854d850f3b8d67324fda0a1

See more details on using hashes here.

File details

Details for the file unirule-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: unirule-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for unirule-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97e4d0e72ccd8fa85c02827827ffe99ce809671efa82ea47d855438d6811d326
MD5 0f1bdda5a28eb90b18f59cc31ba1b603
BLAKE2b-256 c8ac035709c2686bc1950d7d2910b5c0ca444bceacbea420b1817dc069a80480

See more details on using hashes here.

Supported by

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