Mypy 1.10.0+dev DocumentationWelcome to mypy documentation! Mypy is a static type checker for Python. Type checkers help ensure that you’re using variables and functions in your code correctly. With mypy, add type hints (PEP 484 dynamic language, so usually you’ll only see errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to add type hints to your code base slowly and that you can always fall back to dynamic typing when static typing is not convenient. Mypy has a powerful and easy-to-use type system, supporting features such0 码力 | 318 页 | 270.84 KB | 1 年前3
Mypy 1.8.0 DocumentationWelcome to mypy documentation! Mypy is a static type checker for Python. Type checkers help ensure that you’re using variables and functions in your code correctly. With mypy, add type hints (PEP 484 dynamic language, so usually you’ll only see errors in your code when you attempt to run it. Mypy is a static checker, so it finds bugs in your programs without even running them! Here is a small example to add type hints to your code base slowly and that you can always fall back to dynamic typing when static typing is not convenient. Mypy has a powerful and easy-to-use type system, supporting features such0 码力 | 318 页 | 271.55 KB | 1 年前3
Kotlin 1.9.10 官方文档 中文版
in real time, get smart coding assistance when writing code, and share results as interactive or static reports. Check out a sample report. Sign up and use Kotlin with a free Datalore Community account tasks. Kotlin DataFrame is a library for structured data processing. It aims to reconcile Kotlin's static typing with the dynamic nature of data by utilizing both the full power of the Kotlin language and interoperability with JavaScript documentation. 非外部类型的限制 Kotlin/Wasm supports conversions for specific Kotlin static types when passing values to and from JavaScript. These supported types include: Primitives, such0 码力 | 3753 页 | 29.69 MB | 1 年前3
PyArmor Documentation v8.5.10faster than a plain script, but it consumes more memory to load binary code --enable-jit prevents static decompilation --enable-themida prevents most of debuggers, only available in Windows, and reduces PyInstaller features. First generate foo.spec: $ pyi-makespec foo.py Then patch foo.spec: a = Analysis( ... ) # Patched by Pyarmor to generate file.list _filelist = [] _package = None for _src in version 8.5.8: supports specfile Once this option is set to onefile or onedir, pyarmor will analysis the source of main script, and find all the imported modules and packages which are in the same0 码力 | 193 页 | 154.05 KB | 1 年前3
PyArmor Documentation v8.1.9example, importing a plain script about 1 ms, but bcc module about 200 ms --enable-jit prevents from static decompilation --enable-themida prevents from most of debuggers, only available in Windows, and reduce script could be any name. Plugin script could define one or more plugin classes: class PluginName static post_build(ctx, inputs, outputs, pack=None) This method is optional. This method is called when (list) – all the output paths pack (str) – if not None, it’s an executable file specified by --pack static post_key(ctx, keyfile, expired=None, devices=None, data=None, period=None) This method is optional0 码力 | 131 页 | 111.00 KB | 1 年前3
Agda User Manual v2.6.3Equality Sorts Universe levels Sized types Coinduction IO Literal overloading Reflection Rewriting Static values Strictness Coinduction Coinductive Records Old Coinduction Copatterns Copatterns in function Equality Sorts Universe levels Sized types Coinduction IO Literal overloading Reflection Rewriting Static values Strictness The Agda type checker knows about, and has special treatment for, a number of the builtin equality type from Agda.Builtin.Equality in Agda.Builtin.Equality.Rewrite. Static values The STATIC pragma can be used to mark definitions which should be normalised before compilation. The0 码力 | 379 页 | 354.83 KB | 1 年前3
Agda User Manual v2.6.2Equality Sorts Universe levels Sized types Coinduction IO Literal overloading Reflection Rewriting Static values Strictness Coinduction Coinductive Records Old Coinduction Copatterns Copatterns in function Equality Sorts Universe levels Sized types Coinduction IO Literal overloading Reflection Rewriting Static values Strictness The Agda type checker knows about, and has special treatment for, a number of the builtin equality type from Agda.Builtin.Equality in Agda.Builtin.Equality.Rewrite. Static values The STATIC pragma can be used to mark definitions which should be normalised before compilation. The0 码力 | 348 页 | 414.11 KB | 1 年前3
Agda User Manual v2.6.2.2Equality Sorts Universe levels Sized types Coinduction IO Literal overloading Reflection Rewriting Static values Strictness Coinduction Coinductive Records Old Coinduction Copatterns Copatterns in function Equality Sorts Universe levels Sized types Coinduction IO Literal overloading Reflection Rewriting Static values Strictness The Agda type checker knows about, and has special treatment for, a number of the builtin equality type from Agda.Builtin.Equality in Agda.Builtin.Equality.Rewrite. Static values The STATIC pragma can be used to mark definitions which should be normalised before compilation. The0 码力 | 354 页 | 433.60 KB | 1 年前3
Agda User Manual v2.6.2.1Equality Sorts Universe levels Sized types Coinduction IO Literal overloading Reflection Rewriting Static values Strictness Coinduction Coinductive Records Old Coinduction Copatterns Copatterns in function Equality Sorts Universe levels Sized types Coinduction IO Literal overloading Reflection Rewriting Static values Strictness The Agda type checker knows about, and has special treatment for, a number of the builtin equality type from Agda.Builtin.Equality in Agda.Builtin.Equality.Rewrite. Static values The STATIC pragma can be used to mark definitions which should be normalised before compilation. The0 码力 | 350 页 | 416.80 KB | 1 年前3
PyArmor Documentation v6.2.7lines in top level (no identation): a = Analysis(... pyz = PYZ(... And there are 3 key parameters when creating an Analysis object, for example: a = Analysis( ... pathex=..., hiddenimports= Add extra path DISTPATH/obf/temp to pathex and hookspath After changed, it may be like this: a = Analysis(['myscript.py'], pathex=[os.path.join(DISTPATH, 'obf', 'temp'), ...], binaries=[] __file__, b'\x01\x0a...') __pyarmor__ is called, it will import original module from obfuscated code: static PyObject * __pyarmor__(char *name, char *pathname, unsigned char *obfuscated_code) { char *string_code0 码力 | 159 页 | 123.91 KB | 1 年前3
共 567 条
- 1
- 2
- 3
- 4
- 5
- 6
- 57













