Skip to content

msclock/pysubconverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pysubconverter

A wrapper from subconverter

Documentation License SS Badge

CI CD Renovate Semantic Release codecov

Release PyPI PyPI - Python Version

pre-commit clang-format cmake-format codespell markdownlint shellcheck

Usage

from pysubconverter import config_context, subconverter

with config_context():
    fake_sub = [
        "ss://YWVzLTI1Ni1nY206VEV6amZBWXEySWp0dW9T@127.0.0.1:0123#fake 1",
        "ss://YWVzLTI1Ni1nY206VEV6amZBWXEySWp0dW9T@127.0.0.1:0123#fake 2",
        "ss://YWVzLTI1Ni1nY206VEV6amZBWXEySWp0dW9T@127.0.0.1:0123#fake 3",
    ]
    arguments: dict[str, str] = {
        "target": "clash",
        "url": "|".join(fake_sub),
    }
    result = subconverter(arguments)

License

MIT License, for more details, see the LICENSE file.

About

A wrapper from subconverter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •