Skip to main content

Add your description here

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.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: unirule-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 26adf87b8c1f5c56169ff0031f37ee7b6de7198b84a501580b21bd9604ae2534
MD5 5ddb24d63c02ca8e34530ab3e7e9bf18
BLAKE2b-256 b954694cdcb26c03642a4850dbc5af72b2ba0e210c42ebf0867639af3859b818

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unirule-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80c09c1f6641c3d5d15e9cc71289c653a39af672b2b59af40f84925ec843716e
MD5 89a58acf5ae1d5cbdff2a796adfea945
BLAKE2b-256 6a1d53fefe4adda6daffca65bd27865171e162bae1b05c408133090ae27cc931

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