Personal tools
Skip to content. | Skip to navigation
A library for safe markup escaping. Python 3 version.
Martian A library to grok configuration from Python code.Martian tutorial ****************Introduction "There was so much to grok, so little to grok from." -- Stranger in a
Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in Python scripts, the Python and IPython shell, web application servers, and various graphical user interface toolkits. Matplotlib tries to make easy things easy and hard things possible. You can generate plots, histograms, power spectra, bar charts, errorcharts, scatterplots, etc, with just a few lines of code.
Data used by python-matplotlib
Fonts used by python-matplotlib
Inline Matplotlib backend for Jupyter
Tk backend for python3-matplotlib
There are four main commands: maturin new creates a new cargo project with maturin configured. maturin publish builds the crate into python packages and publishes them to pypi. maturin build builds the wheels and stores them in a folder (target/wheels by default), but doesn't upload them. It's possible to upload those with twine or maturin upload. maturin develop builds the crate and installs it as a python module directly in the current virtualenv. Note that while maturin develop is faster, it doesn't support all the feature that running pip install after maturin build supports. pyo3 and rust-cpython bindings are automatically detected, for cffi or binaries you need to pass -b cffi or -b bin. maturin doesn't need extra configuration files and doesn't clash with an existing setuptools-rust or milksnake configuration. You can even integrate it with testing tools such as tox. There are examples for the different bindings in the test-crates folder. The name of the package will be the name of the cargo project, i.e. the name field in the [package] section of Cargo.toml. The name of the module, which you are using when importing, will be the name value in the [lib] section (which defaults to the name of the package). For binaries, it's simply the name of the binary generated by cargo.
McCabe complexity checker Ned's script to check McCabe complexity.This module provides a plugin for flake8, the Python code checker. Installation You can install, upgrade, or uninstall mccabe with these commands:: $ pip install mccabe $ pip install --upgrade mccabe $ pip uninstall mccabe Standalone script --The complexity checker can be used directly:: $ python -m mccabe --min 5 mccabe.py...
The python3-med package contains python3 bindings for med.