Compare commits
No commits in common. "master" and "gitea-pages" have entirely different histories.
master
...
gitea-page
@ -1,53 +0,0 @@
|
|||||||
name: QE-CPU Merlin7 Scheduler
|
|
||||||
run-name: QE-CPU Merlin7 Scheduler
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
pull_request:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 1 * * *"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
checkout:
|
|
||||||
runs-on: merlin7-deploy
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Check modules
|
|
||||||
run: |
|
|
||||||
export REQUESTS_CA_BUNDLE=/etc/ssl/cert.pem
|
|
||||||
export SSL_CERT_FILE=/etc/ssl/cert.pem
|
|
||||||
source /opt/psi/config/profile.bash
|
|
||||||
module load Python/3.9.10
|
|
||||||
export COLUMNS=9000
|
|
||||||
export TERM='xterm'
|
|
||||||
python3 -m venv pm_tools_venv
|
|
||||||
source pm_tools_venv/bin/activate
|
|
||||||
pip install -r requirements.txt
|
|
||||||
python3 pmodules_tools/pmodules_tools.py --deps-check
|
|
||||||
- name: Make pages
|
|
||||||
run: |
|
|
||||||
export REQUESTS_CA_BUNDLE=/etc/ssl/cert.pem
|
|
||||||
export SSL_CERT_FILE=/etc/ssl/cert.pem
|
|
||||||
source /opt/psi/config/profile.bash
|
|
||||||
module load Python/3.9.10 asciidoctor/2.0.23
|
|
||||||
source pm_tools_venv/bin/activate
|
|
||||||
mkdir public
|
|
||||||
python3 pmodules_tools/pmodules_tools.py --db-check
|
|
||||||
|
|
||||||
# render all files in doc and its sub-directories with extension .adoc to HTML
|
|
||||||
asciidoctor -a data-uri -a reproducible -a icons=font -a source-highlighter=Pygments -a experimental -a stylesheet=./stylesheets/readthedocs.css -D public -R doc '**/*.adoc'
|
|
||||||
|
|
||||||
- name: Configure Git
|
|
||||||
run: |
|
|
||||||
git config --global user.name "Gitea Actions"
|
|
||||||
git config --global user.email "actions@gitea.local"
|
|
||||||
|
|
||||||
- name: Push to gitea-pages branch
|
|
||||||
run: |
|
|
||||||
git checkout --orphan gitea-pages
|
|
||||||
git reset --hard
|
|
||||||
ls -la
|
|
||||||
cp -r ./public/* .
|
|
||||||
git add .
|
|
||||||
git commit -m "Deploy site"
|
|
||||||
git push -f https://${{secrets.GITHUB_TOKEN}}@gitea.psi.ch/${{ github.repository }}.git gitea-pages
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
__pycache__/
|
|
43
README.md
43
README.md
@ -1,43 +0,0 @@
|
|||||||
# Pmodules tools
|
|
||||||
|
|
||||||
[](https://gitea.psi.ch/HPCE/Pmodules_tools)
|
|
||||||
|
|
||||||
## Pages
|
|
||||||
|
|
||||||
[Pmodules Database Report](https://hpce.pages.psi.ch/Pmodules_tools/)
|
|
||||||
|
|
||||||
## Intro
|
|
||||||
A python project to analyse Pmodules modules and their status changes.
|
|
||||||
|
|
||||||
There are for the moment two possible checks:
|
|
||||||
|
|
||||||
1) Dependency checker <br>
|
|
||||||
Check for module dependencies status and change their status accordingly.
|
|
||||||
|
|
||||||
2) Pmodules Database checker <br>
|
|
||||||
Report new, deleted or changed modules, write it to the database and print changes to pmodules_changes.md.
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
On Merlin need to first load a Python3:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
module load Python
|
|
||||||
```
|
|
||||||
|
|
||||||
### CLI help interface
|
|
||||||
|
|
||||||
```sh
|
|
||||||
python3 pmodules_tools/pmodules_tools.py --help
|
|
||||||
```
|
|
||||||
|
|
||||||
### Dependency checker
|
|
||||||
|
|
||||||
```sh
|
|
||||||
python3 pmodules_tools/pmodules_tools.py --deps-check # or -d
|
|
||||||
```
|
|
||||||
|
|
||||||
### Pmodules Database checker
|
|
||||||
|
|
||||||
```sh
|
|
||||||
python3 pmodules_tools/pmodules_tools.py --db-check # or -w
|
|
||||||
```
|
|
@ -1,3 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="generator" content="Asciidoctor 2.0.23">
|
||||||
|
<title>Untitled</title>
|
||||||
|
<style>
|
||||||
/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
|
/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
|
||||||
/* ========================================================================== HTML5 display definitions ========================================================================== */
|
/* ========================================================================== HTML5 display definitions ========================================================================== */
|
||||||
/** Correct `block` display not defined in IE 8/9. */
|
/** Correct `block` display not defined in IE 8/9. */
|
||||||
@ -737,3 +746,37 @@ table.tableblock.grid-all th.tableblock, table.tableblock.grid-all td.tableblock
|
|||||||
#footer { background-color: #465158; padding: 2em; }
|
#footer { background-color: #465158; padding: 2em; }
|
||||||
|
|
||||||
#footer-text { color: #eee; font-size: 0.8em; text-align: center; }
|
#footer-text { color: #eee; font-size: 0.8em; text-align: center; }
|
||||||
|
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
</head>
|
||||||
|
<body class="article">
|
||||||
|
<div id="header">
|
||||||
|
</div>
|
||||||
|
<div id="content">
|
||||||
|
<table class="tableblock frame-all grid-all stretch">
|
||||||
|
<caption class="title">Table 1. All modules</caption>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 26.6666%;">
|
||||||
|
<col style="width: 28.8888%;">
|
||||||
|
<col style="width: 11.1111%;">
|
||||||
|
<col style="width: 8.8888%;">
|
||||||
|
<col style="width: 24.4447%;">
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="tableblock halign-center valign-top">Name/Version</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Release Stage</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Group</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Deps</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Change Date</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<div id="footer-text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
782
changed_modules.html
Normal file
782
changed_modules.html
Normal file
@ -0,0 +1,782 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="generator" content="Asciidoctor 2.0.23">
|
||||||
|
<title>Untitled</title>
|
||||||
|
<style>
|
||||||
|
/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
|
||||||
|
/* ========================================================================== HTML5 display definitions ========================================================================== */
|
||||||
|
/** Correct `block` display not defined in IE 8/9. */
|
||||||
|
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
|
||||||
|
|
||||||
|
/** Correct `inline-block` display not defined in IE 8/9. */
|
||||||
|
audio, canvas, video { display: inline-block; }
|
||||||
|
|
||||||
|
/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
|
||||||
|
audio:not([controls]) { display: none; height: 0; }
|
||||||
|
|
||||||
|
/** Address `[hidden]` styling not present in IE 8/9. Hide the `template` element in IE, Safari, and Firefox < 22. */
|
||||||
|
[hidden], template { display: none; }
|
||||||
|
|
||||||
|
script { display: none !important; }
|
||||||
|
|
||||||
|
/* ========================================================================== Base ========================================================================== */
|
||||||
|
/** 1. Set default font family to sans-serif. 2. Prevent iOS text size adjust after orientation change, without disabling user zoom. */
|
||||||
|
html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ }
|
||||||
|
|
||||||
|
/** Remove default margin. */
|
||||||
|
body { margin: 0; }
|
||||||
|
|
||||||
|
/* ========================================================================== Links ========================================================================== */
|
||||||
|
/** Remove the gray background color from active links in IE 10. */
|
||||||
|
a { background: transparent; }
|
||||||
|
|
||||||
|
/** Address `outline` inconsistency between Chrome and other browsers. */
|
||||||
|
a:focus { outline: thin dotted; }
|
||||||
|
|
||||||
|
/** Improve readability when focused and also mouse hovered in all browsers. */
|
||||||
|
a:active, a:hover { outline: 0; }
|
||||||
|
|
||||||
|
/* ========================================================================== Typography ========================================================================== */
|
||||||
|
/** Address variable `h1` font-size and margin within `section` and `article` contexts in Firefox 4+, Safari 5, and Chrome. */
|
||||||
|
h1 { font-size: 2em; margin: 0.67em 0; }
|
||||||
|
|
||||||
|
/** Address styling not present in IE 8/9, Safari 5, and Chrome. */
|
||||||
|
abbr[title] { border-bottom: 1px dotted; }
|
||||||
|
|
||||||
|
/** Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */
|
||||||
|
b, strong { font-weight: bold; }
|
||||||
|
|
||||||
|
/** Address styling not present in Safari 5 and Chrome. */
|
||||||
|
dfn { font-style: italic; }
|
||||||
|
|
||||||
|
/** Address differences between Firefox and other browsers. */
|
||||||
|
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
|
||||||
|
|
||||||
|
/** Address styling not present in IE 8/9. */
|
||||||
|
mark { background: #ff0; color: #000; }
|
||||||
|
|
||||||
|
/** Correct font family set oddly in Safari 5 and Chrome. */
|
||||||
|
code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; }
|
||||||
|
|
||||||
|
/** Improve readability of pre-formatted text in all browsers. */
|
||||||
|
pre { white-space: pre-wrap; }
|
||||||
|
|
||||||
|
/** Set consistent quote types. */
|
||||||
|
q { quotes: "\201C" "\201D" "\2018" "\2019"; }
|
||||||
|
|
||||||
|
/** Address inconsistent and variable font size in all browsers. */
|
||||||
|
small { font-size: 80%; }
|
||||||
|
|
||||||
|
/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */
|
||||||
|
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
||||||
|
|
||||||
|
sup { top: -0.5em; }
|
||||||
|
|
||||||
|
sub { bottom: -0.25em; }
|
||||||
|
|
||||||
|
/* ========================================================================== Embedded content ========================================================================== */
|
||||||
|
/** Remove border when inside `a` element in IE 8/9. */
|
||||||
|
img { border: 0; }
|
||||||
|
|
||||||
|
/** Correct overflow displayed oddly in IE 9. */
|
||||||
|
svg:not(:root) { overflow: hidden; }
|
||||||
|
|
||||||
|
/* ========================================================================== Figures ========================================================================== */
|
||||||
|
/** Address margin not present in IE 8/9 and Safari 5. */
|
||||||
|
figure { margin: 0; }
|
||||||
|
|
||||||
|
/* ========================================================================== Forms ========================================================================== */
|
||||||
|
/** Define consistent border, margin, and padding. */
|
||||||
|
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
|
||||||
|
|
||||||
|
/** 1. Correct `color` not being inherited in IE 8/9. 2. Remove padding so people aren't caught out if they zero out fieldsets. */
|
||||||
|
legend { border: 0; /* 1 */ padding: 0; /* 2 */ }
|
||||||
|
|
||||||
|
/** 1. Correct font family not being inherited in all browsers. 2. Correct font size not being inherited in all browsers. 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. */
|
||||||
|
button, input, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 2 */ margin: 0; /* 3 */ }
|
||||||
|
|
||||||
|
/** Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */
|
||||||
|
button, input { line-height: normal; }
|
||||||
|
|
||||||
|
/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. Correct `select` style inheritance in Firefox 4+ and Opera. */
|
||||||
|
button, select { text-transform: none; }
|
||||||
|
|
||||||
|
/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. */
|
||||||
|
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ }
|
||||||
|
|
||||||
|
/** Re-set default cursor for disabled elements. */
|
||||||
|
button[disabled], html input[disabled] { cursor: default; }
|
||||||
|
|
||||||
|
/** 1. Address box sizing set to `content-box` in IE 8/9. 2. Remove excess padding in IE 8/9. */
|
||||||
|
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ }
|
||||||
|
|
||||||
|
/** 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome (include `-moz` to future-proof). */
|
||||||
|
input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box; }
|
||||||
|
|
||||||
|
/** Remove inner padding and search cancel button in Safari 5 and Chrome on OS X. */
|
||||||
|
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
||||||
|
|
||||||
|
/** Remove inner padding and border in Firefox 4+. */
|
||||||
|
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
||||||
|
|
||||||
|
/** 1. Remove default vertical scrollbar in IE 8/9. 2. Improve readability and alignment in all browsers. */
|
||||||
|
textarea { overflow: auto; /* 1 */ vertical-align: top; /* 2 */ }
|
||||||
|
|
||||||
|
/* ========================================================================== Tables ========================================================================== */
|
||||||
|
/** Remove most spacing between table cells. */
|
||||||
|
table { border-collapse: collapse; border-spacing: 0; }
|
||||||
|
|
||||||
|
meta.foundation-mq-small { font-family: "only screen and (min-width: 768px)"; width: 768px; }
|
||||||
|
|
||||||
|
meta.foundation-mq-medium { font-family: "only screen and (min-width:1280px)"; width: 1280px; }
|
||||||
|
|
||||||
|
meta.foundation-mq-large { font-family: "only screen and (min-width:1440px)"; width: 1440px; }
|
||||||
|
|
||||||
|
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
|
||||||
|
|
||||||
|
html, body { font-size: 100%; }
|
||||||
|
|
||||||
|
body { background: white; color: #222222; padding: 0; margin: 0; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; line-height: 1; position: relative; cursor: auto; }
|
||||||
|
|
||||||
|
a:hover { cursor: pointer; }
|
||||||
|
|
||||||
|
img, object, embed { max-width: 100%; height: auto; }
|
||||||
|
|
||||||
|
object, embed { height: 100%; }
|
||||||
|
|
||||||
|
img { -ms-interpolation-mode: bicubic; }
|
||||||
|
|
||||||
|
#map_canvas img, #map_canvas embed, #map_canvas object, .map_canvas img, .map_canvas embed, .map_canvas object { max-width: none !important; }
|
||||||
|
|
||||||
|
.left { float: left !important; }
|
||||||
|
|
||||||
|
.right { float: right !important; }
|
||||||
|
|
||||||
|
.text-left { text-align: left !important; }
|
||||||
|
|
||||||
|
.text-right { text-align: right !important; }
|
||||||
|
|
||||||
|
.text-center { text-align: center !important; }
|
||||||
|
|
||||||
|
.text-justify { text-align: justify !important; }
|
||||||
|
|
||||||
|
.hide { display: none; }
|
||||||
|
|
||||||
|
.antialiased { -webkit-font-smoothing: antialiased; }
|
||||||
|
|
||||||
|
img { display: inline-block; vertical-align: middle; }
|
||||||
|
|
||||||
|
textarea { height: auto; min-height: 50px; }
|
||||||
|
|
||||||
|
select { width: 100%; }
|
||||||
|
|
||||||
|
p.lead { font-size: 1.21875em; line-height: 1.6; }
|
||||||
|
|
||||||
|
.subheader, .admonitionblock td.content > .title, .audioblock > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .stemblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, table.tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { line-height: 1.4; color: #6c818f; font-weight: 300; margin-top: 0.2em; margin-bottom: 0.5em; }
|
||||||
|
|
||||||
|
/* Typography resets */
|
||||||
|
div, dl, dt, dd, ul, ol, li, h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; direction: ltr; }
|
||||||
|
|
||||||
|
/* Default Link Styles */
|
||||||
|
a { color: #444444; text-decoration: underline; line-height: inherit; }
|
||||||
|
a:hover, a:focus { color: #111111; }
|
||||||
|
a img { border: none; }
|
||||||
|
|
||||||
|
/* Default paragraph styles */
|
||||||
|
p { font-family: inherit; font-weight: normal; font-size: 1em; line-height: 1.5; margin-bottom: 1.25em; text-rendering: optimizeLegibility; }
|
||||||
|
p aside { font-size: 0.875em; line-height: 1.35; font-style: italic; }
|
||||||
|
|
||||||
|
/* Default header styles */
|
||||||
|
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; font-weight: bold; font-style: normal; color: #465158; text-rendering: optimizeLegibility; margin-top: 1em; margin-bottom: 0.5em; line-height: 1.2125em; }
|
||||||
|
h1 small, h2 small, h3 small, #toctitle small, .sidebarblock > .content > .title small, h4 small, h5 small, h6 small { font-size: 60%; color: #909ea7; line-height: 0; }
|
||||||
|
|
||||||
|
h1 { font-size: 2.125em; }
|
||||||
|
|
||||||
|
h2 { font-size: 1.6875em; }
|
||||||
|
|
||||||
|
h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.375em; }
|
||||||
|
|
||||||
|
h4 { font-size: 1.125em; }
|
||||||
|
|
||||||
|
h5 { font-size: 1.125em; }
|
||||||
|
|
||||||
|
h6 { font-size: 1em; }
|
||||||
|
|
||||||
|
hr { border: solid #dddddd; border-width: 1px 0 0; clear: both; margin: 1.25em 0 1.1875em; height: 0; }
|
||||||
|
|
||||||
|
/* Helpful Typography Defaults */
|
||||||
|
em, i { font-style: italic; line-height: inherit; }
|
||||||
|
|
||||||
|
strong, b { font-weight: bold; line-height: inherit; }
|
||||||
|
|
||||||
|
small { font-size: 60%; line-height: inherit; }
|
||||||
|
|
||||||
|
code { font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; font-weight: normal; color: #444444; }
|
||||||
|
|
||||||
|
/* Lists */
|
||||||
|
ul, ol, dl { font-size: 1em; line-height: 1.5; margin-bottom: 1.25em; list-style-position: outside; font-family: inherit; }
|
||||||
|
|
||||||
|
ul, ol { margin-left: 0; }
|
||||||
|
ul.no-bullet, ol.no-bullet { margin-left: 0; }
|
||||||
|
|
||||||
|
/* Unordered Lists */
|
||||||
|
ul li ul, ul li ol { margin-left: 1.25em; margin-bottom: 0; font-size: 1em; /* Override nested font-size change */ }
|
||||||
|
ul.square li ul, ul.circle li ul, ul.disc li ul { list-style: inherit; }
|
||||||
|
ul.square { list-style-type: square; }
|
||||||
|
ul.circle { list-style-type: circle; }
|
||||||
|
ul.disc { list-style-type: disc; }
|
||||||
|
ul.no-bullet { list-style: none; }
|
||||||
|
|
||||||
|
/* Ordered Lists */
|
||||||
|
ol li ul, ol li ol { margin-left: 1.25em; margin-bottom: 0; }
|
||||||
|
|
||||||
|
/* Definition Lists */
|
||||||
|
dl dt { margin-bottom: 0.3em; font-weight: bold; }
|
||||||
|
dl dd { margin-bottom: 0.75em; }
|
||||||
|
|
||||||
|
/* Abbreviations */
|
||||||
|
abbr, acronym { text-transform: uppercase; font-size: 90%; color: black; border-bottom: 1px dotted #dddddd; cursor: help; }
|
||||||
|
|
||||||
|
abbr { text-transform: none; }
|
||||||
|
|
||||||
|
/* Blockquotes */
|
||||||
|
blockquote { margin: 0 0 1.25em; padding: 0.5625em 1.25em 0 1.1875em; border-left: 1px solid #dddddd; }
|
||||||
|
blockquote cite { display: block; font-size: 0.8125em; color: #748590; }
|
||||||
|
blockquote cite:before { content: "\2014 \0020"; }
|
||||||
|
blockquote cite a, blockquote cite a:visited { color: #748590; }
|
||||||
|
|
||||||
|
blockquote, blockquote p { line-height: 1.5; color: #909ea7; }
|
||||||
|
|
||||||
|
/* Microformats */
|
||||||
|
.vcard { display: inline-block; margin: 0 0 1.25em 0; border: 1px solid #dddddd; padding: 0.625em 0.75em; }
|
||||||
|
.vcard li { margin: 0; display: block; }
|
||||||
|
.vcard .fn { font-weight: bold; font-size: 0.9375em; }
|
||||||
|
|
||||||
|
.vevent .summary { font-weight: bold; }
|
||||||
|
.vevent abbr { cursor: auto; text-decoration: none; font-weight: bold; border: none; padding: 0 0.0625em; }
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) { h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.4; }
|
||||||
|
h1 { font-size: 2.75em; }
|
||||||
|
h2 { font-size: 2.3125em; }
|
||||||
|
h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.6875em; }
|
||||||
|
h4 { font-size: 1.4375em; } }
|
||||||
|
/* Tables */
|
||||||
|
table { background: white; margin-bottom: 1.25em; border: solid 0 #dddddd; }
|
||||||
|
table thead, table tfoot { background: none; font-weight: bold; }
|
||||||
|
table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td { padding: 1px 8px 1px 5px; font-size: 1em; color: #222222; text-align: left; }
|
||||||
|
table tr th, table tr td { padding: 1px 8px 1px 5px; font-size: 1em; color: #222222; }
|
||||||
|
table tr.even, table tr.alt, table tr:nth-of-type(even) { background: none; }
|
||||||
|
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; line-height: 1.5; }
|
||||||
|
|
||||||
|
body { tab-size: 4; word-wrap: anywhere; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
|
||||||
|
|
||||||
|
table { word-wrap: normal; }
|
||||||
|
|
||||||
|
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.4; }
|
||||||
|
|
||||||
|
object, svg { display: inline-block; vertical-align: middle; }
|
||||||
|
|
||||||
|
.center { margin-left: auto; margin-right: auto; }
|
||||||
|
|
||||||
|
.stretch { width: 100%; }
|
||||||
|
|
||||||
|
.clearfix:before, .clearfix:after, .float-group:before, .float-group:after { content: " "; display: table; }
|
||||||
|
.clearfix:after, .float-group:after { clear: both; }
|
||||||
|
|
||||||
|
:not(pre).nobreak { word-wrap: normal; }
|
||||||
|
:not(pre).nowrap { white-space: nowrap; }
|
||||||
|
:not(pre).pre-wrap { white-space: pre-wrap; }
|
||||||
|
|
||||||
|
:not(pre):not([class^=L]) > code { font-size: 0.95em; font-style: normal !important; letter-spacing: 0; padding: 0; background-color: #f2f2f2; -webkit-border-radius: 6px; border-radius: 6px; line-height: inherit; }
|
||||||
|
|
||||||
|
pre { color: inherit; font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; line-height: 1.2; }
|
||||||
|
pre code, pre pre { color: inherit; font-size: inherit; line-height: inherit; }
|
||||||
|
pre > code { display: block; }
|
||||||
|
|
||||||
|
pre.nowrap, pre.nowrap pre { white-space: pre; word-wrap: normal; }
|
||||||
|
|
||||||
|
em em { font-style: normal; }
|
||||||
|
|
||||||
|
strong strong { font-weight: normal; }
|
||||||
|
|
||||||
|
.keyseq { color: #333333; }
|
||||||
|
|
||||||
|
kbd { font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; display: inline-block; color: black; font-size: 0.65em; line-height: 1.45; background-color: #f7f7f7; border: 1px solid #ccc; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset; margin: 0 0.15em; padding: 0.2em 0.5em; vertical-align: middle; position: relative; top: -0.1em; white-space: nowrap; }
|
||||||
|
|
||||||
|
.keyseq kbd:first-child { margin-left: 0; }
|
||||||
|
|
||||||
|
.keyseq kbd:last-child { margin-right: 0; }
|
||||||
|
|
||||||
|
.menuseq, .menuref { color: #000; }
|
||||||
|
|
||||||
|
.menuseq b:not(.caret), .menuref { font-weight: inherit; }
|
||||||
|
|
||||||
|
.menuseq { word-spacing: -0.02em; }
|
||||||
|
.menuseq b.caret { font-size: 1.25em; line-height: 0.8; }
|
||||||
|
.menuseq i.caret { font-weight: bold; text-align: center; width: 0.45em; }
|
||||||
|
|
||||||
|
b.button:before, b.button:after { position: relative; top: -1px; font-weight: normal; }
|
||||||
|
|
||||||
|
b.button:before { content: "["; padding: 0 3px 0 2px; }
|
||||||
|
|
||||||
|
b.button:after { content: "]"; padding: 0 2px 0 3px; }
|
||||||
|
|
||||||
|
p a > code:hover { color: #373737; }
|
||||||
|
|
||||||
|
#header, #content, #footnotes, #footer { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 62.5em; *zoom: 1; position: relative; padding-left: 0.9375em; padding-right: 0.9375em; }
|
||||||
|
#header:before, #header:after, #content:before, #content:after, #footnotes:before, #footnotes:after, #footer:before, #footer:after { content: " "; display: table; }
|
||||||
|
#header:after, #content:after, #footnotes:after, #footer:after { clear: both; }
|
||||||
|
|
||||||
|
#content { margin-top: 1.25em; }
|
||||||
|
|
||||||
|
#content:before { content: none; }
|
||||||
|
|
||||||
|
#header > h1:first-child { color: #111111; margin-top: 2.25rem; margin-bottom: 0; }
|
||||||
|
#header > h1:first-child + #toc { margin-top: 8px; border-top: 1px solid #dddddd; }
|
||||||
|
#header > h1:only-child, body.toc2 #header > h1:nth-last-child(2) { border-bottom: 1px solid #dddddd; padding-bottom: 8px; }
|
||||||
|
#header .details { border-bottom: 1px solid #dddddd; line-height: 1.45; padding-top: 0.25em; padding-bottom: 0.25em; padding-left: 0.25em; color: #748590; display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-flow: row wrap; -webkit-flex-flow: row wrap; flex-flow: row wrap; }
|
||||||
|
#header .details span:first-child { margin-left: -0.125em; }
|
||||||
|
#header .details span.email a { color: #909ea7; }
|
||||||
|
#header .details br { display: none; }
|
||||||
|
#header .details br + span:before { content: "\00a0\2013\00a0"; }
|
||||||
|
#header .details br + span.author:before { content: "\00a0\22c5\00a0"; color: #909ea7; }
|
||||||
|
#header .details br + span#revremark:before { content: "\00a0|\00a0"; }
|
||||||
|
#header #revnumber { text-transform: capitalize; }
|
||||||
|
#header #revnumber:after { content: "\00a0"; }
|
||||||
|
|
||||||
|
#content > h1:first-child:not([class]) { color: #111111; border-bottom: 1px solid #dddddd; padding-bottom: 8px; margin-top: 0; padding-top: 1rem; margin-bottom: 1.25rem; }
|
||||||
|
|
||||||
|
#toc { border-bottom: 1px solid #dddddd; padding-bottom: 0.5em; }
|
||||||
|
#toc > ul { margin-left: 0.125em; }
|
||||||
|
#toc ul.sectlevel0 > li > a { font-style: italic; }
|
||||||
|
#toc ul.sectlevel0 ul.sectlevel1 { margin: 0.5em 0; }
|
||||||
|
#toc ul { font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; list-style-type: none; }
|
||||||
|
#toc li { line-height: 1.3334; margin-top: 0.3334em; }
|
||||||
|
#toc a { text-decoration: none; }
|
||||||
|
#toc a:active { text-decoration: underline; }
|
||||||
|
|
||||||
|
#toctitle { color: #6c818f; font-size: 1.2em; }
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) { #toctitle { font-size: 1.375em; }
|
||||||
|
body.toc2 { padding-left: 15em; padding-right: 0; }
|
||||||
|
#toc.toc2 { margin-top: 0 !important; background: #f2f2f2; position: fixed; width: 15em; left: 0; top: 0; border-right: 1px solid #dddddd; border-top-width: 0 !important; border-bottom-width: 0 !important; z-index: 1000; padding: 1.25em 1em; height: 100%; overflow: auto; }
|
||||||
|
#toc.toc2 #toctitle { margin-top: 0; margin-bottom: 0.8rem; font-size: 1.2em; }
|
||||||
|
#toc.toc2 > ul { font-size: 0.9em; margin-bottom: 0; }
|
||||||
|
#toc.toc2 ul ul { margin-left: 0; padding-left: 1em; }
|
||||||
|
#toc.toc2 ul.sectlevel0 ul.sectlevel1 { padding-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; }
|
||||||
|
body.toc2.toc-right { padding-left: 0; padding-right: 15em; }
|
||||||
|
body.toc2.toc-right #toc.toc2 { border-right-width: 0; border-left: 1px solid #dddddd; left: auto; right: 0; } }
|
||||||
|
@media only screen and (min-width: 1280px) { body.toc2 { padding-left: 20em; padding-right: 0; }
|
||||||
|
#toc.toc2 { width: 20em; }
|
||||||
|
#toc.toc2 #toctitle { font-size: 1.375em; }
|
||||||
|
#toc.toc2 > ul { font-size: 0.95em; }
|
||||||
|
#toc.toc2 ul ul { padding-left: 1.25em; }
|
||||||
|
body.toc2.toc-right { padding-left: 0; padding-right: 20em; } }
|
||||||
|
#content #toc { border-style: solid; border-width: 1px; border-color: #d9d9d9; margin-bottom: 1.25em; padding: 1.25em; background: #f2f2f2; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
#content #toc > :first-child { margin-top: 0; }
|
||||||
|
#content #toc > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
#footer { max-width: none; background: black; padding: 1.25em; }
|
||||||
|
|
||||||
|
#footer-text { color: white; line-height: 1.35; }
|
||||||
|
|
||||||
|
#content { margin-bottom: 0.625em; }
|
||||||
|
|
||||||
|
.sect1 { padding-bottom: 0.625em; }
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) { #content { margin-bottom: 1.25em; }
|
||||||
|
.sect1 { padding-bottom: 1.25em; } }
|
||||||
|
.sect1:last-child { padding-bottom: 0; }
|
||||||
|
|
||||||
|
.sect1 + .sect1 { border-top: 1px solid #dddddd; }
|
||||||
|
|
||||||
|
#content h1 > a.anchor, h2 > a.anchor, h3 > a.anchor, #toctitle > a.anchor, .sidebarblock > .content > .title > a.anchor, h4 > a.anchor, h5 > a.anchor, h6 > a.anchor { position: absolute; z-index: 1001; width: 1.5ex; margin-left: -1.5ex; display: block; text-decoration: none !important; visibility: hidden; text-align: center; font-weight: normal; }
|
||||||
|
#content h1 > a.anchor:before, h2 > a.anchor:before, h3 > a.anchor:before, #toctitle > a.anchor:before, .sidebarblock > .content > .title > a.anchor:before, h4 > a.anchor:before, h5 > a.anchor:before, h6 > a.anchor:before { content: "\00A7"; font-size: 0.85em; display: block; padding-top: 0.1em; }
|
||||||
|
#content h1:hover > a.anchor, #content h1 > a.anchor:hover, h2:hover > a.anchor, h2 > a.anchor:hover, h3:hover > a.anchor, #toctitle:hover > a.anchor, .sidebarblock > .content > .title:hover > a.anchor, h3 > a.anchor:hover, #toctitle > a.anchor:hover, .sidebarblock > .content > .title > a.anchor:hover, h4:hover > a.anchor, h4 > a.anchor:hover, h5:hover > a.anchor, h5 > a.anchor:hover, h6:hover > a.anchor, h6 > a.anchor:hover { visibility: visible; }
|
||||||
|
#content h1 > a.link, h2 > a.link, h3 > a.link, #toctitle > a.link, .sidebarblock > .content > .title > a.link, h4 > a.link, h5 > a.link, h6 > a.link { color: #465158; text-decoration: none; }
|
||||||
|
#content h1 > a.link:hover, h2 > a.link:hover, h3 > a.link:hover, #toctitle > a.link:hover, .sidebarblock > .content > .title > a.link:hover, h4 > a.link:hover, h5 > a.link:hover, h6 > a.link:hover { color: #3b444a; }
|
||||||
|
|
||||||
|
details, .audioblock, .imageblock, .literalblock, .listingblock, .stemblock, .videoblock { margin-bottom: 1.25em; }
|
||||||
|
|
||||||
|
details > summary:first-of-type { cursor: pointer; display: list-item; outline: none; margin-bottom: 0.75em; }
|
||||||
|
|
||||||
|
.admonitionblock td.content > .title, .audioblock > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .stemblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, table.tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-rendering: optimizeLegibility; text-align: left; }
|
||||||
|
|
||||||
|
table.tableblock.fit-content > caption.title { white-space: nowrap; width: 0; }
|
||||||
|
|
||||||
|
.paragraph.lead > p, #preamble > .sectionbody > [class="paragraph"]:first-of-type p { font-size: 1.21875em; line-height: 1.6; color: #111111; }
|
||||||
|
|
||||||
|
table.tableblock #preamble > .sectionbody > [class="paragraph"]:first-of-type p { font-size: inherit; }
|
||||||
|
|
||||||
|
.admonitionblock > table { border-collapse: separate; border: 0; background: none; width: 100%; }
|
||||||
|
.admonitionblock > table td.icon { text-align: center; width: 80px; }
|
||||||
|
.admonitionblock > table td.icon img { max-width: none; }
|
||||||
|
.admonitionblock > table td.icon .title { font-weight: bold; font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; text-transform: uppercase; }
|
||||||
|
.admonitionblock > table td.content { padding-left: 1.125em; padding-right: 1.25em; border-left: 1px solid #dddddd; color: #748590; word-wrap: anywhere; }
|
||||||
|
.admonitionblock > table td.content > :last-child > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
.exampleblock > .content { border-style: solid; border-width: 1px; border-color: #e6e6e6; margin-bottom: 1.25em; padding: 1.25em; background: white; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
.exampleblock > .content > :first-child { margin-top: 0; }
|
||||||
|
.exampleblock > .content > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
.sidebarblock { border-style: solid; border-width: 1px; border-color: #d4d4d4; margin-bottom: 1.25em; padding: 1.25em; background: #ededed; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
.sidebarblock > :first-child { margin-top: 0; }
|
||||||
|
.sidebarblock > :last-child { margin-bottom: 0; }
|
||||||
|
.sidebarblock > .content > .title { color: #6c818f; margin-top: 0; }
|
||||||
|
|
||||||
|
.exampleblock > .content > :last-child > :last-child, .exampleblock > .content .olist > ol > li:last-child > :last-child, .exampleblock > .content .ulist > ul > li:last-child > :last-child, .exampleblock > .content .qlist > ol > li:last-child > :last-child, .sidebarblock > .content > :last-child > :last-child, .sidebarblock > .content .olist > ol > li:last-child > :last-child, .sidebarblock > .content .ulist > ul > li:last-child > :last-child, .sidebarblock > .content .qlist > ol > li:last-child > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
.literalblock pre, .listingblock > .content > pre { border: 1px solid #cccccc; -webkit-border-radius: 6px; border-radius: 6px; overflow-x: auto; padding: 0.5em; font-size: 0.8125em; }
|
||||||
|
@media only screen and (min-width: 768px) { .literalblock pre, .listingblock > .content > pre { font-size: 0.90625em; } }
|
||||||
|
@media only screen and (min-width: 1280px) { .literalblock pre, .listingblock > .content > pre { font-size: 1em; } }
|
||||||
|
|
||||||
|
.literalblock pre, .listingblock > .content > pre:not(.highlight), .listingblock > .content > pre[class="highlight"], .listingblock > .content > pre[class^="highlight "] { background: #eeeeee; }
|
||||||
|
|
||||||
|
.literalblock.output pre { color: #eeeeee; background-color: inherit; }
|
||||||
|
|
||||||
|
.listingblock > .content { position: relative; }
|
||||||
|
|
||||||
|
.listingblock code[data-lang]:before { display: none; content: attr(data-lang); position: absolute; font-size: 0.75em; top: 0.425rem; right: 0.5rem; line-height: 1; text-transform: uppercase; color: inherit; opacity: 0.5; }
|
||||||
|
|
||||||
|
.listingblock:hover code[data-lang]:before { display: block; }
|
||||||
|
|
||||||
|
.listingblock.terminal pre .command:before { content: attr(data-prompt); padding-right: 0.5em; color: inherit; opacity: 0.5; }
|
||||||
|
|
||||||
|
.listingblock.terminal pre .command:not([data-prompt]):before { content: "$"; }
|
||||||
|
|
||||||
|
.listingblock pre.highlightjs { padding: 0; }
|
||||||
|
.listingblock pre.highlightjs > code { padding: 0.5em; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
|
||||||
|
.prettyprint { background: #eeeeee; }
|
||||||
|
|
||||||
|
pre.prettyprint .linenums { line-height: 1.2; margin-left: 2em; }
|
||||||
|
|
||||||
|
pre.prettyprint li { background: none; list-style-type: inherit; padding-left: 0; }
|
||||||
|
|
||||||
|
pre.prettyprint li code[data-lang]:before { opacity: 1; }
|
||||||
|
|
||||||
|
pre.prettyprint li:not(:first-child) code[data-lang]:before { display: none; }
|
||||||
|
|
||||||
|
table.linenotable { border-collapse: separate; border: 0; margin-bottom: 0; background: none; }
|
||||||
|
table.linenotable td[class] { color: inherit; vertical-align: top; padding: 0; line-height: inherit; white-space: normal; }
|
||||||
|
table.linenotable td.code { padding-left: 0.75em; }
|
||||||
|
table.linenotable td.linenos { border-right: 1px solid currentColor; opacity: 0.35; padding-right: 0.5em; }
|
||||||
|
|
||||||
|
pre.pygments .lineno { border-right: 1px solid currentColor; opacity: 0.35; display: inline-block; margin-right: 0.75em; }
|
||||||
|
pre.pygments .lineno:before { content: ""; margin-right: -0.125em; }
|
||||||
|
|
||||||
|
.quoteblock { margin: 0 1em 1.25em 1.5em; display: table; }
|
||||||
|
.quoteblock:not(.excerpt) > .title { margin-left: -1.5em; margin-bottom: 0.75em; }
|
||||||
|
.quoteblock blockquote, .quoteblock p { color: #909ea7; font-size: 1.15rem; line-height: 1.75; word-spacing: 0.1em; letter-spacing: 0; font-style: italic; text-align: justify; }
|
||||||
|
.quoteblock blockquote { margin: 0; padding: 0; border: 0; }
|
||||||
|
.quoteblock blockquote:before { content: "\201c"; float: left; font-size: 2.75em; font-weight: bold; line-height: 0.6em; margin-left: -0.6em; color: #6c818f; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
|
||||||
|
.quoteblock blockquote > .paragraph:last-child p { margin-bottom: 0; }
|
||||||
|
.quoteblock .attribution { margin-top: 0.75em; margin-right: 0.5ex; text-align: right; }
|
||||||
|
|
||||||
|
.verseblock { margin: 0 1em 1.25em 1em; }
|
||||||
|
.verseblock pre { font-family: "Open Sans", "DejaVu Sans", sans; font-size: 1.15rem; color: #909ea7; font-weight: 300; text-rendering: optimizeLegibility; }
|
||||||
|
.verseblock pre strong { font-weight: 400; }
|
||||||
|
.verseblock .attribution { margin-top: 1.25rem; margin-left: 0.5ex; }
|
||||||
|
|
||||||
|
.quoteblock .attribution, .verseblock .attribution { font-size: 0.8125em; line-height: 1.45; font-style: italic; }
|
||||||
|
.quoteblock .attribution br, .verseblock .attribution br { display: none; }
|
||||||
|
.quoteblock .attribution cite, .verseblock .attribution cite { display: block; letter-spacing: -0.025em; color: #748590; }
|
||||||
|
|
||||||
|
.quoteblock.abstract blockquote:before, .quoteblock.excerpt blockquote:before, .quoteblock .quoteblock blockquote:before { display: none; }
|
||||||
|
.quoteblock.abstract blockquote, .quoteblock.abstract p, .quoteblock.excerpt blockquote, .quoteblock.excerpt p, .quoteblock .quoteblock blockquote, .quoteblock .quoteblock p { line-height: 1.6; word-spacing: 0; }
|
||||||
|
.quoteblock.abstract { margin: 0 1em 1.25em 1em; display: block; }
|
||||||
|
.quoteblock.abstract > .title { margin: 0 0 0.375em 0; font-size: 1.15em; text-align: center; }
|
||||||
|
.quoteblock.excerpt > blockquote, .quoteblock .quoteblock { padding: 0 0 0.25em 1em; border-left: 0.25em solid #dddddd; }
|
||||||
|
.quoteblock.excerpt, .quoteblock .quoteblock { margin-left: 0; }
|
||||||
|
.quoteblock.excerpt blockquote, .quoteblock.excerpt p, .quoteblock .quoteblock blockquote, .quoteblock .quoteblock p { color: inherit; font-size: 1.0625rem; }
|
||||||
|
.quoteblock.excerpt .attribution, .quoteblock .quoteblock .attribution { color: inherit; text-align: left; margin-right: 0; }
|
||||||
|
|
||||||
|
p.tableblock:last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
td.tableblock > .content { margin-bottom: 1.25em; word-wrap: anywhere; }
|
||||||
|
td.tableblock > .content > :last-child { margin-bottom: -1.25em; }
|
||||||
|
|
||||||
|
table.tableblock, th.tableblock, td.tableblock { border: 0 solid #dddddd; }
|
||||||
|
|
||||||
|
table.grid-all > * > tr > * { border-width: 0; }
|
||||||
|
|
||||||
|
table.grid-cols > * > tr > * { border-width: 0 0; }
|
||||||
|
|
||||||
|
table.grid-rows > * > tr > * { border-width: 0 0; }
|
||||||
|
|
||||||
|
table.frame-all { border-width: 0; }
|
||||||
|
|
||||||
|
table.frame-ends { border-width: 0 0; }
|
||||||
|
|
||||||
|
table.frame-sides { border-width: 0 0; }
|
||||||
|
|
||||||
|
table.frame-none > colgroup + * > :first-child > *, table.frame-sides > colgroup + * > :first-child > * { border-top-width: 0; }
|
||||||
|
|
||||||
|
table.frame-none > :last-child > :last-child > *, table.frame-sides > :last-child > :last-child > * { border-bottom-width: 0; }
|
||||||
|
|
||||||
|
table.frame-none > * > tr > :first-child, table.frame-ends > * > tr > :first-child { border-left-width: 0; }
|
||||||
|
|
||||||
|
table.frame-none > * > tr > :last-child, table.frame-ends > * > tr > :last-child { border-right-width: 0; }
|
||||||
|
|
||||||
|
table.stripes-all tr, table.stripes-odd tr:nth-of-type(odd), table.stripes-even tr:nth-of-type(even), table.stripes-hover tr:hover { background: none; }
|
||||||
|
|
||||||
|
th.halign-left, td.halign-left { text-align: left; }
|
||||||
|
|
||||||
|
th.halign-right, td.halign-right { text-align: right; }
|
||||||
|
|
||||||
|
th.halign-center, td.halign-center { text-align: center; }
|
||||||
|
|
||||||
|
th.valign-top, td.valign-top { vertical-align: top; }
|
||||||
|
|
||||||
|
th.valign-bottom, td.valign-bottom { vertical-align: bottom; }
|
||||||
|
|
||||||
|
th.valign-middle, td.valign-middle { vertical-align: middle; }
|
||||||
|
|
||||||
|
table thead th, table tfoot th { font-weight: bold; }
|
||||||
|
|
||||||
|
tbody tr th { display: table-cell; line-height: 1.5; background: none; }
|
||||||
|
|
||||||
|
tbody tr th, tbody tr th p, tfoot tr th, tfoot tr th p { color: #222222; font-weight: bold; }
|
||||||
|
|
||||||
|
p.tableblock > code:only-child { background: none; padding: 0; }
|
||||||
|
|
||||||
|
p.tableblock { font-size: 1em; }
|
||||||
|
|
||||||
|
ol { margin-left: 0.25em; }
|
||||||
|
|
||||||
|
ul li ol { margin-left: 0; }
|
||||||
|
|
||||||
|
dl dd { margin-left: 1.125em; }
|
||||||
|
|
||||||
|
dl dd:last-child, dl dd:last-child > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
ol > li p, ul > li p, ul dd, ol dd, .olist .olist, .ulist .ulist, .ulist .olist, .olist .ulist { margin-bottom: 0.625em; }
|
||||||
|
|
||||||
|
ul.checklist, ul.none, ol.none, ul.no-bullet, ol.no-bullet, ol.unnumbered, ul.unstyled, ol.unstyled { list-style-type: none; }
|
||||||
|
|
||||||
|
ul.no-bullet, ol.no-bullet, ol.unnumbered { margin-left: 0.625em; }
|
||||||
|
|
||||||
|
ul.unstyled, ol.unstyled { margin-left: 0; }
|
||||||
|
|
||||||
|
ul.checklist { margin-left: 0.625em; }
|
||||||
|
|
||||||
|
ul.checklist li > p:first-child > .fa-square-o:first-child, ul.checklist li > p:first-child > .fa-check-square-o:first-child { width: 1.25em; font-size: 0.8em; position: relative; bottom: 0.125em; }
|
||||||
|
|
||||||
|
ul.checklist li > p:first-child > input[type="checkbox"]:first-child { margin-right: 0.25em; }
|
||||||
|
|
||||||
|
ul.inline { display: -ms-flexbox; display: -webkit-box; display: flex; -ms-flex-flow: row wrap; -webkit-flex-flow: row wrap; flex-flow: row wrap; list-style: none; margin: 0 0 0.625em -1.25em; }
|
||||||
|
|
||||||
|
ul.inline > li { margin-left: 1.25em; }
|
||||||
|
|
||||||
|
.unstyled dl dt { font-weight: normal; font-style: normal; }
|
||||||
|
|
||||||
|
ol.arabic { list-style-type: decimal; }
|
||||||
|
|
||||||
|
ol.decimal { list-style-type: decimal-leading-zero; }
|
||||||
|
|
||||||
|
ol.loweralpha { list-style-type: lower-alpha; }
|
||||||
|
|
||||||
|
ol.upperalpha { list-style-type: upper-alpha; }
|
||||||
|
|
||||||
|
ol.lowerroman { list-style-type: lower-roman; }
|
||||||
|
|
||||||
|
ol.upperroman { list-style-type: upper-roman; }
|
||||||
|
|
||||||
|
ol.lowergreek { list-style-type: lower-greek; }
|
||||||
|
|
||||||
|
.hdlist > table, .colist > table { border: 0; background: none; }
|
||||||
|
.hdlist > table > tbody > tr, .colist > table > tbody > tr { background: none; }
|
||||||
|
|
||||||
|
td.hdlist1, td.hdlist2 { vertical-align: top; padding: 0 0.625em; }
|
||||||
|
|
||||||
|
td.hdlist1 { font-weight: bold; padding-bottom: 1.25em; }
|
||||||
|
|
||||||
|
td.hdlist2 { word-wrap: anywhere; }
|
||||||
|
|
||||||
|
.literalblock + .colist, .listingblock + .colist { margin-top: -0.5em; }
|
||||||
|
|
||||||
|
.colist td:not([class]):first-child { padding: 0.4em 0.75em 0 0.75em; line-height: 1; vertical-align: top; }
|
||||||
|
.colist td:not([class]):first-child img { max-width: none; }
|
||||||
|
.colist td:not([class]):last-child { padding: 0.25em 0; }
|
||||||
|
|
||||||
|
.thumb, .th { line-height: 0; display: inline-block; border: solid 4px white; -webkit-box-shadow: 0 0 0 1px #dddddd; box-shadow: 0 0 0 1px #dddddd; }
|
||||||
|
|
||||||
|
.imageblock.left { margin: 0.25em 0.625em 1.25em 0; }
|
||||||
|
.imageblock.right { margin: 0.25em 0 1.25em 0.625em; }
|
||||||
|
.imageblock > .title { margin-bottom: 0; }
|
||||||
|
.imageblock.thumb, .imageblock.th { border-width: 6px; }
|
||||||
|
.imageblock.thumb > .title, .imageblock.th > .title { padding: 0 0.125em; }
|
||||||
|
|
||||||
|
.image.left, .image.right { margin-top: 0.25em; margin-bottom: 0.25em; display: inline-block; line-height: 0; }
|
||||||
|
.image.left { margin-right: 0.625em; }
|
||||||
|
.image.right { margin-left: 0.625em; }
|
||||||
|
|
||||||
|
a.image { text-decoration: none; display: inline-block; }
|
||||||
|
a.image object { pointer-events: none; }
|
||||||
|
|
||||||
|
sup.footnote, sup.footnoteref { font-size: 0.875em; position: static; vertical-align: super; }
|
||||||
|
sup.footnote a, sup.footnoteref a { text-decoration: none; }
|
||||||
|
sup.footnote a:active, sup.footnoteref a:active { text-decoration: underline; }
|
||||||
|
|
||||||
|
#footnotes { padding-top: 0.75em; padding-bottom: 0.75em; margin-bottom: 0.625em; }
|
||||||
|
#footnotes hr { width: 20%; min-width: 6.25em; margin: -0.25em 0 0.75em 0; border-width: 1px 0 0 0; }
|
||||||
|
#footnotes .footnote { padding: 0 0.375em 0 0.225em; line-height: 1.3334; font-size: 0.875em; margin-left: 1.2em; margin-bottom: 0.2em; }
|
||||||
|
#footnotes .footnote a:first-of-type { font-weight: bold; text-decoration: none; margin-left: -1.05em; }
|
||||||
|
#footnotes .footnote:last-of-type { margin-bottom: 0; }
|
||||||
|
#content #footnotes { margin-top: -0.625em; margin-bottom: 0; padding: 0.75em 0; }
|
||||||
|
|
||||||
|
.gist .file-data > table { border: 0; background: #fff; width: 100%; margin-bottom: 0; }
|
||||||
|
.gist .file-data > table td.line-data { width: 99%; }
|
||||||
|
|
||||||
|
div.unbreakable { page-break-inside: avoid; }
|
||||||
|
|
||||||
|
.big { font-size: larger; }
|
||||||
|
|
||||||
|
.small { font-size: smaller; }
|
||||||
|
|
||||||
|
.underline { text-decoration: underline; }
|
||||||
|
|
||||||
|
.overline { text-decoration: overline; }
|
||||||
|
|
||||||
|
.line-through { text-decoration: line-through; }
|
||||||
|
|
||||||
|
.aqua { color: #00bfbf; }
|
||||||
|
|
||||||
|
.aqua-background { background-color: #00fafa; }
|
||||||
|
|
||||||
|
.black { color: black; }
|
||||||
|
|
||||||
|
.black-background { background-color: black; }
|
||||||
|
|
||||||
|
.blue { color: #0000bf; }
|
||||||
|
|
||||||
|
.blue-background { background-color: #0000fa; }
|
||||||
|
|
||||||
|
.fuchsia { color: #bf00bf; }
|
||||||
|
|
||||||
|
.fuchsia-background { background-color: #fa00fa; }
|
||||||
|
|
||||||
|
.gray { color: #606060; }
|
||||||
|
|
||||||
|
.gray-background { background-color: #7d7d7d; }
|
||||||
|
|
||||||
|
.green { color: #006000; }
|
||||||
|
|
||||||
|
.green-background { background-color: #007d00; }
|
||||||
|
|
||||||
|
.lime { color: #00bf00; }
|
||||||
|
|
||||||
|
.lime-background { background-color: #00fa00; }
|
||||||
|
|
||||||
|
.maroon { color: #600000; }
|
||||||
|
|
||||||
|
.maroon-background { background-color: #7d0000; }
|
||||||
|
|
||||||
|
.navy { color: #000060; }
|
||||||
|
|
||||||
|
.navy-background { background-color: #00007d; }
|
||||||
|
|
||||||
|
.olive { color: #606000; }
|
||||||
|
|
||||||
|
.olive-background { background-color: #7d7d00; }
|
||||||
|
|
||||||
|
.purple { color: #600060; }
|
||||||
|
|
||||||
|
.purple-background { background-color: #7d007d; }
|
||||||
|
|
||||||
|
.red { color: #bf0000; }
|
||||||
|
|
||||||
|
.red-background { background-color: #fa0000; }
|
||||||
|
|
||||||
|
.silver { color: #909090; }
|
||||||
|
|
||||||
|
.silver-background { background-color: #bcbcbc; }
|
||||||
|
|
||||||
|
.teal { color: #006060; }
|
||||||
|
|
||||||
|
.teal-background { background-color: #007d7d; }
|
||||||
|
|
||||||
|
.white { color: #bfbfbf; }
|
||||||
|
|
||||||
|
.white-background { background-color: #fafafa; }
|
||||||
|
|
||||||
|
.yellow { color: #bfbf00; }
|
||||||
|
|
||||||
|
.yellow-background { background-color: #fafa00; }
|
||||||
|
|
||||||
|
span.icon > .fa { cursor: default; }
|
||||||
|
a span.icon > .fa { cursor: inherit; }
|
||||||
|
|
||||||
|
.admonitionblock td.icon [class^="fa icon-"] { font-size: 2.5em; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); cursor: default; }
|
||||||
|
.admonitionblock td.icon .icon-note:before { content: "\f05a"; color: #333333; }
|
||||||
|
.admonitionblock td.icon .icon-tip:before { content: "\f0eb"; text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8); color: #111; }
|
||||||
|
.admonitionblock td.icon .icon-warning:before { content: "\f071"; color: #bf6900; }
|
||||||
|
.admonitionblock td.icon .icon-caution:before { content: "\f06d"; color: #bf3400; }
|
||||||
|
.admonitionblock td.icon .icon-important:before { content: "\f06a"; color: #bf0000; }
|
||||||
|
|
||||||
|
.conum[data-value] { display: inline-block; color: #fff !important; background-color: black; -webkit-border-radius: 50%; border-radius: 50%; text-align: center; font-size: 0.75em; width: 1.67em; height: 1.67em; line-height: 1.67em; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-style: normal; font-weight: bold; }
|
||||||
|
.conum[data-value] * { color: #fff !important; }
|
||||||
|
.conum[data-value] + b { display: none; }
|
||||||
|
.conum[data-value]:after { content: attr(data-value); }
|
||||||
|
pre .conum[data-value] { position: relative; top: -0.125em; }
|
||||||
|
|
||||||
|
b.conum * { color: inherit !important; }
|
||||||
|
|
||||||
|
.conum:not([data-value]):empty { display: none; }
|
||||||
|
|
||||||
|
h4 { color: #6c818f; }
|
||||||
|
|
||||||
|
.literalblock > .content > pre, .listingblock > .content > pre { -webkit-border-radius: 6px; border-radius: 6px; margin-left: 2em; margin-right: 2em; }
|
||||||
|
|
||||||
|
.admonitionblock { margin-left: 2em; margin-right: 2em; }
|
||||||
|
.admonitionblock > table { border: 1px solid #609060; border-top-width: 1.5em; background-color: #e9ffe9; border-collapse: separate; -webkit-border-radius: 0; border-radius: 0; }
|
||||||
|
.admonitionblock > table td.icon { padding-top: .5em; padding-bottom: .5em; }
|
||||||
|
.admonitionblock > table td.content { padding: .5em 1em; color: black; font-size: .9em; border-left: none; }
|
||||||
|
|
||||||
|
.sidebarblock { background-color: #e8ecef; border-color: #ccc; }
|
||||||
|
.sidebarblock > .content > .title { color: #444444; }
|
||||||
|
|
||||||
|
table.tableblock.grid-all { border-collapse: collapse; -webkit-border-radius: 0; border-radius: 0; }
|
||||||
|
table.tableblock.grid-all th.tableblock, table.tableblock.grid-all td.tableblock { border-bottom: 1px solid #aaa; }
|
||||||
|
|
||||||
|
#footer { background-color: #465158; padding: 2em; }
|
||||||
|
|
||||||
|
#footer-text { color: #eee; font-size: 0.8em; text-align: center; }
|
||||||
|
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
</head>
|
||||||
|
<body class="article">
|
||||||
|
<div id="header">
|
||||||
|
</div>
|
||||||
|
<div id="content">
|
||||||
|
<table class="tableblock frame-all grid-all stretch">
|
||||||
|
<caption class="title">Table 1. Changed modules</caption>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 26.6666%;">
|
||||||
|
<col style="width: 28.8888%;">
|
||||||
|
<col style="width: 11.1111%;">
|
||||||
|
<col style="width: 8.8888%;">
|
||||||
|
<col style="width: 24.4447%;">
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="tableblock halign-center valign-top">Name/Version</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Release Stage</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Group</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Deps</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Change Date</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<div id="footer-text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
15939
deleted_modules.html
Normal file
15939
deleted_modules.html
Normal file
File diff suppressed because it is too large
Load Diff
10
doc/all_modules.adoc
Normal file
10
doc/all_modules.adoc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[cols="<12, <13, <5, <4, <11", options="header"]
|
||||||
|
.All modules
|
||||||
|
|===
|
||||||
|
^|Name/Version
|
||||||
|
^|Release Stage
|
||||||
|
^|Group
|
||||||
|
^|Deps
|
||||||
|
^|Change Date
|
||||||
|
|
||||||
|
|===
|
@ -1 +0,0 @@
|
|||||||
No changes.
|
|
@ -1 +0,0 @@
|
|||||||
No modules have been removed!
|
|
@ -1,7 +0,0 @@
|
|||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<!-- The loading of KaTeX is deferred to speed up page rendering -->
|
|
||||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
|
|
||||||
|
|
||||||
<!-- To automatically render math in text elements, include the auto-render extension: -->
|
|
||||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script>
|
|
@ -1,33 +0,0 @@
|
|||||||
= Pmodules
|
|
||||||
ifdef::backend-docbook5,backend-html5[]
|
|
||||||
:docinfo: shared
|
|
||||||
:toc: left
|
|
||||||
:numbered:
|
|
||||||
:toclevels: 3
|
|
||||||
:description: Pmodules
|
|
||||||
:keywords: Pmodules, Environment Modules, Lmod
|
|
||||||
:adoc: adoc
|
|
||||||
endif::[]
|
|
||||||
:TOC:
|
|
||||||
|
|
||||||
== News
|
|
||||||
|
|
||||||
include::news.adoc[]
|
|
||||||
|
|
||||||
== New/Changed/Removed Modules
|
|
||||||
=== New Modules
|
|
||||||
|
|
||||||
include::new_modules.adoc[]
|
|
||||||
|
|
||||||
=== Changes in Release Stage
|
|
||||||
|
|
||||||
include::changed_modules.adoc[]
|
|
||||||
|
|
||||||
=== Deleted Modules
|
|
||||||
|
|
||||||
include::deleted_modules.adoc[]
|
|
||||||
|
|
||||||
[%collapsible]
|
|
||||||
== All Modules
|
|
||||||
|
|
||||||
include::all_modules.adoc[]
|
|
@ -1 +0,0 @@
|
|||||||
No changes.
|
|
@ -1,24 +0,0 @@
|
|||||||
=== Current versions
|
|
||||||
|
|
||||||
Current stable version is Pmodules 1.0.0.
|
|
||||||
|
|
||||||
Current development version is Pmodules 1.1.16.
|
|
||||||
|
|
||||||
=== News stable
|
|
||||||
|
|
||||||
See: https://gitlab.psi.ch/Pmodules/src/-/blob/Pmodules-1.0/CHANGELOG.md[CHANGELOG]
|
|
||||||
|
|
||||||
=== News development
|
|
||||||
|
|
||||||
See: https://gitlab.psi.ch/Pmodules/src/-/blob/master/CHANGELOG.md[CHANGELOG]
|
|
||||||
|
|
||||||
New features in development version:
|
|
||||||
|
|
||||||
* overlays
|
|
||||||
* collections
|
|
||||||
* ban a module on dedicated systems via a block-list
|
|
||||||
|
|
||||||
ToDo
|
|
||||||
|
|
||||||
* module configuration files in YAML format
|
|
||||||
* more testing
|
|
16263
index.html
Normal file
16263
index.html
Normal file
File diff suppressed because it is too large
Load Diff
945
new_modules.html
Normal file
945
new_modules.html
Normal file
@ -0,0 +1,945 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="generator" content="Asciidoctor 2.0.23">
|
||||||
|
<title>Untitled</title>
|
||||||
|
<style>
|
||||||
|
/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
|
||||||
|
/* ========================================================================== HTML5 display definitions ========================================================================== */
|
||||||
|
/** Correct `block` display not defined in IE 8/9. */
|
||||||
|
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
|
||||||
|
|
||||||
|
/** Correct `inline-block` display not defined in IE 8/9. */
|
||||||
|
audio, canvas, video { display: inline-block; }
|
||||||
|
|
||||||
|
/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
|
||||||
|
audio:not([controls]) { display: none; height: 0; }
|
||||||
|
|
||||||
|
/** Address `[hidden]` styling not present in IE 8/9. Hide the `template` element in IE, Safari, and Firefox < 22. */
|
||||||
|
[hidden], template { display: none; }
|
||||||
|
|
||||||
|
script { display: none !important; }
|
||||||
|
|
||||||
|
/* ========================================================================== Base ========================================================================== */
|
||||||
|
/** 1. Set default font family to sans-serif. 2. Prevent iOS text size adjust after orientation change, without disabling user zoom. */
|
||||||
|
html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ }
|
||||||
|
|
||||||
|
/** Remove default margin. */
|
||||||
|
body { margin: 0; }
|
||||||
|
|
||||||
|
/* ========================================================================== Links ========================================================================== */
|
||||||
|
/** Remove the gray background color from active links in IE 10. */
|
||||||
|
a { background: transparent; }
|
||||||
|
|
||||||
|
/** Address `outline` inconsistency between Chrome and other browsers. */
|
||||||
|
a:focus { outline: thin dotted; }
|
||||||
|
|
||||||
|
/** Improve readability when focused and also mouse hovered in all browsers. */
|
||||||
|
a:active, a:hover { outline: 0; }
|
||||||
|
|
||||||
|
/* ========================================================================== Typography ========================================================================== */
|
||||||
|
/** Address variable `h1` font-size and margin within `section` and `article` contexts in Firefox 4+, Safari 5, and Chrome. */
|
||||||
|
h1 { font-size: 2em; margin: 0.67em 0; }
|
||||||
|
|
||||||
|
/** Address styling not present in IE 8/9, Safari 5, and Chrome. */
|
||||||
|
abbr[title] { border-bottom: 1px dotted; }
|
||||||
|
|
||||||
|
/** Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */
|
||||||
|
b, strong { font-weight: bold; }
|
||||||
|
|
||||||
|
/** Address styling not present in Safari 5 and Chrome. */
|
||||||
|
dfn { font-style: italic; }
|
||||||
|
|
||||||
|
/** Address differences between Firefox and other browsers. */
|
||||||
|
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
|
||||||
|
|
||||||
|
/** Address styling not present in IE 8/9. */
|
||||||
|
mark { background: #ff0; color: #000; }
|
||||||
|
|
||||||
|
/** Correct font family set oddly in Safari 5 and Chrome. */
|
||||||
|
code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; }
|
||||||
|
|
||||||
|
/** Improve readability of pre-formatted text in all browsers. */
|
||||||
|
pre { white-space: pre-wrap; }
|
||||||
|
|
||||||
|
/** Set consistent quote types. */
|
||||||
|
q { quotes: "\201C" "\201D" "\2018" "\2019"; }
|
||||||
|
|
||||||
|
/** Address inconsistent and variable font size in all browsers. */
|
||||||
|
small { font-size: 80%; }
|
||||||
|
|
||||||
|
/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */
|
||||||
|
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
||||||
|
|
||||||
|
sup { top: -0.5em; }
|
||||||
|
|
||||||
|
sub { bottom: -0.25em; }
|
||||||
|
|
||||||
|
/* ========================================================================== Embedded content ========================================================================== */
|
||||||
|
/** Remove border when inside `a` element in IE 8/9. */
|
||||||
|
img { border: 0; }
|
||||||
|
|
||||||
|
/** Correct overflow displayed oddly in IE 9. */
|
||||||
|
svg:not(:root) { overflow: hidden; }
|
||||||
|
|
||||||
|
/* ========================================================================== Figures ========================================================================== */
|
||||||
|
/** Address margin not present in IE 8/9 and Safari 5. */
|
||||||
|
figure { margin: 0; }
|
||||||
|
|
||||||
|
/* ========================================================================== Forms ========================================================================== */
|
||||||
|
/** Define consistent border, margin, and padding. */
|
||||||
|
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
|
||||||
|
|
||||||
|
/** 1. Correct `color` not being inherited in IE 8/9. 2. Remove padding so people aren't caught out if they zero out fieldsets. */
|
||||||
|
legend { border: 0; /* 1 */ padding: 0; /* 2 */ }
|
||||||
|
|
||||||
|
/** 1. Correct font family not being inherited in all browsers. 2. Correct font size not being inherited in all browsers. 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. */
|
||||||
|
button, input, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 2 */ margin: 0; /* 3 */ }
|
||||||
|
|
||||||
|
/** Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */
|
||||||
|
button, input { line-height: normal; }
|
||||||
|
|
||||||
|
/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+. Correct `select` style inheritance in Firefox 4+ and Opera. */
|
||||||
|
button, select { text-transform: none; }
|
||||||
|
|
||||||
|
/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. */
|
||||||
|
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ }
|
||||||
|
|
||||||
|
/** Re-set default cursor for disabled elements. */
|
||||||
|
button[disabled], html input[disabled] { cursor: default; }
|
||||||
|
|
||||||
|
/** 1. Address box sizing set to `content-box` in IE 8/9. 2. Remove excess padding in IE 8/9. */
|
||||||
|
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ }
|
||||||
|
|
||||||
|
/** 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome (include `-moz` to future-proof). */
|
||||||
|
input[type="search"] { -webkit-appearance: textfield; /* 1 */ -moz-box-sizing: content-box; -webkit-box-sizing: content-box; /* 2 */ box-sizing: content-box; }
|
||||||
|
|
||||||
|
/** Remove inner padding and search cancel button in Safari 5 and Chrome on OS X. */
|
||||||
|
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
||||||
|
|
||||||
|
/** Remove inner padding and border in Firefox 4+. */
|
||||||
|
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
||||||
|
|
||||||
|
/** 1. Remove default vertical scrollbar in IE 8/9. 2. Improve readability and alignment in all browsers. */
|
||||||
|
textarea { overflow: auto; /* 1 */ vertical-align: top; /* 2 */ }
|
||||||
|
|
||||||
|
/* ========================================================================== Tables ========================================================================== */
|
||||||
|
/** Remove most spacing between table cells. */
|
||||||
|
table { border-collapse: collapse; border-spacing: 0; }
|
||||||
|
|
||||||
|
meta.foundation-mq-small { font-family: "only screen and (min-width: 768px)"; width: 768px; }
|
||||||
|
|
||||||
|
meta.foundation-mq-medium { font-family: "only screen and (min-width:1280px)"; width: 1280px; }
|
||||||
|
|
||||||
|
meta.foundation-mq-large { font-family: "only screen and (min-width:1440px)"; width: 1440px; }
|
||||||
|
|
||||||
|
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
|
||||||
|
|
||||||
|
html, body { font-size: 100%; }
|
||||||
|
|
||||||
|
body { background: white; color: #222222; padding: 0; margin: 0; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; line-height: 1; position: relative; cursor: auto; }
|
||||||
|
|
||||||
|
a:hover { cursor: pointer; }
|
||||||
|
|
||||||
|
img, object, embed { max-width: 100%; height: auto; }
|
||||||
|
|
||||||
|
object, embed { height: 100%; }
|
||||||
|
|
||||||
|
img { -ms-interpolation-mode: bicubic; }
|
||||||
|
|
||||||
|
#map_canvas img, #map_canvas embed, #map_canvas object, .map_canvas img, .map_canvas embed, .map_canvas object { max-width: none !important; }
|
||||||
|
|
||||||
|
.left { float: left !important; }
|
||||||
|
|
||||||
|
.right { float: right !important; }
|
||||||
|
|
||||||
|
.text-left { text-align: left !important; }
|
||||||
|
|
||||||
|
.text-right { text-align: right !important; }
|
||||||
|
|
||||||
|
.text-center { text-align: center !important; }
|
||||||
|
|
||||||
|
.text-justify { text-align: justify !important; }
|
||||||
|
|
||||||
|
.hide { display: none; }
|
||||||
|
|
||||||
|
.antialiased { -webkit-font-smoothing: antialiased; }
|
||||||
|
|
||||||
|
img { display: inline-block; vertical-align: middle; }
|
||||||
|
|
||||||
|
textarea { height: auto; min-height: 50px; }
|
||||||
|
|
||||||
|
select { width: 100%; }
|
||||||
|
|
||||||
|
p.lead { font-size: 1.21875em; line-height: 1.6; }
|
||||||
|
|
||||||
|
.subheader, .admonitionblock td.content > .title, .audioblock > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .stemblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, table.tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { line-height: 1.4; color: #6c818f; font-weight: 300; margin-top: 0.2em; margin-bottom: 0.5em; }
|
||||||
|
|
||||||
|
/* Typography resets */
|
||||||
|
div, dl, dt, dd, ul, ol, li, h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; direction: ltr; }
|
||||||
|
|
||||||
|
/* Default Link Styles */
|
||||||
|
a { color: #444444; text-decoration: underline; line-height: inherit; }
|
||||||
|
a:hover, a:focus { color: #111111; }
|
||||||
|
a img { border: none; }
|
||||||
|
|
||||||
|
/* Default paragraph styles */
|
||||||
|
p { font-family: inherit; font-weight: normal; font-size: 1em; line-height: 1.5; margin-bottom: 1.25em; text-rendering: optimizeLegibility; }
|
||||||
|
p aside { font-size: 0.875em; line-height: 1.35; font-style: italic; }
|
||||||
|
|
||||||
|
/* Default header styles */
|
||||||
|
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; font-weight: bold; font-style: normal; color: #465158; text-rendering: optimizeLegibility; margin-top: 1em; margin-bottom: 0.5em; line-height: 1.2125em; }
|
||||||
|
h1 small, h2 small, h3 small, #toctitle small, .sidebarblock > .content > .title small, h4 small, h5 small, h6 small { font-size: 60%; color: #909ea7; line-height: 0; }
|
||||||
|
|
||||||
|
h1 { font-size: 2.125em; }
|
||||||
|
|
||||||
|
h2 { font-size: 1.6875em; }
|
||||||
|
|
||||||
|
h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.375em; }
|
||||||
|
|
||||||
|
h4 { font-size: 1.125em; }
|
||||||
|
|
||||||
|
h5 { font-size: 1.125em; }
|
||||||
|
|
||||||
|
h6 { font-size: 1em; }
|
||||||
|
|
||||||
|
hr { border: solid #dddddd; border-width: 1px 0 0; clear: both; margin: 1.25em 0 1.1875em; height: 0; }
|
||||||
|
|
||||||
|
/* Helpful Typography Defaults */
|
||||||
|
em, i { font-style: italic; line-height: inherit; }
|
||||||
|
|
||||||
|
strong, b { font-weight: bold; line-height: inherit; }
|
||||||
|
|
||||||
|
small { font-size: 60%; line-height: inherit; }
|
||||||
|
|
||||||
|
code { font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; font-weight: normal; color: #444444; }
|
||||||
|
|
||||||
|
/* Lists */
|
||||||
|
ul, ol, dl { font-size: 1em; line-height: 1.5; margin-bottom: 1.25em; list-style-position: outside; font-family: inherit; }
|
||||||
|
|
||||||
|
ul, ol { margin-left: 0; }
|
||||||
|
ul.no-bullet, ol.no-bullet { margin-left: 0; }
|
||||||
|
|
||||||
|
/* Unordered Lists */
|
||||||
|
ul li ul, ul li ol { margin-left: 1.25em; margin-bottom: 0; font-size: 1em; /* Override nested font-size change */ }
|
||||||
|
ul.square li ul, ul.circle li ul, ul.disc li ul { list-style: inherit; }
|
||||||
|
ul.square { list-style-type: square; }
|
||||||
|
ul.circle { list-style-type: circle; }
|
||||||
|
ul.disc { list-style-type: disc; }
|
||||||
|
ul.no-bullet { list-style: none; }
|
||||||
|
|
||||||
|
/* Ordered Lists */
|
||||||
|
ol li ul, ol li ol { margin-left: 1.25em; margin-bottom: 0; }
|
||||||
|
|
||||||
|
/* Definition Lists */
|
||||||
|
dl dt { margin-bottom: 0.3em; font-weight: bold; }
|
||||||
|
dl dd { margin-bottom: 0.75em; }
|
||||||
|
|
||||||
|
/* Abbreviations */
|
||||||
|
abbr, acronym { text-transform: uppercase; font-size: 90%; color: black; border-bottom: 1px dotted #dddddd; cursor: help; }
|
||||||
|
|
||||||
|
abbr { text-transform: none; }
|
||||||
|
|
||||||
|
/* Blockquotes */
|
||||||
|
blockquote { margin: 0 0 1.25em; padding: 0.5625em 1.25em 0 1.1875em; border-left: 1px solid #dddddd; }
|
||||||
|
blockquote cite { display: block; font-size: 0.8125em; color: #748590; }
|
||||||
|
blockquote cite:before { content: "\2014 \0020"; }
|
||||||
|
blockquote cite a, blockquote cite a:visited { color: #748590; }
|
||||||
|
|
||||||
|
blockquote, blockquote p { line-height: 1.5; color: #909ea7; }
|
||||||
|
|
||||||
|
/* Microformats */
|
||||||
|
.vcard { display: inline-block; margin: 0 0 1.25em 0; border: 1px solid #dddddd; padding: 0.625em 0.75em; }
|
||||||
|
.vcard li { margin: 0; display: block; }
|
||||||
|
.vcard .fn { font-weight: bold; font-size: 0.9375em; }
|
||||||
|
|
||||||
|
.vevent .summary { font-weight: bold; }
|
||||||
|
.vevent abbr { cursor: auto; text-decoration: none; font-weight: bold; border: none; padding: 0 0.0625em; }
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) { h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.4; }
|
||||||
|
h1 { font-size: 2.75em; }
|
||||||
|
h2 { font-size: 2.3125em; }
|
||||||
|
h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.6875em; }
|
||||||
|
h4 { font-size: 1.4375em; } }
|
||||||
|
/* Tables */
|
||||||
|
table { background: white; margin-bottom: 1.25em; border: solid 0 #dddddd; }
|
||||||
|
table thead, table tfoot { background: none; font-weight: bold; }
|
||||||
|
table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td { padding: 1px 8px 1px 5px; font-size: 1em; color: #222222; text-align: left; }
|
||||||
|
table tr th, table tr td { padding: 1px 8px 1px 5px; font-size: 1em; color: #222222; }
|
||||||
|
table tr.even, table tr.alt, table tr:nth-of-type(even) { background: none; }
|
||||||
|
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; line-height: 1.5; }
|
||||||
|
|
||||||
|
body { tab-size: 4; word-wrap: anywhere; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
|
||||||
|
|
||||||
|
table { word-wrap: normal; }
|
||||||
|
|
||||||
|
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.4; }
|
||||||
|
|
||||||
|
object, svg { display: inline-block; vertical-align: middle; }
|
||||||
|
|
||||||
|
.center { margin-left: auto; margin-right: auto; }
|
||||||
|
|
||||||
|
.stretch { width: 100%; }
|
||||||
|
|
||||||
|
.clearfix:before, .clearfix:after, .float-group:before, .float-group:after { content: " "; display: table; }
|
||||||
|
.clearfix:after, .float-group:after { clear: both; }
|
||||||
|
|
||||||
|
:not(pre).nobreak { word-wrap: normal; }
|
||||||
|
:not(pre).nowrap { white-space: nowrap; }
|
||||||
|
:not(pre).pre-wrap { white-space: pre-wrap; }
|
||||||
|
|
||||||
|
:not(pre):not([class^=L]) > code { font-size: 0.95em; font-style: normal !important; letter-spacing: 0; padding: 0; background-color: #f2f2f2; -webkit-border-radius: 6px; border-radius: 6px; line-height: inherit; }
|
||||||
|
|
||||||
|
pre { color: inherit; font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; line-height: 1.2; }
|
||||||
|
pre code, pre pre { color: inherit; font-size: inherit; line-height: inherit; }
|
||||||
|
pre > code { display: block; }
|
||||||
|
|
||||||
|
pre.nowrap, pre.nowrap pre { white-space: pre; word-wrap: normal; }
|
||||||
|
|
||||||
|
em em { font-style: normal; }
|
||||||
|
|
||||||
|
strong strong { font-weight: normal; }
|
||||||
|
|
||||||
|
.keyseq { color: #333333; }
|
||||||
|
|
||||||
|
kbd { font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; display: inline-block; color: black; font-size: 0.65em; line-height: 1.45; background-color: #f7f7f7; border: 1px solid #ccc; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset; margin: 0 0.15em; padding: 0.2em 0.5em; vertical-align: middle; position: relative; top: -0.1em; white-space: nowrap; }
|
||||||
|
|
||||||
|
.keyseq kbd:first-child { margin-left: 0; }
|
||||||
|
|
||||||
|
.keyseq kbd:last-child { margin-right: 0; }
|
||||||
|
|
||||||
|
.menuseq, .menuref { color: #000; }
|
||||||
|
|
||||||
|
.menuseq b:not(.caret), .menuref { font-weight: inherit; }
|
||||||
|
|
||||||
|
.menuseq { word-spacing: -0.02em; }
|
||||||
|
.menuseq b.caret { font-size: 1.25em; line-height: 0.8; }
|
||||||
|
.menuseq i.caret { font-weight: bold; text-align: center; width: 0.45em; }
|
||||||
|
|
||||||
|
b.button:before, b.button:after { position: relative; top: -1px; font-weight: normal; }
|
||||||
|
|
||||||
|
b.button:before { content: "["; padding: 0 3px 0 2px; }
|
||||||
|
|
||||||
|
b.button:after { content: "]"; padding: 0 2px 0 3px; }
|
||||||
|
|
||||||
|
p a > code:hover { color: #373737; }
|
||||||
|
|
||||||
|
#header, #content, #footnotes, #footer { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 62.5em; *zoom: 1; position: relative; padding-left: 0.9375em; padding-right: 0.9375em; }
|
||||||
|
#header:before, #header:after, #content:before, #content:after, #footnotes:before, #footnotes:after, #footer:before, #footer:after { content: " "; display: table; }
|
||||||
|
#header:after, #content:after, #footnotes:after, #footer:after { clear: both; }
|
||||||
|
|
||||||
|
#content { margin-top: 1.25em; }
|
||||||
|
|
||||||
|
#content:before { content: none; }
|
||||||
|
|
||||||
|
#header > h1:first-child { color: #111111; margin-top: 2.25rem; margin-bottom: 0; }
|
||||||
|
#header > h1:first-child + #toc { margin-top: 8px; border-top: 1px solid #dddddd; }
|
||||||
|
#header > h1:only-child, body.toc2 #header > h1:nth-last-child(2) { border-bottom: 1px solid #dddddd; padding-bottom: 8px; }
|
||||||
|
#header .details { border-bottom: 1px solid #dddddd; line-height: 1.45; padding-top: 0.25em; padding-bottom: 0.25em; padding-left: 0.25em; color: #748590; display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-flow: row wrap; -webkit-flex-flow: row wrap; flex-flow: row wrap; }
|
||||||
|
#header .details span:first-child { margin-left: -0.125em; }
|
||||||
|
#header .details span.email a { color: #909ea7; }
|
||||||
|
#header .details br { display: none; }
|
||||||
|
#header .details br + span:before { content: "\00a0\2013\00a0"; }
|
||||||
|
#header .details br + span.author:before { content: "\00a0\22c5\00a0"; color: #909ea7; }
|
||||||
|
#header .details br + span#revremark:before { content: "\00a0|\00a0"; }
|
||||||
|
#header #revnumber { text-transform: capitalize; }
|
||||||
|
#header #revnumber:after { content: "\00a0"; }
|
||||||
|
|
||||||
|
#content > h1:first-child:not([class]) { color: #111111; border-bottom: 1px solid #dddddd; padding-bottom: 8px; margin-top: 0; padding-top: 1rem; margin-bottom: 1.25rem; }
|
||||||
|
|
||||||
|
#toc { border-bottom: 1px solid #dddddd; padding-bottom: 0.5em; }
|
||||||
|
#toc > ul { margin-left: 0.125em; }
|
||||||
|
#toc ul.sectlevel0 > li > a { font-style: italic; }
|
||||||
|
#toc ul.sectlevel0 ul.sectlevel1 { margin: 0.5em 0; }
|
||||||
|
#toc ul { font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; list-style-type: none; }
|
||||||
|
#toc li { line-height: 1.3334; margin-top: 0.3334em; }
|
||||||
|
#toc a { text-decoration: none; }
|
||||||
|
#toc a:active { text-decoration: underline; }
|
||||||
|
|
||||||
|
#toctitle { color: #6c818f; font-size: 1.2em; }
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) { #toctitle { font-size: 1.375em; }
|
||||||
|
body.toc2 { padding-left: 15em; padding-right: 0; }
|
||||||
|
#toc.toc2 { margin-top: 0 !important; background: #f2f2f2; position: fixed; width: 15em; left: 0; top: 0; border-right: 1px solid #dddddd; border-top-width: 0 !important; border-bottom-width: 0 !important; z-index: 1000; padding: 1.25em 1em; height: 100%; overflow: auto; }
|
||||||
|
#toc.toc2 #toctitle { margin-top: 0; margin-bottom: 0.8rem; font-size: 1.2em; }
|
||||||
|
#toc.toc2 > ul { font-size: 0.9em; margin-bottom: 0; }
|
||||||
|
#toc.toc2 ul ul { margin-left: 0; padding-left: 1em; }
|
||||||
|
#toc.toc2 ul.sectlevel0 ul.sectlevel1 { padding-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; }
|
||||||
|
body.toc2.toc-right { padding-left: 0; padding-right: 15em; }
|
||||||
|
body.toc2.toc-right #toc.toc2 { border-right-width: 0; border-left: 1px solid #dddddd; left: auto; right: 0; } }
|
||||||
|
@media only screen and (min-width: 1280px) { body.toc2 { padding-left: 20em; padding-right: 0; }
|
||||||
|
#toc.toc2 { width: 20em; }
|
||||||
|
#toc.toc2 #toctitle { font-size: 1.375em; }
|
||||||
|
#toc.toc2 > ul { font-size: 0.95em; }
|
||||||
|
#toc.toc2 ul ul { padding-left: 1.25em; }
|
||||||
|
body.toc2.toc-right { padding-left: 0; padding-right: 20em; } }
|
||||||
|
#content #toc { border-style: solid; border-width: 1px; border-color: #d9d9d9; margin-bottom: 1.25em; padding: 1.25em; background: #f2f2f2; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
#content #toc > :first-child { margin-top: 0; }
|
||||||
|
#content #toc > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
#footer { max-width: none; background: black; padding: 1.25em; }
|
||||||
|
|
||||||
|
#footer-text { color: white; line-height: 1.35; }
|
||||||
|
|
||||||
|
#content { margin-bottom: 0.625em; }
|
||||||
|
|
||||||
|
.sect1 { padding-bottom: 0.625em; }
|
||||||
|
|
||||||
|
@media only screen and (min-width: 768px) { #content { margin-bottom: 1.25em; }
|
||||||
|
.sect1 { padding-bottom: 1.25em; } }
|
||||||
|
.sect1:last-child { padding-bottom: 0; }
|
||||||
|
|
||||||
|
.sect1 + .sect1 { border-top: 1px solid #dddddd; }
|
||||||
|
|
||||||
|
#content h1 > a.anchor, h2 > a.anchor, h3 > a.anchor, #toctitle > a.anchor, .sidebarblock > .content > .title > a.anchor, h4 > a.anchor, h5 > a.anchor, h6 > a.anchor { position: absolute; z-index: 1001; width: 1.5ex; margin-left: -1.5ex; display: block; text-decoration: none !important; visibility: hidden; text-align: center; font-weight: normal; }
|
||||||
|
#content h1 > a.anchor:before, h2 > a.anchor:before, h3 > a.anchor:before, #toctitle > a.anchor:before, .sidebarblock > .content > .title > a.anchor:before, h4 > a.anchor:before, h5 > a.anchor:before, h6 > a.anchor:before { content: "\00A7"; font-size: 0.85em; display: block; padding-top: 0.1em; }
|
||||||
|
#content h1:hover > a.anchor, #content h1 > a.anchor:hover, h2:hover > a.anchor, h2 > a.anchor:hover, h3:hover > a.anchor, #toctitle:hover > a.anchor, .sidebarblock > .content > .title:hover > a.anchor, h3 > a.anchor:hover, #toctitle > a.anchor:hover, .sidebarblock > .content > .title > a.anchor:hover, h4:hover > a.anchor, h4 > a.anchor:hover, h5:hover > a.anchor, h5 > a.anchor:hover, h6:hover > a.anchor, h6 > a.anchor:hover { visibility: visible; }
|
||||||
|
#content h1 > a.link, h2 > a.link, h3 > a.link, #toctitle > a.link, .sidebarblock > .content > .title > a.link, h4 > a.link, h5 > a.link, h6 > a.link { color: #465158; text-decoration: none; }
|
||||||
|
#content h1 > a.link:hover, h2 > a.link:hover, h3 > a.link:hover, #toctitle > a.link:hover, .sidebarblock > .content > .title > a.link:hover, h4 > a.link:hover, h5 > a.link:hover, h6 > a.link:hover { color: #3b444a; }
|
||||||
|
|
||||||
|
details, .audioblock, .imageblock, .literalblock, .listingblock, .stemblock, .videoblock { margin-bottom: 1.25em; }
|
||||||
|
|
||||||
|
details > summary:first-of-type { cursor: pointer; display: list-item; outline: none; margin-bottom: 0.75em; }
|
||||||
|
|
||||||
|
.admonitionblock td.content > .title, .audioblock > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .stemblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, table.tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-rendering: optimizeLegibility; text-align: left; }
|
||||||
|
|
||||||
|
table.tableblock.fit-content > caption.title { white-space: nowrap; width: 0; }
|
||||||
|
|
||||||
|
.paragraph.lead > p, #preamble > .sectionbody > [class="paragraph"]:first-of-type p { font-size: 1.21875em; line-height: 1.6; color: #111111; }
|
||||||
|
|
||||||
|
table.tableblock #preamble > .sectionbody > [class="paragraph"]:first-of-type p { font-size: inherit; }
|
||||||
|
|
||||||
|
.admonitionblock > table { border-collapse: separate; border: 0; background: none; width: 100%; }
|
||||||
|
.admonitionblock > table td.icon { text-align: center; width: 80px; }
|
||||||
|
.admonitionblock > table td.icon img { max-width: none; }
|
||||||
|
.admonitionblock > table td.icon .title { font-weight: bold; font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; text-transform: uppercase; }
|
||||||
|
.admonitionblock > table td.content { padding-left: 1.125em; padding-right: 1.25em; border-left: 1px solid #dddddd; color: #748590; word-wrap: anywhere; }
|
||||||
|
.admonitionblock > table td.content > :last-child > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
.exampleblock > .content { border-style: solid; border-width: 1px; border-color: #e6e6e6; margin-bottom: 1.25em; padding: 1.25em; background: white; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
.exampleblock > .content > :first-child { margin-top: 0; }
|
||||||
|
.exampleblock > .content > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
.sidebarblock { border-style: solid; border-width: 1px; border-color: #d4d4d4; margin-bottom: 1.25em; padding: 1.25em; background: #ededed; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
.sidebarblock > :first-child { margin-top: 0; }
|
||||||
|
.sidebarblock > :last-child { margin-bottom: 0; }
|
||||||
|
.sidebarblock > .content > .title { color: #6c818f; margin-top: 0; }
|
||||||
|
|
||||||
|
.exampleblock > .content > :last-child > :last-child, .exampleblock > .content .olist > ol > li:last-child > :last-child, .exampleblock > .content .ulist > ul > li:last-child > :last-child, .exampleblock > .content .qlist > ol > li:last-child > :last-child, .sidebarblock > .content > :last-child > :last-child, .sidebarblock > .content .olist > ol > li:last-child > :last-child, .sidebarblock > .content .ulist > ul > li:last-child > :last-child, .sidebarblock > .content .qlist > ol > li:last-child > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
.literalblock pre, .listingblock > .content > pre { border: 1px solid #cccccc; -webkit-border-radius: 6px; border-radius: 6px; overflow-x: auto; padding: 0.5em; font-size: 0.8125em; }
|
||||||
|
@media only screen and (min-width: 768px) { .literalblock pre, .listingblock > .content > pre { font-size: 0.90625em; } }
|
||||||
|
@media only screen and (min-width: 1280px) { .literalblock pre, .listingblock > .content > pre { font-size: 1em; } }
|
||||||
|
|
||||||
|
.literalblock pre, .listingblock > .content > pre:not(.highlight), .listingblock > .content > pre[class="highlight"], .listingblock > .content > pre[class^="highlight "] { background: #eeeeee; }
|
||||||
|
|
||||||
|
.literalblock.output pre { color: #eeeeee; background-color: inherit; }
|
||||||
|
|
||||||
|
.listingblock > .content { position: relative; }
|
||||||
|
|
||||||
|
.listingblock code[data-lang]:before { display: none; content: attr(data-lang); position: absolute; font-size: 0.75em; top: 0.425rem; right: 0.5rem; line-height: 1; text-transform: uppercase; color: inherit; opacity: 0.5; }
|
||||||
|
|
||||||
|
.listingblock:hover code[data-lang]:before { display: block; }
|
||||||
|
|
||||||
|
.listingblock.terminal pre .command:before { content: attr(data-prompt); padding-right: 0.5em; color: inherit; opacity: 0.5; }
|
||||||
|
|
||||||
|
.listingblock.terminal pre .command:not([data-prompt]):before { content: "$"; }
|
||||||
|
|
||||||
|
.listingblock pre.highlightjs { padding: 0; }
|
||||||
|
.listingblock pre.highlightjs > code { padding: 0.5em; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
|
||||||
|
.prettyprint { background: #eeeeee; }
|
||||||
|
|
||||||
|
pre.prettyprint .linenums { line-height: 1.2; margin-left: 2em; }
|
||||||
|
|
||||||
|
pre.prettyprint li { background: none; list-style-type: inherit; padding-left: 0; }
|
||||||
|
|
||||||
|
pre.prettyprint li code[data-lang]:before { opacity: 1; }
|
||||||
|
|
||||||
|
pre.prettyprint li:not(:first-child) code[data-lang]:before { display: none; }
|
||||||
|
|
||||||
|
table.linenotable { border-collapse: separate; border: 0; margin-bottom: 0; background: none; }
|
||||||
|
table.linenotable td[class] { color: inherit; vertical-align: top; padding: 0; line-height: inherit; white-space: normal; }
|
||||||
|
table.linenotable td.code { padding-left: 0.75em; }
|
||||||
|
table.linenotable td.linenos { border-right: 1px solid currentColor; opacity: 0.35; padding-right: 0.5em; }
|
||||||
|
|
||||||
|
pre.pygments .lineno { border-right: 1px solid currentColor; opacity: 0.35; display: inline-block; margin-right: 0.75em; }
|
||||||
|
pre.pygments .lineno:before { content: ""; margin-right: -0.125em; }
|
||||||
|
|
||||||
|
.quoteblock { margin: 0 1em 1.25em 1.5em; display: table; }
|
||||||
|
.quoteblock:not(.excerpt) > .title { margin-left: -1.5em; margin-bottom: 0.75em; }
|
||||||
|
.quoteblock blockquote, .quoteblock p { color: #909ea7; font-size: 1.15rem; line-height: 1.75; word-spacing: 0.1em; letter-spacing: 0; font-style: italic; text-align: justify; }
|
||||||
|
.quoteblock blockquote { margin: 0; padding: 0; border: 0; }
|
||||||
|
.quoteblock blockquote:before { content: "\201c"; float: left; font-size: 2.75em; font-weight: bold; line-height: 0.6em; margin-left: -0.6em; color: #6c818f; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
|
||||||
|
.quoteblock blockquote > .paragraph:last-child p { margin-bottom: 0; }
|
||||||
|
.quoteblock .attribution { margin-top: 0.75em; margin-right: 0.5ex; text-align: right; }
|
||||||
|
|
||||||
|
.verseblock { margin: 0 1em 1.25em 1em; }
|
||||||
|
.verseblock pre { font-family: "Open Sans", "DejaVu Sans", sans; font-size: 1.15rem; color: #909ea7; font-weight: 300; text-rendering: optimizeLegibility; }
|
||||||
|
.verseblock pre strong { font-weight: 400; }
|
||||||
|
.verseblock .attribution { margin-top: 1.25rem; margin-left: 0.5ex; }
|
||||||
|
|
||||||
|
.quoteblock .attribution, .verseblock .attribution { font-size: 0.8125em; line-height: 1.45; font-style: italic; }
|
||||||
|
.quoteblock .attribution br, .verseblock .attribution br { display: none; }
|
||||||
|
.quoteblock .attribution cite, .verseblock .attribution cite { display: block; letter-spacing: -0.025em; color: #748590; }
|
||||||
|
|
||||||
|
.quoteblock.abstract blockquote:before, .quoteblock.excerpt blockquote:before, .quoteblock .quoteblock blockquote:before { display: none; }
|
||||||
|
.quoteblock.abstract blockquote, .quoteblock.abstract p, .quoteblock.excerpt blockquote, .quoteblock.excerpt p, .quoteblock .quoteblock blockquote, .quoteblock .quoteblock p { line-height: 1.6; word-spacing: 0; }
|
||||||
|
.quoteblock.abstract { margin: 0 1em 1.25em 1em; display: block; }
|
||||||
|
.quoteblock.abstract > .title { margin: 0 0 0.375em 0; font-size: 1.15em; text-align: center; }
|
||||||
|
.quoteblock.excerpt > blockquote, .quoteblock .quoteblock { padding: 0 0 0.25em 1em; border-left: 0.25em solid #dddddd; }
|
||||||
|
.quoteblock.excerpt, .quoteblock .quoteblock { margin-left: 0; }
|
||||||
|
.quoteblock.excerpt blockquote, .quoteblock.excerpt p, .quoteblock .quoteblock blockquote, .quoteblock .quoteblock p { color: inherit; font-size: 1.0625rem; }
|
||||||
|
.quoteblock.excerpt .attribution, .quoteblock .quoteblock .attribution { color: inherit; text-align: left; margin-right: 0; }
|
||||||
|
|
||||||
|
p.tableblock:last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
td.tableblock > .content { margin-bottom: 1.25em; word-wrap: anywhere; }
|
||||||
|
td.tableblock > .content > :last-child { margin-bottom: -1.25em; }
|
||||||
|
|
||||||
|
table.tableblock, th.tableblock, td.tableblock { border: 0 solid #dddddd; }
|
||||||
|
|
||||||
|
table.grid-all > * > tr > * { border-width: 0; }
|
||||||
|
|
||||||
|
table.grid-cols > * > tr > * { border-width: 0 0; }
|
||||||
|
|
||||||
|
table.grid-rows > * > tr > * { border-width: 0 0; }
|
||||||
|
|
||||||
|
table.frame-all { border-width: 0; }
|
||||||
|
|
||||||
|
table.frame-ends { border-width: 0 0; }
|
||||||
|
|
||||||
|
table.frame-sides { border-width: 0 0; }
|
||||||
|
|
||||||
|
table.frame-none > colgroup + * > :first-child > *, table.frame-sides > colgroup + * > :first-child > * { border-top-width: 0; }
|
||||||
|
|
||||||
|
table.frame-none > :last-child > :last-child > *, table.frame-sides > :last-child > :last-child > * { border-bottom-width: 0; }
|
||||||
|
|
||||||
|
table.frame-none > * > tr > :first-child, table.frame-ends > * > tr > :first-child { border-left-width: 0; }
|
||||||
|
|
||||||
|
table.frame-none > * > tr > :last-child, table.frame-ends > * > tr > :last-child { border-right-width: 0; }
|
||||||
|
|
||||||
|
table.stripes-all tr, table.stripes-odd tr:nth-of-type(odd), table.stripes-even tr:nth-of-type(even), table.stripes-hover tr:hover { background: none; }
|
||||||
|
|
||||||
|
th.halign-left, td.halign-left { text-align: left; }
|
||||||
|
|
||||||
|
th.halign-right, td.halign-right { text-align: right; }
|
||||||
|
|
||||||
|
th.halign-center, td.halign-center { text-align: center; }
|
||||||
|
|
||||||
|
th.valign-top, td.valign-top { vertical-align: top; }
|
||||||
|
|
||||||
|
th.valign-bottom, td.valign-bottom { vertical-align: bottom; }
|
||||||
|
|
||||||
|
th.valign-middle, td.valign-middle { vertical-align: middle; }
|
||||||
|
|
||||||
|
table thead th, table tfoot th { font-weight: bold; }
|
||||||
|
|
||||||
|
tbody tr th { display: table-cell; line-height: 1.5; background: none; }
|
||||||
|
|
||||||
|
tbody tr th, tbody tr th p, tfoot tr th, tfoot tr th p { color: #222222; font-weight: bold; }
|
||||||
|
|
||||||
|
p.tableblock > code:only-child { background: none; padding: 0; }
|
||||||
|
|
||||||
|
p.tableblock { font-size: 1em; }
|
||||||
|
|
||||||
|
ol { margin-left: 0.25em; }
|
||||||
|
|
||||||
|
ul li ol { margin-left: 0; }
|
||||||
|
|
||||||
|
dl dd { margin-left: 1.125em; }
|
||||||
|
|
||||||
|
dl dd:last-child, dl dd:last-child > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
|
ol > li p, ul > li p, ul dd, ol dd, .olist .olist, .ulist .ulist, .ulist .olist, .olist .ulist { margin-bottom: 0.625em; }
|
||||||
|
|
||||||
|
ul.checklist, ul.none, ol.none, ul.no-bullet, ol.no-bullet, ol.unnumbered, ul.unstyled, ol.unstyled { list-style-type: none; }
|
||||||
|
|
||||||
|
ul.no-bullet, ol.no-bullet, ol.unnumbered { margin-left: 0.625em; }
|
||||||
|
|
||||||
|
ul.unstyled, ol.unstyled { margin-left: 0; }
|
||||||
|
|
||||||
|
ul.checklist { margin-left: 0.625em; }
|
||||||
|
|
||||||
|
ul.checklist li > p:first-child > .fa-square-o:first-child, ul.checklist li > p:first-child > .fa-check-square-o:first-child { width: 1.25em; font-size: 0.8em; position: relative; bottom: 0.125em; }
|
||||||
|
|
||||||
|
ul.checklist li > p:first-child > input[type="checkbox"]:first-child { margin-right: 0.25em; }
|
||||||
|
|
||||||
|
ul.inline { display: -ms-flexbox; display: -webkit-box; display: flex; -ms-flex-flow: row wrap; -webkit-flex-flow: row wrap; flex-flow: row wrap; list-style: none; margin: 0 0 0.625em -1.25em; }
|
||||||
|
|
||||||
|
ul.inline > li { margin-left: 1.25em; }
|
||||||
|
|
||||||
|
.unstyled dl dt { font-weight: normal; font-style: normal; }
|
||||||
|
|
||||||
|
ol.arabic { list-style-type: decimal; }
|
||||||
|
|
||||||
|
ol.decimal { list-style-type: decimal-leading-zero; }
|
||||||
|
|
||||||
|
ol.loweralpha { list-style-type: lower-alpha; }
|
||||||
|
|
||||||
|
ol.upperalpha { list-style-type: upper-alpha; }
|
||||||
|
|
||||||
|
ol.lowerroman { list-style-type: lower-roman; }
|
||||||
|
|
||||||
|
ol.upperroman { list-style-type: upper-roman; }
|
||||||
|
|
||||||
|
ol.lowergreek { list-style-type: lower-greek; }
|
||||||
|
|
||||||
|
.hdlist > table, .colist > table { border: 0; background: none; }
|
||||||
|
.hdlist > table > tbody > tr, .colist > table > tbody > tr { background: none; }
|
||||||
|
|
||||||
|
td.hdlist1, td.hdlist2 { vertical-align: top; padding: 0 0.625em; }
|
||||||
|
|
||||||
|
td.hdlist1 { font-weight: bold; padding-bottom: 1.25em; }
|
||||||
|
|
||||||
|
td.hdlist2 { word-wrap: anywhere; }
|
||||||
|
|
||||||
|
.literalblock + .colist, .listingblock + .colist { margin-top: -0.5em; }
|
||||||
|
|
||||||
|
.colist td:not([class]):first-child { padding: 0.4em 0.75em 0 0.75em; line-height: 1; vertical-align: top; }
|
||||||
|
.colist td:not([class]):first-child img { max-width: none; }
|
||||||
|
.colist td:not([class]):last-child { padding: 0.25em 0; }
|
||||||
|
|
||||||
|
.thumb, .th { line-height: 0; display: inline-block; border: solid 4px white; -webkit-box-shadow: 0 0 0 1px #dddddd; box-shadow: 0 0 0 1px #dddddd; }
|
||||||
|
|
||||||
|
.imageblock.left { margin: 0.25em 0.625em 1.25em 0; }
|
||||||
|
.imageblock.right { margin: 0.25em 0 1.25em 0.625em; }
|
||||||
|
.imageblock > .title { margin-bottom: 0; }
|
||||||
|
.imageblock.thumb, .imageblock.th { border-width: 6px; }
|
||||||
|
.imageblock.thumb > .title, .imageblock.th > .title { padding: 0 0.125em; }
|
||||||
|
|
||||||
|
.image.left, .image.right { margin-top: 0.25em; margin-bottom: 0.25em; display: inline-block; line-height: 0; }
|
||||||
|
.image.left { margin-right: 0.625em; }
|
||||||
|
.image.right { margin-left: 0.625em; }
|
||||||
|
|
||||||
|
a.image { text-decoration: none; display: inline-block; }
|
||||||
|
a.image object { pointer-events: none; }
|
||||||
|
|
||||||
|
sup.footnote, sup.footnoteref { font-size: 0.875em; position: static; vertical-align: super; }
|
||||||
|
sup.footnote a, sup.footnoteref a { text-decoration: none; }
|
||||||
|
sup.footnote a:active, sup.footnoteref a:active { text-decoration: underline; }
|
||||||
|
|
||||||
|
#footnotes { padding-top: 0.75em; padding-bottom: 0.75em; margin-bottom: 0.625em; }
|
||||||
|
#footnotes hr { width: 20%; min-width: 6.25em; margin: -0.25em 0 0.75em 0; border-width: 1px 0 0 0; }
|
||||||
|
#footnotes .footnote { padding: 0 0.375em 0 0.225em; line-height: 1.3334; font-size: 0.875em; margin-left: 1.2em; margin-bottom: 0.2em; }
|
||||||
|
#footnotes .footnote a:first-of-type { font-weight: bold; text-decoration: none; margin-left: -1.05em; }
|
||||||
|
#footnotes .footnote:last-of-type { margin-bottom: 0; }
|
||||||
|
#content #footnotes { margin-top: -0.625em; margin-bottom: 0; padding: 0.75em 0; }
|
||||||
|
|
||||||
|
.gist .file-data > table { border: 0; background: #fff; width: 100%; margin-bottom: 0; }
|
||||||
|
.gist .file-data > table td.line-data { width: 99%; }
|
||||||
|
|
||||||
|
div.unbreakable { page-break-inside: avoid; }
|
||||||
|
|
||||||
|
.big { font-size: larger; }
|
||||||
|
|
||||||
|
.small { font-size: smaller; }
|
||||||
|
|
||||||
|
.underline { text-decoration: underline; }
|
||||||
|
|
||||||
|
.overline { text-decoration: overline; }
|
||||||
|
|
||||||
|
.line-through { text-decoration: line-through; }
|
||||||
|
|
||||||
|
.aqua { color: #00bfbf; }
|
||||||
|
|
||||||
|
.aqua-background { background-color: #00fafa; }
|
||||||
|
|
||||||
|
.black { color: black; }
|
||||||
|
|
||||||
|
.black-background { background-color: black; }
|
||||||
|
|
||||||
|
.blue { color: #0000bf; }
|
||||||
|
|
||||||
|
.blue-background { background-color: #0000fa; }
|
||||||
|
|
||||||
|
.fuchsia { color: #bf00bf; }
|
||||||
|
|
||||||
|
.fuchsia-background { background-color: #fa00fa; }
|
||||||
|
|
||||||
|
.gray { color: #606060; }
|
||||||
|
|
||||||
|
.gray-background { background-color: #7d7d7d; }
|
||||||
|
|
||||||
|
.green { color: #006000; }
|
||||||
|
|
||||||
|
.green-background { background-color: #007d00; }
|
||||||
|
|
||||||
|
.lime { color: #00bf00; }
|
||||||
|
|
||||||
|
.lime-background { background-color: #00fa00; }
|
||||||
|
|
||||||
|
.maroon { color: #600000; }
|
||||||
|
|
||||||
|
.maroon-background { background-color: #7d0000; }
|
||||||
|
|
||||||
|
.navy { color: #000060; }
|
||||||
|
|
||||||
|
.navy-background { background-color: #00007d; }
|
||||||
|
|
||||||
|
.olive { color: #606000; }
|
||||||
|
|
||||||
|
.olive-background { background-color: #7d7d00; }
|
||||||
|
|
||||||
|
.purple { color: #600060; }
|
||||||
|
|
||||||
|
.purple-background { background-color: #7d007d; }
|
||||||
|
|
||||||
|
.red { color: #bf0000; }
|
||||||
|
|
||||||
|
.red-background { background-color: #fa0000; }
|
||||||
|
|
||||||
|
.silver { color: #909090; }
|
||||||
|
|
||||||
|
.silver-background { background-color: #bcbcbc; }
|
||||||
|
|
||||||
|
.teal { color: #006060; }
|
||||||
|
|
||||||
|
.teal-background { background-color: #007d7d; }
|
||||||
|
|
||||||
|
.white { color: #bfbfbf; }
|
||||||
|
|
||||||
|
.white-background { background-color: #fafafa; }
|
||||||
|
|
||||||
|
.yellow { color: #bfbf00; }
|
||||||
|
|
||||||
|
.yellow-background { background-color: #fafa00; }
|
||||||
|
|
||||||
|
span.icon > .fa { cursor: default; }
|
||||||
|
a span.icon > .fa { cursor: inherit; }
|
||||||
|
|
||||||
|
.admonitionblock td.icon [class^="fa icon-"] { font-size: 2.5em; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); cursor: default; }
|
||||||
|
.admonitionblock td.icon .icon-note:before { content: "\f05a"; color: #333333; }
|
||||||
|
.admonitionblock td.icon .icon-tip:before { content: "\f0eb"; text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8); color: #111; }
|
||||||
|
.admonitionblock td.icon .icon-warning:before { content: "\f071"; color: #bf6900; }
|
||||||
|
.admonitionblock td.icon .icon-caution:before { content: "\f06d"; color: #bf3400; }
|
||||||
|
.admonitionblock td.icon .icon-important:before { content: "\f06a"; color: #bf0000; }
|
||||||
|
|
||||||
|
.conum[data-value] { display: inline-block; color: #fff !important; background-color: black; -webkit-border-radius: 50%; border-radius: 50%; text-align: center; font-size: 0.75em; width: 1.67em; height: 1.67em; line-height: 1.67em; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-style: normal; font-weight: bold; }
|
||||||
|
.conum[data-value] * { color: #fff !important; }
|
||||||
|
.conum[data-value] + b { display: none; }
|
||||||
|
.conum[data-value]:after { content: attr(data-value); }
|
||||||
|
pre .conum[data-value] { position: relative; top: -0.125em; }
|
||||||
|
|
||||||
|
b.conum * { color: inherit !important; }
|
||||||
|
|
||||||
|
.conum:not([data-value]):empty { display: none; }
|
||||||
|
|
||||||
|
h4 { color: #6c818f; }
|
||||||
|
|
||||||
|
.literalblock > .content > pre, .listingblock > .content > pre { -webkit-border-radius: 6px; border-radius: 6px; margin-left: 2em; margin-right: 2em; }
|
||||||
|
|
||||||
|
.admonitionblock { margin-left: 2em; margin-right: 2em; }
|
||||||
|
.admonitionblock > table { border: 1px solid #609060; border-top-width: 1.5em; background-color: #e9ffe9; border-collapse: separate; -webkit-border-radius: 0; border-radius: 0; }
|
||||||
|
.admonitionblock > table td.icon { padding-top: .5em; padding-bottom: .5em; }
|
||||||
|
.admonitionblock > table td.content { padding: .5em 1em; color: black; font-size: .9em; border-left: none; }
|
||||||
|
|
||||||
|
.sidebarblock { background-color: #e8ecef; border-color: #ccc; }
|
||||||
|
.sidebarblock > .content > .title { color: #444444; }
|
||||||
|
|
||||||
|
table.tableblock.grid-all { border-collapse: collapse; -webkit-border-radius: 0; border-radius: 0; }
|
||||||
|
table.tableblock.grid-all th.tableblock, table.tableblock.grid-all td.tableblock { border-bottom: 1px solid #aaa; }
|
||||||
|
|
||||||
|
#footer { background-color: #465158; padding: 2em; }
|
||||||
|
|
||||||
|
#footer-text { color: #eee; font-size: 0.8em; text-align: center; }
|
||||||
|
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
</head>
|
||||||
|
<body class="article">
|
||||||
|
<div id="header">
|
||||||
|
</div>
|
||||||
|
<div id="content">
|
||||||
|
<table class="tableblock frame-all grid-all stretch">
|
||||||
|
<caption class="title">Table 1. New modules</caption>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 20.8955%;">
|
||||||
|
<col style="width: 9.7014%;">
|
||||||
|
<col style="width: 11.9402%;">
|
||||||
|
<col style="width: 49.2537%;">
|
||||||
|
<col style="width: 8.2092%;">
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="tableblock halign-center valign-top">Name/Version</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Release Stage</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Group</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Deps</th>
|
||||||
|
<th class="tableblock halign-center valign-top">Change Date</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">openmpi/4.1.3_slurm</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Compiler</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">gcc/10.3.0 cuda/11.5.1 libfabric/1.18.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-09</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">openmpi/4.1.3_slurm</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Compiler</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">gcc/11.2.0 cuda/11.5.1 libfabric/1.18.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-09</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">openmpi/4.1.3_slurm</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Compiler</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">gcc/9.3.0 cuda/11.5.1 libfabric/1.18.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-09</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">fpart/1.7.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-16</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">libtirpc/1.3.6</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Libraries</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-20</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">perl/5.40.1</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Programming</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-23</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">slsDetectorPackage/9.1.1_rh8</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">DetectorSoftware</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">cmake/3.15.5 Programming:Qt/5.12.10</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-23</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">git/2.43.6</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">TclTk/8.6.16 openssl/3.4.1</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-24</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">git/2.45.3</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">TclTk/8.6.16 openssl/3.4.1</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-24</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">git/2.46.4</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">TclTk/8.6.16 openssl/3.4.1</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-24</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">git/2.49.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">TclTk/8.6.16 openssl/3.4.1</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-24</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">nvim/0.11.1</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-24</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">restic/0.18.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">stable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-24</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">G4beamline/3.08</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-09</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">openmpi/4.1.3_slurm</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Compiler</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">intel/20.4 cuda/11.5.1 libfabric/1.18.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-09</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">openmpi/4.1.3_slurm</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Compiler</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">intel/22.2 cuda/11.5.1 pmix/4.1.2 libevent/2.1.12 libfabric/1.18.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-10</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">VSCode/1.100.2</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-20</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">perl/5.40.2</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Programming</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-22</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">ruby-install/0.10.1</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">System</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-22</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">asciidoctor/2.0.23</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-23</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">curl/8.13.0</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-23</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">git/2.42.4</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Tools</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">TclTk/8.6.16 openssl/3.4.1</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-23</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">ruby/3.4.4</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">unstable</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">Programming</p></td>
|
||||||
|
<td class="tableblock halign-left valign-top"></td>
|
||||||
|
<td class="tableblock halign-left valign-top"><p class="tableblock">2025-05-23</p></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<div id="footer-text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -1,3 +1,12 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="generator" content="Asciidoctor 2.0.23">
|
||||||
|
<title>Current versions</title>
|
||||||
|
<style>
|
||||||
/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
|
/*! normalize.css v2.1.2 | MIT License | git.io/normalize */
|
||||||
/* ========================================================================== HTML5 display definitions ========================================================================== */
|
/* ========================================================================== HTML5 display definitions ========================================================================== */
|
||||||
/** Correct `block` display not defined in IE 8/9. */
|
/** Correct `block` display not defined in IE 8/9. */
|
||||||
@ -131,7 +140,7 @@ meta.foundation-mq-large { font-family: "only screen and (min-width:1440px)"; wi
|
|||||||
|
|
||||||
html, body { font-size: 100%; }
|
html, body { font-size: 100%; }
|
||||||
|
|
||||||
body { background: white; color: rgba(0, 0, 0, 0.8); padding: 0; margin: 0; font-family: "Noto Serif", "DejaVu Serif", serif; font-weight: normal; font-style: normal; line-height: 1; position: relative; cursor: auto; }
|
body { background: white; color: #222222; padding: 0; margin: 0; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; line-height: 1; position: relative; cursor: auto; }
|
||||||
|
|
||||||
a:hover { cursor: pointer; }
|
a:hover { cursor: pointer; }
|
||||||
|
|
||||||
@ -167,23 +176,23 @@ select { width: 100%; }
|
|||||||
|
|
||||||
p.lead { font-size: 1.21875em; line-height: 1.6; }
|
p.lead { font-size: 1.21875em; line-height: 1.6; }
|
||||||
|
|
||||||
.subheader, .admonitionblock td.content > .title, .audioblock > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .stemblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, table.tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { line-height: 1.45; color: #7a2518; font-weight: normal; margin-top: 0; margin-bottom: 0.25em; }
|
.subheader, .admonitionblock td.content > .title, .audioblock > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .stemblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, table.tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { line-height: 1.4; color: #6c818f; font-weight: 300; margin-top: 0.2em; margin-bottom: 0.5em; }
|
||||||
|
|
||||||
/* Typography resets */
|
/* Typography resets */
|
||||||
div, dl, dt, dd, ul, ol, li, h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; direction: ltr; }
|
div, dl, dt, dd, ul, ol, li, h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; direction: ltr; }
|
||||||
|
|
||||||
/* Default Link Styles */
|
/* Default Link Styles */
|
||||||
a { color: #2156a5; text-decoration: underline; line-height: inherit; }
|
a { color: #444444; text-decoration: underline; line-height: inherit; }
|
||||||
a:hover, a:focus { color: #1d4b8f; }
|
a:hover, a:focus { color: #111111; }
|
||||||
a img { border: none; }
|
a img { border: none; }
|
||||||
|
|
||||||
/* Default paragraph styles */
|
/* Default paragraph styles */
|
||||||
p { font-family: inherit; font-weight: normal; font-size: 1em; line-height: 1.6; margin-bottom: 1.25em; text-rendering: optimizeLegibility; }
|
p { font-family: inherit; font-weight: normal; font-size: 1em; line-height: 1.5; margin-bottom: 1.25em; text-rendering: optimizeLegibility; }
|
||||||
p aside { font-size: 0.875em; line-height: 1.35; font-style: italic; }
|
p aside { font-size: 0.875em; line-height: 1.35; font-style: italic; }
|
||||||
|
|
||||||
/* Default header styles */
|
/* Default header styles */
|
||||||
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { font-family: "Open Sans", "DejaVu Sans", sans-serif; font-weight: 300; font-style: normal; color: #ba3925; text-rendering: optimizeLegibility; margin-top: 1em; margin-bottom: 0.5em; line-height: 1.0125em; }
|
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; font-weight: bold; font-style: normal; color: #465158; text-rendering: optimizeLegibility; margin-top: 1em; margin-bottom: 0.5em; line-height: 1.2125em; }
|
||||||
h1 small, h2 small, h3 small, #toctitle small, .sidebarblock > .content > .title small, h4 small, h5 small, h6 small { font-size: 60%; color: #e99b8f; line-height: 0; }
|
h1 small, h2 small, h3 small, #toctitle small, .sidebarblock > .content > .title small, h4 small, h5 small, h6 small { font-size: 60%; color: #909ea7; line-height: 0; }
|
||||||
|
|
||||||
h1 { font-size: 2.125em; }
|
h1 { font-size: 2.125em; }
|
||||||
|
|
||||||
@ -197,7 +206,7 @@ h5 { font-size: 1.125em; }
|
|||||||
|
|
||||||
h6 { font-size: 1em; }
|
h6 { font-size: 1em; }
|
||||||
|
|
||||||
hr { border: solid #dddddf; border-width: 1px 0 0; clear: both; margin: 1.25em 0 1.1875em; height: 0; }
|
hr { border: solid #dddddd; border-width: 1px 0 0; clear: both; margin: 1.25em 0 1.1875em; height: 0; }
|
||||||
|
|
||||||
/* Helpful Typography Defaults */
|
/* Helpful Typography Defaults */
|
||||||
em, i { font-style: italic; line-height: inherit; }
|
em, i { font-style: italic; line-height: inherit; }
|
||||||
@ -206,13 +215,13 @@ strong, b { font-weight: bold; line-height: inherit; }
|
|||||||
|
|
||||||
small { font-size: 60%; line-height: inherit; }
|
small { font-size: 60%; line-height: inherit; }
|
||||||
|
|
||||||
code { font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; font-weight: normal; color: rgba(0, 0, 0, 0.9); }
|
code { font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; font-weight: normal; color: #444444; }
|
||||||
|
|
||||||
/* Lists */
|
/* Lists */
|
||||||
ul, ol, dl { font-size: 1em; line-height: 1.6; margin-bottom: 1.25em; list-style-position: outside; font-family: inherit; }
|
ul, ol, dl { font-size: 1em; line-height: 1.5; margin-bottom: 1.25em; list-style-position: outside; font-family: inherit; }
|
||||||
|
|
||||||
ul, ol { margin-left: 1.5em; }
|
ul, ol { margin-left: 0; }
|
||||||
ul.no-bullet, ol.no-bullet { margin-left: 1.5em; }
|
ul.no-bullet, ol.no-bullet { margin-left: 0; }
|
||||||
|
|
||||||
/* Unordered Lists */
|
/* Unordered Lists */
|
||||||
ul li ul, ul li ol { margin-left: 1.25em; margin-bottom: 0; font-size: 1em; /* Override nested font-size change */ }
|
ul li ul, ul li ol { margin-left: 1.25em; margin-bottom: 0; font-size: 1em; /* Override nested font-size change */ }
|
||||||
@ -226,21 +235,21 @@ ul.no-bullet { list-style: none; }
|
|||||||
ol li ul, ol li ol { margin-left: 1.25em; margin-bottom: 0; }
|
ol li ul, ol li ol { margin-left: 1.25em; margin-bottom: 0; }
|
||||||
|
|
||||||
/* Definition Lists */
|
/* Definition Lists */
|
||||||
dl dt { margin-bottom: 0.3125em; font-weight: bold; }
|
dl dt { margin-bottom: 0.3em; font-weight: bold; }
|
||||||
dl dd { margin-bottom: 1.25em; }
|
dl dd { margin-bottom: 0.75em; }
|
||||||
|
|
||||||
/* Abbreviations */
|
/* Abbreviations */
|
||||||
abbr, acronym { text-transform: uppercase; font-size: 90%; color: rgba(0, 0, 0, 0.8); border-bottom: 1px dotted #dddddd; cursor: help; }
|
abbr, acronym { text-transform: uppercase; font-size: 90%; color: black; border-bottom: 1px dotted #dddddd; cursor: help; }
|
||||||
|
|
||||||
abbr { text-transform: none; }
|
abbr { text-transform: none; }
|
||||||
|
|
||||||
/* Blockquotes */
|
/* Blockquotes */
|
||||||
blockquote { margin: 0 0 1.25em; padding: 0.5625em 1.25em 0 1.1875em; border-left: 1px solid #dddddd; }
|
blockquote { margin: 0 0 1.25em; padding: 0.5625em 1.25em 0 1.1875em; border-left: 1px solid #dddddd; }
|
||||||
blockquote cite { display: block; font-size: 0.9375em; color: rgba(0, 0, 0, 0.6); }
|
blockquote cite { display: block; font-size: 0.8125em; color: #748590; }
|
||||||
blockquote cite:before { content: "\2014 \0020"; }
|
blockquote cite:before { content: "\2014 \0020"; }
|
||||||
blockquote cite a, blockquote cite a:visited { color: rgba(0, 0, 0, 0.6); }
|
blockquote cite a, blockquote cite a:visited { color: #748590; }
|
||||||
|
|
||||||
blockquote, blockquote p { line-height: 1.6; color: rgba(0, 0, 0, 0.85); }
|
blockquote, blockquote p { line-height: 1.5; color: #909ea7; }
|
||||||
|
|
||||||
/* Microformats */
|
/* Microformats */
|
||||||
.vcard { display: inline-block; margin: 0 0 1.25em 0; border: 1px solid #dddddd; padding: 0.625em 0.75em; }
|
.vcard { display: inline-block; margin: 0 0 1.25em 0; border: 1px solid #dddddd; padding: 0.625em 0.75em; }
|
||||||
@ -250,25 +259,24 @@ blockquote, blockquote p { line-height: 1.6; color: rgba(0, 0, 0, 0.85); }
|
|||||||
.vevent .summary { font-weight: bold; }
|
.vevent .summary { font-weight: bold; }
|
||||||
.vevent abbr { cursor: auto; text-decoration: none; font-weight: bold; border: none; padding: 0 0.0625em; }
|
.vevent abbr { cursor: auto; text-decoration: none; font-weight: bold; border: none; padding: 0 0.0625em; }
|
||||||
|
|
||||||
@media only screen and (min-width: 768px) { h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.2; }
|
@media only screen and (min-width: 768px) { h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.4; }
|
||||||
h1 { font-size: 2.75em; }
|
h1 { font-size: 2.75em; }
|
||||||
h2 { font-size: 2.3125em; }
|
h2 { font-size: 2.3125em; }
|
||||||
h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.6875em; }
|
h3, #toctitle, .sidebarblock > .content > .title { font-size: 1.6875em; }
|
||||||
h4 { font-size: 1.4375em; } }
|
h4 { font-size: 1.4375em; } }
|
||||||
/* Tables */
|
/* Tables */
|
||||||
table { background: white; margin-bottom: 1.25em; border: solid 1px #dedede; }
|
table { background: white; margin-bottom: 1.25em; border: solid 0 #dddddd; }
|
||||||
table thead, table tfoot { background: #f7f8f7; font-weight: bold; }
|
table thead, table tfoot { background: none; font-weight: bold; }
|
||||||
table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td { padding: 0.5em 0.625em 0.625em; font-size: inherit; color: rgba(0, 0, 0, 0.8); text-align: left; }
|
table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td { padding: 1px 8px 1px 5px; font-size: 1em; color: #222222; text-align: left; }
|
||||||
table tr th, table tr td { padding: 0.5625em 0.625em; font-size: inherit; color: rgba(0, 0, 0, 0.8); }
|
table tr th, table tr td { padding: 1px 8px 1px 5px; font-size: 1em; color: #222222; }
|
||||||
table tr.even, table tr.alt, table tr:nth-of-type(even) { background: #f8f8f7; }
|
table tr.even, table tr.alt, table tr:nth-of-type(even) { background: none; }
|
||||||
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; line-height: 1.6; }
|
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; line-height: 1.5; }
|
||||||
|
|
||||||
body { tab-size: 4; word-wrap: anywhere; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
|
body { tab-size: 4; word-wrap: anywhere; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; }
|
||||||
|
|
||||||
table { word-wrap: normal; }
|
table { word-wrap: normal; }
|
||||||
|
|
||||||
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.2; word-spacing: -0.05em; }
|
h1, h2, h3, #toctitle, .sidebarblock > .content > .title, h4, h5, h6 { line-height: 1.4; }
|
||||||
h1 strong, h2 strong, h3 strong, #toctitle strong, .sidebarblock > .content > .title strong, h4 strong, h5 strong, h6 strong { font-weight: 400; }
|
|
||||||
|
|
||||||
object, svg { display: inline-block; vertical-align: middle; }
|
object, svg { display: inline-block; vertical-align: middle; }
|
||||||
|
|
||||||
@ -283,9 +291,9 @@ object, svg { display: inline-block; vertical-align: middle; }
|
|||||||
:not(pre).nowrap { white-space: nowrap; }
|
:not(pre).nowrap { white-space: nowrap; }
|
||||||
:not(pre).pre-wrap { white-space: pre-wrap; }
|
:not(pre).pre-wrap { white-space: pre-wrap; }
|
||||||
|
|
||||||
:not(pre):not([class^=L]) > code { font-size: 0.9375em; font-style: normal !important; letter-spacing: 0; padding: 0.1em 0.5ex; word-spacing: -0.15em; background-color: #f7f7f8; -webkit-border-radius: 4px; border-radius: 4px; line-height: 1.45; text-rendering: optimizeSpeed; }
|
:not(pre):not([class^=L]) > code { font-size: 0.95em; font-style: normal !important; letter-spacing: 0; padding: 0; background-color: #f2f2f2; -webkit-border-radius: 6px; border-radius: 6px; line-height: inherit; }
|
||||||
|
|
||||||
pre { color: rgba(0, 0, 0, 0.9); font-family: "Droid Sans Mono", "DejaVu Sans Mono", "Monospace", monospace; line-height: 1.45; text-rendering: optimizeSpeed; }
|
pre { color: inherit; font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; line-height: 1.2; }
|
||||||
pre code, pre pre { color: inherit; font-size: inherit; line-height: inherit; }
|
pre code, pre pre { color: inherit; font-size: inherit; line-height: inherit; }
|
||||||
pre > code { display: block; }
|
pre > code { display: block; }
|
||||||
|
|
||||||
@ -295,9 +303,9 @@ em em { font-style: normal; }
|
|||||||
|
|
||||||
strong strong { font-weight: normal; }
|
strong strong { font-weight: normal; }
|
||||||
|
|
||||||
.keyseq { color: rgba(51, 51, 51, 0.8); }
|
.keyseq { color: #333333; }
|
||||||
|
|
||||||
kbd { font-family: "Droid Sans Mono", "DejaVu Sans Mono", monospace; display: inline-block; color: rgba(0, 0, 0, 0.8); font-size: 0.65em; line-height: 1.45; background-color: #f7f7f7; border: 1px solid #ccc; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset; margin: 0 0.15em; padding: 0.2em 0.5em; vertical-align: middle; position: relative; top: -0.1em; white-space: nowrap; }
|
kbd { font-family: "Consolas", "Deja Vu Sans Mono", "Bitstream Vera Sans Mono", monospace; display: inline-block; color: black; font-size: 0.65em; line-height: 1.45; background-color: #f7f7f7; border: 1px solid #ccc; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 0.1em white inset; margin: 0 0.15em; padding: 0.2em 0.5em; vertical-align: middle; position: relative; top: -0.1em; white-space: nowrap; }
|
||||||
|
|
||||||
.keyseq kbd:first-child { margin-left: 0; }
|
.keyseq kbd:first-child { margin-left: 0; }
|
||||||
|
|
||||||
@ -317,7 +325,7 @@ b.button:before { content: "["; padding: 0 3px 0 2px; }
|
|||||||
|
|
||||||
b.button:after { content: "]"; padding: 0 2px 0 3px; }
|
b.button:after { content: "]"; padding: 0 2px 0 3px; }
|
||||||
|
|
||||||
p a > code:hover { color: rgba(0, 0, 0, 0.9); }
|
p a > code:hover { color: #373737; }
|
||||||
|
|
||||||
#header, #content, #footnotes, #footer { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 62.5em; *zoom: 1; position: relative; padding-left: 0.9375em; padding-right: 0.9375em; }
|
#header, #content, #footnotes, #footer { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 62.5em; *zoom: 1; position: relative; padding-left: 0.9375em; padding-right: 0.9375em; }
|
||||||
#header:before, #header:after, #content:before, #content:after, #footnotes:before, #footnotes:after, #footer:before, #footer:after { content: " "; display: table; }
|
#header:before, #header:after, #content:before, #content:after, #footnotes:before, #footnotes:after, #footer:before, #footer:after { content: " "; display: table; }
|
||||||
@ -327,54 +335,54 @@ p a > code:hover { color: rgba(0, 0, 0, 0.9); }
|
|||||||
|
|
||||||
#content:before { content: none; }
|
#content:before { content: none; }
|
||||||
|
|
||||||
#header > h1:first-child { color: rgba(0, 0, 0, 0.85); margin-top: 2.25rem; margin-bottom: 0; }
|
#header > h1:first-child { color: #111111; margin-top: 2.25rem; margin-bottom: 0; }
|
||||||
#header > h1:first-child + #toc { margin-top: 8px; border-top: 1px solid #dddddf; }
|
#header > h1:first-child + #toc { margin-top: 8px; border-top: 1px solid #dddddd; }
|
||||||
#header > h1:only-child, body.toc2 #header > h1:nth-last-child(2) { border-bottom: 1px solid #dddddf; padding-bottom: 8px; }
|
#header > h1:only-child, body.toc2 #header > h1:nth-last-child(2) { border-bottom: 1px solid #dddddd; padding-bottom: 8px; }
|
||||||
#header .details { border-bottom: 1px solid #dddddf; line-height: 1.45; padding-top: 0.25em; padding-bottom: 0.25em; padding-left: 0.25em; color: rgba(0, 0, 0, 0.6); display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-flow: row wrap; -webkit-flex-flow: row wrap; flex-flow: row wrap; }
|
#header .details { border-bottom: 1px solid #dddddd; line-height: 1.45; padding-top: 0.25em; padding-bottom: 0.25em; padding-left: 0.25em; color: #748590; display: -ms-flexbox; display: -webkit-flex; display: flex; -ms-flex-flow: row wrap; -webkit-flex-flow: row wrap; flex-flow: row wrap; }
|
||||||
#header .details span:first-child { margin-left: -0.125em; }
|
#header .details span:first-child { margin-left: -0.125em; }
|
||||||
#header .details span.email a { color: rgba(0, 0, 0, 0.85); }
|
#header .details span.email a { color: #909ea7; }
|
||||||
#header .details br { display: none; }
|
#header .details br { display: none; }
|
||||||
#header .details br + span:before { content: "\00a0\2013\00a0"; }
|
#header .details br + span:before { content: "\00a0\2013\00a0"; }
|
||||||
#header .details br + span.author:before { content: "\00a0\22c5\00a0"; color: rgba(0, 0, 0, 0.85); }
|
#header .details br + span.author:before { content: "\00a0\22c5\00a0"; color: #909ea7; }
|
||||||
#header .details br + span#revremark:before { content: "\00a0|\00a0"; }
|
#header .details br + span#revremark:before { content: "\00a0|\00a0"; }
|
||||||
#header #revnumber { text-transform: capitalize; }
|
#header #revnumber { text-transform: capitalize; }
|
||||||
#header #revnumber:after { content: "\00a0"; }
|
#header #revnumber:after { content: "\00a0"; }
|
||||||
|
|
||||||
#content > h1:first-child:not([class]) { color: rgba(0, 0, 0, 0.85); border-bottom: 1px solid #dddddf; padding-bottom: 8px; margin-top: 0; padding-top: 1rem; margin-bottom: 1.25rem; }
|
#content > h1:first-child:not([class]) { color: #111111; border-bottom: 1px solid #dddddd; padding-bottom: 8px; margin-top: 0; padding-top: 1rem; margin-bottom: 1.25rem; }
|
||||||
|
|
||||||
#toc { border-bottom: 1px solid #e7e7e9; padding-bottom: 0.5em; }
|
#toc { border-bottom: 1px solid #dddddd; padding-bottom: 0.5em; }
|
||||||
#toc > ul { margin-left: 0.125em; }
|
#toc > ul { margin-left: 0.125em; }
|
||||||
#toc ul.sectlevel0 > li > a { font-style: italic; }
|
#toc ul.sectlevel0 > li > a { font-style: italic; }
|
||||||
#toc ul.sectlevel0 ul.sectlevel1 { margin: 0.5em 0; }
|
#toc ul.sectlevel0 ul.sectlevel1 { margin: 0.5em 0; }
|
||||||
#toc ul { font-family: "Open Sans", "DejaVu Sans", sans-serif; list-style-type: none; }
|
#toc ul { font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; list-style-type: none; }
|
||||||
#toc li { line-height: 1.3334; margin-top: 0.3334em; }
|
#toc li { line-height: 1.3334; margin-top: 0.3334em; }
|
||||||
#toc a { text-decoration: none; }
|
#toc a { text-decoration: none; }
|
||||||
#toc a:active { text-decoration: underline; }
|
#toc a:active { text-decoration: underline; }
|
||||||
|
|
||||||
#toctitle { color: #7a2518; font-size: 1.2em; }
|
#toctitle { color: #6c818f; font-size: 1.2em; }
|
||||||
|
|
||||||
@media only screen and (min-width: 768px) { #toctitle { font-size: 1.375em; }
|
@media only screen and (min-width: 768px) { #toctitle { font-size: 1.375em; }
|
||||||
body.toc2 { padding-left: 15em; padding-right: 0; }
|
body.toc2 { padding-left: 15em; padding-right: 0; }
|
||||||
#toc.toc2 { margin-top: 0 !important; background: #f8f8f7; position: fixed; width: 15em; left: 0; top: 0; border-right: 1px solid #e7e7e9; border-top-width: 0 !important; border-bottom-width: 0 !important; z-index: 1000; padding: 1.25em 1em; height: 100%; overflow: auto; }
|
#toc.toc2 { margin-top: 0 !important; background: #f2f2f2; position: fixed; width: 15em; left: 0; top: 0; border-right: 1px solid #dddddd; border-top-width: 0 !important; border-bottom-width: 0 !important; z-index: 1000; padding: 1.25em 1em; height: 100%; overflow: auto; }
|
||||||
#toc.toc2 #toctitle { margin-top: 0; margin-bottom: 0.8rem; font-size: 1.2em; }
|
#toc.toc2 #toctitle { margin-top: 0; margin-bottom: 0.8rem; font-size: 1.2em; }
|
||||||
#toc.toc2 > ul { font-size: 0.9em; margin-bottom: 0; }
|
#toc.toc2 > ul { font-size: 0.9em; margin-bottom: 0; }
|
||||||
#toc.toc2 ul ul { margin-left: 0; padding-left: 1em; }
|
#toc.toc2 ul ul { margin-left: 0; padding-left: 1em; }
|
||||||
#toc.toc2 ul.sectlevel0 ul.sectlevel1 { padding-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; }
|
#toc.toc2 ul.sectlevel0 ul.sectlevel1 { padding-left: 0; margin-top: 0.5em; margin-bottom: 0.5em; }
|
||||||
body.toc2.toc-right { padding-left: 0; padding-right: 15em; }
|
body.toc2.toc-right { padding-left: 0; padding-right: 15em; }
|
||||||
body.toc2.toc-right #toc.toc2 { border-right-width: 0; border-left: 1px solid #e7e7e9; left: auto; right: 0; } }
|
body.toc2.toc-right #toc.toc2 { border-right-width: 0; border-left: 1px solid #dddddd; left: auto; right: 0; } }
|
||||||
@media only screen and (min-width: 1280px) { body.toc2 { padding-left: 20em; padding-right: 0; }
|
@media only screen and (min-width: 1280px) { body.toc2 { padding-left: 20em; padding-right: 0; }
|
||||||
#toc.toc2 { width: 20em; }
|
#toc.toc2 { width: 20em; }
|
||||||
#toc.toc2 #toctitle { font-size: 1.375em; }
|
#toc.toc2 #toctitle { font-size: 1.375em; }
|
||||||
#toc.toc2 > ul { font-size: 0.95em; }
|
#toc.toc2 > ul { font-size: 0.95em; }
|
||||||
#toc.toc2 ul ul { padding-left: 1.25em; }
|
#toc.toc2 ul ul { padding-left: 1.25em; }
|
||||||
body.toc2.toc-right { padding-left: 0; padding-right: 20em; } }
|
body.toc2.toc-right { padding-left: 0; padding-right: 20em; } }
|
||||||
#content #toc { border-style: solid; border-width: 1px; border-color: #e0e0dc; margin-bottom: 1.25em; padding: 1.25em; background: #f8f8f7; -webkit-border-radius: 4px; border-radius: 4px; }
|
#content #toc { border-style: solid; border-width: 1px; border-color: #d9d9d9; margin-bottom: 1.25em; padding: 1.25em; background: #f2f2f2; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
#content #toc > :first-child { margin-top: 0; }
|
#content #toc > :first-child { margin-top: 0; }
|
||||||
#content #toc > :last-child { margin-bottom: 0; }
|
#content #toc > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
#footer { max-width: none; background: rgba(0, 0, 0, 0.8); padding: 1.25em; }
|
#footer { max-width: none; background: black; padding: 1.25em; }
|
||||||
|
|
||||||
#footer-text { color: rgba(255, 255, 255, 0.8); line-height: 1.44; }
|
#footer-text { color: white; line-height: 1.35; }
|
||||||
|
|
||||||
#content { margin-bottom: 0.625em; }
|
#content { margin-bottom: 0.625em; }
|
||||||
|
|
||||||
@ -384,51 +392,51 @@ p a > code:hover { color: rgba(0, 0, 0, 0.9); }
|
|||||||
.sect1 { padding-bottom: 1.25em; } }
|
.sect1 { padding-bottom: 1.25em; } }
|
||||||
.sect1:last-child { padding-bottom: 0; }
|
.sect1:last-child { padding-bottom: 0; }
|
||||||
|
|
||||||
.sect1 + .sect1 { border-top: 1px solid #e7e7e9; }
|
.sect1 + .sect1 { border-top: 1px solid #dddddd; }
|
||||||
|
|
||||||
#content h1 > a.anchor, h2 > a.anchor, h3 > a.anchor, #toctitle > a.anchor, .sidebarblock > .content > .title > a.anchor, h4 > a.anchor, h5 > a.anchor, h6 > a.anchor { position: absolute; z-index: 1001; width: 1.5ex; margin-left: -1.5ex; display: block; text-decoration: none !important; visibility: hidden; text-align: center; font-weight: normal; }
|
#content h1 > a.anchor, h2 > a.anchor, h3 > a.anchor, #toctitle > a.anchor, .sidebarblock > .content > .title > a.anchor, h4 > a.anchor, h5 > a.anchor, h6 > a.anchor { position: absolute; z-index: 1001; width: 1.5ex; margin-left: -1.5ex; display: block; text-decoration: none !important; visibility: hidden; text-align: center; font-weight: normal; }
|
||||||
#content h1 > a.anchor:before, h2 > a.anchor:before, h3 > a.anchor:before, #toctitle > a.anchor:before, .sidebarblock > .content > .title > a.anchor:before, h4 > a.anchor:before, h5 > a.anchor:before, h6 > a.anchor:before { content: "\00A7"; font-size: 0.85em; display: block; padding-top: 0.1em; }
|
#content h1 > a.anchor:before, h2 > a.anchor:before, h3 > a.anchor:before, #toctitle > a.anchor:before, .sidebarblock > .content > .title > a.anchor:before, h4 > a.anchor:before, h5 > a.anchor:before, h6 > a.anchor:before { content: "\00A7"; font-size: 0.85em; display: block; padding-top: 0.1em; }
|
||||||
#content h1:hover > a.anchor, #content h1 > a.anchor:hover, h2:hover > a.anchor, h2 > a.anchor:hover, h3:hover > a.anchor, #toctitle:hover > a.anchor, .sidebarblock > .content > .title:hover > a.anchor, h3 > a.anchor:hover, #toctitle > a.anchor:hover, .sidebarblock > .content > .title > a.anchor:hover, h4:hover > a.anchor, h4 > a.anchor:hover, h5:hover > a.anchor, h5 > a.anchor:hover, h6:hover > a.anchor, h6 > a.anchor:hover { visibility: visible; }
|
#content h1:hover > a.anchor, #content h1 > a.anchor:hover, h2:hover > a.anchor, h2 > a.anchor:hover, h3:hover > a.anchor, #toctitle:hover > a.anchor, .sidebarblock > .content > .title:hover > a.anchor, h3 > a.anchor:hover, #toctitle > a.anchor:hover, .sidebarblock > .content > .title > a.anchor:hover, h4:hover > a.anchor, h4 > a.anchor:hover, h5:hover > a.anchor, h5 > a.anchor:hover, h6:hover > a.anchor, h6 > a.anchor:hover { visibility: visible; }
|
||||||
#content h1 > a.link, h2 > a.link, h3 > a.link, #toctitle > a.link, .sidebarblock > .content > .title > a.link, h4 > a.link, h5 > a.link, h6 > a.link { color: #ba3925; text-decoration: none; }
|
#content h1 > a.link, h2 > a.link, h3 > a.link, #toctitle > a.link, .sidebarblock > .content > .title > a.link, h4 > a.link, h5 > a.link, h6 > a.link { color: #465158; text-decoration: none; }
|
||||||
#content h1 > a.link:hover, h2 > a.link:hover, h3 > a.link:hover, #toctitle > a.link:hover, .sidebarblock > .content > .title > a.link:hover, h4 > a.link:hover, h5 > a.link:hover, h6 > a.link:hover { color: #a53221; }
|
#content h1 > a.link:hover, h2 > a.link:hover, h3 > a.link:hover, #toctitle > a.link:hover, .sidebarblock > .content > .title > a.link:hover, h4 > a.link:hover, h5 > a.link:hover, h6 > a.link:hover { color: #3b444a; }
|
||||||
|
|
||||||
details, .audioblock, .imageblock, .literalblock, .listingblock, .stemblock, .videoblock { margin-bottom: 1.25em; }
|
details, .audioblock, .imageblock, .literalblock, .listingblock, .stemblock, .videoblock { margin-bottom: 1.25em; }
|
||||||
|
|
||||||
details > summary:first-of-type { cursor: pointer; display: list-item; outline: none; margin-bottom: 0.75em; }
|
details > summary:first-of-type { cursor: pointer; display: list-item; outline: none; margin-bottom: 0.75em; }
|
||||||
|
|
||||||
.admonitionblock td.content > .title, .audioblock > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .stemblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, table.tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-rendering: optimizeLegibility; text-align: left; font-family: "Noto Serif", "DejaVu Serif", serif; font-size: 1rem; font-style: italic; }
|
.admonitionblock td.content > .title, .audioblock > .title, .exampleblock > .title, .imageblock > .title, .listingblock > .title, .literalblock > .title, .stemblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, table.tableblock > .title, .verseblock > .title, .videoblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-rendering: optimizeLegibility; text-align: left; }
|
||||||
|
|
||||||
table.tableblock.fit-content > caption.title { white-space: nowrap; width: 0; }
|
table.tableblock.fit-content > caption.title { white-space: nowrap; width: 0; }
|
||||||
|
|
||||||
.paragraph.lead > p, #preamble > .sectionbody > [class="paragraph"]:first-of-type p { font-size: 1.21875em; line-height: 1.6; color: rgba(0, 0, 0, 0.85); }
|
.paragraph.lead > p, #preamble > .sectionbody > [class="paragraph"]:first-of-type p { font-size: 1.21875em; line-height: 1.6; color: #111111; }
|
||||||
|
|
||||||
table.tableblock #preamble > .sectionbody > [class="paragraph"]:first-of-type p { font-size: inherit; }
|
table.tableblock #preamble > .sectionbody > [class="paragraph"]:first-of-type p { font-size: inherit; }
|
||||||
|
|
||||||
.admonitionblock > table { border-collapse: separate; border: 0; background: none; width: 100%; }
|
.admonitionblock > table { border-collapse: separate; border: 0; background: none; width: 100%; }
|
||||||
.admonitionblock > table td.icon { text-align: center; width: 80px; }
|
.admonitionblock > table td.icon { text-align: center; width: 80px; }
|
||||||
.admonitionblock > table td.icon img { max-width: none; }
|
.admonitionblock > table td.icon img { max-width: none; }
|
||||||
.admonitionblock > table td.icon .title { font-weight: bold; font-family: "Open Sans", "DejaVu Sans", sans-serif; text-transform: uppercase; }
|
.admonitionblock > table td.icon .title { font-weight: bold; font-family: ff-meta-web-pro-1, ff-meta-web-pro-2, Arial, "Helvetica Neue", sans-serif; text-transform: uppercase; }
|
||||||
.admonitionblock > table td.content { padding-left: 1.125em; padding-right: 1.25em; border-left: 1px solid #dddddf; color: rgba(0, 0, 0, 0.6); word-wrap: anywhere; }
|
.admonitionblock > table td.content { padding-left: 1.125em; padding-right: 1.25em; border-left: 1px solid #dddddd; color: #748590; word-wrap: anywhere; }
|
||||||
.admonitionblock > table td.content > :last-child > :last-child { margin-bottom: 0; }
|
.admonitionblock > table td.content > :last-child > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
.exampleblock > .content { border-style: solid; border-width: 1px; border-color: #e6e6e6; margin-bottom: 1.25em; padding: 1.25em; background: white; -webkit-border-radius: 4px; border-radius: 4px; }
|
.exampleblock > .content { border-style: solid; border-width: 1px; border-color: #e6e6e6; margin-bottom: 1.25em; padding: 1.25em; background: white; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
.exampleblock > .content > :first-child { margin-top: 0; }
|
.exampleblock > .content > :first-child { margin-top: 0; }
|
||||||
.exampleblock > .content > :last-child { margin-bottom: 0; }
|
.exampleblock > .content > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
.sidebarblock { border-style: solid; border-width: 1px; border-color: #dbdbd6; margin-bottom: 1.25em; padding: 1.25em; background: #f3f3f2; -webkit-border-radius: 4px; border-radius: 4px; }
|
.sidebarblock { border-style: solid; border-width: 1px; border-color: #d4d4d4; margin-bottom: 1.25em; padding: 1.25em; background: #ededed; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
.sidebarblock > :first-child { margin-top: 0; }
|
.sidebarblock > :first-child { margin-top: 0; }
|
||||||
.sidebarblock > :last-child { margin-bottom: 0; }
|
.sidebarblock > :last-child { margin-bottom: 0; }
|
||||||
.sidebarblock > .content > .title { color: #7a2518; margin-top: 0; text-align: center; }
|
.sidebarblock > .content > .title { color: #6c818f; margin-top: 0; }
|
||||||
|
|
||||||
.exampleblock > .content > :last-child > :last-child, .exampleblock > .content .olist > ol > li:last-child > :last-child, .exampleblock > .content .ulist > ul > li:last-child > :last-child, .exampleblock > .content .qlist > ol > li:last-child > :last-child, .sidebarblock > .content > :last-child > :last-child, .sidebarblock > .content .olist > ol > li:last-child > :last-child, .sidebarblock > .content .ulist > ul > li:last-child > :last-child, .sidebarblock > .content .qlist > ol > li:last-child > :last-child { margin-bottom: 0; }
|
.exampleblock > .content > :last-child > :last-child, .exampleblock > .content .olist > ol > li:last-child > :last-child, .exampleblock > .content .ulist > ul > li:last-child > :last-child, .exampleblock > .content .qlist > ol > li:last-child > :last-child, .sidebarblock > .content > :last-child > :last-child, .sidebarblock > .content .olist > ol > li:last-child > :last-child, .sidebarblock > .content .ulist > ul > li:last-child > :last-child, .sidebarblock > .content .qlist > ol > li:last-child > :last-child { margin-bottom: 0; }
|
||||||
|
|
||||||
.literalblock pre, .listingblock > .content > pre { -webkit-border-radius: 4px; border-radius: 4px; overflow-x: auto; padding: 1em; font-size: 0.8125em; }
|
.literalblock pre, .listingblock > .content > pre { border: 1px solid #cccccc; -webkit-border-radius: 6px; border-radius: 6px; overflow-x: auto; padding: 0.5em; font-size: 0.8125em; }
|
||||||
@media only screen and (min-width: 768px) { .literalblock pre, .listingblock > .content > pre { font-size: 0.90625em; } }
|
@media only screen and (min-width: 768px) { .literalblock pre, .listingblock > .content > pre { font-size: 0.90625em; } }
|
||||||
@media only screen and (min-width: 1280px) { .literalblock pre, .listingblock > .content > pre { font-size: 1em; } }
|
@media only screen and (min-width: 1280px) { .literalblock pre, .listingblock > .content > pre { font-size: 1em; } }
|
||||||
|
|
||||||
.literalblock pre, .listingblock > .content > pre:not(.highlight), .listingblock > .content > pre[class="highlight"], .listingblock > .content > pre[class^="highlight "] { background: #f7f7f8; }
|
.literalblock pre, .listingblock > .content > pre:not(.highlight), .listingblock > .content > pre[class="highlight"], .listingblock > .content > pre[class^="highlight "] { background: #eeeeee; }
|
||||||
|
|
||||||
.literalblock.output pre { color: #f7f7f8; background-color: rgba(0, 0, 0, 0.9); }
|
.literalblock.output pre { color: #eeeeee; background-color: inherit; }
|
||||||
|
|
||||||
.listingblock > .content { position: relative; }
|
.listingblock > .content { position: relative; }
|
||||||
|
|
||||||
@ -441,13 +449,11 @@ table.tableblock #preamble > .sectionbody > [class="paragraph"]:first-of-type p
|
|||||||
.listingblock.terminal pre .command:not([data-prompt]):before { content: "$"; }
|
.listingblock.terminal pre .command:not([data-prompt]):before { content: "$"; }
|
||||||
|
|
||||||
.listingblock pre.highlightjs { padding: 0; }
|
.listingblock pre.highlightjs { padding: 0; }
|
||||||
.listingblock pre.highlightjs > code { padding: 1em; -webkit-border-radius: 4px; border-radius: 4px; }
|
.listingblock pre.highlightjs > code { padding: 0.5em; -webkit-border-radius: 6px; border-radius: 6px; }
|
||||||
|
|
||||||
.listingblock pre.prettyprint { border-width: 0; }
|
.prettyprint { background: #eeeeee; }
|
||||||
|
|
||||||
.prettyprint { background: #f7f7f8; }
|
pre.prettyprint .linenums { line-height: 1.2; margin-left: 2em; }
|
||||||
|
|
||||||
pre.prettyprint .linenums { line-height: 1.45; margin-left: 2em; }
|
|
||||||
|
|
||||||
pre.prettyprint li { background: none; list-style-type: inherit; padding-left: 0; }
|
pre.prettyprint li { background: none; list-style-type: inherit; padding-left: 0; }
|
||||||
|
|
||||||
@ -465,26 +471,26 @@ pre.pygments .lineno:before { content: ""; margin-right: -0.125em; }
|
|||||||
|
|
||||||
.quoteblock { margin: 0 1em 1.25em 1.5em; display: table; }
|
.quoteblock { margin: 0 1em 1.25em 1.5em; display: table; }
|
||||||
.quoteblock:not(.excerpt) > .title { margin-left: -1.5em; margin-bottom: 0.75em; }
|
.quoteblock:not(.excerpt) > .title { margin-left: -1.5em; margin-bottom: 0.75em; }
|
||||||
.quoteblock blockquote, .quoteblock p { color: rgba(0, 0, 0, 0.85); font-size: 1.15rem; line-height: 1.75; word-spacing: 0.1em; letter-spacing: 0; font-style: italic; text-align: justify; }
|
.quoteblock blockquote, .quoteblock p { color: #909ea7; font-size: 1.15rem; line-height: 1.75; word-spacing: 0.1em; letter-spacing: 0; font-style: italic; text-align: justify; }
|
||||||
.quoteblock blockquote { margin: 0; padding: 0; border: 0; }
|
.quoteblock blockquote { margin: 0; padding: 0; border: 0; }
|
||||||
.quoteblock blockquote:before { content: "\201c"; float: left; font-size: 2.75em; font-weight: bold; line-height: 0.6em; margin-left: -0.6em; color: #7a2518; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
|
.quoteblock blockquote:before { content: "\201c"; float: left; font-size: 2.75em; font-weight: bold; line-height: 0.6em; margin-left: -0.6em; color: #6c818f; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
|
||||||
.quoteblock blockquote > .paragraph:last-child p { margin-bottom: 0; }
|
.quoteblock blockquote > .paragraph:last-child p { margin-bottom: 0; }
|
||||||
.quoteblock .attribution { margin-top: 0.75em; margin-right: 0.5ex; text-align: right; }
|
.quoteblock .attribution { margin-top: 0.75em; margin-right: 0.5ex; text-align: right; }
|
||||||
|
|
||||||
.verseblock { margin: 0 1em 1.25em 1em; }
|
.verseblock { margin: 0 1em 1.25em 1em; }
|
||||||
.verseblock pre { font-family: "Open Sans", "DejaVu Sans", sans; font-size: 1.15rem; color: rgba(0, 0, 0, 0.85); font-weight: 300; text-rendering: optimizeLegibility; }
|
.verseblock pre { font-family: "Open Sans", "DejaVu Sans", sans; font-size: 1.15rem; color: #909ea7; font-weight: 300; text-rendering: optimizeLegibility; }
|
||||||
.verseblock pre strong { font-weight: 400; }
|
.verseblock pre strong { font-weight: 400; }
|
||||||
.verseblock .attribution { margin-top: 1.25rem; margin-left: 0.5ex; }
|
.verseblock .attribution { margin-top: 1.25rem; margin-left: 0.5ex; }
|
||||||
|
|
||||||
.quoteblock .attribution, .verseblock .attribution { font-size: 0.9375em; line-height: 1.45; font-style: italic; }
|
.quoteblock .attribution, .verseblock .attribution { font-size: 0.8125em; line-height: 1.45; font-style: italic; }
|
||||||
.quoteblock .attribution br, .verseblock .attribution br { display: none; }
|
.quoteblock .attribution br, .verseblock .attribution br { display: none; }
|
||||||
.quoteblock .attribution cite, .verseblock .attribution cite { display: block; letter-spacing: -0.025em; color: rgba(0, 0, 0, 0.6); }
|
.quoteblock .attribution cite, .verseblock .attribution cite { display: block; letter-spacing: -0.025em; color: #748590; }
|
||||||
|
|
||||||
.quoteblock.abstract blockquote:before, .quoteblock.excerpt blockquote:before, .quoteblock .quoteblock blockquote:before { display: none; }
|
.quoteblock.abstract blockquote:before, .quoteblock.excerpt blockquote:before, .quoteblock .quoteblock blockquote:before { display: none; }
|
||||||
.quoteblock.abstract blockquote, .quoteblock.abstract p, .quoteblock.excerpt blockquote, .quoteblock.excerpt p, .quoteblock .quoteblock blockquote, .quoteblock .quoteblock p { line-height: 1.6; word-spacing: 0; }
|
.quoteblock.abstract blockquote, .quoteblock.abstract p, .quoteblock.excerpt blockquote, .quoteblock.excerpt p, .quoteblock .quoteblock blockquote, .quoteblock .quoteblock p { line-height: 1.6; word-spacing: 0; }
|
||||||
.quoteblock.abstract { margin: 0 1em 1.25em 1em; display: block; }
|
.quoteblock.abstract { margin: 0 1em 1.25em 1em; display: block; }
|
||||||
.quoteblock.abstract > .title { margin: 0 0 0.375em 0; font-size: 1.15em; text-align: center; }
|
.quoteblock.abstract > .title { margin: 0 0 0.375em 0; font-size: 1.15em; text-align: center; }
|
||||||
.quoteblock.excerpt > blockquote, .quoteblock .quoteblock { padding: 0 0 0.25em 1em; border-left: 0.25em solid #dddddf; }
|
.quoteblock.excerpt > blockquote, .quoteblock .quoteblock { padding: 0 0 0.25em 1em; border-left: 0.25em solid #dddddd; }
|
||||||
.quoteblock.excerpt, .quoteblock .quoteblock { margin-left: 0; }
|
.quoteblock.excerpt, .quoteblock .quoteblock { margin-left: 0; }
|
||||||
.quoteblock.excerpt blockquote, .quoteblock.excerpt p, .quoteblock .quoteblock blockquote, .quoteblock .quoteblock p { color: inherit; font-size: 1.0625rem; }
|
.quoteblock.excerpt blockquote, .quoteblock.excerpt p, .quoteblock .quoteblock blockquote, .quoteblock .quoteblock p { color: inherit; font-size: 1.0625rem; }
|
||||||
.quoteblock.excerpt .attribution, .quoteblock .quoteblock .attribution { color: inherit; text-align: left; margin-right: 0; }
|
.quoteblock.excerpt .attribution, .quoteblock .quoteblock .attribution { color: inherit; text-align: left; margin-right: 0; }
|
||||||
@ -494,19 +500,19 @@ p.tableblock:last-child { margin-bottom: 0; }
|
|||||||
td.tableblock > .content { margin-bottom: 1.25em; word-wrap: anywhere; }
|
td.tableblock > .content { margin-bottom: 1.25em; word-wrap: anywhere; }
|
||||||
td.tableblock > .content > :last-child { margin-bottom: -1.25em; }
|
td.tableblock > .content > :last-child { margin-bottom: -1.25em; }
|
||||||
|
|
||||||
table.tableblock, th.tableblock, td.tableblock { border: 0 solid #dedede; }
|
table.tableblock, th.tableblock, td.tableblock { border: 0 solid #dddddd; }
|
||||||
|
|
||||||
table.grid-all > * > tr > * { border-width: 1px; }
|
table.grid-all > * > tr > * { border-width: 0; }
|
||||||
|
|
||||||
table.grid-cols > * > tr > * { border-width: 0 1px; }
|
table.grid-cols > * > tr > * { border-width: 0 0; }
|
||||||
|
|
||||||
table.grid-rows > * > tr > * { border-width: 1px 0; }
|
table.grid-rows > * > tr > * { border-width: 0 0; }
|
||||||
|
|
||||||
table.frame-all { border-width: 1px; }
|
table.frame-all { border-width: 0; }
|
||||||
|
|
||||||
table.frame-ends { border-width: 1px 0; }
|
table.frame-ends { border-width: 0 0; }
|
||||||
|
|
||||||
table.frame-sides { border-width: 0 1px; }
|
table.frame-sides { border-width: 0 0; }
|
||||||
|
|
||||||
table.frame-none > colgroup + * > :first-child > *, table.frame-sides > colgroup + * > :first-child > * { border-top-width: 0; }
|
table.frame-none > colgroup + * > :first-child > *, table.frame-sides > colgroup + * > :first-child > * { border-top-width: 0; }
|
||||||
|
|
||||||
@ -516,7 +522,7 @@ table.frame-none > * > tr > :first-child, table.frame-ends > * > tr > :first-chi
|
|||||||
|
|
||||||
table.frame-none > * > tr > :last-child, table.frame-ends > * > tr > :last-child { border-right-width: 0; }
|
table.frame-none > * > tr > :last-child, table.frame-ends > * > tr > :last-child { border-right-width: 0; }
|
||||||
|
|
||||||
table.stripes-all tr, table.stripes-odd tr:nth-of-type(odd), table.stripes-even tr:nth-of-type(even), table.stripes-hover tr:hover { background: #f8f8f7; }
|
table.stripes-all tr, table.stripes-odd tr:nth-of-type(odd), table.stripes-even tr:nth-of-type(even), table.stripes-hover tr:hover { background: none; }
|
||||||
|
|
||||||
th.halign-left, td.halign-left { text-align: left; }
|
th.halign-left, td.halign-left { text-align: left; }
|
||||||
|
|
||||||
@ -532,17 +538,17 @@ th.valign-middle, td.valign-middle { vertical-align: middle; }
|
|||||||
|
|
||||||
table thead th, table tfoot th { font-weight: bold; }
|
table thead th, table tfoot th { font-weight: bold; }
|
||||||
|
|
||||||
tbody tr th { display: table-cell; line-height: 1.6; background: #f7f8f7; }
|
tbody tr th { display: table-cell; line-height: 1.5; background: none; }
|
||||||
|
|
||||||
tbody tr th, tbody tr th p, tfoot tr th, tfoot tr th p { color: rgba(0, 0, 0, 0.8); font-weight: bold; }
|
tbody tr th, tbody tr th p, tfoot tr th, tfoot tr th p { color: #222222; font-weight: bold; }
|
||||||
|
|
||||||
p.tableblock > code:only-child { background: none; padding: 0; }
|
p.tableblock > code:only-child { background: none; padding: 0; }
|
||||||
|
|
||||||
p.tableblock { font-size: 1em; }
|
p.tableblock { font-size: 1em; }
|
||||||
|
|
||||||
ol { margin-left: 1.75em; }
|
ol { margin-left: 0.25em; }
|
||||||
|
|
||||||
ul li ol { margin-left: 1.5em; }
|
ul li ol { margin-left: 0; }
|
||||||
|
|
||||||
dl dd { margin-left: 1.125em; }
|
dl dd { margin-left: 1.125em; }
|
||||||
|
|
||||||
@ -706,13 +712,13 @@ span.icon > .fa { cursor: default; }
|
|||||||
a span.icon > .fa { cursor: inherit; }
|
a span.icon > .fa { cursor: inherit; }
|
||||||
|
|
||||||
.admonitionblock td.icon [class^="fa icon-"] { font-size: 2.5em; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); cursor: default; }
|
.admonitionblock td.icon [class^="fa icon-"] { font-size: 2.5em; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); cursor: default; }
|
||||||
.admonitionblock td.icon .icon-note:before { content: "\f05a"; color: #19407c; }
|
.admonitionblock td.icon .icon-note:before { content: "\f05a"; color: #333333; }
|
||||||
.admonitionblock td.icon .icon-tip:before { content: "\f0eb"; text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8); color: #111; }
|
.admonitionblock td.icon .icon-tip:before { content: "\f0eb"; text-shadow: 1px 1px 2px rgba(155, 155, 0, 0.8); color: #111; }
|
||||||
.admonitionblock td.icon .icon-warning:before { content: "\f071"; color: #bf6900; }
|
.admonitionblock td.icon .icon-warning:before { content: "\f071"; color: #bf6900; }
|
||||||
.admonitionblock td.icon .icon-caution:before { content: "\f06d"; color: #bf3400; }
|
.admonitionblock td.icon .icon-caution:before { content: "\f06d"; color: #bf3400; }
|
||||||
.admonitionblock td.icon .icon-important:before { content: "\f06a"; color: #bf0000; }
|
.admonitionblock td.icon .icon-important:before { content: "\f06a"; color: #bf0000; }
|
||||||
|
|
||||||
.conum[data-value] { display: inline-block; color: #fff !important; background-color: rgba(0, 0, 0, 0.8); -webkit-border-radius: 50%; border-radius: 50%; text-align: center; font-size: 0.75em; width: 1.67em; height: 1.67em; line-height: 1.67em; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-style: normal; font-weight: bold; }
|
.conum[data-value] { display: inline-block; color: #fff !important; background-color: black; -webkit-border-radius: 50%; border-radius: 50%; text-align: center; font-size: 0.75em; width: 1.67em; height: 1.67em; line-height: 1.67em; font-family: "Open Sans", "DejaVu Sans", sans-serif; font-style: normal; font-weight: bold; }
|
||||||
.conum[data-value] * { color: #fff !important; }
|
.conum[data-value] * { color: #fff !important; }
|
||||||
.conum[data-value] + b { display: none; }
|
.conum[data-value] + b { display: none; }
|
||||||
.conum[data-value]:after { content: attr(data-value); }
|
.conum[data-value]:after { content: attr(data-value); }
|
||||||
@ -722,55 +728,86 @@ b.conum * { color: inherit !important; }
|
|||||||
|
|
||||||
.conum:not([data-value]):empty { display: none; }
|
.conum:not([data-value]):empty { display: none; }
|
||||||
|
|
||||||
dt, th.tableblock, td.content, div.footnote { text-rendering: optimizeLegibility; }
|
h4 { color: #6c818f; }
|
||||||
|
|
||||||
h1, h2, p, td.content, span.alt { letter-spacing: -0.01em; }
|
.literalblock > .content > pre, .listingblock > .content > pre { -webkit-border-radius: 6px; border-radius: 6px; margin-left: 2em; margin-right: 2em; }
|
||||||
|
|
||||||
p strong, td.content strong, div.footnote strong { letter-spacing: -0.005em; }
|
.admonitionblock { margin-left: 2em; margin-right: 2em; }
|
||||||
|
.admonitionblock > table { border: 1px solid #609060; border-top-width: 1.5em; background-color: #e9ffe9; border-collapse: separate; -webkit-border-radius: 0; border-radius: 0; }
|
||||||
|
.admonitionblock > table td.icon { padding-top: .5em; padding-bottom: .5em; }
|
||||||
|
.admonitionblock > table td.content { padding: .5em 1em; color: black; font-size: .9em; border-left: none; }
|
||||||
|
|
||||||
p, blockquote, dt, td.content, span.alt { font-size: 1.0625rem; }
|
.sidebarblock { background-color: #e8ecef; border-color: #ccc; }
|
||||||
|
.sidebarblock > .content > .title { color: #444444; }
|
||||||
|
|
||||||
p { margin-bottom: 1.25rem; }
|
table.tableblock.grid-all { border-collapse: collapse; -webkit-border-radius: 0; border-radius: 0; }
|
||||||
|
table.tableblock.grid-all th.tableblock, table.tableblock.grid-all td.tableblock { border-bottom: 1px solid #aaa; }
|
||||||
|
|
||||||
.sidebarblock p, .sidebarblock dt, .sidebarblock td.content, p.tableblock { font-size: 1em; }
|
#footer { background-color: #465158; padding: 2em; }
|
||||||
|
|
||||||
.exampleblock > .content { background-color: #fffef7; border-color: #e0e0dc; -webkit-box-shadow: 0 1px 4px #e0e0dc; box-shadow: 0 1px 4px #e0e0dc; }
|
#footer-text { color: #eee; font-size: 0.8em; text-align: center; }
|
||||||
|
|
||||||
.print-only { display: none !important; }
|
</style>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
@page { margin: 1.25cm 0.75cm; }
|
</head>
|
||||||
|
<body class="article">
|
||||||
@media print { * { -webkit-box-shadow: none !important; box-shadow: none !important; text-shadow: none !important; }
|
<div id="header">
|
||||||
html { font-size: 80%; }
|
</div>
|
||||||
a { color: inherit !important; text-decoration: underline !important; }
|
<div id="content">
|
||||||
a.bare, a[href^="#"], a[href^="mailto:"] { text-decoration: none !important; }
|
<div class="sect2">
|
||||||
a[href^="http:"]:not(.bare):after, a[href^="https:"]:not(.bare):after { content: "(" attr(href) ")"; display: inline-block; font-size: 0.875em; padding-left: 0.25em; }
|
<h3 id="_current_versions">Current versions</h3>
|
||||||
abbr[title]:after { content: " (" attr(title) ")"; }
|
<div class="paragraph">
|
||||||
pre, blockquote, tr, img, object, svg { page-break-inside: avoid; }
|
<p>Current stable version is Pmodules 1.0.0.</p>
|
||||||
thead { display: table-header-group; }
|
</div>
|
||||||
svg { max-width: 100%; }
|
<div class="paragraph">
|
||||||
p, blockquote, dt, td.content { font-size: 1em; orphans: 3; widows: 3; }
|
<p>Current development version is Pmodules 1.1.16.</p>
|
||||||
h2, h3, #toctitle, .sidebarblock > .content > .title, #toctitle, .sidebarblock > .content > .title { page-break-after: avoid; }
|
</div>
|
||||||
#header, #content, #footnotes, #footer { max-width: none; }
|
</div>
|
||||||
#toc, .sidebarblock, .exampleblock > .content { background: none !important; }
|
<div class="sect2">
|
||||||
#toc { border-bottom: 1px solid #dddddf !important; padding-bottom: 0 !important; }
|
<h3 id="_news_stable">News stable</h3>
|
||||||
body.book #header { text-align: center; }
|
<div class="paragraph">
|
||||||
body.book #header > h1:first-child { border: 0 !important; margin: 2.5em 0 1em 0; }
|
<p>See: <a href="https://gitlab.psi.ch/Pmodules/src/-/blob/Pmodules-1.0/CHANGELOG.md">CHANGELOG</a></p>
|
||||||
body.book #header .details { border: 0 !important; display: block; padding: 0 !important; }
|
</div>
|
||||||
body.book #header .details span:first-child { margin-left: 0 !important; }
|
</div>
|
||||||
body.book #header .details br { display: block; }
|
<div class="sect2">
|
||||||
body.book #header .details br + span:before { content: none !important; }
|
<h3 id="_news_development">News development</h3>
|
||||||
body.book #toc { border: 0 !important; text-align: left !important; padding: 0 !important; margin: 0 !important; }
|
<div class="paragraph">
|
||||||
body.book #toc, body.book #preamble, body.book h1.sect0, body.book .sect1 > h2 { page-break-before: always; }
|
<p>See: <a href="https://gitlab.psi.ch/Pmodules/src/-/blob/master/CHANGELOG.md">CHANGELOG</a></p>
|
||||||
.listingblock code[data-lang]:before { display: block; }
|
</div>
|
||||||
#footer { padding: 0 0.9375em; }
|
<div class="paragraph">
|
||||||
.hide-on-print { display: none !important; }
|
<p>New features in development version:</p>
|
||||||
.print-only { display: block !important; }
|
</div>
|
||||||
.hide-for-print { display: none !important; }
|
<div class="ulist">
|
||||||
.show-for-print { display: inherit !important; } }
|
<ul>
|
||||||
@media print, amzn-kf8 { #header > h1:first-child { margin-top: 1.25rem; }
|
<li>
|
||||||
.sect1 { padding: 0 !important; }
|
<p>overlays</p>
|
||||||
.sect1 + .sect1 { border: 0; }
|
</li>
|
||||||
#footer { background: none; }
|
<li>
|
||||||
#footer-text { color: rgba(0, 0, 0, 0.6); font-size: 0.9em; } }
|
<p>collections</p>
|
||||||
@media amzn-kf8 { #header, #content, #footnotes, #footer { padding: 0; } }
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>ban a module on dedicated systems via a block-list</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="paragraph">
|
||||||
|
<p>ToDo</p>
|
||||||
|
</div>
|
||||||
|
<div class="ulist">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<p>module configuration files in YAML format</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>more testing</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="footer">
|
||||||
|
<div id="footer-text">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
241
pm_tools_venv/bin/Activate.ps1
Normal file
241
pm_tools_venv/bin/Activate.ps1
Normal file
@ -0,0 +1,241 @@
|
|||||||
|
<#
|
||||||
|
.Synopsis
|
||||||
|
Activate a Python virtual environment for the current PowerShell session.
|
||||||
|
|
||||||
|
.Description
|
||||||
|
Pushes the python executable for a virtual environment to the front of the
|
||||||
|
$Env:PATH environment variable and sets the prompt to signify that you are
|
||||||
|
in a Python virtual environment. Makes use of the command line switches as
|
||||||
|
well as the `pyvenv.cfg` file values present in the virtual environment.
|
||||||
|
|
||||||
|
.Parameter VenvDir
|
||||||
|
Path to the directory that contains the virtual environment to activate. The
|
||||||
|
default value for this is the parent of the directory that the Activate.ps1
|
||||||
|
script is located within.
|
||||||
|
|
||||||
|
.Parameter Prompt
|
||||||
|
The prompt prefix to display when this virtual environment is activated. By
|
||||||
|
default, this prompt is the name of the virtual environment folder (VenvDir)
|
||||||
|
surrounded by parentheses and followed by a single space (ie. '(.venv) ').
|
||||||
|
|
||||||
|
.Example
|
||||||
|
Activate.ps1
|
||||||
|
Activates the Python virtual environment that contains the Activate.ps1 script.
|
||||||
|
|
||||||
|
.Example
|
||||||
|
Activate.ps1 -Verbose
|
||||||
|
Activates the Python virtual environment that contains the Activate.ps1 script,
|
||||||
|
and shows extra information about the activation as it executes.
|
||||||
|
|
||||||
|
.Example
|
||||||
|
Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
|
||||||
|
Activates the Python virtual environment located in the specified location.
|
||||||
|
|
||||||
|
.Example
|
||||||
|
Activate.ps1 -Prompt "MyPython"
|
||||||
|
Activates the Python virtual environment that contains the Activate.ps1 script,
|
||||||
|
and prefixes the current prompt with the specified string (surrounded in
|
||||||
|
parentheses) while the virtual environment is active.
|
||||||
|
|
||||||
|
.Notes
|
||||||
|
On Windows, it may be required to enable this Activate.ps1 script by setting the
|
||||||
|
execution policy for the user. You can do this by issuing the following PowerShell
|
||||||
|
command:
|
||||||
|
|
||||||
|
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||||
|
|
||||||
|
For more information on Execution Policies:
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=135170
|
||||||
|
|
||||||
|
#>
|
||||||
|
Param(
|
||||||
|
[Parameter(Mandatory = $false)]
|
||||||
|
[String]
|
||||||
|
$VenvDir,
|
||||||
|
[Parameter(Mandatory = $false)]
|
||||||
|
[String]
|
||||||
|
$Prompt
|
||||||
|
)
|
||||||
|
|
||||||
|
<# Function declarations --------------------------------------------------- #>
|
||||||
|
|
||||||
|
<#
|
||||||
|
.Synopsis
|
||||||
|
Remove all shell session elements added by the Activate script, including the
|
||||||
|
addition of the virtual environment's Python executable from the beginning of
|
||||||
|
the PATH variable.
|
||||||
|
|
||||||
|
.Parameter NonDestructive
|
||||||
|
If present, do not remove this function from the global namespace for the
|
||||||
|
session.
|
||||||
|
|
||||||
|
#>
|
||||||
|
function global:deactivate ([switch]$NonDestructive) {
|
||||||
|
# Revert to original values
|
||||||
|
|
||||||
|
# The prior prompt:
|
||||||
|
if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
|
||||||
|
Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
|
||||||
|
Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
|
||||||
|
}
|
||||||
|
|
||||||
|
# The prior PYTHONHOME:
|
||||||
|
if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
|
||||||
|
Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME
|
||||||
|
Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME
|
||||||
|
}
|
||||||
|
|
||||||
|
# The prior PATH:
|
||||||
|
if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) {
|
||||||
|
Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH
|
||||||
|
Remove-Item -Path Env:_OLD_VIRTUAL_PATH
|
||||||
|
}
|
||||||
|
|
||||||
|
# Just remove the VIRTUAL_ENV altogether:
|
||||||
|
if (Test-Path -Path Env:VIRTUAL_ENV) {
|
||||||
|
Remove-Item -Path env:VIRTUAL_ENV
|
||||||
|
}
|
||||||
|
|
||||||
|
# Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether:
|
||||||
|
if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) {
|
||||||
|
Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force
|
||||||
|
}
|
||||||
|
|
||||||
|
# Leave deactivate function in the global namespace if requested:
|
||||||
|
if (-not $NonDestructive) {
|
||||||
|
Remove-Item -Path function:deactivate
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
<#
|
||||||
|
.Description
|
||||||
|
Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the
|
||||||
|
given folder, and returns them in a map.
|
||||||
|
|
||||||
|
For each line in the pyvenv.cfg file, if that line can be parsed into exactly
|
||||||
|
two strings separated by `=` (with any amount of whitespace surrounding the =)
|
||||||
|
then it is considered a `key = value` line. The left hand string is the key,
|
||||||
|
the right hand is the value.
|
||||||
|
|
||||||
|
If the value starts with a `'` or a `"` then the first and last character is
|
||||||
|
stripped from the value before being captured.
|
||||||
|
|
||||||
|
.Parameter ConfigDir
|
||||||
|
Path to the directory that contains the `pyvenv.cfg` file.
|
||||||
|
#>
|
||||||
|
function Get-PyVenvConfig(
|
||||||
|
[String]
|
||||||
|
$ConfigDir
|
||||||
|
) {
|
||||||
|
Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg"
|
||||||
|
|
||||||
|
# Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue).
|
||||||
|
$pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue
|
||||||
|
|
||||||
|
# An empty map will be returned if no config file is found.
|
||||||
|
$pyvenvConfig = @{ }
|
||||||
|
|
||||||
|
if ($pyvenvConfigPath) {
|
||||||
|
|
||||||
|
Write-Verbose "File exists, parse `key = value` lines"
|
||||||
|
$pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath
|
||||||
|
|
||||||
|
$pyvenvConfigContent | ForEach-Object {
|
||||||
|
$keyval = $PSItem -split "\s*=\s*", 2
|
||||||
|
if ($keyval[0] -and $keyval[1]) {
|
||||||
|
$val = $keyval[1]
|
||||||
|
|
||||||
|
# Remove extraneous quotations around a string value.
|
||||||
|
if ("'""".Contains($val.Substring(0, 1))) {
|
||||||
|
$val = $val.Substring(1, $val.Length - 2)
|
||||||
|
}
|
||||||
|
|
||||||
|
$pyvenvConfig[$keyval[0]] = $val
|
||||||
|
Write-Verbose "Adding Key: '$($keyval[0])'='$val'"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $pyvenvConfig
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
<# Begin Activate script --------------------------------------------------- #>
|
||||||
|
|
||||||
|
# Determine the containing directory of this script
|
||||||
|
$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
|
||||||
|
$VenvExecDir = Get-Item -Path $VenvExecPath
|
||||||
|
|
||||||
|
Write-Verbose "Activation script is located in path: '$VenvExecPath'"
|
||||||
|
Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)"
|
||||||
|
Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)"
|
||||||
|
|
||||||
|
# Set values required in priority: CmdLine, ConfigFile, Default
|
||||||
|
# First, get the location of the virtual environment, it might not be
|
||||||
|
# VenvExecDir if specified on the command line.
|
||||||
|
if ($VenvDir) {
|
||||||
|
Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values"
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
|
||||||
|
$VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
|
||||||
|
Write-Verbose "VenvDir=$VenvDir"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Next, read the `pyvenv.cfg` file to determine any required value such
|
||||||
|
# as `prompt`.
|
||||||
|
$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir
|
||||||
|
|
||||||
|
# Next, set the prompt from the command line, or the config file, or
|
||||||
|
# just use the name of the virtual environment folder.
|
||||||
|
if ($Prompt) {
|
||||||
|
Write-Verbose "Prompt specified as argument, using '$Prompt'"
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value"
|
||||||
|
if ($pyvenvCfg -and $pyvenvCfg['prompt']) {
|
||||||
|
Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'"
|
||||||
|
$Prompt = $pyvenvCfg['prompt'];
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)"
|
||||||
|
Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
|
||||||
|
$Prompt = Split-Path -Path $venvDir -Leaf
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Verbose "Prompt = '$Prompt'"
|
||||||
|
Write-Verbose "VenvDir='$VenvDir'"
|
||||||
|
|
||||||
|
# Deactivate any currently active virtual environment, but leave the
|
||||||
|
# deactivate function in place.
|
||||||
|
deactivate -nondestructive
|
||||||
|
|
||||||
|
# Now set the environment variable VIRTUAL_ENV, used by many tools to determine
|
||||||
|
# that there is an activated venv.
|
||||||
|
$env:VIRTUAL_ENV = $VenvDir
|
||||||
|
|
||||||
|
if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
||||||
|
|
||||||
|
Write-Verbose "Setting prompt to '$Prompt'"
|
||||||
|
|
||||||
|
# Set the prompt to include the env name
|
||||||
|
# Make sure _OLD_VIRTUAL_PROMPT is global
|
||||||
|
function global:_OLD_VIRTUAL_PROMPT { "" }
|
||||||
|
Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
|
||||||
|
New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt
|
||||||
|
|
||||||
|
function global:prompt {
|
||||||
|
Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
|
||||||
|
_OLD_VIRTUAL_PROMPT
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Clear PYTHONHOME
|
||||||
|
if (Test-Path -Path Env:PYTHONHOME) {
|
||||||
|
Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
|
||||||
|
Remove-Item -Path Env:PYTHONHOME
|
||||||
|
}
|
||||||
|
|
||||||
|
# Add the venv to the PATH
|
||||||
|
Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
|
||||||
|
$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"
|
66
pm_tools_venv/bin/activate
Normal file
66
pm_tools_venv/bin/activate
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
# This file must be used with "source bin/activate" *from bash*
|
||||||
|
# you cannot run it directly
|
||||||
|
|
||||||
|
deactivate () {
|
||||||
|
# reset old environment variables
|
||||||
|
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then
|
||||||
|
PATH="${_OLD_VIRTUAL_PATH:-}"
|
||||||
|
export PATH
|
||||||
|
unset _OLD_VIRTUAL_PATH
|
||||||
|
fi
|
||||||
|
if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then
|
||||||
|
PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
|
||||||
|
export PYTHONHOME
|
||||||
|
unset _OLD_VIRTUAL_PYTHONHOME
|
||||||
|
fi
|
||||||
|
|
||||||
|
# This should detect bash and zsh, which have a hash command that must
|
||||||
|
# be called to get it to forget past commands. Without forgetting
|
||||||
|
# past commands the $PATH changes we made may not be respected
|
||||||
|
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then
|
||||||
|
hash -r 2> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
|
||||||
|
PS1="${_OLD_VIRTUAL_PS1:-}"
|
||||||
|
export PS1
|
||||||
|
unset _OLD_VIRTUAL_PS1
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset VIRTUAL_ENV
|
||||||
|
if [ ! "${1:-}" = "nondestructive" ] ; then
|
||||||
|
# Self destruct!
|
||||||
|
unset -f deactivate
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# unset irrelevant variables
|
||||||
|
deactivate nondestructive
|
||||||
|
|
||||||
|
VIRTUAL_ENV="/home/svcusr-gitrunner/.cache/act/16ddb6728f091828/hostexecutor/pm_tools_venv"
|
||||||
|
export VIRTUAL_ENV
|
||||||
|
|
||||||
|
_OLD_VIRTUAL_PATH="$PATH"
|
||||||
|
PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||||
|
export PATH
|
||||||
|
|
||||||
|
# unset PYTHONHOME if set
|
||||||
|
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
|
||||||
|
# could use `if (set -u; : $PYTHONHOME) ;` in bash
|
||||||
|
if [ -n "${PYTHONHOME:-}" ] ; then
|
||||||
|
_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
|
||||||
|
unset PYTHONHOME
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
|
||||||
|
_OLD_VIRTUAL_PS1="${PS1:-}"
|
||||||
|
PS1="(pm_tools_venv) ${PS1:-}"
|
||||||
|
export PS1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# This should detect bash and zsh, which have a hash command that must
|
||||||
|
# be called to get it to forget past commands. Without forgetting
|
||||||
|
# past commands the $PATH changes we made may not be respected
|
||||||
|
if [ -n "${BASH:-}" -o -n "${ZSH_VERSION:-}" ] ; then
|
||||||
|
hash -r 2> /dev/null
|
||||||
|
fi
|
25
pm_tools_venv/bin/activate.csh
Normal file
25
pm_tools_venv/bin/activate.csh
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# This file must be used with "source bin/activate.csh" *from csh*.
|
||||||
|
# You cannot run it directly.
|
||||||
|
# Created by Davide Di Blasi <davidedb@gmail.com>.
|
||||||
|
# Ported to Python 3.3 venv by Andrew Svetlov <andrew.svetlov@gmail.com>
|
||||||
|
|
||||||
|
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate'
|
||||||
|
|
||||||
|
# Unset irrelevant variables.
|
||||||
|
deactivate nondestructive
|
||||||
|
|
||||||
|
setenv VIRTUAL_ENV "/home/svcusr-gitrunner/.cache/act/16ddb6728f091828/hostexecutor/pm_tools_venv"
|
||||||
|
|
||||||
|
set _OLD_VIRTUAL_PATH="$PATH"
|
||||||
|
setenv PATH "$VIRTUAL_ENV/bin:$PATH"
|
||||||
|
|
||||||
|
|
||||||
|
set _OLD_VIRTUAL_PROMPT="$prompt"
|
||||||
|
|
||||||
|
if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then
|
||||||
|
set prompt = "(pm_tools_venv) $prompt"
|
||||||
|
endif
|
||||||
|
|
||||||
|
alias pydoc python -m pydoc
|
||||||
|
|
||||||
|
rehash
|
64
pm_tools_venv/bin/activate.fish
Normal file
64
pm_tools_venv/bin/activate.fish
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
# This file must be used with "source <venv>/bin/activate.fish" *from fish*
|
||||||
|
# (https://fishshell.com/); you cannot run it directly.
|
||||||
|
|
||||||
|
function deactivate -d "Exit virtual environment and return to normal shell environment"
|
||||||
|
# reset old environment variables
|
||||||
|
if test -n "$_OLD_VIRTUAL_PATH"
|
||||||
|
set -gx PATH $_OLD_VIRTUAL_PATH
|
||||||
|
set -e _OLD_VIRTUAL_PATH
|
||||||
|
end
|
||||||
|
if test -n "$_OLD_VIRTUAL_PYTHONHOME"
|
||||||
|
set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
|
||||||
|
set -e _OLD_VIRTUAL_PYTHONHOME
|
||||||
|
end
|
||||||
|
|
||||||
|
if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
|
||||||
|
functions -e fish_prompt
|
||||||
|
set -e _OLD_FISH_PROMPT_OVERRIDE
|
||||||
|
functions -c _old_fish_prompt fish_prompt
|
||||||
|
functions -e _old_fish_prompt
|
||||||
|
end
|
||||||
|
|
||||||
|
set -e VIRTUAL_ENV
|
||||||
|
if test "$argv[1]" != "nondestructive"
|
||||||
|
# Self-destruct!
|
||||||
|
functions -e deactivate
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Unset irrelevant variables.
|
||||||
|
deactivate nondestructive
|
||||||
|
|
||||||
|
set -gx VIRTUAL_ENV "/home/svcusr-gitrunner/.cache/act/16ddb6728f091828/hostexecutor/pm_tools_venv"
|
||||||
|
|
||||||
|
set -gx _OLD_VIRTUAL_PATH $PATH
|
||||||
|
set -gx PATH "$VIRTUAL_ENV/bin" $PATH
|
||||||
|
|
||||||
|
# Unset PYTHONHOME if set.
|
||||||
|
if set -q PYTHONHOME
|
||||||
|
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
|
||||||
|
set -e PYTHONHOME
|
||||||
|
end
|
||||||
|
|
||||||
|
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
||||||
|
# fish uses a function instead of an env var to generate the prompt.
|
||||||
|
|
||||||
|
# Save the current fish_prompt function as the function _old_fish_prompt.
|
||||||
|
functions -c fish_prompt _old_fish_prompt
|
||||||
|
|
||||||
|
# With the original prompt function renamed, we can override with our own.
|
||||||
|
function fish_prompt
|
||||||
|
# Save the return status of the last command.
|
||||||
|
set -l old_status $status
|
||||||
|
|
||||||
|
# Output the venv prompt; color taken from the blue of the Python logo.
|
||||||
|
printf "%s%s%s" (set_color 4B8BBE) "(pm_tools_venv) " (set_color normal)
|
||||||
|
|
||||||
|
# Restore the return status of the previous command.
|
||||||
|
echo "exit $old_status" | .
|
||||||
|
# Output the original/"old" prompt.
|
||||||
|
_old_fish_prompt
|
||||||
|
end
|
||||||
|
|
||||||
|
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
|
||||||
|
end
|
8
pm_tools_venv/bin/chardetect
Executable file
8
pm_tools_venv/bin/chardetect
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/home/svcusr-gitrunner/.cache/act/16ddb6728f091828/hostexecutor/pm_tools_venv/bin/python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
from chardet.cli.chardetect import main
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||||
|
sys.exit(main())
|
8
pm_tools_venv/bin/pip
Executable file
8
pm_tools_venv/bin/pip
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/home/svcusr-gitrunner/.cache/act/16ddb6728f091828/hostexecutor/pm_tools_venv/bin/python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
from pip._internal.cli.main import main
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||||
|
sys.exit(main())
|
8
pm_tools_venv/bin/pip3
Executable file
8
pm_tools_venv/bin/pip3
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/home/svcusr-gitrunner/.cache/act/16ddb6728f091828/hostexecutor/pm_tools_venv/bin/python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
from pip._internal.cli.main import main
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||||
|
sys.exit(main())
|
8
pm_tools_venv/bin/pip3.9
Executable file
8
pm_tools_venv/bin/pip3.9
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/home/svcusr-gitrunner/.cache/act/16ddb6728f091828/hostexecutor/pm_tools_venv/bin/python3
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
from pip._internal.cli.main import main
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
||||||
|
sys.exit(main())
|
1
pm_tools_venv/bin/python
Symbolic link
1
pm_tools_venv/bin/python
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python3
|
1
pm_tools_venv/bin/python3
Symbolic link
1
pm_tools_venv/bin/python3
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/opt/psi/Programming/Python/3.9.10/bin/python3
|
1
pm_tools_venv/bin/python3.9
Symbolic link
1
pm_tools_venv/bin/python3.9
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python3
|
@ -0,0 +1 @@
|
|||||||
|
pip
|
@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2016-2024 Tsuyoshi Hombashi
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
@ -0,0 +1,278 @@
|
|||||||
|
Metadata-Version: 2.1
|
||||||
|
Name: DataProperty
|
||||||
|
Version: 1.1.0
|
||||||
|
Summary: Python library for extract property from data.
|
||||||
|
Home-page: https://github.com/thombashi/DataProperty
|
||||||
|
Author: Tsuyoshi Hombashi
|
||||||
|
Author-email: tsuyoshi.hombashi@gmail.com
|
||||||
|
Maintainer: Tsuyoshi Hombashi
|
||||||
|
Maintainer-email: tsuyoshi.hombashi@gmail.com
|
||||||
|
License: MIT License
|
||||||
|
Project-URL: Changelog, https://github.com/thombashi/DataProperty/releases
|
||||||
|
Project-URL: Source, https://github.com/thombashi/DataProperty
|
||||||
|
Project-URL: Tracker, https://github.com/thombashi/DataProperty/issues
|
||||||
|
Keywords: data,library,property
|
||||||
|
Classifier: Development Status :: 5 - Production/Stable
|
||||||
|
Classifier: Intended Audience :: Developers
|
||||||
|
Classifier: Intended Audience :: Information Technology
|
||||||
|
Classifier: License :: OSI Approved :: MIT License
|
||||||
|
Classifier: Operating System :: OS Independent
|
||||||
|
Classifier: Programming Language :: Python :: 3
|
||||||
|
Classifier: Programming Language :: Python :: 3.9
|
||||||
|
Classifier: Programming Language :: Python :: 3.10
|
||||||
|
Classifier: Programming Language :: Python :: 3.11
|
||||||
|
Classifier: Programming Language :: Python :: 3.12
|
||||||
|
Classifier: Programming Language :: Python :: 3.13
|
||||||
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||||
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||||
|
Classifier: Topic :: Software Development :: Libraries
|
||||||
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
||||||
|
Classifier: Typing :: Typed
|
||||||
|
Requires-Python: >=3.9
|
||||||
|
Description-Content-Type: text/x-rst
|
||||||
|
License-File: LICENSE
|
||||||
|
Requires-Dist: mbstrdecoder<2,>=1.0.0
|
||||||
|
Requires-Dist: typepy[datetime]<2,>=1.3.2
|
||||||
|
Provides-Extra: logging
|
||||||
|
Requires-Dist: loguru<1,>=0.4.1; extra == "logging"
|
||||||
|
Provides-Extra: test
|
||||||
|
Requires-Dist: pytest>=6.0.1; extra == "test"
|
||||||
|
Requires-Dist: pytest-md-report>=0.6.2; extra == "test"
|
||||||
|
Requires-Dist: tcolorpy>=0.1.2; extra == "test"
|
||||||
|
|
||||||
|
.. contents:: **DataProperty**
|
||||||
|
:backlinks: top
|
||||||
|
:local:
|
||||||
|
|
||||||
|
|
||||||
|
Summary
|
||||||
|
=======
|
||||||
|
A Python library for extract property from data.
|
||||||
|
|
||||||
|
|
||||||
|
.. image:: https://badge.fury.io/py/DataProperty.svg
|
||||||
|
:target: https://badge.fury.io/py/DataProperty
|
||||||
|
:alt: PyPI package version
|
||||||
|
|
||||||
|
.. image:: https://anaconda.org/conda-forge/DataProperty/badges/version.svg
|
||||||
|
:target: https://anaconda.org/conda-forge/DataProperty
|
||||||
|
:alt: conda-forge package version
|
||||||
|
|
||||||
|
.. image:: https://img.shields.io/pypi/pyversions/DataProperty.svg
|
||||||
|
:target: https://pypi.org/project/DataProperty
|
||||||
|
:alt: Supported Python versions
|
||||||
|
|
||||||
|
.. image:: https://img.shields.io/pypi/implementation/DataProperty.svg
|
||||||
|
:target: https://pypi.org/project/DataProperty
|
||||||
|
:alt: Supported Python implementations
|
||||||
|
|
||||||
|
.. image:: https://github.com/thombashi/DataProperty/actions/workflows/ci.yml/badge.svg
|
||||||
|
:target: https://github.com/thombashi/DataProperty/actions/workflows/ci.yml
|
||||||
|
:alt: CI status of Linux/macOS/Windows
|
||||||
|
|
||||||
|
.. image:: https://coveralls.io/repos/github/thombashi/DataProperty/badge.svg?branch=master
|
||||||
|
:target: https://coveralls.io/github/thombashi/DataProperty?branch=master
|
||||||
|
:alt: Test coverage
|
||||||
|
|
||||||
|
.. image:: https://github.com/thombashi/DataProperty/actions/workflows/github-code-scanning/codeql/badge.svg
|
||||||
|
:target: https://github.com/thombashi/DataProperty/actions/workflows/github-code-scanning/codeql
|
||||||
|
:alt: CodeQL
|
||||||
|
|
||||||
|
|
||||||
|
Installation
|
||||||
|
============
|
||||||
|
|
||||||
|
Installation: pip
|
||||||
|
------------------------------
|
||||||
|
::
|
||||||
|
|
||||||
|
pip install DataProperty
|
||||||
|
|
||||||
|
Installation: conda
|
||||||
|
------------------------------
|
||||||
|
::
|
||||||
|
|
||||||
|
conda install -c conda-forge dataproperty
|
||||||
|
|
||||||
|
Installation: apt
|
||||||
|
------------------------------
|
||||||
|
::
|
||||||
|
|
||||||
|
sudo add-apt-repository ppa:thombashi/ppa
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install python3-dataproperty
|
||||||
|
|
||||||
|
|
||||||
|
Usage
|
||||||
|
=====
|
||||||
|
|
||||||
|
Extract property of data
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
e.g. Extract a ``float`` value property
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
>>> from dataproperty import DataProperty
|
||||||
|
>>> DataProperty(-1.1)
|
||||||
|
data=-1.1, type=REAL_NUMBER, align=right, ascii_width=4, int_digits=1, decimal_places=1, extra_len=1
|
||||||
|
|
||||||
|
e.g. Extract a ``int`` value property
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
>>> from dataproperty import DataProperty
|
||||||
|
>>> DataProperty(123456789)
|
||||||
|
data=123456789, type=INTEGER, align=right, ascii_width=9, int_digits=9, decimal_places=0, extra_len=0
|
||||||
|
|
||||||
|
e.g. Extract a ``str`` (ascii) value property
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
>>> from dataproperty import DataProperty
|
||||||
|
>>> DataProperty("sample string")
|
||||||
|
data=sample string, type=STRING, align=left, length=13, ascii_width=13, extra_len=0
|
||||||
|
|
||||||
|
e.g. Extract a ``str`` (multi-byte) value property
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
>>> from dataproperty import DataProperty
|
||||||
|
>>> str(DataProperty("吾輩は猫である"))
|
||||||
|
data=吾輩は猫である, type=STRING, align=left, length=7, ascii_width=14, extra_len=0
|
||||||
|
|
||||||
|
e.g. Extract a time (``datetime``) value property
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
>>> import datetime
|
||||||
|
>>> from dataproperty import DataProperty
|
||||||
|
>>> DataProperty(datetime.datetime(2017, 1, 1, 0, 0, 0))
|
||||||
|
data=2017-01-01 00:00:00, type=DATETIME, align=left, ascii_width=19, extra_len=0
|
||||||
|
|
||||||
|
e.g. Extract a ``bool`` value property
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
>>> from dataproperty import DataProperty
|
||||||
|
>>> DataProperty(True)
|
||||||
|
data=True, type=BOOL, align=left, ascii_width=4, extra_len=0
|
||||||
|
|
||||||
|
|
||||||
|
Extract data property for each element from a matrix
|
||||||
|
----------------------------------------------------
|
||||||
|
``DataPropertyExtractor.to_dp_matrix`` method returns a matrix of ``DataProperty`` instances from a data matrix.
|
||||||
|
An example data set and the result are as follows:
|
||||||
|
|
||||||
|
:Sample Code:
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
import datetime
|
||||||
|
from dataproperty import DataPropertyExtractor
|
||||||
|
|
||||||
|
dp_extractor = DataPropertyExtractor()
|
||||||
|
dt = datetime.datetime(2017, 1, 1, 0, 0, 0)
|
||||||
|
inf = float("inf")
|
||||||
|
nan = float("nan")
|
||||||
|
|
||||||
|
dp_matrix = dp_extractor.to_dp_matrix([
|
||||||
|
[1, 1.1, "aa", 1, 1, True, inf, nan, dt],
|
||||||
|
[2, 2.2, "bbb", 2.2, 2.2, False, "inf", "nan", dt],
|
||||||
|
[3, 3.33, "cccc", -3, "ccc", "true", inf, "NAN", "2017-01-01T01:23:45+0900"],
|
||||||
|
])
|
||||||
|
|
||||||
|
for row, dp_list in enumerate(dp_matrix):
|
||||||
|
for col, dp in enumerate(dp_list):
|
||||||
|
print("row={:d}, col={:d}, {}".format(row, col, str(dp)))
|
||||||
|
|
||||||
|
:Output:
|
||||||
|
::
|
||||||
|
|
||||||
|
row=0, col=0, data=1, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
||||||
|
row=0, col=1, data=1.1, type=REAL_NUMBER, align=right, ascii_width=3, int_digits=1, decimal_places=1, extra_len=0
|
||||||
|
row=0, col=2, data=aa, type=STRING, align=left, ascii_width=2, length=2, extra_len=0
|
||||||
|
row=0, col=3, data=1, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
||||||
|
row=0, col=4, data=1, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
||||||
|
row=0, col=5, data=True, type=BOOL, align=left, ascii_width=4, extra_len=0
|
||||||
|
row=0, col=6, data=Infinity, type=INFINITY, align=left, ascii_width=8, extra_len=0
|
||||||
|
row=0, col=7, data=NaN, type=NAN, align=left, ascii_width=3, extra_len=0
|
||||||
|
row=0, col=8, data=2017-01-01 00:00:00, type=DATETIME, align=left, ascii_width=19, extra_len=0
|
||||||
|
row=1, col=0, data=2, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
||||||
|
row=1, col=1, data=2.2, type=REAL_NUMBER, align=right, ascii_width=3, int_digits=1, decimal_places=1, extra_len=0
|
||||||
|
row=1, col=2, data=bbb, type=STRING, align=left, ascii_width=3, length=3, extra_len=0
|
||||||
|
row=1, col=3, data=2.2, type=REAL_NUMBER, align=right, ascii_width=3, int_digits=1, decimal_places=1, extra_len=0
|
||||||
|
row=1, col=4, data=2.2, type=REAL_NUMBER, align=right, ascii_width=3, int_digits=1, decimal_places=1, extra_len=0
|
||||||
|
row=1, col=5, data=False, type=BOOL, align=left, ascii_width=5, extra_len=0
|
||||||
|
row=1, col=6, data=Infinity, type=INFINITY, align=left, ascii_width=8, extra_len=0
|
||||||
|
row=1, col=7, data=NaN, type=NAN, align=left, ascii_width=3, extra_len=0
|
||||||
|
row=1, col=8, data=2017-01-01 00:00:00, type=DATETIME, align=left, ascii_width=19, extra_len=0
|
||||||
|
row=2, col=0, data=3, type=INTEGER, align=right, ascii_width=1, int_digits=1, decimal_places=0, extra_len=0
|
||||||
|
row=2, col=1, data=3.33, type=REAL_NUMBER, align=right, ascii_width=4, int_digits=1, decimal_places=2, extra_len=0
|
||||||
|
row=2, col=2, data=cccc, type=STRING, align=left, ascii_width=4, length=4, extra_len=0
|
||||||
|
row=2, col=3, data=-3, type=INTEGER, align=right, ascii_width=2, int_digits=1, decimal_places=0, extra_len=1
|
||||||
|
row=2, col=4, data=ccc, type=STRING, align=left, ascii_width=3, length=3, extra_len=0
|
||||||
|
row=2, col=5, data=True, type=BOOL, align=left, ascii_width=4, extra_len=0
|
||||||
|
row=2, col=6, data=Infinity, type=INFINITY, align=left, ascii_width=8, extra_len=0
|
||||||
|
row=2, col=7, data=NaN, type=NAN, align=left, ascii_width=3, extra_len=0
|
||||||
|
row=2, col=8, data=2017-01-01T01:23:45+0900, type=STRING, align=left, ascii_width=24, length=24, extra_len=0
|
||||||
|
|
||||||
|
|
||||||
|
Full example source code can be found at *examples/py/to_dp_matrix.py*
|
||||||
|
|
||||||
|
|
||||||
|
Extract properties for each column from a matrix
|
||||||
|
------------------------------------------------------
|
||||||
|
``DataPropertyExtractor.to_column_dp_list`` method returns a list of ``DataProperty`` instances from a data matrix. The list represents the properties for each column.
|
||||||
|
An example data set and the result are as follows:
|
||||||
|
|
||||||
|
Example data set and result are as follows:
|
||||||
|
|
||||||
|
:Sample Code:
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
import datetime
|
||||||
|
from dataproperty import DataPropertyExtractor
|
||||||
|
|
||||||
|
dp_extractor = DataPropertyExtractor()
|
||||||
|
dt = datetime.datetime(2017, 1, 1, 0, 0, 0)
|
||||||
|
inf = float("inf")
|
||||||
|
nan = float("nan")
|
||||||
|
|
||||||
|
data_matrix = [
|
||||||
|
[1, 1.1, "aa", 1, 1, True, inf, nan, dt],
|
||||||
|
[2, 2.2, "bbb", 2.2, 2.2, False, "inf", "nan", dt],
|
||||||
|
[3, 3.33, "cccc", -3, "ccc", "true", inf, "NAN", "2017-01-01T01:23:45+0900"],
|
||||||
|
]
|
||||||
|
|
||||||
|
dp_extractor.headers = ["int", "float", "str", "num", "mix", "bool", "inf", "nan", "time"]
|
||||||
|
col_dp_list = dp_extractor.to_column_dp_list(dp_extractor.to_dp_matrix(dp_matrix))
|
||||||
|
|
||||||
|
for col_idx, col_dp in enumerate(col_dp_list):
|
||||||
|
print(str(col_dp))
|
||||||
|
|
||||||
|
:Output:
|
||||||
|
::
|
||||||
|
|
||||||
|
column=0, type=INTEGER, align=right, ascii_width=3, bit_len=2, int_digits=1, decimal_places=0
|
||||||
|
column=1, type=REAL_NUMBER, align=right, ascii_width=5, int_digits=1, decimal_places=(min=1, max=2)
|
||||||
|
column=2, type=STRING, align=left, ascii_width=4
|
||||||
|
column=3, type=REAL_NUMBER, align=right, ascii_width=4, int_digits=1, decimal_places=(min=0, max=1), extra_len=(min=0, max=1)
|
||||||
|
column=4, type=STRING, align=left, ascii_width=3, int_digits=1, decimal_places=(min=0, max=1)
|
||||||
|
column=5, type=BOOL, align=left, ascii_width=5
|
||||||
|
column=6, type=INFINITY, align=left, ascii_width=8
|
||||||
|
column=7, type=NAN, align=left, ascii_width=3
|
||||||
|
column=8, type=STRING, align=left, ascii_width=24
|
||||||
|
|
||||||
|
|
||||||
|
Full example source code can be found at *examples/py/to_column_dp_list.py*
|
||||||
|
|
||||||
|
|
||||||
|
Dependencies
|
||||||
|
============
|
||||||
|
- Python 3.9+
|
||||||
|
- `Python package dependencies (automatically installed) <https://github.com/thombashi/DataProperty/network/dependencies>`__
|
||||||
|
|
||||||
|
Optional dependencies
|
||||||
|
---------------------
|
||||||
|
- `loguru <https://github.com/Delgan/loguru>`__
|
||||||
|
- Used for logging if the package installed
|
@ -0,0 +1,47 @@
|
|||||||
|
DataProperty-1.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||||
|
DataProperty-1.1.0.dist-info/LICENSE,sha256=NiiRV-Nxqq5bXTukvoc1ntB1SM3HqfGf9h3GfPxTapw,1089
|
||||||
|
DataProperty-1.1.0.dist-info/METADATA,sha256=IBRAJe_iO6Q9ANZXB3mGQXUY-7rVOkWScLJScbLLKwE,11604
|
||||||
|
DataProperty-1.1.0.dist-info/RECORD,,
|
||||||
|
DataProperty-1.1.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
||||||
|
DataProperty-1.1.0.dist-info/top_level.txt,sha256=RiW0aJCSmIPslrGSqg9wyPRas0Rl7Kcdi_fBBEd0-LY,13
|
||||||
|
dataproperty/__init__.py,sha256=y_LoBUs28gC7b7AXv49X1XCPHckXo3oKECpW-Oj6LbM,1308
|
||||||
|
dataproperty/__pycache__/__init__.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/__version__.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_align.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_align_getter.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_base.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_column.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_common.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_container.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_converter.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_dataproperty.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_extractor.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_formatter.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_function.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_interface.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_line_break.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/_preprocessor.cpython-39.pyc,,
|
||||||
|
dataproperty/__pycache__/typing.cpython-39.pyc,,
|
||||||
|
dataproperty/__version__.py,sha256=20XeJZJjWYfDK_1uO_Cw_PfXRL196B8J1hTCAMl1zqA,268
|
||||||
|
dataproperty/_align.py,sha256=VQCp3HUN-rw5lDcG0CHwoQNwabSOwMF8Fpn52nHpQs8,535
|
||||||
|
dataproperty/_align_getter.py,sha256=GV8rvnGaF8-8C6E7SNa3SsXw-gp80jR93knG_XDwcZQ,833
|
||||||
|
dataproperty/_base.py,sha256=e1EIrIOoQ2a0ZHUU8dZaB5VB7Hyla9BI6Ui4EQTlQJ4,2522
|
||||||
|
dataproperty/_column.py,sha256=IrO0BFlL8GZzezCNXNF0iOKmhe-D4Jfa3mc_o6K3f8I,11641
|
||||||
|
dataproperty/_common.py,sha256=S2FEfleQ3mjdMwaqW3KBpOrc-txr2vY2rpsV-WD-dxQ,2036
|
||||||
|
dataproperty/_container.py,sha256=nA8j6FK1XZRshdkc0IKrSnWiNUCsWtEaWE97gvwUsWE,5189
|
||||||
|
dataproperty/_converter.py,sha256=ztL51KpTfo4k-UJVPGruGHQqXM9gpZie7Gp3lbj_20M,3284
|
||||||
|
dataproperty/_dataproperty.py,sha256=Iby_m1h7HoRx2t2ZhjfRp0tk_dM6rN7ZD2LpsKTlFAY,11329
|
||||||
|
dataproperty/_extractor.py,sha256=M5it_2JHayk2EyfmfobcjzWFkycvg7WwnSNimn7N1zY,26019
|
||||||
|
dataproperty/_formatter.py,sha256=9bUxfuEQonKT9rqSaK9mc4fmNg_dnlkmftR48sGOytY,3022
|
||||||
|
dataproperty/_function.py,sha256=EKa13rpLHMYM84jqsCiTbpR2pd7lofd9uWRhx34HTEk,3267
|
||||||
|
dataproperty/_interface.py,sha256=eBR3lK1Ub3JOA9VRfTxB2AKnZI4k0-n3s1htvGzZCog,674
|
||||||
|
dataproperty/_line_break.py,sha256=FGjtuWKftOchoeJZJ9DxHJ9DUY0PPO_tPTiAM1e-Wck,114
|
||||||
|
dataproperty/_preprocessor.py,sha256=RHqbt41Edy14iQIbHUJ1pd3S-QUVDPDSN-zBlZ5_dbA,5491
|
||||||
|
dataproperty/logger/__init__.py,sha256=OnQCZS8T1Av5eQxFkuP-GAtmS-WdLXvy-yTvldwNoBI,104
|
||||||
|
dataproperty/logger/__pycache__/__init__.cpython-39.pyc,,
|
||||||
|
dataproperty/logger/__pycache__/_logger.cpython-39.pyc,,
|
||||||
|
dataproperty/logger/__pycache__/_null_logger.cpython-39.pyc,,
|
||||||
|
dataproperty/logger/_logger.py,sha256=-Kc7JXkSgq2BLy7kfP0SiwauShwsb66dzvCiNrTLDQg,442
|
||||||
|
dataproperty/logger/_null_logger.py,sha256=xWCR2KAa2aKAcpKi8DosfCOgaRMb_YXr9MKrK7xMD-A,1071
|
||||||
|
dataproperty/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||||
|
dataproperty/typing.py,sha256=l_nHqtIIQrBtHKBsWfCUy6A1UBuwCqJNUSvXvHfeWY4,1440
|
@ -0,0 +1,5 @@
|
|||||||
|
Wheel-Version: 1.0
|
||||||
|
Generator: setuptools (75.6.0)
|
||||||
|
Root-Is-Purelib: true
|
||||||
|
Tag: py3-none-any
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
dataproperty
|
Binary file not shown.
@ -0,0 +1,128 @@
|
|||||||
|
import sys
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
import importlib
|
||||||
|
import warnings
|
||||||
|
|
||||||
|
|
||||||
|
is_pypy = '__pypy__' in sys.builtin_module_names
|
||||||
|
|
||||||
|
|
||||||
|
warnings.filterwarnings('ignore',
|
||||||
|
r'.+ distutils\b.+ deprecated',
|
||||||
|
DeprecationWarning)
|
||||||
|
|
||||||
|
|
||||||
|
def warn_distutils_present():
|
||||||
|
if 'distutils' not in sys.modules:
|
||||||
|
return
|
||||||
|
if is_pypy and sys.version_info < (3, 7):
|
||||||
|
# PyPy for 3.6 unconditionally imports distutils, so bypass the warning
|
||||||
|
# https://foss.heptapod.net/pypy/pypy/-/blob/be829135bc0d758997b3566062999ee8b23872b4/lib-python/3/site.py#L250
|
||||||
|
return
|
||||||
|
warnings.warn(
|
||||||
|
"Distutils was imported before Setuptools, but importing Setuptools "
|
||||||
|
"also replaces the `distutils` module in `sys.modules`. This may lead "
|
||||||
|
"to undesirable behaviors or errors. To avoid these issues, avoid "
|
||||||
|
"using distutils directly, ensure that setuptools is installed in the "
|
||||||
|
"traditional way (e.g. not an editable install), and/or make sure "
|
||||||
|
"that setuptools is always imported before distutils.")
|
||||||
|
|
||||||
|
|
||||||
|
def clear_distutils():
|
||||||
|
if 'distutils' not in sys.modules:
|
||||||
|
return
|
||||||
|
warnings.warn("Setuptools is replacing distutils.")
|
||||||
|
mods = [name for name in sys.modules if re.match(r'distutils\b', name)]
|
||||||
|
for name in mods:
|
||||||
|
del sys.modules[name]
|
||||||
|
|
||||||
|
|
||||||
|
def enabled():
|
||||||
|
"""
|
||||||
|
Allow selection of distutils by environment variable.
|
||||||
|
"""
|
||||||
|
which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'stdlib')
|
||||||
|
return which == 'local'
|
||||||
|
|
||||||
|
|
||||||
|
def ensure_local_distutils():
|
||||||
|
clear_distutils()
|
||||||
|
distutils = importlib.import_module('setuptools._distutils')
|
||||||
|
distutils.__name__ = 'distutils'
|
||||||
|
sys.modules['distutils'] = distutils
|
||||||
|
|
||||||
|
# sanity check that submodules load as expected
|
||||||
|
core = importlib.import_module('distutils.core')
|
||||||
|
assert '_distutils' in core.__file__, core.__file__
|
||||||
|
|
||||||
|
|
||||||
|
def do_override():
|
||||||
|
"""
|
||||||
|
Ensure that the local copy of distutils is preferred over stdlib.
|
||||||
|
|
||||||
|
See https://github.com/pypa/setuptools/issues/417#issuecomment-392298401
|
||||||
|
for more motivation.
|
||||||
|
"""
|
||||||
|
if enabled():
|
||||||
|
warn_distutils_present()
|
||||||
|
ensure_local_distutils()
|
||||||
|
|
||||||
|
|
||||||
|
class DistutilsMetaFinder:
|
||||||
|
def find_spec(self, fullname, path, target=None):
|
||||||
|
if path is not None:
|
||||||
|
return
|
||||||
|
|
||||||
|
method_name = 'spec_for_{fullname}'.format(**locals())
|
||||||
|
method = getattr(self, method_name, lambda: None)
|
||||||
|
return method()
|
||||||
|
|
||||||
|
def spec_for_distutils(self):
|
||||||
|
import importlib.abc
|
||||||
|
import importlib.util
|
||||||
|
|
||||||
|
class DistutilsLoader(importlib.abc.Loader):
|
||||||
|
|
||||||
|
def create_module(self, spec):
|
||||||
|
return importlib.import_module('setuptools._distutils')
|
||||||
|
|
||||||
|
def exec_module(self, module):
|
||||||
|
pass
|
||||||
|
|
||||||
|
return importlib.util.spec_from_loader('distutils', DistutilsLoader())
|
||||||
|
|
||||||
|
def spec_for_pip(self):
|
||||||
|
"""
|
||||||
|
Ensure stdlib distutils when running under pip.
|
||||||
|
See pypa/pip#8761 for rationale.
|
||||||
|
"""
|
||||||
|
if self.pip_imported_during_build():
|
||||||
|
return
|
||||||
|
clear_distutils()
|
||||||
|
self.spec_for_distutils = lambda: None
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def pip_imported_during_build():
|
||||||
|
"""
|
||||||
|
Detect if pip is being imported in a build script. Ref #2355.
|
||||||
|
"""
|
||||||
|
import traceback
|
||||||
|
return any(
|
||||||
|
frame.f_globals['__file__'].endswith('setup.py')
|
||||||
|
for frame, line in traceback.walk_stack(None)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
DISTUTILS_FINDER = DistutilsMetaFinder()
|
||||||
|
|
||||||
|
|
||||||
|
def add_shim():
|
||||||
|
sys.meta_path.insert(0, DISTUTILS_FINDER)
|
||||||
|
|
||||||
|
|
||||||
|
def remove_shim():
|
||||||
|
try:
|
||||||
|
sys.meta_path.remove(DISTUTILS_FINDER)
|
||||||
|
except ValueError:
|
||||||
|
pass
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
__import__('_distutils_hack').do_override()
|
@ -0,0 +1 @@
|
|||||||
|
pip
|
@ -0,0 +1,502 @@
|
|||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
Version 2.1, February 1999
|
||||||
|
|
||||||
|
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
[This is the first released version of the Lesser GPL. It also counts
|
||||||
|
as the successor of the GNU Library Public License, version 2, hence
|
||||||
|
the version number 2.1.]
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
Licenses are intended to guarantee your freedom to share and change
|
||||||
|
free software--to make sure the software is free for all its users.
|
||||||
|
|
||||||
|
This license, the Lesser General Public License, applies to some
|
||||||
|
specially designated software packages--typically libraries--of the
|
||||||
|
Free Software Foundation and other authors who decide to use it. You
|
||||||
|
can use it too, but we suggest you first think carefully about whether
|
||||||
|
this license or the ordinary General Public License is the better
|
||||||
|
strategy to use in any particular case, based on the explanations below.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom of use,
|
||||||
|
not price. Our General Public Licenses are designed to make sure that
|
||||||
|
you have the freedom to distribute copies of free software (and charge
|
||||||
|
for this service if you wish); that you receive source code or can get
|
||||||
|
it if you want it; that you can change the software and use pieces of
|
||||||
|
it in new free programs; and that you are informed that you can do
|
||||||
|
these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
distributors to deny you these rights or to ask you to surrender these
|
||||||
|
rights. These restrictions translate to certain responsibilities for
|
||||||
|
you if you distribute copies of the library or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of the library, whether gratis
|
||||||
|
or for a fee, you must give the recipients all the rights that we gave
|
||||||
|
you. You must make sure that they, too, receive or can get the source
|
||||||
|
code. If you link other code with the library, you must provide
|
||||||
|
complete object files to the recipients, so that they can relink them
|
||||||
|
with the library after making changes to the library and recompiling
|
||||||
|
it. And you must show them these terms so they know their rights.
|
||||||
|
|
||||||
|
We protect your rights with a two-step method: (1) we copyright the
|
||||||
|
library, and (2) we offer you this license, which gives you legal
|
||||||
|
permission to copy, distribute and/or modify the library.
|
||||||
|
|
||||||
|
To protect each distributor, we want to make it very clear that
|
||||||
|
there is no warranty for the free library. Also, if the library is
|
||||||
|
modified by someone else and passed on, the recipients should know
|
||||||
|
that what they have is not the original version, so that the original
|
||||||
|
author's reputation will not be affected by problems that might be
|
||||||
|
introduced by others.
|
||||||
|
|
||||||
|
Finally, software patents pose a constant threat to the existence of
|
||||||
|
any free program. We wish to make sure that a company cannot
|
||||||
|
effectively restrict the users of a free program by obtaining a
|
||||||
|
restrictive license from a patent holder. Therefore, we insist that
|
||||||
|
any patent license obtained for a version of the library must be
|
||||||
|
consistent with the full freedom of use specified in this license.
|
||||||
|
|
||||||
|
Most GNU software, including some libraries, is covered by the
|
||||||
|
ordinary GNU General Public License. This license, the GNU Lesser
|
||||||
|
General Public License, applies to certain designated libraries, and
|
||||||
|
is quite different from the ordinary General Public License. We use
|
||||||
|
this license for certain libraries in order to permit linking those
|
||||||
|
libraries into non-free programs.
|
||||||
|
|
||||||
|
When a program is linked with a library, whether statically or using
|
||||||
|
a shared library, the combination of the two is legally speaking a
|
||||||
|
combined work, a derivative of the original library. The ordinary
|
||||||
|
General Public License therefore permits such linking only if the
|
||||||
|
entire combination fits its criteria of freedom. The Lesser General
|
||||||
|
Public License permits more lax criteria for linking other code with
|
||||||
|
the library.
|
||||||
|
|
||||||
|
We call this license the "Lesser" General Public License because it
|
||||||
|
does Less to protect the user's freedom than the ordinary General
|
||||||
|
Public License. It also provides other free software developers Less
|
||||||
|
of an advantage over competing non-free programs. These disadvantages
|
||||||
|
are the reason we use the ordinary General Public License for many
|
||||||
|
libraries. However, the Lesser license provides advantages in certain
|
||||||
|
special circumstances.
|
||||||
|
|
||||||
|
For example, on rare occasions, there may be a special need to
|
||||||
|
encourage the widest possible use of a certain library, so that it becomes
|
||||||
|
a de-facto standard. To achieve this, non-free programs must be
|
||||||
|
allowed to use the library. A more frequent case is that a free
|
||||||
|
library does the same job as widely used non-free libraries. In this
|
||||||
|
case, there is little to gain by limiting the free library to free
|
||||||
|
software only, so we use the Lesser General Public License.
|
||||||
|
|
||||||
|
In other cases, permission to use a particular library in non-free
|
||||||
|
programs enables a greater number of people to use a large body of
|
||||||
|
free software. For example, permission to use the GNU C Library in
|
||||||
|
non-free programs enables many more people to use the whole GNU
|
||||||
|
operating system, as well as its variant, the GNU/Linux operating
|
||||||
|
system.
|
||||||
|
|
||||||
|
Although the Lesser General Public License is Less protective of the
|
||||||
|
users' freedom, it does ensure that the user of a program that is
|
||||||
|
linked with the Library has the freedom and the wherewithal to run
|
||||||
|
that program using a modified version of the Library.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow. Pay close attention to the difference between a
|
||||||
|
"work based on the library" and a "work that uses the library". The
|
||||||
|
former contains code derived from the library, whereas the latter must
|
||||||
|
be combined with the library in order to run.
|
||||||
|
|
||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License Agreement applies to any software library or other
|
||||||
|
program which contains a notice placed by the copyright holder or
|
||||||
|
other authorized party saying it may be distributed under the terms of
|
||||||
|
this Lesser General Public License (also called "this License").
|
||||||
|
Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
A "library" means a collection of software functions and/or data
|
||||||
|
prepared so as to be conveniently linked with application programs
|
||||||
|
(which use some of those functions and data) to form executables.
|
||||||
|
|
||||||
|
The "Library", below, refers to any such software library or work
|
||||||
|
which has been distributed under these terms. A "work based on the
|
||||||
|
Library" means either the Library or any derivative work under
|
||||||
|
copyright law: that is to say, a work containing the Library or a
|
||||||
|
portion of it, either verbatim or with modifications and/or translated
|
||||||
|
straightforwardly into another language. (Hereinafter, translation is
|
||||||
|
included without limitation in the term "modification".)
|
||||||
|
|
||||||
|
"Source code" for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For a library, complete source code means
|
||||||
|
all the source code for all modules it contains, plus any associated
|
||||||
|
interface definition files, plus the scripts used to control compilation
|
||||||
|
and installation of the library.
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running a program using the Library is not restricted, and output from
|
||||||
|
such a program is covered only if its contents constitute a work based
|
||||||
|
on the Library (independent of the use of the Library in a tool for
|
||||||
|
writing it). Whether that is true depends on what the Library does
|
||||||
|
and what the program that uses the Library does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Library's
|
||||||
|
complete source code as you receive it, in any medium, provided that
|
||||||
|
you conspicuously and appropriately publish on each copy an
|
||||||
|
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||||
|
all the notices that refer to this License and to the absence of any
|
||||||
|
warranty; and distribute a copy of this License along with the
|
||||||
|
Library.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy,
|
||||||
|
and you may at your option offer warranty protection in exchange for a
|
||||||
|
fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Library or any portion
|
||||||
|
of it, thus forming a work based on the Library, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The modified work must itself be a software library.
|
||||||
|
|
||||||
|
b) You must cause the files modified to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
c) You must cause the whole of the work to be licensed at no
|
||||||
|
charge to all third parties under the terms of this License.
|
||||||
|
|
||||||
|
d) If a facility in the modified Library refers to a function or a
|
||||||
|
table of data to be supplied by an application program that uses
|
||||||
|
the facility, other than as an argument passed when the facility
|
||||||
|
is invoked, then you must make a good faith effort to ensure that,
|
||||||
|
in the event an application does not supply such function or
|
||||||
|
table, the facility still operates, and performs whatever part of
|
||||||
|
its purpose remains meaningful.
|
||||||
|
|
||||||
|
(For example, a function in a library to compute square roots has
|
||||||
|
a purpose that is entirely well-defined independent of the
|
||||||
|
application. Therefore, Subsection 2d requires that any
|
||||||
|
application-supplied function or table used by this function must
|
||||||
|
be optional: if the application does not supply it, the square
|
||||||
|
root function must still compute square roots.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Library,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Library, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote
|
||||||
|
it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Library.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Library
|
||||||
|
with the Library (or with a work based on the Library) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||||
|
License instead of this License to a given copy of the Library. To do
|
||||||
|
this, you must alter all the notices that refer to this License, so
|
||||||
|
that they refer to the ordinary GNU General Public License, version 2,
|
||||||
|
instead of to this License. (If a newer version than version 2 of the
|
||||||
|
ordinary GNU General Public License has appeared, then you can specify
|
||||||
|
that version instead if you wish.) Do not make any other change in
|
||||||
|
these notices.
|
||||||
|
|
||||||
|
Once this change is made in a given copy, it is irreversible for
|
||||||
|
that copy, so the ordinary GNU General Public License applies to all
|
||||||
|
subsequent copies and derivative works made from that copy.
|
||||||
|
|
||||||
|
This option is useful when you wish to copy part of the code of
|
||||||
|
the Library into a program that is not a library.
|
||||||
|
|
||||||
|
4. You may copy and distribute the Library (or a portion or
|
||||||
|
derivative of it, under Section 2) in object code or executable form
|
||||||
|
under the terms of Sections 1 and 2 above provided that you accompany
|
||||||
|
it with the complete corresponding machine-readable source code, which
|
||||||
|
must be distributed under the terms of Sections 1 and 2 above on a
|
||||||
|
medium customarily used for software interchange.
|
||||||
|
|
||||||
|
If distribution of object code is made by offering access to copy
|
||||||
|
from a designated place, then offering equivalent access to copy the
|
||||||
|
source code from the same place satisfies the requirement to
|
||||||
|
distribute the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
5. A program that contains no derivative of any portion of the
|
||||||
|
Library, but is designed to work with the Library by being compiled or
|
||||||
|
linked with it, is called a "work that uses the Library". Such a
|
||||||
|
work, in isolation, is not a derivative work of the Library, and
|
||||||
|
therefore falls outside the scope of this License.
|
||||||
|
|
||||||
|
However, linking a "work that uses the Library" with the Library
|
||||||
|
creates an executable that is a derivative of the Library (because it
|
||||||
|
contains portions of the Library), rather than a "work that uses the
|
||||||
|
library". The executable is therefore covered by this License.
|
||||||
|
Section 6 states terms for distribution of such executables.
|
||||||
|
|
||||||
|
When a "work that uses the Library" uses material from a header file
|
||||||
|
that is part of the Library, the object code for the work may be a
|
||||||
|
derivative work of the Library even though the source code is not.
|
||||||
|
Whether this is true is especially significant if the work can be
|
||||||
|
linked without the Library, or if the work is itself a library. The
|
||||||
|
threshold for this to be true is not precisely defined by law.
|
||||||
|
|
||||||
|
If such an object file uses only numerical parameters, data
|
||||||
|
structure layouts and accessors, and small macros and small inline
|
||||||
|
functions (ten lines or less in length), then the use of the object
|
||||||
|
file is unrestricted, regardless of whether it is legally a derivative
|
||||||
|
work. (Executables containing this object code plus portions of the
|
||||||
|
Library will still fall under Section 6.)
|
||||||
|
|
||||||
|
Otherwise, if the work is a derivative of the Library, you may
|
||||||
|
distribute the object code for the work under the terms of Section 6.
|
||||||
|
Any executables containing that work also fall under Section 6,
|
||||||
|
whether or not they are linked directly with the Library itself.
|
||||||
|
|
||||||
|
6. As an exception to the Sections above, you may also combine or
|
||||||
|
link a "work that uses the Library" with the Library to produce a
|
||||||
|
work containing portions of the Library, and distribute that work
|
||||||
|
under terms of your choice, provided that the terms permit
|
||||||
|
modification of the work for the customer's own use and reverse
|
||||||
|
engineering for debugging such modifications.
|
||||||
|
|
||||||
|
You must give prominent notice with each copy of the work that the
|
||||||
|
Library is used in it and that the Library and its use are covered by
|
||||||
|
this License. You must supply a copy of this License. If the work
|
||||||
|
during execution displays copyright notices, you must include the
|
||||||
|
copyright notice for the Library among them, as well as a reference
|
||||||
|
directing the user to the copy of this License. Also, you must do one
|
||||||
|
of these things:
|
||||||
|
|
||||||
|
a) Accompany the work with the complete corresponding
|
||||||
|
machine-readable source code for the Library including whatever
|
||||||
|
changes were used in the work (which must be distributed under
|
||||||
|
Sections 1 and 2 above); and, if the work is an executable linked
|
||||||
|
with the Library, with the complete machine-readable "work that
|
||||||
|
uses the Library", as object code and/or source code, so that the
|
||||||
|
user can modify the Library and then relink to produce a modified
|
||||||
|
executable containing the modified Library. (It is understood
|
||||||
|
that the user who changes the contents of definitions files in the
|
||||||
|
Library will not necessarily be able to recompile the application
|
||||||
|
to use the modified definitions.)
|
||||||
|
|
||||||
|
b) Use a suitable shared library mechanism for linking with the
|
||||||
|
Library. A suitable mechanism is one that (1) uses at run time a
|
||||||
|
copy of the library already present on the user's computer system,
|
||||||
|
rather than copying library functions into the executable, and (2)
|
||||||
|
will operate properly with a modified version of the library, if
|
||||||
|
the user installs one, as long as the modified version is
|
||||||
|
interface-compatible with the version that the work was made with.
|
||||||
|
|
||||||
|
c) Accompany the work with a written offer, valid for at
|
||||||
|
least three years, to give the same user the materials
|
||||||
|
specified in Subsection 6a, above, for a charge no more
|
||||||
|
than the cost of performing this distribution.
|
||||||
|
|
||||||
|
d) If distribution of the work is made by offering access to copy
|
||||||
|
from a designated place, offer equivalent access to copy the above
|
||||||
|
specified materials from the same place.
|
||||||
|
|
||||||
|
e) Verify that the user has already received a copy of these
|
||||||
|
materials or that you have already sent this user a copy.
|
||||||
|
|
||||||
|
For an executable, the required form of the "work that uses the
|
||||||
|
Library" must include any data and utility programs needed for
|
||||||
|
reproducing the executable from it. However, as a special exception,
|
||||||
|
the materials to be distributed need not include anything that is
|
||||||
|
normally distributed (in either source or binary form) with the major
|
||||||
|
components (compiler, kernel, and so on) of the operating system on
|
||||||
|
which the executable runs, unless that component itself accompanies
|
||||||
|
the executable.
|
||||||
|
|
||||||
|
It may happen that this requirement contradicts the license
|
||||||
|
restrictions of other proprietary libraries that do not normally
|
||||||
|
accompany the operating system. Such a contradiction means you cannot
|
||||||
|
use both them and the Library together in an executable that you
|
||||||
|
distribute.
|
||||||
|
|
||||||
|
7. You may place library facilities that are a work based on the
|
||||||
|
Library side-by-side in a single library together with other library
|
||||||
|
facilities not covered by this License, and distribute such a combined
|
||||||
|
library, provided that the separate distribution of the work based on
|
||||||
|
the Library and of the other library facilities is otherwise
|
||||||
|
permitted, and provided that you do these two things:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work
|
||||||
|
based on the Library, uncombined with any other library
|
||||||
|
facilities. This must be distributed under the terms of the
|
||||||
|
Sections above.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library of the fact
|
||||||
|
that part of it is a work based on the Library, and explaining
|
||||||
|
where to find the accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
8. You may not copy, modify, sublicense, link with, or distribute
|
||||||
|
the Library except as expressly provided under this License. Any
|
||||||
|
attempt otherwise to copy, modify, sublicense, link with, or
|
||||||
|
distribute the Library is void, and will automatically terminate your
|
||||||
|
rights under this License. However, parties who have received copies,
|
||||||
|
or rights, from you under this License will not have their licenses
|
||||||
|
terminated so long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
9. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Library or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Library (or any work based on the
|
||||||
|
Library), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Library or works based on it.
|
||||||
|
|
||||||
|
10. Each time you redistribute the Library (or any work based on the
|
||||||
|
Library), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute, link with or modify the Library
|
||||||
|
subject to these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties with
|
||||||
|
this License.
|
||||||
|
|
||||||
|
11. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Library at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Library by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Library.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any
|
||||||
|
particular circumstance, the balance of the section is intended to apply,
|
||||||
|
and the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
12. If the distribution and/or use of the Library is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Library under this License may add
|
||||||
|
an explicit geographical distribution limitation excluding those countries,
|
||||||
|
so that distribution is permitted only in or among countries not thus
|
||||||
|
excluded. In such case, this License incorporates the limitation as if
|
||||||
|
written in the body of this License.
|
||||||
|
|
||||||
|
13. The Free Software Foundation may publish revised and/or new
|
||||||
|
versions of the Lesser General Public License from time to time.
|
||||||
|
Such new versions will be similar in spirit to the present version,
|
||||||
|
but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Library
|
||||||
|
specifies a version number of this License which applies to it and
|
||||||
|
"any later version", you have the option of following the terms and
|
||||||
|
conditions either of that version or of any later version published by
|
||||||
|
the Free Software Foundation. If the Library does not specify a
|
||||||
|
license version number, you may choose any version ever published by
|
||||||
|
the Free Software Foundation.
|
||||||
|
|
||||||
|
14. If you wish to incorporate parts of the Library into other free
|
||||||
|
programs whose distribution conditions are incompatible with these,
|
||||||
|
write to the author to ask for permission. For software which is
|
||||||
|
copyrighted by the Free Software Foundation, write to the Free
|
||||||
|
Software Foundation; we sometimes make exceptions for this. Our
|
||||||
|
decision will be guided by the two goals of preserving the free status
|
||||||
|
of all derivatives of our free software and of promoting the sharing
|
||||||
|
and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||||
|
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||||
|
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||||
|
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||||
|
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||||
|
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||||
|
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||||
|
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||||
|
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||||
|
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||||
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||||
|
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||||
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||||
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
|
DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Libraries
|
||||||
|
|
||||||
|
If you develop a new library, and you want it to be of the greatest
|
||||||
|
possible use to the public, we recommend making it free software that
|
||||||
|
everyone can redistribute and change. You can do so by permitting
|
||||||
|
redistribution under these terms (or, alternatively, under the terms of the
|
||||||
|
ordinary General Public License).
|
||||||
|
|
||||||
|
To apply these terms, attach the following notices to the library. It is
|
||||||
|
safest to attach them to the start of each source file to most effectively
|
||||||
|
convey the exclusion of warranty; and each file should have at least the
|
||||||
|
"copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the library's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||||
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||||
|
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||||
|
|
||||||
|
<signature of Ty Coon>, 1 April 1990
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
That's all there is to it!
|
@ -0,0 +1,97 @@
|
|||||||
|
Metadata-Version: 2.1
|
||||||
|
Name: chardet
|
||||||
|
Version: 5.2.0
|
||||||
|
Summary: Universal encoding detector for Python 3
|
||||||
|
Home-page: https://github.com/chardet/chardet
|
||||||
|
Author: Mark Pilgrim
|
||||||
|
Author-email: mark@diveintomark.org
|
||||||
|
Maintainer: Daniel Blanchard
|
||||||
|
Maintainer-email: dan.blanchard@gmail.com
|
||||||
|
License: LGPL
|
||||||
|
Project-URL: Documentation, https://chardet.readthedocs.io/
|
||||||
|
Project-URL: GitHub Project, https://github.com/chardet/chardet
|
||||||
|
Project-URL: Issue Tracker, https://github.com/chardet/chardet/issues
|
||||||
|
Keywords: encoding,i18n,xml
|
||||||
|
Classifier: Development Status :: 5 - Production/Stable
|
||||||
|
Classifier: Intended Audience :: Developers
|
||||||
|
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
|
||||||
|
Classifier: Operating System :: OS Independent
|
||||||
|
Classifier: Programming Language :: Python
|
||||||
|
Classifier: Programming Language :: Python :: 3
|
||||||
|
Classifier: Programming Language :: Python :: 3.7
|
||||||
|
Classifier: Programming Language :: Python :: 3.8
|
||||||
|
Classifier: Programming Language :: Python :: 3.9
|
||||||
|
Classifier: Programming Language :: Python :: 3.10
|
||||||
|
Classifier: Programming Language :: Python :: 3.11
|
||||||
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||||
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||||
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
||||||
|
Classifier: Topic :: Text Processing :: Linguistic
|
||||||
|
Requires-Python: >=3.7
|
||||||
|
License-File: LICENSE
|
||||||
|
|
||||||
|
Chardet: The Universal Character Encoding Detector
|
||||||
|
--------------------------------------------------
|
||||||
|
|
||||||
|
.. image:: https://img.shields.io/travis/chardet/chardet/stable.svg
|
||||||
|
:alt: Build status
|
||||||
|
:target: https://travis-ci.org/chardet/chardet
|
||||||
|
|
||||||
|
.. image:: https://img.shields.io/coveralls/chardet/chardet/stable.svg
|
||||||
|
:target: https://coveralls.io/r/chardet/chardet
|
||||||
|
|
||||||
|
.. image:: https://img.shields.io/pypi/v/chardet.svg
|
||||||
|
:target: https://warehouse.python.org/project/chardet/
|
||||||
|
:alt: Latest version on PyPI
|
||||||
|
|
||||||
|
.. image:: https://img.shields.io/pypi/l/chardet.svg
|
||||||
|
:alt: License
|
||||||
|
|
||||||
|
|
||||||
|
Detects
|
||||||
|
- ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants)
|
||||||
|
- Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese)
|
||||||
|
- EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP (Japanese)
|
||||||
|
- EUC-KR, ISO-2022-KR, Johab (Korean)
|
||||||
|
- KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic)
|
||||||
|
- ISO-8859-5, windows-1251 (Bulgarian)
|
||||||
|
- ISO-8859-1, windows-1252, MacRoman (Western European languages)
|
||||||
|
- ISO-8859-7, windows-1253 (Greek)
|
||||||
|
- ISO-8859-8, windows-1255 (Visual and Logical Hebrew)
|
||||||
|
- TIS-620 (Thai)
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
Our ISO-8859-2 and windows-1250 (Hungarian) probers have been temporarily
|
||||||
|
disabled until we can retrain the models.
|
||||||
|
|
||||||
|
Requires Python 3.7+.
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
|
||||||
|
Install from `PyPI <https://pypi.org/project/chardet/>`_::
|
||||||
|
|
||||||
|
pip install chardet
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
-------------
|
||||||
|
|
||||||
|
For users, docs are now available at https://chardet.readthedocs.io/.
|
||||||
|
|
||||||
|
Command-line Tool
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
chardet comes with a command-line script which reports on the encodings of one
|
||||||
|
or more files::
|
||||||
|
|
||||||
|
% chardetect somefile someotherfile
|
||||||
|
somefile: windows-1252 with confidence 0.5
|
||||||
|
someotherfile: ascii with confidence 1.0
|
||||||
|
|
||||||
|
About
|
||||||
|
-----
|
||||||
|
|
||||||
|
This is a continuation of Mark Pilgrim's excellent original chardet port from C, and `Ian Cordasco <https://github.com/sigmavirus24>`_'s
|
||||||
|
`charade <https://github.com/sigmavirus24/charade>`_ Python 3-compatible fork.
|
||||||
|
|
||||||
|
:maintainer: Dan Blanchard
|
@ -0,0 +1,107 @@
|
|||||||
|
../../../bin/chardetect,sha256=eSH644meE2_S_25h2hTZtuygfiJSICiK6dML51OBZdY,294
|
||||||
|
chardet-5.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||||
|
chardet-5.2.0.dist-info/LICENSE,sha256=3GJlINzVOiL3J68-5Cx3DlbJemT-OtsGN5nYqwMv5VE,26530
|
||||||
|
chardet-5.2.0.dist-info/METADATA,sha256=PAr2NQ6hQWpjyFnwlI7MoxHt2S_6oRiUsucOKMNhzGw,3418
|
||||||
|
chardet-5.2.0.dist-info/RECORD,,
|
||||||
|
chardet-5.2.0.dist-info/WHEEL,sha256=AtBG6SXL3KF_v0NxLf0ehyVOh0cold-JbJYXNGorC6Q,92
|
||||||
|
chardet-5.2.0.dist-info/entry_points.txt,sha256=_cdvYc4jyY68GYfsQAAthNMxO-yodcGkvNC1xOEsLmI,59
|
||||||
|
chardet-5.2.0.dist-info/top_level.txt,sha256=AowzBbZy4x8EirABDdJSLJZMkJ_53iIag8xfKR6D7kI,8
|
||||||
|
chardet/__init__.py,sha256=57R-HSxj0PWmILMN0GFmUNqEMfrEVSamXyjD-W6_fbs,4797
|
||||||
|
chardet/__main__.py,sha256=puNj2o_QfBRKElEkiVp1zEIL1gGYD2o-JuXLFlqHDC4,123
|
||||||
|
chardet/__pycache__/__init__.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/__main__.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/big5freq.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/big5prober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/chardistribution.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/charsetgroupprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/charsetprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/codingstatemachine.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/codingstatemachinedict.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/cp949prober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/enums.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/escprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/escsm.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/eucjpprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/euckrfreq.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/euckrprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/euctwfreq.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/euctwprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/gb2312freq.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/gb2312prober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/hebrewprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/jisfreq.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/johabfreq.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/johabprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/jpcntx.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/langbulgarianmodel.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/langgreekmodel.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/langhebrewmodel.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/langhungarianmodel.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/langrussianmodel.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/langthaimodel.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/langturkishmodel.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/latin1prober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/macromanprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/mbcharsetprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/mbcsgroupprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/mbcssm.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/resultdict.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/sbcharsetprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/sbcsgroupprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/sjisprober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/universaldetector.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/utf1632prober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/utf8prober.cpython-39.pyc,,
|
||||||
|
chardet/__pycache__/version.cpython-39.pyc,,
|
||||||
|
chardet/big5freq.py,sha256=ltcfP-3PjlNHCoo5e4a7C4z-2DhBTXRfY6jbMbB7P30,31274
|
||||||
|
chardet/big5prober.py,sha256=lPMfwCX6v2AaPgvFh_cSWZcgLDbWiFCHLZ_p9RQ9uxE,1763
|
||||||
|
chardet/chardistribution.py,sha256=13B8XUG4oXDuLdXvfbIWwLFeR-ZU21AqTS1zcdON8bU,10032
|
||||||
|
chardet/charsetgroupprober.py,sha256=UKK3SaIZB2PCdKSIS0gnvMtLR9JJX62M-fZJu3OlWyg,3915
|
||||||
|
chardet/charsetprober.py,sha256=L3t8_wIOov8em-vZWOcbkdsrwe43N6_gqNh5pH7WPd4,5420
|
||||||
|
chardet/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||||
|
chardet/cli/__pycache__/__init__.cpython-39.pyc,,
|
||||||
|
chardet/cli/__pycache__/chardetect.cpython-39.pyc,,
|
||||||
|
chardet/cli/chardetect.py,sha256=zibMVg5RpKb-ME9_7EYG4ZM2Sf07NHcQzZ12U-rYJho,3242
|
||||||
|
chardet/codingstatemachine.py,sha256=K7k69sw3jY5DmTXoSJQVsUtFIQKYPQVOSJJhBuGv_yE,3732
|
||||||
|
chardet/codingstatemachinedict.py,sha256=0GY3Hi2qIZvDrOOJ3AtqppM1RsYxr_66ER4EHjuMiMc,542
|
||||||
|
chardet/cp949prober.py,sha256=0jKRV7fECuWI16rNnks0ZECKA1iZYCIEaP8A1ZvjUSI,1860
|
||||||
|
chardet/enums.py,sha256=TzECiZoCKNMqgwU76cPCeKWFBqaWvAdLMev5_bCkhY8,1683
|
||||||
|
chardet/escprober.py,sha256=Kho48X65xE0scFylIdeJjM2bcbvRvv0h0WUbMWrJD3A,4006
|
||||||
|
chardet/escsm.py,sha256=AqyXpA2FQFD7k-buBty_7itGEYkhmVa8X09NLRul3QM,12176
|
||||||
|
chardet/eucjpprober.py,sha256=5KYaM9fsxkRYzw1b5k0fL-j_-ezIw-ij9r97a9MHxLY,3934
|
||||||
|
chardet/euckrfreq.py,sha256=3mHuRvXfsq_QcQysDQFb8qSudvTiol71C6Ic2w57tKM,13566
|
||||||
|
chardet/euckrprober.py,sha256=hiFT6wM174GIwRvqDsIcuOc-dDsq2uPKMKbyV8-1Xnc,1753
|
||||||
|
chardet/euctwfreq.py,sha256=2alILE1Lh5eqiFJZjzRkMQXolNJRHY5oBQd-vmZYFFM,36913
|
||||||
|
chardet/euctwprober.py,sha256=NxbpNdBtU0VFI0bKfGfDkpP7S2_8_6FlO87dVH0ogws,1753
|
||||||
|
chardet/gb2312freq.py,sha256=49OrdXzD-HXqwavkqjo8Z7gvs58hONNzDhAyMENNkvY,20735
|
||||||
|
chardet/gb2312prober.py,sha256=KPEBueaSLSvBpFeINMu0D6TgHcR90e5PaQawifzF4o0,1759
|
||||||
|
chardet/hebrewprober.py,sha256=96T_Lj_OmW-fK7JrSHojYjyG3fsGgbzkoTNleZ3kfYE,14537
|
||||||
|
chardet/jisfreq.py,sha256=mm8tfrwqhpOd3wzZKS4NJqkYBQVcDfTM2JiQ5aW932E,25796
|
||||||
|
chardet/johabfreq.py,sha256=dBpOYG34GRX6SL8k_LbS9rxZPMjLjoMlgZ03Pz5Hmqc,42498
|
||||||
|
chardet/johabprober.py,sha256=O1Qw9nVzRnun7vZp4UZM7wvJSv9W941mEU9uDMnY3DU,1752
|
||||||
|
chardet/jpcntx.py,sha256=uhHrYWkLxE_rF5OkHKInm0HUsrjgKHHVQvtt3UcvotA,27055
|
||||||
|
chardet/langbulgarianmodel.py,sha256=bGoRpxBYtrbSHa6mX6PkEA26v30pWmhDjemhdxmkew8,104550
|
||||||
|
chardet/langgreekmodel.py,sha256=3wMlEzQ8oU2MbrL2xN8lkuOB0dCMLBhW6heekxusoc0,98472
|
||||||
|
chardet/langhebrewmodel.py,sha256=ZUTqusxMvR_earWPs5w-rH10xoe5sPjd9FLMu1DUIvE,98184
|
||||||
|
chardet/langhungarianmodel.py,sha256=N-YtC2EiswyS7XsUicCPRycrIzRNj47Y048odp9qOoo,101351
|
||||||
|
chardet/langrussianmodel.py,sha256=6v7RcZKGj0VH0864BHzizKNceAYbHvGts2p00ifC7w4,128023
|
||||||
|
chardet/langthaimodel.py,sha256=Mr673U9U8rkQFfUDtLP01pp-0TOsl2o6sb75YEjvpcs,102762
|
||||||
|
chardet/langturkishmodel.py,sha256=LkXCjWhGUEzqKXvfasHN0SFBigwKJ3xeWNVZ0EyI0kA,95360
|
||||||
|
chardet/latin1prober.py,sha256=p15EEmFbmQUwbKLC7lOJVGHEZwcG45ubEZYTGu01J5g,5380
|
||||||
|
chardet/macromanprober.py,sha256=9anfzmY6TBfUPDyBDOdY07kqmTHpZ1tK0jL-p1JWcOY,6077
|
||||||
|
chardet/mbcharsetprober.py,sha256=Wr04WNI4F3X_VxEverNG-H25g7u-MDDKlNt-JGj-_uU,3715
|
||||||
|
chardet/mbcsgroupprober.py,sha256=iRpaNBjV0DNwYPu_z6TiHgRpwYahiM7ztI_4kZ4Uz9A,2131
|
||||||
|
chardet/mbcssm.py,sha256=hUtPvDYgWDaA2dWdgLsshbwRfm3Q5YRlRogdmeRUNQw,30391
|
||||||
|
chardet/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||||
|
chardet/metadata/__pycache__/__init__.cpython-39.pyc,,
|
||||||
|
chardet/metadata/__pycache__/languages.cpython-39.pyc,,
|
||||||
|
chardet/metadata/languages.py,sha256=FhvBIdZFxRQ-dTwkb_0madRKgVBCaUMQz9I5xqjE5iQ,13560
|
||||||
|
chardet/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||||
|
chardet/resultdict.py,sha256=ez4FRvN5KaSosJeJ2WzUyKdDdg35HDy_SSLPXKCdt5M,402
|
||||||
|
chardet/sbcharsetprober.py,sha256=-nd3F90i7GpXLjehLVHqVBE0KlWzGvQUPETLBNn4o6U,6400
|
||||||
|
chardet/sbcsgroupprober.py,sha256=gcgI0fOfgw_3YTClpbra_MNxwyEyJ3eUXraoLHYb59E,4137
|
||||||
|
chardet/sjisprober.py,sha256=aqQufMzRw46ZpFlzmYaYeT2-nzmKb-hmcrApppJ862k,4007
|
||||||
|
chardet/universaldetector.py,sha256=xYBrg4x0dd9WnT8qclfADVD9ondrUNkqPmvte1pa520,14848
|
||||||
|
chardet/utf1632prober.py,sha256=pw1epGdMj1hDGiCu1AHqqzOEfjX8MVdiW7O1BlT8-eQ,8505
|
||||||
|
chardet/utf8prober.py,sha256=8m08Ub5490H4jQ6LYXvFysGtgKoKsHUd2zH_i8_TnVw,2812
|
||||||
|
chardet/version.py,sha256=jp8ePp1zC63YxruGcHSuKxtf3-fF1LYAMUZD2eDWYok,244
|
@ -0,0 +1,5 @@
|
|||||||
|
Wheel-Version: 1.0
|
||||||
|
Generator: bdist_wheel (0.41.0)
|
||||||
|
Root-Is-Purelib: true
|
||||||
|
Tag: py3-none-any
|
||||||
|
|
@ -0,0 +1,2 @@
|
|||||||
|
[console_scripts]
|
||||||
|
chardetect = chardet.cli.chardetect:main
|
@ -0,0 +1 @@
|
|||||||
|
chardet
|
115
pm_tools_venv/lib/python3.9/site-packages/chardet/__init__.py
Normal file
115
pm_tools_venv/lib/python3.9/site-packages/chardet/__init__.py
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
######################## BEGIN LICENSE BLOCK ########################
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this library; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
# 02110-1301 USA
|
||||||
|
######################### END LICENSE BLOCK #########################
|
||||||
|
|
||||||
|
from typing import List, Union
|
||||||
|
|
||||||
|
from .charsetgroupprober import CharSetGroupProber
|
||||||
|
from .charsetprober import CharSetProber
|
||||||
|
from .enums import InputState
|
||||||
|
from .resultdict import ResultDict
|
||||||
|
from .universaldetector import UniversalDetector
|
||||||
|
from .version import VERSION, __version__
|
||||||
|
|
||||||
|
__all__ = ["UniversalDetector", "detect", "detect_all", "__version__", "VERSION"]
|
||||||
|
|
||||||
|
|
||||||
|
def detect(
|
||||||
|
byte_str: Union[bytes, bytearray], should_rename_legacy: bool = False
|
||||||
|
) -> ResultDict:
|
||||||
|
"""
|
||||||
|
Detect the encoding of the given byte string.
|
||||||
|
|
||||||
|
:param byte_str: The byte sequence to examine.
|
||||||
|
:type byte_str: ``bytes`` or ``bytearray``
|
||||||
|
:param should_rename_legacy: Should we rename legacy encodings
|
||||||
|
to their more modern equivalents?
|
||||||
|
:type should_rename_legacy: ``bool``
|
||||||
|
"""
|
||||||
|
if not isinstance(byte_str, bytearray):
|
||||||
|
if not isinstance(byte_str, bytes):
|
||||||
|
raise TypeError(
|
||||||
|
f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
|
||||||
|
)
|
||||||
|
byte_str = bytearray(byte_str)
|
||||||
|
detector = UniversalDetector(should_rename_legacy=should_rename_legacy)
|
||||||
|
detector.feed(byte_str)
|
||||||
|
return detector.close()
|
||||||
|
|
||||||
|
|
||||||
|
def detect_all(
|
||||||
|
byte_str: Union[bytes, bytearray],
|
||||||
|
ignore_threshold: bool = False,
|
||||||
|
should_rename_legacy: bool = False,
|
||||||
|
) -> List[ResultDict]:
|
||||||
|
"""
|
||||||
|
Detect all the possible encodings of the given byte string.
|
||||||
|
|
||||||
|
:param byte_str: The byte sequence to examine.
|
||||||
|
:type byte_str: ``bytes`` or ``bytearray``
|
||||||
|
:param ignore_threshold: Include encodings that are below
|
||||||
|
``UniversalDetector.MINIMUM_THRESHOLD``
|
||||||
|
in results.
|
||||||
|
:type ignore_threshold: ``bool``
|
||||||
|
:param should_rename_legacy: Should we rename legacy encodings
|
||||||
|
to their more modern equivalents?
|
||||||
|
:type should_rename_legacy: ``bool``
|
||||||
|
"""
|
||||||
|
if not isinstance(byte_str, bytearray):
|
||||||
|
if not isinstance(byte_str, bytes):
|
||||||
|
raise TypeError(
|
||||||
|
f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
|
||||||
|
)
|
||||||
|
byte_str = bytearray(byte_str)
|
||||||
|
|
||||||
|
detector = UniversalDetector(should_rename_legacy=should_rename_legacy)
|
||||||
|
detector.feed(byte_str)
|
||||||
|
detector.close()
|
||||||
|
|
||||||
|
if detector.input_state == InputState.HIGH_BYTE:
|
||||||
|
results: List[ResultDict] = []
|
||||||
|
probers: List[CharSetProber] = []
|
||||||
|
for prober in detector.charset_probers:
|
||||||
|
if isinstance(prober, CharSetGroupProber):
|
||||||
|
probers.extend(p for p in prober.probers)
|
||||||
|
else:
|
||||||
|
probers.append(prober)
|
||||||
|
for prober in probers:
|
||||||
|
if ignore_threshold or prober.get_confidence() > detector.MINIMUM_THRESHOLD:
|
||||||
|
charset_name = prober.charset_name or ""
|
||||||
|
lower_charset_name = charset_name.lower()
|
||||||
|
# Use Windows encoding name instead of ISO-8859 if we saw any
|
||||||
|
# extra Windows-specific bytes
|
||||||
|
if lower_charset_name.startswith("iso-8859") and detector.has_win_bytes:
|
||||||
|
charset_name = detector.ISO_WIN_MAP.get(
|
||||||
|
lower_charset_name, charset_name
|
||||||
|
)
|
||||||
|
# Rename legacy encodings with superset encodings if asked
|
||||||
|
if should_rename_legacy:
|
||||||
|
charset_name = detector.LEGACY_MAP.get(
|
||||||
|
charset_name.lower(), charset_name
|
||||||
|
)
|
||||||
|
results.append(
|
||||||
|
{
|
||||||
|
"encoding": charset_name,
|
||||||
|
"confidence": prober.get_confidence(),
|
||||||
|
"language": prober.language,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
if len(results) > 0:
|
||||||
|
return sorted(results, key=lambda result: -result["confidence"])
|
||||||
|
|
||||||
|
return [detector.result]
|
@ -0,0 +1,6 @@
|
|||||||
|
"""Wrapper so people can run python -m chardet"""
|
||||||
|
|
||||||
|
from .cli.chardetect import main
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
386
pm_tools_venv/lib/python3.9/site-packages/chardet/big5freq.py
Normal file
386
pm_tools_venv/lib/python3.9/site-packages/chardet/big5freq.py
Normal file
@ -0,0 +1,386 @@
|
|||||||
|
######################## BEGIN LICENSE BLOCK ########################
|
||||||
|
# The Original Code is Mozilla Communicator client code.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Netscape Communications Corporation.
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
||||||
|
# the Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Contributor(s):
|
||||||
|
# Mark Pilgrim - port to Python
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this library; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
# 02110-1301 USA
|
||||||
|
######################### END LICENSE BLOCK #########################
|
||||||
|
|
||||||
|
# Big5 frequency table
|
||||||
|
# by Taiwan's Mandarin Promotion Council
|
||||||
|
# <http://www.edu.tw:81/mandr/>
|
||||||
|
#
|
||||||
|
# 128 --> 0.42261
|
||||||
|
# 256 --> 0.57851
|
||||||
|
# 512 --> 0.74851
|
||||||
|
# 1024 --> 0.89384
|
||||||
|
# 2048 --> 0.97583
|
||||||
|
#
|
||||||
|
# Ideal Distribution Ratio = 0.74851/(1-0.74851) =2.98
|
||||||
|
# Random Distribution Ration = 512/(5401-512)=0.105
|
||||||
|
#
|
||||||
|
# Typical Distribution Ratio about 25% of Ideal one, still much higher than RDR
|
||||||
|
|
||||||
|
BIG5_TYPICAL_DISTRIBUTION_RATIO = 0.75
|
||||||
|
|
||||||
|
# Char to FreqOrder table
|
||||||
|
BIG5_TABLE_SIZE = 5376
|
||||||
|
# fmt: off
|
||||||
|
BIG5_CHAR_TO_FREQ_ORDER = (
|
||||||
|
1,1801,1506, 255,1431, 198, 9, 82, 6,5008, 177, 202,3681,1256,2821, 110, # 16
|
||||||
|
3814, 33,3274, 261, 76, 44,2114, 16,2946,2187,1176, 659,3971, 26,3451,2653, # 32
|
||||||
|
1198,3972,3350,4202, 410,2215, 302, 590, 361,1964, 8, 204, 58,4510,5009,1932, # 48
|
||||||
|
63,5010,5011, 317,1614, 75, 222, 159,4203,2417,1480,5012,3555,3091, 224,2822, # 64
|
||||||
|
3682, 3, 10,3973,1471, 29,2787,1135,2866,1940, 873, 130,3275,1123, 312,5013, # 80
|
||||||
|
4511,2052, 507, 252, 682,5014, 142,1915, 124, 206,2947, 34,3556,3204, 64, 604, # 96
|
||||||
|
5015,2501,1977,1978, 155,1991, 645, 641,1606,5016,3452, 337, 72, 406,5017, 80, # 112
|
||||||
|
630, 238,3205,1509, 263, 939,1092,2654, 756,1440,1094,3453, 449, 69,2987, 591, # 128
|
||||||
|
179,2096, 471, 115,2035,1844, 60, 50,2988, 134, 806,1869, 734,2036,3454, 180, # 144
|
||||||
|
995,1607, 156, 537,2907, 688,5018, 319,1305, 779,2145, 514,2379, 298,4512, 359, # 160
|
||||||
|
2502, 90,2716,1338, 663, 11, 906,1099,2553, 20,2441, 182, 532,1716,5019, 732, # 176
|
||||||
|
1376,4204,1311,1420,3206, 25,2317,1056, 113, 399, 382,1950, 242,3455,2474, 529, # 192
|
||||||
|
3276, 475,1447,3683,5020, 117, 21, 656, 810,1297,2300,2334,3557,5021, 126,4205, # 208
|
||||||
|
706, 456, 150, 613,4513, 71,1118,2037,4206, 145,3092, 85, 835, 486,2115,1246, # 224
|
||||||
|
1426, 428, 727,1285,1015, 800, 106, 623, 303,1281,5022,2128,2359, 347,3815, 221, # 240
|
||||||
|
3558,3135,5023,1956,1153,4207, 83, 296,1199,3093, 192, 624, 93,5024, 822,1898, # 256
|
||||||
|
2823,3136, 795,2065, 991,1554,1542,1592, 27, 43,2867, 859, 139,1456, 860,4514, # 272
|
||||||
|
437, 712,3974, 164,2397,3137, 695, 211,3037,2097, 195,3975,1608,3559,3560,3684, # 288
|
||||||
|
3976, 234, 811,2989,2098,3977,2233,1441,3561,1615,2380, 668,2077,1638, 305, 228, # 304
|
||||||
|
1664,4515, 467, 415,5025, 262,2099,1593, 239, 108, 300, 200,1033, 512,1247,2078, # 320
|
||||||
|
5026,5027,2176,3207,3685,2682, 593, 845,1062,3277, 88,1723,2038,3978,1951, 212, # 336
|
||||||
|
266, 152, 149, 468,1899,4208,4516, 77, 187,5028,3038, 37, 5,2990,5029,3979, # 352
|
||||||
|
5030,5031, 39,2524,4517,2908,3208,2079, 55, 148, 74,4518, 545, 483,1474,1029, # 368
|
||||||
|
1665, 217,1870,1531,3138,1104,2655,4209, 24, 172,3562, 900,3980,3563,3564,4519, # 384
|
||||||
|
32,1408,2824,1312, 329, 487,2360,2251,2717, 784,2683, 4,3039,3351,1427,1789, # 400
|
||||||
|
188, 109, 499,5032,3686,1717,1790, 888,1217,3040,4520,5033,3565,5034,3352,1520, # 416
|
||||||
|
3687,3981, 196,1034, 775,5035,5036, 929,1816, 249, 439, 38,5037,1063,5038, 794, # 432
|
||||||
|
3982,1435,2301, 46, 178,3278,2066,5039,2381,5040, 214,1709,4521, 804, 35, 707, # 448
|
||||||
|
324,3688,1601,2554, 140, 459,4210,5041,5042,1365, 839, 272, 978,2262,2580,3456, # 464
|
||||||
|
2129,1363,3689,1423, 697, 100,3094, 48, 70,1231, 495,3139,2196,5043,1294,5044, # 480
|
||||||
|
2080, 462, 586,1042,3279, 853, 256, 988, 185,2382,3457,1698, 434,1084,5045,3458, # 496
|
||||||
|
314,2625,2788,4522,2335,2336, 569,2285, 637,1817,2525, 757,1162,1879,1616,3459, # 512
|
||||||
|
287,1577,2116, 768,4523,1671,2868,3566,2526,1321,3816, 909,2418,5046,4211, 933, # 528
|
||||||
|
3817,4212,2053,2361,1222,4524, 765,2419,1322, 786,4525,5047,1920,1462,1677,2909, # 544
|
||||||
|
1699,5048,4526,1424,2442,3140,3690,2600,3353,1775,1941,3460,3983,4213, 309,1369, # 560
|
||||||
|
1130,2825, 364,2234,1653,1299,3984,3567,3985,3986,2656, 525,1085,3041, 902,2001, # 576
|
||||||
|
1475, 964,4527, 421,1845,1415,1057,2286, 940,1364,3141, 376,4528,4529,1381, 7, # 592
|
||||||
|
2527, 983,2383, 336,1710,2684,1846, 321,3461, 559,1131,3042,2752,1809,1132,1313, # 608
|
||||||
|
265,1481,1858,5049, 352,1203,2826,3280, 167,1089, 420,2827, 776, 792,1724,3568, # 624
|
||||||
|
4214,2443,3281,5050,4215,5051, 446, 229, 333,2753, 901,3818,1200,1557,4530,2657, # 640
|
||||||
|
1921, 395,2754,2685,3819,4216,1836, 125, 916,3209,2626,4531,5052,5053,3820,5054, # 656
|
||||||
|
5055,5056,4532,3142,3691,1133,2555,1757,3462,1510,2318,1409,3569,5057,2146, 438, # 672
|
||||||
|
2601,2910,2384,3354,1068, 958,3043, 461, 311,2869,2686,4217,1916,3210,4218,1979, # 688
|
||||||
|
383, 750,2755,2627,4219, 274, 539, 385,1278,1442,5058,1154,1965, 384, 561, 210, # 704
|
||||||
|
98,1295,2556,3570,5059,1711,2420,1482,3463,3987,2911,1257, 129,5060,3821, 642, # 720
|
||||||
|
523,2789,2790,2658,5061, 141,2235,1333, 68, 176, 441, 876, 907,4220, 603,2602, # 736
|
||||||
|
710, 171,3464, 404, 549, 18,3143,2398,1410,3692,1666,5062,3571,4533,2912,4534, # 752
|
||||||
|
5063,2991, 368,5064, 146, 366, 99, 871,3693,1543, 748, 807,1586,1185, 22,2263, # 768
|
||||||
|
379,3822,3211,5065,3212, 505,1942,2628,1992,1382,2319,5066, 380,2362, 218, 702, # 784
|
||||||
|
1818,1248,3465,3044,3572,3355,3282,5067,2992,3694, 930,3283,3823,5068, 59,5069, # 800
|
||||||
|
585, 601,4221, 497,3466,1112,1314,4535,1802,5070,1223,1472,2177,5071, 749,1837, # 816
|
||||||
|
690,1900,3824,1773,3988,1476, 429,1043,1791,2236,2117, 917,4222, 447,1086,1629, # 832
|
||||||
|
5072, 556,5073,5074,2021,1654, 844,1090, 105, 550, 966,1758,2828,1008,1783, 686, # 848
|
||||||
|
1095,5075,2287, 793,1602,5076,3573,2603,4536,4223,2948,2302,4537,3825, 980,2503, # 864
|
||||||
|
544, 353, 527,4538, 908,2687,2913,5077, 381,2629,1943,1348,5078,1341,1252, 560, # 880
|
||||||
|
3095,5079,3467,2870,5080,2054, 973, 886,2081, 143,4539,5081,5082, 157,3989, 496, # 896
|
||||||
|
4224, 57, 840, 540,2039,4540,4541,3468,2118,1445, 970,2264,1748,1966,2082,4225, # 912
|
||||||
|
3144,1234,1776,3284,2829,3695, 773,1206,2130,1066,2040,1326,3990,1738,1725,4226, # 928
|
||||||
|
279,3145, 51,1544,2604, 423,1578,2131,2067, 173,4542,1880,5083,5084,1583, 264, # 944
|
||||||
|
610,3696,4543,2444, 280, 154,5085,5086,5087,1739, 338,1282,3096, 693,2871,1411, # 960
|
||||||
|
1074,3826,2445,5088,4544,5089,5090,1240, 952,2399,5091,2914,1538,2688, 685,1483, # 976
|
||||||
|
4227,2475,1436, 953,4228,2055,4545, 671,2400, 79,4229,2446,3285, 608, 567,2689, # 992
|
||||||
|
3469,4230,4231,1691, 393,1261,1792,2401,5092,4546,5093,5094,5095,5096,1383,1672, # 1008
|
||||||
|
3827,3213,1464, 522,1119, 661,1150, 216, 675,4547,3991,1432,3574, 609,4548,2690, # 1024
|
||||||
|
2402,5097,5098,5099,4232,3045, 0,5100,2476, 315, 231,2447, 301,3356,4549,2385, # 1040
|
||||||
|
5101, 233,4233,3697,1819,4550,4551,5102, 96,1777,1315,2083,5103, 257,5104,1810, # 1056
|
||||||
|
3698,2718,1139,1820,4234,2022,1124,2164,2791,1778,2659,5105,3097, 363,1655,3214, # 1072
|
||||||
|
5106,2993,5107,5108,5109,3992,1567,3993, 718, 103,3215, 849,1443, 341,3357,2949, # 1088
|
||||||
|
1484,5110,1712, 127, 67, 339,4235,2403, 679,1412, 821,5111,5112, 834, 738, 351, # 1104
|
||||||
|
2994,2147, 846, 235,1497,1881, 418,1993,3828,2719, 186,1100,2148,2756,3575,1545, # 1120
|
||||||
|
1355,2950,2872,1377, 583,3994,4236,2581,2995,5113,1298,3699,1078,2557,3700,2363, # 1136
|
||||||
|
78,3829,3830, 267,1289,2100,2002,1594,4237, 348, 369,1274,2197,2178,1838,4552, # 1152
|
||||||
|
1821,2830,3701,2757,2288,2003,4553,2951,2758, 144,3358, 882,4554,3995,2759,3470, # 1168
|
||||||
|
4555,2915,5114,4238,1726, 320,5115,3996,3046, 788,2996,5116,2831,1774,1327,2873, # 1184
|
||||||
|
3997,2832,5117,1306,4556,2004,1700,3831,3576,2364,2660, 787,2023, 506, 824,3702, # 1200
|
||||||
|
534, 323,4557,1044,3359,2024,1901, 946,3471,5118,1779,1500,1678,5119,1882,4558, # 1216
|
||||||
|
165, 243,4559,3703,2528, 123, 683,4239, 764,4560, 36,3998,1793, 589,2916, 816, # 1232
|
||||||
|
626,1667,3047,2237,1639,1555,1622,3832,3999,5120,4000,2874,1370,1228,1933, 891, # 1248
|
||||||
|
2084,2917, 304,4240,5121, 292,2997,2720,3577, 691,2101,4241,1115,4561, 118, 662, # 1264
|
||||||
|
5122, 611,1156, 854,2386,1316,2875, 2, 386, 515,2918,5123,5124,3286, 868,2238, # 1280
|
||||||
|
1486, 855,2661, 785,2216,3048,5125,1040,3216,3578,5126,3146, 448,5127,1525,5128, # 1296
|
||||||
|
2165,4562,5129,3833,5130,4242,2833,3579,3147, 503, 818,4001,3148,1568, 814, 676, # 1312
|
||||||
|
1444, 306,1749,5131,3834,1416,1030, 197,1428, 805,2834,1501,4563,5132,5133,5134, # 1328
|
||||||
|
1994,5135,4564,5136,5137,2198, 13,2792,3704,2998,3149,1229,1917,5138,3835,2132, # 1344
|
||||||
|
5139,4243,4565,2404,3580,5140,2217,1511,1727,1120,5141,5142, 646,3836,2448, 307, # 1360
|
||||||
|
5143,5144,1595,3217,5145,5146,5147,3705,1113,1356,4002,1465,2529,2530,5148, 519, # 1376
|
||||||
|
5149, 128,2133, 92,2289,1980,5150,4003,1512, 342,3150,2199,5151,2793,2218,1981, # 1392
|
||||||
|
3360,4244, 290,1656,1317, 789, 827,2365,5152,3837,4566, 562, 581,4004,5153, 401, # 1408
|
||||||
|
4567,2252, 94,4568,5154,1399,2794,5155,1463,2025,4569,3218,1944,5156, 828,1105, # 1424
|
||||||
|
4245,1262,1394,5157,4246, 605,4570,5158,1784,2876,5159,2835, 819,2102, 578,2200, # 1440
|
||||||
|
2952,5160,1502, 436,3287,4247,3288,2836,4005,2919,3472,3473,5161,2721,2320,5162, # 1456
|
||||||
|
5163,2337,2068, 23,4571, 193, 826,3838,2103, 699,1630,4248,3098, 390,1794,1064, # 1472
|
||||||
|
3581,5164,1579,3099,3100,1400,5165,4249,1839,1640,2877,5166,4572,4573, 137,4250, # 1488
|
||||||
|
598,3101,1967, 780, 104, 974,2953,5167, 278, 899, 253, 402, 572, 504, 493,1339, # 1504
|
||||||
|
5168,4006,1275,4574,2582,2558,5169,3706,3049,3102,2253, 565,1334,2722, 863, 41, # 1520
|
||||||
|
5170,5171,4575,5172,1657,2338, 19, 463,2760,4251, 606,5173,2999,3289,1087,2085, # 1536
|
||||||
|
1323,2662,3000,5174,1631,1623,1750,4252,2691,5175,2878, 791,2723,2663,2339, 232, # 1552
|
||||||
|
2421,5176,3001,1498,5177,2664,2630, 755,1366,3707,3290,3151,2026,1609, 119,1918, # 1568
|
||||||
|
3474, 862,1026,4253,5178,4007,3839,4576,4008,4577,2265,1952,2477,5179,1125, 817, # 1584
|
||||||
|
4254,4255,4009,1513,1766,2041,1487,4256,3050,3291,2837,3840,3152,5180,5181,1507, # 1600
|
||||||
|
5182,2692, 733, 40,1632,1106,2879, 345,4257, 841,2531, 230,4578,3002,1847,3292, # 1616
|
||||||
|
3475,5183,1263, 986,3476,5184, 735, 879, 254,1137, 857, 622,1300,1180,1388,1562, # 1632
|
||||||
|
4010,4011,2954, 967,2761,2665,1349, 592,2134,1692,3361,3003,1995,4258,1679,4012, # 1648
|
||||||
|
1902,2188,5185, 739,3708,2724,1296,1290,5186,4259,2201,2202,1922,1563,2605,2559, # 1664
|
||||||
|
1871,2762,3004,5187, 435,5188, 343,1108, 596, 17,1751,4579,2239,3477,3709,5189, # 1680
|
||||||
|
4580, 294,3582,2955,1693, 477, 979, 281,2042,3583, 643,2043,3710,2631,2795,2266, # 1696
|
||||||
|
1031,2340,2135,2303,3584,4581, 367,1249,2560,5190,3585,5191,4582,1283,3362,2005, # 1712
|
||||||
|
240,1762,3363,4583,4584, 836,1069,3153, 474,5192,2149,2532, 268,3586,5193,3219, # 1728
|
||||||
|
1521,1284,5194,1658,1546,4260,5195,3587,3588,5196,4261,3364,2693,1685,4262, 961, # 1744
|
||||||
|
1673,2632, 190,2006,2203,3841,4585,4586,5197, 570,2504,3711,1490,5198,4587,2633, # 1760
|
||||||
|
3293,1957,4588, 584,1514, 396,1045,1945,5199,4589,1968,2449,5200,5201,4590,4013, # 1776
|
||||||
|
619,5202,3154,3294, 215,2007,2796,2561,3220,4591,3221,4592, 763,4263,3842,4593, # 1792
|
||||||
|
5203,5204,1958,1767,2956,3365,3712,1174, 452,1477,4594,3366,3155,5205,2838,1253, # 1808
|
||||||
|
2387,2189,1091,2290,4264, 492,5206, 638,1169,1825,2136,1752,4014, 648, 926,1021, # 1824
|
||||||
|
1324,4595, 520,4596, 997, 847,1007, 892,4597,3843,2267,1872,3713,2405,1785,4598, # 1840
|
||||||
|
1953,2957,3103,3222,1728,4265,2044,3714,4599,2008,1701,3156,1551, 30,2268,4266, # 1856
|
||||||
|
5207,2027,4600,3589,5208, 501,5209,4267, 594,3478,2166,1822,3590,3479,3591,3223, # 1872
|
||||||
|
829,2839,4268,5210,1680,3157,1225,4269,5211,3295,4601,4270,3158,2341,5212,4602, # 1888
|
||||||
|
4271,5213,4015,4016,5214,1848,2388,2606,3367,5215,4603, 374,4017, 652,4272,4273, # 1904
|
||||||
|
375,1140, 798,5216,5217,5218,2366,4604,2269, 546,1659, 138,3051,2450,4605,5219, # 1920
|
||||||
|
2254, 612,1849, 910, 796,3844,1740,1371, 825,3845,3846,5220,2920,2562,5221, 692, # 1936
|
||||||
|
444,3052,2634, 801,4606,4274,5222,1491, 244,1053,3053,4275,4276, 340,5223,4018, # 1952
|
||||||
|
1041,3005, 293,1168, 87,1357,5224,1539, 959,5225,2240, 721, 694,4277,3847, 219, # 1968
|
||||||
|
1478, 644,1417,3368,2666,1413,1401,1335,1389,4019,5226,5227,3006,2367,3159,1826, # 1984
|
||||||
|
730,1515, 184,2840, 66,4607,5228,1660,2958, 246,3369, 378,1457, 226,3480, 975, # 2000
|
||||||
|
4020,2959,1264,3592, 674, 696,5229, 163,5230,1141,2422,2167, 713,3593,3370,4608, # 2016
|
||||||
|
4021,5231,5232,1186, 15,5233,1079,1070,5234,1522,3224,3594, 276,1050,2725, 758, # 2032
|
||||||
|
1126, 653,2960,3296,5235,2342, 889,3595,4022,3104,3007, 903,1250,4609,4023,3481, # 2048
|
||||||
|
3596,1342,1681,1718, 766,3297, 286, 89,2961,3715,5236,1713,5237,2607,3371,3008, # 2064
|
||||||
|
5238,2962,2219,3225,2880,5239,4610,2505,2533, 181, 387,1075,4024, 731,2190,3372, # 2080
|
||||||
|
5240,3298, 310, 313,3482,2304, 770,4278, 54,3054, 189,4611,3105,3848,4025,5241, # 2096
|
||||||
|
1230,1617,1850, 355,3597,4279,4612,3373, 111,4280,3716,1350,3160,3483,3055,4281, # 2112
|
||||||
|
2150,3299,3598,5242,2797,4026,4027,3009, 722,2009,5243,1071, 247,1207,2343,2478, # 2128
|
||||||
|
1378,4613,2010, 864,1437,1214,4614, 373,3849,1142,2220, 667,4615, 442,2763,2563, # 2144
|
||||||
|
3850,4028,1969,4282,3300,1840, 837, 170,1107, 934,1336,1883,5244,5245,2119,4283, # 2160
|
||||||
|
2841, 743,1569,5246,4616,4284, 582,2389,1418,3484,5247,1803,5248, 357,1395,1729, # 2176
|
||||||
|
3717,3301,2423,1564,2241,5249,3106,3851,1633,4617,1114,2086,4285,1532,5250, 482, # 2192
|
||||||
|
2451,4618,5251,5252,1492, 833,1466,5253,2726,3599,1641,2842,5254,1526,1272,3718, # 2208
|
||||||
|
4286,1686,1795, 416,2564,1903,1954,1804,5255,3852,2798,3853,1159,2321,5256,2881, # 2224
|
||||||
|
4619,1610,1584,3056,2424,2764, 443,3302,1163,3161,5257,5258,4029,5259,4287,2506, # 2240
|
||||||
|
3057,4620,4030,3162,2104,1647,3600,2011,1873,4288,5260,4289, 431,3485,5261, 250, # 2256
|
||||||
|
97, 81,4290,5262,1648,1851,1558, 160, 848,5263, 866, 740,1694,5264,2204,2843, # 2272
|
||||||
|
3226,4291,4621,3719,1687, 950,2479, 426, 469,3227,3720,3721,4031,5265,5266,1188, # 2288
|
||||||
|
424,1996, 861,3601,4292,3854,2205,2694, 168,1235,3602,4293,5267,2087,1674,4622, # 2304
|
||||||
|
3374,3303, 220,2565,1009,5268,3855, 670,3010, 332,1208, 717,5269,5270,3603,2452, # 2320
|
||||||
|
4032,3375,5271, 513,5272,1209,2882,3376,3163,4623,1080,5273,5274,5275,5276,2534, # 2336
|
||||||
|
3722,3604, 815,1587,4033,4034,5277,3605,3486,3856,1254,4624,1328,3058,1390,4035, # 2352
|
||||||
|
1741,4036,3857,4037,5278, 236,3858,2453,3304,5279,5280,3723,3859,1273,3860,4625, # 2368
|
||||||
|
5281, 308,5282,4626, 245,4627,1852,2480,1307,2583, 430, 715,2137,2454,5283, 270, # 2384
|
||||||
|
199,2883,4038,5284,3606,2727,1753, 761,1754, 725,1661,1841,4628,3487,3724,5285, # 2400
|
||||||
|
5286, 587, 14,3305, 227,2608, 326, 480,2270, 943,2765,3607, 291, 650,1884,5287, # 2416
|
||||||
|
1702,1226, 102,1547, 62,3488, 904,4629,3489,1164,4294,5288,5289,1224,1548,2766, # 2432
|
||||||
|
391, 498,1493,5290,1386,1419,5291,2056,1177,4630, 813, 880,1081,2368, 566,1145, # 2448
|
||||||
|
4631,2291,1001,1035,2566,2609,2242, 394,1286,5292,5293,2069,5294, 86,1494,1730, # 2464
|
||||||
|
4039, 491,1588, 745, 897,2963, 843,3377,4040,2767,2884,3306,1768, 998,2221,2070, # 2480
|
||||||
|
397,1827,1195,1970,3725,3011,3378, 284,5295,3861,2507,2138,2120,1904,5296,4041, # 2496
|
||||||
|
2151,4042,4295,1036,3490,1905, 114,2567,4296, 209,1527,5297,5298,2964,2844,2635, # 2512
|
||||||
|
2390,2728,3164, 812,2568,5299,3307,5300,1559, 737,1885,3726,1210, 885, 28,2695, # 2528
|
||||||
|
3608,3862,5301,4297,1004,1780,4632,5302, 346,1982,2222,2696,4633,3863,1742, 797, # 2544
|
||||||
|
1642,4043,1934,1072,1384,2152, 896,4044,3308,3727,3228,2885,3609,5303,2569,1959, # 2560
|
||||||
|
4634,2455,1786,5304,5305,5306,4045,4298,1005,1308,3728,4299,2729,4635,4636,1528, # 2576
|
||||||
|
2610, 161,1178,4300,1983, 987,4637,1101,4301, 631,4046,1157,3229,2425,1343,1241, # 2592
|
||||||
|
1016,2243,2570, 372, 877,2344,2508,1160, 555,1935, 911,4047,5307, 466,1170, 169, # 2608
|
||||||
|
1051,2921,2697,3729,2481,3012,1182,2012,2571,1251,2636,5308, 992,2345,3491,1540, # 2624
|
||||||
|
2730,1201,2071,2406,1997,2482,5309,4638, 528,1923,2191,1503,1874,1570,2369,3379, # 2640
|
||||||
|
3309,5310, 557,1073,5311,1828,3492,2088,2271,3165,3059,3107, 767,3108,2799,4639, # 2656
|
||||||
|
1006,4302,4640,2346,1267,2179,3730,3230, 778,4048,3231,2731,1597,2667,5312,4641, # 2672
|
||||||
|
5313,3493,5314,5315,5316,3310,2698,1433,3311, 131, 95,1504,4049, 723,4303,3166, # 2688
|
||||||
|
1842,3610,2768,2192,4050,2028,2105,3731,5317,3013,4051,1218,5318,3380,3232,4052, # 2704
|
||||||
|
4304,2584, 248,1634,3864, 912,5319,2845,3732,3060,3865, 654, 53,5320,3014,5321, # 2720
|
||||||
|
1688,4642, 777,3494,1032,4053,1425,5322, 191, 820,2121,2846, 971,4643, 931,3233, # 2736
|
||||||
|
135, 664, 783,3866,1998, 772,2922,1936,4054,3867,4644,2923,3234, 282,2732, 640, # 2752
|
||||||
|
1372,3495,1127, 922, 325,3381,5323,5324, 711,2045,5325,5326,4055,2223,2800,1937, # 2768
|
||||||
|
4056,3382,2224,2255,3868,2305,5327,4645,3869,1258,3312,4057,3235,2139,2965,4058, # 2784
|
||||||
|
4059,5328,2225, 258,3236,4646, 101,1227,5329,3313,1755,5330,1391,3314,5331,2924, # 2800
|
||||||
|
2057, 893,5332,5333,5334,1402,4305,2347,5335,5336,3237,3611,5337,5338, 878,1325, # 2816
|
||||||
|
1781,2801,4647, 259,1385,2585, 744,1183,2272,4648,5339,4060,2509,5340, 684,1024, # 2832
|
||||||
|
4306,5341, 472,3612,3496,1165,3315,4061,4062, 322,2153, 881, 455,1695,1152,1340, # 2848
|
||||||
|
660, 554,2154,4649,1058,4650,4307, 830,1065,3383,4063,4651,1924,5342,1703,1919, # 2864
|
||||||
|
5343, 932,2273, 122,5344,4652, 947, 677,5345,3870,2637, 297,1906,1925,2274,4653, # 2880
|
||||||
|
2322,3316,5346,5347,4308,5348,4309, 84,4310, 112, 989,5349, 547,1059,4064, 701, # 2896
|
||||||
|
3613,1019,5350,4311,5351,3497, 942, 639, 457,2306,2456, 993,2966, 407, 851, 494, # 2912
|
||||||
|
4654,3384, 927,5352,1237,5353,2426,3385, 573,4312, 680, 921,2925,1279,1875, 285, # 2928
|
||||||
|
790,1448,1984, 719,2168,5354,5355,4655,4065,4066,1649,5356,1541, 563,5357,1077, # 2944
|
||||||
|
5358,3386,3061,3498, 511,3015,4067,4068,3733,4069,1268,2572,3387,3238,4656,4657, # 2960
|
||||||
|
5359, 535,1048,1276,1189,2926,2029,3167,1438,1373,2847,2967,1134,2013,5360,4313, # 2976
|
||||||
|
1238,2586,3109,1259,5361, 700,5362,2968,3168,3734,4314,5363,4315,1146,1876,1907, # 2992
|
||||||
|
4658,2611,4070, 781,2427, 132,1589, 203, 147, 273,2802,2407, 898,1787,2155,4071, # 3008
|
||||||
|
4072,5364,3871,2803,5365,5366,4659,4660,5367,3239,5368,1635,3872, 965,5369,1805, # 3024
|
||||||
|
2699,1516,3614,1121,1082,1329,3317,4073,1449,3873, 65,1128,2848,2927,2769,1590, # 3040
|
||||||
|
3874,5370,5371, 12,2668, 45, 976,2587,3169,4661, 517,2535,1013,1037,3240,5372, # 3056
|
||||||
|
3875,2849,5373,3876,5374,3499,5375,2612, 614,1999,2323,3877,3110,2733,2638,5376, # 3072
|
||||||
|
2588,4316, 599,1269,5377,1811,3735,5378,2700,3111, 759,1060, 489,1806,3388,3318, # 3088
|
||||||
|
1358,5379,5380,2391,1387,1215,2639,2256, 490,5381,5382,4317,1759,2392,2348,5383, # 3104
|
||||||
|
4662,3878,1908,4074,2640,1807,3241,4663,3500,3319,2770,2349, 874,5384,5385,3501, # 3120
|
||||||
|
3736,1859, 91,2928,3737,3062,3879,4664,5386,3170,4075,2669,5387,3502,1202,1403, # 3136
|
||||||
|
3880,2969,2536,1517,2510,4665,3503,2511,5388,4666,5389,2701,1886,1495,1731,4076, # 3152
|
||||||
|
2370,4667,5390,2030,5391,5392,4077,2702,1216, 237,2589,4318,2324,4078,3881,4668, # 3168
|
||||||
|
4669,2703,3615,3504, 445,4670,5393,5394,5395,5396,2771, 61,4079,3738,1823,4080, # 3184
|
||||||
|
5397, 687,2046, 935, 925, 405,2670, 703,1096,1860,2734,4671,4081,1877,1367,2704, # 3200
|
||||||
|
3389, 918,2106,1782,2483, 334,3320,1611,1093,4672, 564,3171,3505,3739,3390, 945, # 3216
|
||||||
|
2641,2058,4673,5398,1926, 872,4319,5399,3506,2705,3112, 349,4320,3740,4082,4674, # 3232
|
||||||
|
3882,4321,3741,2156,4083,4675,4676,4322,4677,2408,2047, 782,4084, 400, 251,4323, # 3248
|
||||||
|
1624,5400,5401, 277,3742, 299,1265, 476,1191,3883,2122,4324,4325,1109, 205,5402, # 3264
|
||||||
|
2590,1000,2157,3616,1861,5403,5404,5405,4678,5406,4679,2573, 107,2484,2158,4085, # 3280
|
||||||
|
3507,3172,5407,1533, 541,1301, 158, 753,4326,2886,3617,5408,1696, 370,1088,4327, # 3296
|
||||||
|
4680,3618, 579, 327, 440, 162,2244, 269,1938,1374,3508, 968,3063, 56,1396,3113, # 3312
|
||||||
|
2107,3321,3391,5409,1927,2159,4681,3016,5410,3619,5411,5412,3743,4682,2485,5413, # 3328
|
||||||
|
2804,5414,1650,4683,5415,2613,5416,5417,4086,2671,3392,1149,3393,4087,3884,4088, # 3344
|
||||||
|
5418,1076, 49,5419, 951,3242,3322,3323, 450,2850, 920,5420,1812,2805,2371,4328, # 3360
|
||||||
|
1909,1138,2372,3885,3509,5421,3243,4684,1910,1147,1518,2428,4685,3886,5422,4686, # 3376
|
||||||
|
2393,2614, 260,1796,3244,5423,5424,3887,3324, 708,5425,3620,1704,5426,3621,1351, # 3392
|
||||||
|
1618,3394,3017,1887, 944,4329,3395,4330,3064,3396,4331,5427,3744, 422, 413,1714, # 3408
|
||||||
|
3325, 500,2059,2350,4332,2486,5428,1344,1911, 954,5429,1668,5430,5431,4089,2409, # 3424
|
||||||
|
4333,3622,3888,4334,5432,2307,1318,2512,3114, 133,3115,2887,4687, 629, 31,2851, # 3440
|
||||||
|
2706,3889,4688, 850, 949,4689,4090,2970,1732,2089,4335,1496,1853,5433,4091, 620, # 3456
|
||||||
|
3245, 981,1242,3745,3397,1619,3746,1643,3326,2140,2457,1971,1719,3510,2169,5434, # 3472
|
||||||
|
3246,5435,5436,3398,1829,5437,1277,4690,1565,2048,5438,1636,3623,3116,5439, 869, # 3488
|
||||||
|
2852, 655,3890,3891,3117,4092,3018,3892,1310,3624,4691,5440,5441,5442,1733, 558, # 3504
|
||||||
|
4692,3747, 335,1549,3065,1756,4336,3748,1946,3511,1830,1291,1192, 470,2735,2108, # 3520
|
||||||
|
2806, 913,1054,4093,5443,1027,5444,3066,4094,4693, 982,2672,3399,3173,3512,3247, # 3536
|
||||||
|
3248,1947,2807,5445, 571,4694,5446,1831,5447,3625,2591,1523,2429,5448,2090, 984, # 3552
|
||||||
|
4695,3749,1960,5449,3750, 852, 923,2808,3513,3751, 969,1519, 999,2049,2325,1705, # 3568
|
||||||
|
5450,3118, 615,1662, 151, 597,4095,2410,2326,1049, 275,4696,3752,4337, 568,3753, # 3584
|
||||||
|
3626,2487,4338,3754,5451,2430,2275, 409,3249,5452,1566,2888,3514,1002, 769,2853, # 3600
|
||||||
|
194,2091,3174,3755,2226,3327,4339, 628,1505,5453,5454,1763,2180,3019,4096, 521, # 3616
|
||||||
|
1161,2592,1788,2206,2411,4697,4097,1625,4340,4341, 412, 42,3119, 464,5455,2642, # 3632
|
||||||
|
4698,3400,1760,1571,2889,3515,2537,1219,2207,3893,2643,2141,2373,4699,4700,3328, # 3648
|
||||||
|
1651,3401,3627,5456,5457,3628,2488,3516,5458,3756,5459,5460,2276,2092, 460,5461, # 3664
|
||||||
|
4701,5462,3020, 962, 588,3629, 289,3250,2644,1116, 52,5463,3067,1797,5464,5465, # 3680
|
||||||
|
5466,1467,5467,1598,1143,3757,4342,1985,1734,1067,4702,1280,3402, 465,4703,1572, # 3696
|
||||||
|
510,5468,1928,2245,1813,1644,3630,5469,4704,3758,5470,5471,2673,1573,1534,5472, # 3712
|
||||||
|
5473, 536,1808,1761,3517,3894,3175,2645,5474,5475,5476,4705,3518,2929,1912,2809, # 3728
|
||||||
|
5477,3329,1122, 377,3251,5478, 360,5479,5480,4343,1529, 551,5481,2060,3759,1769, # 3744
|
||||||
|
2431,5482,2930,4344,3330,3120,2327,2109,2031,4706,1404, 136,1468,1479, 672,1171, # 3760
|
||||||
|
3252,2308, 271,3176,5483,2772,5484,2050, 678,2736, 865,1948,4707,5485,2014,4098, # 3776
|
||||||
|
2971,5486,2737,2227,1397,3068,3760,4708,4709,1735,2931,3403,3631,5487,3895, 509, # 3792
|
||||||
|
2854,2458,2890,3896,5488,5489,3177,3178,4710,4345,2538,4711,2309,1166,1010, 552, # 3808
|
||||||
|
681,1888,5490,5491,2972,2973,4099,1287,1596,1862,3179, 358, 453, 736, 175, 478, # 3824
|
||||||
|
1117, 905,1167,1097,5492,1854,1530,5493,1706,5494,2181,3519,2292,3761,3520,3632, # 3840
|
||||||
|
4346,2093,4347,5495,3404,1193,2489,4348,1458,2193,2208,1863,1889,1421,3331,2932, # 3856
|
||||||
|
3069,2182,3521, 595,2123,5496,4100,5497,5498,4349,1707,2646, 223,3762,1359, 751, # 3872
|
||||||
|
3121, 183,3522,5499,2810,3021, 419,2374, 633, 704,3897,2394, 241,5500,5501,5502, # 3888
|
||||||
|
838,3022,3763,2277,2773,2459,3898,1939,2051,4101,1309,3122,2246,1181,5503,1136, # 3904
|
||||||
|
2209,3899,2375,1446,4350,2310,4712,5504,5505,4351,1055,2615, 484,3764,5506,4102, # 3920
|
||||||
|
625,4352,2278,3405,1499,4353,4103,5507,4104,4354,3253,2279,2280,3523,5508,5509, # 3936
|
||||||
|
2774, 808,2616,3765,3406,4105,4355,3123,2539, 526,3407,3900,4356, 955,5510,1620, # 3952
|
||||||
|
4357,2647,2432,5511,1429,3766,1669,1832, 994, 928,5512,3633,1260,5513,5514,5515, # 3968
|
||||||
|
1949,2293, 741,2933,1626,4358,2738,2460, 867,1184, 362,3408,1392,5516,5517,4106, # 3984
|
||||||
|
4359,1770,1736,3254,2934,4713,4714,1929,2707,1459,1158,5518,3070,3409,2891,1292, # 4000
|
||||||
|
1930,2513,2855,3767,1986,1187,2072,2015,2617,4360,5519,2574,2514,2170,3768,2490, # 4016
|
||||||
|
3332,5520,3769,4715,5521,5522, 666,1003,3023,1022,3634,4361,5523,4716,1814,2257, # 4032
|
||||||
|
574,3901,1603, 295,1535, 705,3902,4362, 283, 858, 417,5524,5525,3255,4717,4718, # 4048
|
||||||
|
3071,1220,1890,1046,2281,2461,4107,1393,1599, 689,2575, 388,4363,5526,2491, 802, # 4064
|
||||||
|
5527,2811,3903,2061,1405,2258,5528,4719,3904,2110,1052,1345,3256,1585,5529, 809, # 4080
|
||||||
|
5530,5531,5532, 575,2739,3524, 956,1552,1469,1144,2328,5533,2329,1560,2462,3635, # 4096
|
||||||
|
3257,4108, 616,2210,4364,3180,2183,2294,5534,1833,5535,3525,4720,5536,1319,3770, # 4112
|
||||||
|
3771,1211,3636,1023,3258,1293,2812,5537,5538,5539,3905, 607,2311,3906, 762,2892, # 4128
|
||||||
|
1439,4365,1360,4721,1485,3072,5540,4722,1038,4366,1450,2062,2648,4367,1379,4723, # 4144
|
||||||
|
2593,5541,5542,4368,1352,1414,2330,2935,1172,5543,5544,3907,3908,4724,1798,1451, # 4160
|
||||||
|
5545,5546,5547,5548,2936,4109,4110,2492,2351, 411,4111,4112,3637,3333,3124,4725, # 4176
|
||||||
|
1561,2674,1452,4113,1375,5549,5550, 47,2974, 316,5551,1406,1591,2937,3181,5552, # 4192
|
||||||
|
1025,2142,3125,3182, 354,2740, 884,2228,4369,2412, 508,3772, 726,3638, 996,2433, # 4208
|
||||||
|
3639, 729,5553, 392,2194,1453,4114,4726,3773,5554,5555,2463,3640,2618,1675,2813, # 4224
|
||||||
|
919,2352,2975,2353,1270,4727,4115, 73,5556,5557, 647,5558,3259,2856,2259,1550, # 4240
|
||||||
|
1346,3024,5559,1332, 883,3526,5560,5561,5562,5563,3334,2775,5564,1212, 831,1347, # 4256
|
||||||
|
4370,4728,2331,3909,1864,3073, 720,3910,4729,4730,3911,5565,4371,5566,5567,4731, # 4272
|
||||||
|
5568,5569,1799,4732,3774,2619,4733,3641,1645,2376,4734,5570,2938, 669,2211,2675, # 4288
|
||||||
|
2434,5571,2893,5572,5573,1028,3260,5574,4372,2413,5575,2260,1353,5576,5577,4735, # 4304
|
||||||
|
3183, 518,5578,4116,5579,4373,1961,5580,2143,4374,5581,5582,3025,2354,2355,3912, # 4320
|
||||||
|
516,1834,1454,4117,2708,4375,4736,2229,2620,1972,1129,3642,5583,2776,5584,2976, # 4336
|
||||||
|
1422, 577,1470,3026,1524,3410,5585,5586, 432,4376,3074,3527,5587,2594,1455,2515, # 4352
|
||||||
|
2230,1973,1175,5588,1020,2741,4118,3528,4737,5589,2742,5590,1743,1361,3075,3529, # 4368
|
||||||
|
2649,4119,4377,4738,2295, 895, 924,4378,2171, 331,2247,3076, 166,1627,3077,1098, # 4384
|
||||||
|
5591,1232,2894,2231,3411,4739, 657, 403,1196,2377, 542,3775,3412,1600,4379,3530, # 4400
|
||||||
|
5592,4740,2777,3261, 576, 530,1362,4741,4742,2540,2676,3776,4120,5593, 842,3913, # 4416
|
||||||
|
5594,2814,2032,1014,4121, 213,2709,3413, 665, 621,4380,5595,3777,2939,2435,5596, # 4432
|
||||||
|
2436,3335,3643,3414,4743,4381,2541,4382,4744,3644,1682,4383,3531,1380,5597, 724, # 4448
|
||||||
|
2282, 600,1670,5598,1337,1233,4745,3126,2248,5599,1621,4746,5600, 651,4384,5601, # 4464
|
||||||
|
1612,4385,2621,5602,2857,5603,2743,2312,3078,5604, 716,2464,3079, 174,1255,2710, # 4480
|
||||||
|
4122,3645, 548,1320,1398, 728,4123,1574,5605,1891,1197,3080,4124,5606,3081,3082, # 4496
|
||||||
|
3778,3646,3779, 747,5607, 635,4386,4747,5608,5609,5610,4387,5611,5612,4748,5613, # 4512
|
||||||
|
3415,4749,2437, 451,5614,3780,2542,2073,4388,2744,4389,4125,5615,1764,4750,5616, # 4528
|
||||||
|
4390, 350,4751,2283,2395,2493,5617,4391,4126,2249,1434,4127, 488,4752, 458,4392, # 4544
|
||||||
|
4128,3781, 771,1330,2396,3914,2576,3184,2160,2414,1553,2677,3185,4393,5618,2494, # 4560
|
||||||
|
2895,2622,1720,2711,4394,3416,4753,5619,2543,4395,5620,3262,4396,2778,5621,2016, # 4576
|
||||||
|
2745,5622,1155,1017,3782,3915,5623,3336,2313, 201,1865,4397,1430,5624,4129,5625, # 4592
|
||||||
|
5626,5627,5628,5629,4398,1604,5630, 414,1866, 371,2595,4754,4755,3532,2017,3127, # 4608
|
||||||
|
4756,1708, 960,4399, 887, 389,2172,1536,1663,1721,5631,2232,4130,2356,2940,1580, # 4624
|
||||||
|
5632,5633,1744,4757,2544,4758,4759,5634,4760,5635,2074,5636,4761,3647,3417,2896, # 4640
|
||||||
|
4400,5637,4401,2650,3418,2815, 673,2712,2465, 709,3533,4131,3648,4402,5638,1148, # 4656
|
||||||
|
502, 634,5639,5640,1204,4762,3649,1575,4763,2623,3783,5641,3784,3128, 948,3263, # 4672
|
||||||
|
121,1745,3916,1110,5642,4403,3083,2516,3027,4132,3785,1151,1771,3917,1488,4133, # 4688
|
||||||
|
1987,5643,2438,3534,5644,5645,2094,5646,4404,3918,1213,1407,2816, 531,2746,2545, # 4704
|
||||||
|
3264,1011,1537,4764,2779,4405,3129,1061,5647,3786,3787,1867,2897,5648,2018, 120, # 4720
|
||||||
|
4406,4407,2063,3650,3265,2314,3919,2678,3419,1955,4765,4134,5649,3535,1047,2713, # 4736
|
||||||
|
1266,5650,1368,4766,2858, 649,3420,3920,2546,2747,1102,2859,2679,5651,5652,2000, # 4752
|
||||||
|
5653,1111,3651,2977,5654,2495,3921,3652,2817,1855,3421,3788,5655,5656,3422,2415, # 4768
|
||||||
|
2898,3337,3266,3653,5657,2577,5658,3654,2818,4135,1460, 856,5659,3655,5660,2899, # 4784
|
||||||
|
2978,5661,2900,3922,5662,4408, 632,2517, 875,3923,1697,3924,2296,5663,5664,4767, # 4800
|
||||||
|
3028,1239, 580,4768,4409,5665, 914, 936,2075,1190,4136,1039,2124,5666,5667,5668, # 4816
|
||||||
|
5669,3423,1473,5670,1354,4410,3925,4769,2173,3084,4137, 915,3338,4411,4412,3339, # 4832
|
||||||
|
1605,1835,5671,2748, 398,3656,4413,3926,4138, 328,1913,2860,4139,3927,1331,4414, # 4848
|
||||||
|
3029, 937,4415,5672,3657,4140,4141,3424,2161,4770,3425, 524, 742, 538,3085,1012, # 4864
|
||||||
|
5673,5674,3928,2466,5675, 658,1103, 225,3929,5676,5677,4771,5678,4772,5679,3267, # 4880
|
||||||
|
1243,5680,4142, 963,2250,4773,5681,2714,3658,3186,5682,5683,2596,2332,5684,4774, # 4896
|
||||||
|
5685,5686,5687,3536, 957,3426,2547,2033,1931,2941,2467, 870,2019,3659,1746,2780, # 4912
|
||||||
|
2781,2439,2468,5688,3930,5689,3789,3130,3790,3537,3427,3791,5690,1179,3086,5691, # 4928
|
||||||
|
3187,2378,4416,3792,2548,3188,3131,2749,4143,5692,3428,1556,2549,2297, 977,2901, # 4944
|
||||||
|
2034,4144,1205,3429,5693,1765,3430,3189,2125,1271, 714,1689,4775,3538,5694,2333, # 4960
|
||||||
|
3931, 533,4417,3660,2184, 617,5695,2469,3340,3539,2315,5696,5697,3190,5698,5699, # 4976
|
||||||
|
3932,1988, 618, 427,2651,3540,3431,5700,5701,1244,1690,5702,2819,4418,4776,5703, # 4992
|
||||||
|
3541,4777,5704,2284,1576, 473,3661,4419,3432, 972,5705,3662,5706,3087,5707,5708, # 5008
|
||||||
|
4778,4779,5709,3793,4145,4146,5710, 153,4780, 356,5711,1892,2902,4420,2144, 408, # 5024
|
||||||
|
803,2357,5712,3933,5713,4421,1646,2578,2518,4781,4782,3934,5714,3935,4422,5715, # 5040
|
||||||
|
2416,3433, 752,5716,5717,1962,3341,2979,5718, 746,3030,2470,4783,4423,3794, 698, # 5056
|
||||||
|
4784,1893,4424,3663,2550,4785,3664,3936,5719,3191,3434,5720,1824,1302,4147,2715, # 5072
|
||||||
|
3937,1974,4425,5721,4426,3192, 823,1303,1288,1236,2861,3542,4148,3435, 774,3938, # 5088
|
||||||
|
5722,1581,4786,1304,2862,3939,4787,5723,2440,2162,1083,3268,4427,4149,4428, 344, # 5104
|
||||||
|
1173, 288,2316, 454,1683,5724,5725,1461,4788,4150,2597,5726,5727,4789, 985, 894, # 5120
|
||||||
|
5728,3436,3193,5729,1914,2942,3795,1989,5730,2111,1975,5731,4151,5732,2579,1194, # 5136
|
||||||
|
425,5733,4790,3194,1245,3796,4429,5734,5735,2863,5736, 636,4791,1856,3940, 760, # 5152
|
||||||
|
1800,5737,4430,2212,1508,4792,4152,1894,1684,2298,5738,5739,4793,4431,4432,2213, # 5168
|
||||||
|
479,5740,5741, 832,5742,4153,2496,5743,2980,2497,3797, 990,3132, 627,1815,2652, # 5184
|
||||||
|
4433,1582,4434,2126,2112,3543,4794,5744, 799,4435,3195,5745,4795,2113,1737,3031, # 5200
|
||||||
|
1018, 543, 754,4436,3342,1676,4796,4797,4154,4798,1489,5746,3544,5747,2624,2903, # 5216
|
||||||
|
4155,5748,5749,2981,5750,5751,5752,5753,3196,4799,4800,2185,1722,5754,3269,3270, # 5232
|
||||||
|
1843,3665,1715, 481, 365,1976,1857,5755,5756,1963,2498,4801,5757,2127,3666,3271, # 5248
|
||||||
|
433,1895,2064,2076,5758, 602,2750,5759,5760,5761,5762,5763,3032,1628,3437,5764, # 5264
|
||||||
|
3197,4802,4156,2904,4803,2519,5765,2551,2782,5766,5767,5768,3343,4804,2905,5769, # 5280
|
||||||
|
4805,5770,2864,4806,4807,1221,2982,4157,2520,5771,5772,5773,1868,1990,5774,5775, # 5296
|
||||||
|
5776,1896,5777,5778,4808,1897,4158, 318,5779,2095,4159,4437,5780,5781, 485,5782, # 5312
|
||||||
|
938,3941, 553,2680, 116,5783,3942,3667,5784,3545,2681,2783,3438,3344,2820,5785, # 5328
|
||||||
|
3668,2943,4160,1747,2944,2983,5786,5787, 207,5788,4809,5789,4810,2521,5790,3033, # 5344
|
||||||
|
890,3669,3943,5791,1878,3798,3439,5792,2186,2358,3440,1652,5793,5794,5795, 941, # 5360
|
||||||
|
2299, 208,3546,4161,2020, 330,4438,3944,2906,2499,3799,4439,4811,5796,5797,5798, # 5376
|
||||||
|
)
|
||||||
|
# fmt: on
|
@ -0,0 +1,47 @@
|
|||||||
|
######################## BEGIN LICENSE BLOCK ########################
|
||||||
|
# The Original Code is Mozilla Communicator client code.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Netscape Communications Corporation.
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
||||||
|
# the Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Contributor(s):
|
||||||
|
# Mark Pilgrim - port to Python
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this library; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
# 02110-1301 USA
|
||||||
|
######################### END LICENSE BLOCK #########################
|
||||||
|
|
||||||
|
from .chardistribution import Big5DistributionAnalysis
|
||||||
|
from .codingstatemachine import CodingStateMachine
|
||||||
|
from .mbcharsetprober import MultiByteCharSetProber
|
||||||
|
from .mbcssm import BIG5_SM_MODEL
|
||||||
|
|
||||||
|
|
||||||
|
class Big5Prober(MultiByteCharSetProber):
|
||||||
|
def __init__(self) -> None:
|
||||||
|
super().__init__()
|
||||||
|
self.coding_sm = CodingStateMachine(BIG5_SM_MODEL)
|
||||||
|
self.distribution_analyzer = Big5DistributionAnalysis()
|
||||||
|
self.reset()
|
||||||
|
|
||||||
|
@property
|
||||||
|
def charset_name(self) -> str:
|
||||||
|
return "Big5"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def language(self) -> str:
|
||||||
|
return "Chinese"
|
@ -0,0 +1,261 @@
|
|||||||
|
######################## BEGIN LICENSE BLOCK ########################
|
||||||
|
# The Original Code is Mozilla Communicator client code.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Netscape Communications Corporation.
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
||||||
|
# the Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Contributor(s):
|
||||||
|
# Mark Pilgrim - port to Python
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this library; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
# 02110-1301 USA
|
||||||
|
######################### END LICENSE BLOCK #########################
|
||||||
|
|
||||||
|
from typing import Tuple, Union
|
||||||
|
|
||||||
|
from .big5freq import (
|
||||||
|
BIG5_CHAR_TO_FREQ_ORDER,
|
||||||
|
BIG5_TABLE_SIZE,
|
||||||
|
BIG5_TYPICAL_DISTRIBUTION_RATIO,
|
||||||
|
)
|
||||||
|
from .euckrfreq import (
|
||||||
|
EUCKR_CHAR_TO_FREQ_ORDER,
|
||||||
|
EUCKR_TABLE_SIZE,
|
||||||
|
EUCKR_TYPICAL_DISTRIBUTION_RATIO,
|
||||||
|
)
|
||||||
|
from .euctwfreq import (
|
||||||
|
EUCTW_CHAR_TO_FREQ_ORDER,
|
||||||
|
EUCTW_TABLE_SIZE,
|
||||||
|
EUCTW_TYPICAL_DISTRIBUTION_RATIO,
|
||||||
|
)
|
||||||
|
from .gb2312freq import (
|
||||||
|
GB2312_CHAR_TO_FREQ_ORDER,
|
||||||
|
GB2312_TABLE_SIZE,
|
||||||
|
GB2312_TYPICAL_DISTRIBUTION_RATIO,
|
||||||
|
)
|
||||||
|
from .jisfreq import (
|
||||||
|
JIS_CHAR_TO_FREQ_ORDER,
|
||||||
|
JIS_TABLE_SIZE,
|
||||||
|
JIS_TYPICAL_DISTRIBUTION_RATIO,
|
||||||
|
)
|
||||||
|
from .johabfreq import JOHAB_TO_EUCKR_ORDER_TABLE
|
||||||
|
|
||||||
|
|
||||||
|
class CharDistributionAnalysis:
|
||||||
|
ENOUGH_DATA_THRESHOLD = 1024
|
||||||
|
SURE_YES = 0.99
|
||||||
|
SURE_NO = 0.01
|
||||||
|
MINIMUM_DATA_THRESHOLD = 3
|
||||||
|
|
||||||
|
def __init__(self) -> None:
|
||||||
|
# Mapping table to get frequency order from char order (get from
|
||||||
|
# GetOrder())
|
||||||
|
self._char_to_freq_order: Tuple[int, ...] = tuple()
|
||||||
|
self._table_size = 0 # Size of above table
|
||||||
|
# This is a constant value which varies from language to language,
|
||||||
|
# used in calculating confidence. See
|
||||||
|
# http://www.mozilla.org/projects/intl/UniversalCharsetDetection.html
|
||||||
|
# for further detail.
|
||||||
|
self.typical_distribution_ratio = 0.0
|
||||||
|
self._done = False
|
||||||
|
self._total_chars = 0
|
||||||
|
self._freq_chars = 0
|
||||||
|
self.reset()
|
||||||
|
|
||||||
|
def reset(self) -> None:
|
||||||
|
"""reset analyser, clear any state"""
|
||||||
|
# If this flag is set to True, detection is done and conclusion has
|
||||||
|
# been made
|
||||||
|
self._done = False
|
||||||
|
self._total_chars = 0 # Total characters encountered
|
||||||
|
# The number of characters whose frequency order is less than 512
|
||||||
|
self._freq_chars = 0
|
||||||
|
|
||||||
|
def feed(self, char: Union[bytes, bytearray], char_len: int) -> None:
|
||||||
|
"""feed a character with known length"""
|
||||||
|
if char_len == 2:
|
||||||
|
# we only care about 2-bytes character in our distribution analysis
|
||||||
|
order = self.get_order(char)
|
||||||
|
else:
|
||||||
|
order = -1
|
||||||
|
if order >= 0:
|
||||||
|
self._total_chars += 1
|
||||||
|
# order is valid
|
||||||
|
if order < self._table_size:
|
||||||
|
if 512 > self._char_to_freq_order[order]:
|
||||||
|
self._freq_chars += 1
|
||||||
|
|
||||||
|
def get_confidence(self) -> float:
|
||||||
|
"""return confidence based on existing data"""
|
||||||
|
# if we didn't receive any character in our consideration range,
|
||||||
|
# return negative answer
|
||||||
|
if self._total_chars <= 0 or self._freq_chars <= self.MINIMUM_DATA_THRESHOLD:
|
||||||
|
return self.SURE_NO
|
||||||
|
|
||||||
|
if self._total_chars != self._freq_chars:
|
||||||
|
r = self._freq_chars / (
|
||||||
|
(self._total_chars - self._freq_chars) * self.typical_distribution_ratio
|
||||||
|
)
|
||||||
|
if r < self.SURE_YES:
|
||||||
|
return r
|
||||||
|
|
||||||
|
# normalize confidence (we don't want to be 100% sure)
|
||||||
|
return self.SURE_YES
|
||||||
|
|
||||||
|
def got_enough_data(self) -> bool:
|
||||||
|
# It is not necessary to receive all data to draw conclusion.
|
||||||
|
# For charset detection, certain amount of data is enough
|
||||||
|
return self._total_chars > self.ENOUGH_DATA_THRESHOLD
|
||||||
|
|
||||||
|
def get_order(self, _: Union[bytes, bytearray]) -> int:
|
||||||
|
# We do not handle characters based on the original encoding string,
|
||||||
|
# but convert this encoding string to a number, here called order.
|
||||||
|
# This allows multiple encodings of a language to share one frequency
|
||||||
|
# table.
|
||||||
|
return -1
|
||||||
|
|
||||||
|
|
||||||
|
class EUCTWDistributionAnalysis(CharDistributionAnalysis):
|
||||||
|
def __init__(self) -> None:
|
||||||
|
super().__init__()
|
||||||
|
self._char_to_freq_order = EUCTW_CHAR_TO_FREQ_ORDER
|
||||||
|
self._table_size = EUCTW_TABLE_SIZE
|
||||||
|
self.typical_distribution_ratio = EUCTW_TYPICAL_DISTRIBUTION_RATIO
|
||||||
|
|
||||||
|
def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
|
||||||
|
# for euc-TW encoding, we are interested
|
||||||
|
# first byte range: 0xc4 -- 0xfe
|
||||||
|
# second byte range: 0xa1 -- 0xfe
|
||||||
|
# no validation needed here. State machine has done that
|
||||||
|
first_char = byte_str[0]
|
||||||
|
if first_char >= 0xC4:
|
||||||
|
return 94 * (first_char - 0xC4) + byte_str[1] - 0xA1
|
||||||
|
return -1
|
||||||
|
|
||||||
|
|
||||||
|
class EUCKRDistributionAnalysis(CharDistributionAnalysis):
|
||||||
|
def __init__(self) -> None:
|
||||||
|
super().__init__()
|
||||||
|
self._char_to_freq_order = EUCKR_CHAR_TO_FREQ_ORDER
|
||||||
|
self._table_size = EUCKR_TABLE_SIZE
|
||||||
|
self.typical_distribution_ratio = EUCKR_TYPICAL_DISTRIBUTION_RATIO
|
||||||
|
|
||||||
|
def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
|
||||||
|
# for euc-KR encoding, we are interested
|
||||||
|
# first byte range: 0xb0 -- 0xfe
|
||||||
|
# second byte range: 0xa1 -- 0xfe
|
||||||
|
# no validation needed here. State machine has done that
|
||||||
|
first_char = byte_str[0]
|
||||||
|
if first_char >= 0xB0:
|
||||||
|
return 94 * (first_char - 0xB0) + byte_str[1] - 0xA1
|
||||||
|
return -1
|
||||||
|
|
||||||
|
|
||||||
|
class JOHABDistributionAnalysis(CharDistributionAnalysis):
|
||||||
|
def __init__(self) -> None:
|
||||||
|
super().__init__()
|
||||||
|
self._char_to_freq_order = EUCKR_CHAR_TO_FREQ_ORDER
|
||||||
|
self._table_size = EUCKR_TABLE_SIZE
|
||||||
|
self.typical_distribution_ratio = EUCKR_TYPICAL_DISTRIBUTION_RATIO
|
||||||
|
|
||||||
|
def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
|
||||||
|
first_char = byte_str[0]
|
||||||
|
if 0x88 <= first_char < 0xD4:
|
||||||
|
code = first_char * 256 + byte_str[1]
|
||||||
|
return JOHAB_TO_EUCKR_ORDER_TABLE.get(code, -1)
|
||||||
|
return -1
|
||||||
|
|
||||||
|
|
||||||
|
class GB2312DistributionAnalysis(CharDistributionAnalysis):
|
||||||
|
def __init__(self) -> None:
|
||||||
|
super().__init__()
|
||||||
|
self._char_to_freq_order = GB2312_CHAR_TO_FREQ_ORDER
|
||||||
|
self._table_size = GB2312_TABLE_SIZE
|
||||||
|
self.typical_distribution_ratio = GB2312_TYPICAL_DISTRIBUTION_RATIO
|
||||||
|
|
||||||
|
def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
|
||||||
|
# for GB2312 encoding, we are interested
|
||||||
|
# first byte range: 0xb0 -- 0xfe
|
||||||
|
# second byte range: 0xa1 -- 0xfe
|
||||||
|
# no validation needed here. State machine has done that
|
||||||
|
first_char, second_char = byte_str[0], byte_str[1]
|
||||||
|
if (first_char >= 0xB0) and (second_char >= 0xA1):
|
||||||
|
return 94 * (first_char - 0xB0) + second_char - 0xA1
|
||||||
|
return -1
|
||||||
|
|
||||||
|
|
||||||
|
class Big5DistributionAnalysis(CharDistributionAnalysis):
|
||||||
|
def __init__(self) -> None:
|
||||||
|
super().__init__()
|
||||||
|
self._char_to_freq_order = BIG5_CHAR_TO_FREQ_ORDER
|
||||||
|
self._table_size = BIG5_TABLE_SIZE
|
||||||
|
self.typical_distribution_ratio = BIG5_TYPICAL_DISTRIBUTION_RATIO
|
||||||
|
|
||||||
|
def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
|
||||||
|
# for big5 encoding, we are interested
|
||||||
|
# first byte range: 0xa4 -- 0xfe
|
||||||
|
# second byte range: 0x40 -- 0x7e , 0xa1 -- 0xfe
|
||||||
|
# no validation needed here. State machine has done that
|
||||||
|
first_char, second_char = byte_str[0], byte_str[1]
|
||||||
|
if first_char >= 0xA4:
|
||||||
|
if second_char >= 0xA1:
|
||||||
|
return 157 * (first_char - 0xA4) + second_char - 0xA1 + 63
|
||||||
|
return 157 * (first_char - 0xA4) + second_char - 0x40
|
||||||
|
return -1
|
||||||
|
|
||||||
|
|
||||||
|
class SJISDistributionAnalysis(CharDistributionAnalysis):
|
||||||
|
def __init__(self) -> None:
|
||||||
|
super().__init__()
|
||||||
|
self._char_to_freq_order = JIS_CHAR_TO_FREQ_ORDER
|
||||||
|
self._table_size = JIS_TABLE_SIZE
|
||||||
|
self.typical_distribution_ratio = JIS_TYPICAL_DISTRIBUTION_RATIO
|
||||||
|
|
||||||
|
def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
|
||||||
|
# for sjis encoding, we are interested
|
||||||
|
# first byte range: 0x81 -- 0x9f , 0xe0 -- 0xfe
|
||||||
|
# second byte range: 0x40 -- 0x7e, 0x81 -- oxfe
|
||||||
|
# no validation needed here. State machine has done that
|
||||||
|
first_char, second_char = byte_str[0], byte_str[1]
|
||||||
|
if 0x81 <= first_char <= 0x9F:
|
||||||
|
order = 188 * (first_char - 0x81)
|
||||||
|
elif 0xE0 <= first_char <= 0xEF:
|
||||||
|
order = 188 * (first_char - 0xE0 + 31)
|
||||||
|
else:
|
||||||
|
return -1
|
||||||
|
order = order + second_char - 0x40
|
||||||
|
if second_char > 0x7F:
|
||||||
|
order = -1
|
||||||
|
return order
|
||||||
|
|
||||||
|
|
||||||
|
class EUCJPDistributionAnalysis(CharDistributionAnalysis):
|
||||||
|
def __init__(self) -> None:
|
||||||
|
super().__init__()
|
||||||
|
self._char_to_freq_order = JIS_CHAR_TO_FREQ_ORDER
|
||||||
|
self._table_size = JIS_TABLE_SIZE
|
||||||
|
self.typical_distribution_ratio = JIS_TYPICAL_DISTRIBUTION_RATIO
|
||||||
|
|
||||||
|
def get_order(self, byte_str: Union[bytes, bytearray]) -> int:
|
||||||
|
# for euc-JP encoding, we are interested
|
||||||
|
# first byte range: 0xa0 -- 0xfe
|
||||||
|
# second byte range: 0xa1 -- 0xfe
|
||||||
|
# no validation needed here. State machine has done that
|
||||||
|
char = byte_str[0]
|
||||||
|
if char >= 0xA0:
|
||||||
|
return 94 * (char - 0xA1) + byte_str[1] - 0xA1
|
||||||
|
return -1
|
@ -0,0 +1,106 @@
|
|||||||
|
######################## BEGIN LICENSE BLOCK ########################
|
||||||
|
# The Original Code is Mozilla Communicator client code.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Netscape Communications Corporation.
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
||||||
|
# the Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Contributor(s):
|
||||||
|
# Mark Pilgrim - port to Python
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this library; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
# 02110-1301 USA
|
||||||
|
######################### END LICENSE BLOCK #########################
|
||||||
|
|
||||||
|
from typing import List, Optional, Union
|
||||||
|
|
||||||
|
from .charsetprober import CharSetProber
|
||||||
|
from .enums import LanguageFilter, ProbingState
|
||||||
|
|
||||||
|
|
||||||
|
class CharSetGroupProber(CharSetProber):
|
||||||
|
def __init__(self, lang_filter: LanguageFilter = LanguageFilter.NONE) -> None:
|
||||||
|
super().__init__(lang_filter=lang_filter)
|
||||||
|
self._active_num = 0
|
||||||
|
self.probers: List[CharSetProber] = []
|
||||||
|
self._best_guess_prober: Optional[CharSetProber] = None
|
||||||
|
|
||||||
|
def reset(self) -> None:
|
||||||
|
super().reset()
|
||||||
|
self._active_num = 0
|
||||||
|
for prober in self.probers:
|
||||||
|
prober.reset()
|
||||||
|
prober.active = True
|
||||||
|
self._active_num += 1
|
||||||
|
self._best_guess_prober = None
|
||||||
|
|
||||||
|
@property
|
||||||
|
def charset_name(self) -> Optional[str]:
|
||||||
|
if not self._best_guess_prober:
|
||||||
|
self.get_confidence()
|
||||||
|
if not self._best_guess_prober:
|
||||||
|
return None
|
||||||
|
return self._best_guess_prober.charset_name
|
||||||
|
|
||||||
|
@property
|
||||||
|
def language(self) -> Optional[str]:
|
||||||
|
if not self._best_guess_prober:
|
||||||
|
self.get_confidence()
|
||||||
|
if not self._best_guess_prober:
|
||||||
|
return None
|
||||||
|
return self._best_guess_prober.language
|
||||||
|
|
||||||
|
def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
|
||||||
|
for prober in self.probers:
|
||||||
|
if not prober.active:
|
||||||
|
continue
|
||||||
|
state = prober.feed(byte_str)
|
||||||
|
if not state:
|
||||||
|
continue
|
||||||
|
if state == ProbingState.FOUND_IT:
|
||||||
|
self._best_guess_prober = prober
|
||||||
|
self._state = ProbingState.FOUND_IT
|
||||||
|
return self.state
|
||||||
|
if state == ProbingState.NOT_ME:
|
||||||
|
prober.active = False
|
||||||
|
self._active_num -= 1
|
||||||
|
if self._active_num <= 0:
|
||||||
|
self._state = ProbingState.NOT_ME
|
||||||
|
return self.state
|
||||||
|
return self.state
|
||||||
|
|
||||||
|
def get_confidence(self) -> float:
|
||||||
|
state = self.state
|
||||||
|
if state == ProbingState.FOUND_IT:
|
||||||
|
return 0.99
|
||||||
|
if state == ProbingState.NOT_ME:
|
||||||
|
return 0.01
|
||||||
|
best_conf = 0.0
|
||||||
|
self._best_guess_prober = None
|
||||||
|
for prober in self.probers:
|
||||||
|
if not prober.active:
|
||||||
|
self.logger.debug("%s not active", prober.charset_name)
|
||||||
|
continue
|
||||||
|
conf = prober.get_confidence()
|
||||||
|
self.logger.debug(
|
||||||
|
"%s %s confidence = %s", prober.charset_name, prober.language, conf
|
||||||
|
)
|
||||||
|
if best_conf < conf:
|
||||||
|
best_conf = conf
|
||||||
|
self._best_guess_prober = prober
|
||||||
|
if not self._best_guess_prober:
|
||||||
|
return 0.0
|
||||||
|
return best_conf
|
@ -0,0 +1,147 @@
|
|||||||
|
######################## BEGIN LICENSE BLOCK ########################
|
||||||
|
# The Original Code is Mozilla Universal charset detector code.
|
||||||
|
#
|
||||||
|
# The Initial Developer of the Original Code is
|
||||||
|
# Netscape Communications Corporation.
|
||||||
|
# Portions created by the Initial Developer are Copyright (C) 2001
|
||||||
|
# the Initial Developer. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Contributor(s):
|
||||||
|
# Mark Pilgrim - port to Python
|
||||||
|
# Shy Shalom - original C code
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this library; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
||||||
|
# 02110-1301 USA
|
||||||
|
######################### END LICENSE BLOCK #########################
|
||||||
|
|
||||||
|
import logging
|
||||||
|
import re
|
||||||
|
from typing import Optional, Union
|
||||||
|
|
||||||
|
from .enums import LanguageFilter, ProbingState
|
||||||
|
|
||||||
|
INTERNATIONAL_WORDS_PATTERN = re.compile(
|
||||||
|
b"[a-zA-Z]*[\x80-\xFF]+[a-zA-Z]*[^a-zA-Z\x80-\xFF]?"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class CharSetProber:
|
||||||
|
|
||||||
|
SHORTCUT_THRESHOLD = 0.95
|
||||||
|
|
||||||
|
def __init__(self, lang_filter: LanguageFilter = LanguageFilter.NONE) -> None:
|
||||||
|
self._state = ProbingState.DETECTING
|
||||||
|
self.active = True
|
||||||
|
self.lang_filter = lang_filter
|
||||||
|
self.logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
def reset(self) -> None:
|
||||||
|
self._state = ProbingState.DETECTING
|
||||||
|
|
||||||
|
@property
|
||||||
|
def charset_name(self) -> Optional[str]:
|
||||||
|
return None
|
||||||
|
|
||||||
|
@property
|
||||||
|
def language(self) -> Optional[str]:
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
|
def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
|
@property
|
||||||
|
def state(self) -> ProbingState:
|
||||||
|
return self._state
|
||||||
|
|
||||||
|
def get_confidence(self) -> float:
|
||||||
|
return 0.0
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def filter_high_byte_only(buf: Union[bytes, bytearray]) -> bytes:
|
||||||
|
buf = re.sub(b"([\x00-\x7F])+", b" ", buf)
|
||||||
|
return buf
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def filter_international_words(buf: Union[bytes, bytearray]) -> bytearray:
|
||||||
|
"""
|
||||||
|
We define three types of bytes:
|
||||||
|
alphabet: english alphabets [a-zA-Z]
|
||||||
|
international: international characters [\x80-\xFF]
|
||||||
|
marker: everything else [^a-zA-Z\x80-\xFF]
|
||||||
|
The input buffer can be thought to contain a series of words delimited
|
||||||
|
by markers. This function works to filter all words that contain at
|
||||||
|
least one international character. All contiguous sequences of markers
|
||||||
|
are replaced by a single space ascii character.
|
||||||
|
This filter applies to all scripts which do not use English characters.
|
||||||
|
"""
|
||||||
|
filtered = bytearray()
|
||||||
|
|
||||||
|
# This regex expression filters out only words that have at-least one
|
||||||
|
# international character. The word may include one marker character at
|
||||||
|
# the end.
|
||||||
|
words = INTERNATIONAL_WORDS_PATTERN.findall(buf)
|
||||||
|
|
||||||
|
for word in words:
|
||||||
|
filtered.extend(word[:-1])
|
||||||
|
|
||||||
|
# If the last character in the word is a marker, replace it with a
|
||||||
|
# space as markers shouldn't affect our analysis (they are used
|
||||||
|
# similarly across all languages and may thus have similar
|
||||||
|
# frequencies).
|
||||||
|
last_char = word[-1:]
|
||||||
|
if not last_char.isalpha() and last_char < b"\x80":
|
||||||
|
last_char = b" "
|
||||||
|
filtered.extend(last_char)
|
||||||
|
|
||||||
|
return filtered
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def remove_xml_tags(buf: Union[bytes, bytearray]) -> bytes:
|
||||||
|
"""
|
||||||
|
Returns a copy of ``buf`` that retains only the sequences of English
|
||||||
|
alphabet and high byte characters that are not between <> characters.
|
||||||
|
This filter can be applied to all scripts which contain both English
|
||||||
|
characters and extended ASCII characters, but is currently only used by
|
||||||
|
``Latin1Prober``.
|
||||||
|
"""
|
||||||
|
filtered = bytearray()
|
||||||
|
in_tag = False
|
||||||
|
prev = 0
|
||||||
|
buf = memoryview(buf).cast("c")
|
||||||
|
|
||||||
|
for curr, buf_char in enumerate(buf):
|
||||||
|
# Check if we're coming out of or entering an XML tag
|
||||||
|
|
||||||
|
# https://github.com/python/typeshed/issues/8182
|
||||||
|
if buf_char == b">": # type: ignore[comparison-overlap]
|
||||||
|
prev = curr + 1
|
||||||
|
in_tag = False
|
||||||
|
# https://github.com/python/typeshed/issues/8182
|
||||||
|
elif buf_char == b"<": # type: ignore[comparison-overlap]
|
||||||
|
if curr > prev and not in_tag:
|
||||||
|
# Keep everything after last non-extended-ASCII,
|
||||||
|
# non-alphabetic character
|
||||||
|
filtered.extend(buf[prev:curr])
|
||||||
|
# Output a space to delimit stretch we kept
|
||||||
|
filtered.extend(b" ")
|
||||||
|
in_tag = True
|
||||||
|
|
||||||
|
# If we're not in a tag...
|
||||||
|
if not in_tag:
|
||||||
|
# Keep everything after last non-extended-ASCII, non-alphabetic
|
||||||
|
# character
|
||||||
|
filtered.extend(buf[prev:])
|
||||||
|
|
||||||
|
return filtered
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user