saltychiang / vapoursynth-plugins-stub-generator Goto Github PK
View Code? Open in Web Editor NEWAn unofficial stub generator for vapoursynth and its plugins, which is helpful to autocomplete code in VSCode.
License: MIT License
An unofficial stub generator for vapoursynth and its plugins, which is helpful to autocomplete code in VSCode.
License: MIT License
The main
branch is now compatible with VapourSynth R56 or newer. Due to the very different signature format, if you are an earlier version user, please checkout to the R54
branch.
Hi, I believe the new API V4 has broken this tool. No problems with R54.
Python 3.9.7 [GCC 11.1.0] on linux
python -m pip install ./vsstubs
python -m vsstubs install package
Defaulting to user installation because normal site-packages is not writeable
Processing ./vsstubs
Building wheels for collected packages: vsstubs
Building wheel for vsstubs (setup.py) ... done
Created wheel for vsstubs: filename=vsstubs-0.1.1-py3-none-any.whl size=7852 sha256=58d0cfb105332cb02db4fae1f5684ef3d8e379ad7947d6a1e287cf5a900c6395
Stored in directory: /tmp/pip-ephem-wheel-cache-24hwzkuq/wheels/65/1a/ac/f2bd322c6d07f430aca2cbcbfa4d1f9396d637cc4a004ce89c
Successfully built vsstubs
Installing collected packages: vsstubs
Successfully installed vsstubs-0.1.1
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/nsqy/.local/lib/python3.9/site-packages/vsstubs/__main__.py", line 4, in <module>
main()
File "/home/nsqy/.local/lib/python3.9/site-packages/vsstubs/main.py", line 27, in main
install(stubsdir, "__init__.pyi")
File "/home/nsqy/.local/lib/python3.9/site-packages/vsstubs/install.py", line 5, in install
pyi_content = generate.stub()
File "/home/nsqy/.local/lib/python3.9/site-packages/vsstubs/generate.py", line 31, in stub
plugins_meta = convert.plugins_vs2py(plugins)
File "/home/nsqy/.local/lib/python3.9/site-packages/vsstubs/convert.py", line 64, in plugins_vs2py
plugin_meta = PluginMeta(plugin["namespace"], plugin["name"], functions_vs2py(plugin["functions"]))
File "/home/nsqy/.local/lib/python3.9/site-packages/vsstubs/convert.py", line 56, in functions_vs2py
functions_core[name], functions_video[name] = function_params_vs2py(params)
File "/home/nsqy/.local/lib/python3.9/site-packages/vsstubs/convert.py", line 33, in function_params_vs2py
ptype = name_type_opt[1]
IndexError: list index out of range
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.