code
stringlengths
2.5k
150k
kind
stringclasses
1 value
bash Modifiers Modifiers ========= After the optional word designator, you can add a sequence of one or more of the following modifiers, each preceded by a β€˜`:`’. These modify, or edit, the word or words selected from the history event. `h` Remove a trailing pathname component, leaving only the head. `t` Re...
programming_docs
bash Readline Movement Commands Readline Movement Commands ========================== The above table describes the most basic keystrokes that you need in order to do editing of the input line. For your convenience, many other commands have been added in addition to `C-b`, `C-f`, `C-d`, and `DEL`. Here are some comma...
programming_docs
bash Index of Shell Reserved Words Index of Shell Reserved Words ============================= | | | | --- | --- | | Jump to: | [**!**](#Reserved-Word-Index_rw_symbol-1) [**[**](#Reserved-Word-Index_rw_symbol-2) [**]**](#Reserved-Word-Index_rw_symbol-3) [**{**](#Reserved-Word-Index_rw_symbol-4) [**}**](#Reserved...
programming_docs
bash A Programmable Completion Example A Programmable Completion Example ================================= The most common way to obtain additional completion functionality beyond the default actions `complete` and `compgen` provide is to use a shell function and bind it to a particular command using `complete -F`. ...
programming_docs
bash Basic Shell Features Basic Shell Features ==================== Bash is an acronym for β€˜`Bourne-Again SHell`’. The Bourne shell is the traditional Unix shell originally written by Stephen Bourne. All of the Bourne shell builtin commands are available in Bash, The rules for evaluation and quoting are taken from th...
programming_docs
bash Locale-Specific Translation Locale-Specific Translation =========================== Prefixing a double-quoted string with a dollar sign (β€˜`$`’), such as `$"hello, world"`, will cause the string to be translated according to the current locale. The `gettext` infrastructure performs the lookup and translation, usi...
programming_docs
bash Sample Init File Sample Init File ================ Here is an example of an inputrc file. This illustrates key binding, variable assignment, and conditional syntax. ``` # This file controls the behaviour of line input editing for # programs that use the GNU Readline library. Existing # programs include FTP...
programming_docs
bash Simple Command Expansion Simple Command Expansion ======================== When a simple command is executed, the shell performs the following expansions, assignments, and redirections, from left to right, in the following order. 1. The words that the parser has marked as variable assignments (those preceding...
programming_docs
bash Function Index Function Index ============== | | | | --- | --- | | Jump to: | [**A**](#Function-Index_fn_letter-A) [**B**](#Function-Index_fn_letter-B) [**C**](#Function-Index_fn_letter-C) [**D**](#Function-Index_fn_letter-D) [**E**](#Function-Index_fn_letter-E) [**F**](#Function-Index_fn_letter-F) [**G**](...
programming_docs
bash Bourne Shell Variables Bourne Shell Variables ====================== Bash uses certain shell variables in the same way as the Bourne shell. In some cases, Bash assigns a default value to the variable. `CDPATH` A colon-separated list of directories used as a search path for the `cd` builtin command. `HOM...
programming_docs
bash The Restricted Shell The Restricted Shell ==================== If Bash is started with the name `rbash`, or the `--restricted` or `-r` option is supplied at invocation, the shell becomes restricted. A restricted shell is used to set up an environment more controlled than the standard shell. A restricted shell be...
programming_docs
bash ANSI-C Quoting ANSI-C Quoting ============== Character sequences of the form $’string’ are treated as a special kind of single quotes. The sequence expands to string, with backslash-escaped characters in string replaced as specified by the ANSI C standard. Backslash escape sequences, if present, are decoded as f...
programming_docs
bash Arrays Arrays ====== Bash provides one-dimensional indexed and associative array variables. Any variable may be used as an indexed array; the `declare` builtin will explicitly declare an array. There is no maximum limit on the size of an array, nor any requirement that members be indexed or assigned contiguously...
programming_docs
bash Introduction Introduction ============ * [What is Bash?](what-is-bash_003f) * [What is a shell?](what-is-a-shell_003f) bash Some Miscellaneous Commands Some Miscellaneous Commands =========================== `re-read-init-file (C-x C-r)` Read in the contents of the inputrc file, and incorporate any binding...
programming_docs
bash Interactive Shells Interactive Shells ================== * [What is an Interactive Shell?](what-is-an-interactive-shell_003f) * [Is this Shell Interactive?](is-this-shell-interactive_003f) * [Interactive Shell Behavior](interactive-shell-behavior) bash Invoking Bash Invoking Bash ============= ``` bash [lo...
programming_docs
bash Executing Commands Executing Commands ================== * [Simple Command Expansion](simple-command-expansion) * [Command Search and Execution](command-search-and-execution) * [Command Execution Environment](command-execution-environment) * [Environment](environment) * [Exit Status](exit-status) * [Signals](sig...
programming_docs
scikit_image Geometrical transformations of images Geometrical transformations of images ===================================== Cropping, resizing and rescaling images --------------------------------------- Images being NumPy arrays (as described in the [A crash course on NumPy for images](numpy_images#numpy) secti...
programming_docs
scikit_image Getting help on using skimage Getting help on using skimage ============================= Besides the user guide, there exist other opportunities to get help on using `skimage`. Examples gallery ---------------- The [General examples](https://scikit-image.org/docs/0.18.x/auto_examples/index.html#exam...
programming_docs
scikit_image Image Viewer Image Viewer ============ Warning The scikit-image viewer is deprecated since 0.18 and will be removed in 0.20. Please, refer to the [visualization](https://scikit-image.org/docs/stable/user_guide/visualization.html) software page for alternatives. Quick Start ----------- `skimage.vi...
programming_docs
scikit_image Module: measure Module: measure =============== | | | | --- | --- | | [`skimage.measure.approximate_polygon`](#skimage.measure.approximate_polygon "skimage.measure.approximate_polygon")(coords, …) | Approximate a polygonal chain with the specified tolerance. | | [`skimage.measure.block_reduce`](#skim...
programming_docs
scikit_image Module: viewer.canvastools Module: viewer.canvastools ========================== | | | | --- | --- | | [`skimage.viewer.canvastools.LineTool`](#skimage.viewer.canvastools.LineTool "skimage.viewer.canvastools.LineTool")(manager) | Widget for line selection in a plot. | | [`skimage.viewer.canvastools.P...
programming_docs
scikit_image Module: viewer.viewers Module: viewer.viewers ====================== | | | | --- | --- | | [`skimage.viewer.viewers.CollectionViewer`](#skimage.viewer.viewers.CollectionViewer "skimage.viewer.viewers.CollectionViewer")(…) | Viewer for displaying image collections. | | [`skimage.viewer.viewers.ImageVi...
programming_docs
scikit_image Module: transform Module: transform ================= | | | | --- | --- | | [`skimage.transform.downscale_local_mean`](#skimage.transform.downscale_local_mean "skimage.transform.downscale_local_mean")(…) | Down-sample N-dimensional image by local averaging. | | [`skimage.transform.estimate_transform`...
programming_docs
scikit_image skimage skimage ======= Image Processing for Python `scikit-image` (a.k.a. `skimage`) is a collection of algorithms for image processing and computer vision. The main package of `skimage` only provides a few utilities for converting between image data types; for most features, you need to import one ...
programming_docs
scikit_image Module: filters.rank Module: filters.rank ==================== | | | | --- | --- | | [`skimage.filters.rank.autolevel`](#skimage.filters.rank.autolevel "skimage.filters.rank.autolevel")(image, selem) | Auto-level image using local histogram. | | [`skimage.filters.rank.autolevel_percentile`](#skimage....
programming_docs
scikit_image Module: viewer.utils Module: viewer.utils ==================== | | | | --- | --- | | [`skimage.viewer.utils.figimage`](#skimage.viewer.utils.figimage "skimage.viewer.utils.figimage")(image[, …]) | Return figure and axes with figure tightly surrounding image. | | [`skimage.viewer.utils.init_qtapp`](#s...
programming_docs
scikit_image Module: registration Module: registration ==================== | | | | --- | --- | | [`skimage.registration.optical_flow_ilk`](#skimage.registration.optical_flow_ilk "skimage.registration.optical_flow_ilk")(…[, …]) | Coarse to fine optical flow estimator. | | [`skimage.registration.optical_flow_tvl1`...
programming_docs
scikit_image Module: color Module: color ============= | | | | --- | --- | | [`skimage.color.combine_stains`](#skimage.color.combine_stains "skimage.color.combine_stains")(stains, conv\_matrix) | Stain to RGB color space conversion. | | [`skimage.color.convert_colorspace`](#skimage.color.convert_colorspace "skima...
programming_docs
scikit_image Module: feature Module: feature =============== | | | | --- | --- | | [`skimage.feature.blob_dog`](#skimage.feature.blob_dog "skimage.feature.blob_dog")(image[, min\_sigma, …]) | Finds blobs in the given grayscale image. | | [`skimage.feature.blob_doh`](#skimage.feature.blob_doh "skimage.feature.blob...
programming_docs
scikit_image Module: metrics Module: metrics =============== | | | | --- | --- | | [`skimage.metrics.adapted_rand_error`](#skimage.metrics.adapted_rand_error "skimage.metrics.adapted_rand_error")([…]) | Compute Adapted Rand error as defined by the SNEMI3D contest. | | [`skimage.metrics.contingency_table`](#skimag...
programming_docs
scikit_image Module: exposure Module: exposure ================ | | | | --- | --- | | [`skimage.exposure.adjust_gamma`](#skimage.exposure.adjust_gamma "skimage.exposure.adjust_gamma")(image[, …]) | Performs Gamma Correction on the input image. | | [`skimage.exposure.adjust_log`](#skimage.exposure.adjust_log "skim...
programming_docs
scikit_image Module: util Module: util ============ | | | | --- | --- | | [`skimage.util.apply_parallel`](#skimage.util.apply_parallel "skimage.util.apply_parallel")(function, array) | Map a function in parallel across an array. | | [`skimage.util.compare_images`](#skimage.util.compare_images "skimage.util.compar...
programming_docs
scikit_image Module: io Module: io ========== Utilities to read and write images in various formats. The following plug-ins are available: | | | | --- | --- | | Plugin | Description | | qt | Fast image display using the Qt library. Deprecated since 0.18. Will be removed in 0.20. | | imread | Image reading and...
programming_docs
scikit_image Module: graph Module: graph ============= | | | | --- | --- | | [`skimage.graph.route_through_array`](#skimage.graph.route_through_array "skimage.graph.route_through_array")(array, …) | Simple example of how to use the MCP and MCP\_Geometric classes. | | [`skimage.graph.shortest_path`](#skimage.graph...
programming_docs
nokogiri Nokogiri Nokogiri ======== * [README](https://nokogiri.org/rdoc/README_md.html) * [Nokogiri](nokogiri) * [Nokogiri::CSS](nokogiri/css) * [Nokogiri::CSS::SyntaxError](nokogiri/css/syntaxerror) * [Nokogiri::CSS::XPathVisitor](nokogiri/css/xpathvisitor) * [Nokogiri::CSS::XPathVisitor::BuiltinsConfig](nokogiri...
programming_docs
nokogiri module Nokogiri::Gumbo module Nokogiri::Gumbo ======================= DEFAULT\_MAX\_ATTRIBUTES The default maximum number of attributes per element. DEFAULT\_MAX\_ERRORS The default maximum number of errors for parsing a document or a fragment. DEFAULT\_MAX\_TREE\_DEPTH The default maximum ...
programming_docs
nokogiri class Nokogiri::HTML4::EntityDescription class Nokogiri::HTML4::EntityDescription ========================================= Parent: Struct.new(:value, :name, :description); nokogiri class Nokogiri::HTML4::EntityLookup class Nokogiri::HTML4::EntityLookup ==================================== Parent:...
programming_docs
nokogiri module Nokogiri::CSS::XPathVisitor::DoctypeConfig module Nokogiri::CSS::XPathVisitor::DoctypeConfig ================================================== Enum to direct [`XPathVisitor`](../xpathvisitor) when to tweak the XPath query to suit the nature of the document being searched. Note that searches for [...
programming_docs
nokogiri module Nokogiri::XML::XPath module Nokogiri::XML::XPath ============================ CURRENT\_SEARCH\_PREFIX The [`XPath`](xpath) search prefix to search direct descendants of the current element, `./` GLOBAL\_SEARCH\_PREFIX The [`XPath`](xpath) search prefix to search globally, `//` ROOT\_SE...
programming_docs
nokogiri class Nokogiri::XML::Attr class Nokogiri::XML::Attr ========================== Parent: cNokogiriXmlNode [`Attr`](attr) represents a [`Attr`](attr) node in an xml document. new(document, name) Show source ``` static VALUE new (int argc, VALUE *argv, VALUE klass) { xmlDocPtr xml_doc; V...
programming_docs
nokogiri class Nokogiri::XML::Reader class Nokogiri::XML::Reader ============================ Parent: [Object](https://nokogiri.org/rdoc/Object.html) Included modules: The [`Reader`](reader) parser allows you to effectively pull parse an [`XML`](../xml) document. Once instantiated, call [`Nokogiri::XML::Reader#...
programming_docs
nokogiri class Nokogiri::XML::NodeSet class Nokogiri::XML::NodeSet ============================= Parent: [Object](https://nokogiri.org/rdoc/Object.html) Included modules: [Nokogiri::XML::Searchable](searchable) A [`NodeSet`](nodeset) contains a list of [`Nokogiri::XML::Node`](node) objects. Typically a [`NodeSe...
programming_docs
nokogiri class Nokogiri::XML::EntityReference class Nokogiri::XML::EntityReference ===================================== Parent: cNokogiriXmlNode [`EntityReference`](entityreference) represents an [`EntityReference`](entityreference) node in an xml document. new(document, content) Show source ```...
programming_docs
nokogiri module Nokogiri::XML::SAX module Nokogiri::XML::SAX ========================== [`SAX`](sax) Parsers are event driven parsers. [`Nokogiri`](../../nokogiri) provides two different event based parsers when dealing with [`XML`](../xml). If you want to do [`SAX`](sax) style parsing using [`HTML`](../html4), c...
programming_docs
nokogiri class Nokogiri::XML::XPath::SyntaxError class Nokogiri::XML::XPath::SyntaxError ======================================== Parent: cNokogiriXmlSyntaxError to\_s() Show source ``` # File lib/nokogiri/xml/xpath/syntax_error.rb, line 7 def to_s [super.chomp, str1].compact.join(": ") end ``` Ca...
programming_docs
werkzeug Werkzeug Werkzeug ======== *werkzeug* German noun: β€œtool”. Etymology: *werk* (β€œwork”), *zeug* (β€œstuff”) Werkzeug is a comprehensive [WSGI](https://wsgi.readthedocs.io/en/latest/) web application library. It began as a simple collection of various utilities for WSGI applications and has become one of the mo...
programming_docs
werkzeug Application Dispatcher Application Dispatcher ====================== This middleware creates a single WSGI application that dispatches to multiple other WSGI applications mounted at different URL paths. A common example is writing a Single Page Application, where you have a backend API and a frontend writt...
programming_docs
werkzeug Werkzeug Tutorial Werkzeug Tutorial ================= Welcome to the Werkzeug tutorial in which we will create a [TinyURL](https://tinyurl.com/) clone that stores URLs in a redis instance. The libraries we will use for this applications are [Jinja](http://jinja.pocoo.org/) 2 for the templates, [redis](https:...
programming_docs
werkzeug BSD-3-Clause License BSD-3-Clause License ==================== Copyright 2007 Pallets Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, th...
programming_docs
werkzeug Unicode Unicode ======= Werkzeug uses strings internally everwhere text data is assumed, even if the HTTP standard is not Unicode aware. Basically all incoming data is decoded from the charset (UTF-8 by default) so that you don’t work with bytes directly. Outgoing data is encoded into the target charset. ...
programming_docs
werkzeug Dealing with Request Data Dealing with Request Data ========================= The most important rule about web development is β€œDo not trust the user”. This is especially true for incoming request data on the input stream. With WSGI this is actually a bit harder than you would expect. Because of that Werkzeu...
programming_docs
werkzeug Important Terms Important Terms =============== This page covers important terms used in the documentation and Werkzeug itself. WSGI ---- WSGI a specification for Python web applications Werkzeug follows. It was specified in the [**PEP 3333**](https://peps.python.org/pep-3333/) and is widely supported. ...
programming_docs
werkzeug Installation Installation ============ Python Version -------------- We recommend using the latest version of Python. Werkzeug supports Python 3.7 and newer. Dependencies ------------ Werkzeug does not have any direct dependencies. ### Optional dependencies These distributions will not be insta...
programming_docs
werkzeug Quickstart Quickstart ========== This part of the documentation shows how to use the most important parts of Werkzeug. It’s intended as a starting point for developers with basic understanding of [**PEP 3333**](https://peps.python.org/pep-3333/) (WSGI) and [**RFC 2616**](https://datatracker.ietf.org/doc/html...
programming_docs
werkzeug URL Helpers URL Helpers =========== Functions for working with URLs. Contains implementations of functions from [`urllib.parse`](https://docs.python.org/3/library/urllib.parse.html#module-urllib.parse "(in Python v3.10)") that handle bytes and strings. `class werkzeug.urls.BaseURL(scheme, netloc, path,...
programming_docs
werkzeug Deploying to Production Deploying to Production ======================= After developing your application, you’ll want to make it available publicly to other users. When you’re developing locally, you’re probably using the built-in development server, debugger, and reloader. These should not be used in produ...
programming_docs
werkzeug uWSGI uWSGI ===== [uWSGI](https://uwsgi-docs.readthedocs.io/en/latest/) is a fast, compiled server suite with extensive configuration and capabilities beyond a basic server. * It can be very performant due to being a compiled program. * It is complex to configure beyond the basic application, and has so ma...
programming_docs