From 384545e35f1919492f92f90757237c8eef0f3529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Alvergnat?= Date: Wed, 23 Dec 2020 01:41:55 +0100 Subject: [PATCH] ci: drop TravisCI and ReadTheDocs, replaced by Github Actions and mkdocs --- .github/workflows/ci.yml | 97 ++++ .github/workflows/mkdocs.yml | 15 + .travis.yml | 27 - AUTHORS.md | 17 + AUTHORS.rst | 15 - CHANGELOG.md | 366 ++++++++++++++ CONTRIBUTING.md | 22 + CONTRIBUTING.rst | 19 - HISTORY.rst | 425 ---------------- MANIFEST.in | 3 +- README.rst => README.md | 74 ++- docs/Makefile | 192 ------- docs/_static/coinwidget/coin.css | 96 ---- docs/_static/coinwidget/coin.js | 332 ------------- docs/_static/coinwidget/icon_bitcoin.png | Bin 1825 -> 0 bytes docs/_static/coinwidget/icon_litecoin.png | Bin 1711 -> 0 bytes docs/_static/coinwidget/icon_loading.gif | Bin 4267 -> 0 bytes docs/_static/coinwidget/icon_qrcode.png | Bin 314 -> 0 bytes docs/_static/coinwidget/icon_wallet.png | Bin 638 -> 0 bytes docs/_static/guessit-logo.png | Bin 9112 -> 0 bytes docs/_static/lgplv3-88x31.png | Bin 1955 -> 0 bytes docs/_templates/sidebarintro.html | 81 --- docs/_templates/sidebarlogo.html | 33 -- docs/_themes/.gitignore | 3 - docs/_themes/LICENSE | 46 -- docs/_themes/README.rst | 25 - docs/_themes/flask_theme_support.py | 86 ---- docs/_themes/kr/layout.html | 17 - docs/_themes/kr/relations.html | 19 - docs/_themes/kr/static/flasky.css_t | 581 ---------------------- docs/_themes/kr/theme.conf | 7 - docs/_themes/kr_small/layout.html | 22 - docs/_themes/kr_small/static/flasky.css_t | 287 ----------- docs/_themes/kr_small/theme.conf | 10 - docs/conf.py | 294 ----------- docs/configuration.md | 41 ++ docs/configuration.rst | 36 -- docs/{index.rst => index.md} | 62 +-- docs/make.bat | 263 ---------- docs/migration.md | 158 ++++++ docs/migration.rst | 164 ------ docs/migration2to3.md | 124 +++++ docs/migration2to3.rst | 125 ----- docs/properties.md | 247 +++++++++ docs/properties.rst | 347 ------------- docs/sources.md | 24 + docs/sources.rst | 28 -- guessit/__version__.py | 2 +- guessit/rules/properties/release_group.py | 1 - mkdocs.yml | 31 ++ pylintrc | 2 +- setup.cfg | 7 +- setup.py | 20 +- 53 files changed, 1214 insertions(+), 3679 deletions(-) create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/mkdocs.yml delete mode 100644 .travis.yml create mode 100644 AUTHORS.md delete mode 100644 AUTHORS.rst create mode 100644 CHANGELOG.md create mode 100644 CONTRIBUTING.md delete mode 100644 CONTRIBUTING.rst delete mode 100644 HISTORY.rst rename README.rst => README.md (73%) delete mode 100644 docs/Makefile delete mode 100644 docs/_static/coinwidget/coin.css delete mode 100644 docs/_static/coinwidget/coin.js delete mode 100644 docs/_static/coinwidget/icon_bitcoin.png delete mode 100644 docs/_static/coinwidget/icon_litecoin.png delete mode 100644 docs/_static/coinwidget/icon_loading.gif delete mode 100644 docs/_static/coinwidget/icon_qrcode.png delete mode 100644 docs/_static/coinwidget/icon_wallet.png delete mode 100644 docs/_static/guessit-logo.png delete mode 100644 docs/_static/lgplv3-88x31.png delete mode 100644 docs/_templates/sidebarintro.html delete mode 100644 docs/_templates/sidebarlogo.html delete mode 100644 docs/_themes/.gitignore delete mode 100644 docs/_themes/LICENSE delete mode 100644 docs/_themes/README.rst delete mode 100644 docs/_themes/flask_theme_support.py delete mode 100644 docs/_themes/kr/layout.html delete mode 100644 docs/_themes/kr/relations.html delete mode 100644 docs/_themes/kr/static/flasky.css_t delete mode 100644 docs/_themes/kr/theme.conf delete mode 100644 docs/_themes/kr_small/layout.html delete mode 100644 docs/_themes/kr_small/static/flasky.css_t delete mode 100644 docs/_themes/kr_small/theme.conf delete mode 100644 docs/conf.py create mode 100644 docs/configuration.md delete mode 100644 docs/configuration.rst rename docs/{index.rst => index.md} (72%) delete mode 100644 docs/make.bat create mode 100644 docs/migration.md delete mode 100644 docs/migration.rst create mode 100644 docs/migration2to3.md delete mode 100644 docs/migration2to3.rst create mode 100644 docs/properties.md delete mode 100644 docs/properties.rst create mode 100644 docs/sources.md delete mode 100644 docs/sources.rst create mode 100644 mkdocs.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3069917 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,97 @@ +name: ci +on: + push: ~ + pull_request: ~ +jobs: + build: + if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + python-version: [ 2.7, 3.5, 3.6, 3.7, 3.8 ] + + steps: + - name: Setup python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Checkout + uses: actions/checkout@v2 + + - name: Git User config + run: | + git config --global user.email "action@github.com" + git config --global user.name "github-actions" + + - name: Install Dependencies + run: | + pip install pip --upgrade + pip install -e .[dev,test] --upgrade + pip install pytest --upgrade + pip install coveralls + pytest --version + + - run: pylint guessit + if: matrix.python-version != '3.9' + + - run: coverage run --source=guessit setup.py test + + - run: python setup.py build + + - name: Coveralls + run: coveralls + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + + release: + if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }} + needs: build + + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + python-version: [ 3.8 ] + + steps: + - name: Setup python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Git User config + run: | + git config --global user.email "action@github.com" + git config --global user.name "github-actions" + + - name: Install Dependencies + run: pip install -r requirements-dev.txt + + - name: Install python-semantic-release + run: pip install python-semantic-release + + - name: Publish release + run: semantic-release -v DEBUG publish + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} + + - name: Merge master to develop + # uses: robotology/gh-action-nightly-merge@v1.3.1 # Wait PR merge https://github.com/robotology/gh-action-nightly-merge/pull/5 + uses: Toilal/gh-action-nightly-merge@master + with: + stable_branch: 'master' + development_branch: 'develop' + allow_ff: true + user_name: github-actions + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml new file mode 100644 index 0000000..710c8c6 --- /dev/null +++ b/.github/workflows/mkdocs.yml @@ -0,0 +1,15 @@ +name: mkdocs +on: + push: + branches: + - master +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.x + - run: pip install mkdocs-material + - run: mkdocs gh-deploy --force diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dd392e7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -language: python -python: - - 2.7 - - 3.5 - - 3.6 - - pypy -# - pypy3 -matrix: - include: - - python: 3.7 - dist: xenial - sudo: true - - python: 3.8 - dist: xenial - sudo: true -install: - - pip install pip --upgrade - - pip install -e .[dev,test] --upgrade - - pip install pytest --upgrade - - pip install coveralls - - pytest --version -script: - - if [[ -z $PYLINT_DISABLED ]]; then pylint guessit; fi - - coverage run --source=guessit setup.py test - - python setup.py build -after_success: - - coveralls diff --git a/AUTHORS.md b/AUTHORS.md new file mode 100644 index 0000000..d39f883 --- /dev/null +++ b/AUTHORS.md @@ -0,0 +1,17 @@ +Copyright (c) 2011 - 2020, The GuessIt contributors. + +GuessIt is an opensource project written and maintained by passionate +people. + +If you feel your name should belong to this list, please [open an +issue](https://github.com/guessit/guessit/issues) + +Author and contributors of current guessit version (`2.x`/`3.x`): + +- Rémi Alvergnat <> +- Rato <> + +Author and contributors of initial guessit version (`0.x`/`1.x`): + +- Nicolas Wack <> +- Ricard Marxer <> diff --git a/AUTHORS.rst b/AUTHORS.rst deleted file mode 100644 index beb9718..0000000 --- a/AUTHORS.rst +++ /dev/null @@ -1,15 +0,0 @@ -Copyright (c) 2011 - 2018, The GuessIt contributors. - -GuessIt is an opensource project written and maintained by passionate people. - -If you feel your name should belong to this list, please `open an issue `_ - -Author and contributors of current guessit version (``2.x``/``3.x``): - -- Rémi Alvergnat -- Rato - -Author and contributors of initial guessit version (``0.x``/``1.x``): - -- Nicolas Wack -- Ricard Marxer \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..67526b4 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,366 @@ +Changelog +======= + + + +## 3.1.1 (2020-05-03) + +- Drop python 3.4 support +- Use SafeLoader with yaml.load() + +## 3.1.0 (2019-09-02) + +- Add python 3.8 support +- Use rebulk 2.\* +- Remove v from subtitle\_language prefix in default configuration +- Add Variable Frame Rate value to other property (VFR tag) +- Use episode words defined in configuration in a rebulk rule +- Avoid trigger of useless rules consequences +- Fix possible crash in weak episode removal +- Fix issue caused by streaming\_service property conflicts +- Fix source validation when more than one pattern match +- Fix issue with some titles on multiple fileparts +- Fix issue related to website exclusion inside title + +## 3.0.4 (2019-06-04) + +- screen\_size property 540p was added. +- Fix audio\_channel detection for 6.0 +- Fix common words being detected as language +- streaming\_service is now configurable in advanced options +- Add DC Universe to streaming\_service +- Improve detection when release name in between brackets +- Improve language detection +- Fix wrong 3D detection +- Fix to keep separators for single characters. E.g.: S.W.A.T. +- Fix Show Name/Season SS/Ep. EE - Title +- Added This is Us to default expected titles +- Added suggested\_expected to the api to support apps that uses guessit as a library +- Added Extras detection as other property +- Add more streaming sites + +## 3.0.3 (2018-10-23) + +- Add MP2 audio\_codec value. +- Proper and Fix have been separated in two distinct other values. +- Add 1e18 season/episode pattern. +- Fix false release\_group matches with --expected-title option. +- Fix parent folder ending with a digit detected as title +- Fix wrong season/year with --type episode option. Serie(s) keyword has been removed from default configuration. +- Fix missing property when episode\_details pattern appears in title. + +## 3.0.2 (2018-10-18) + +- Ensure consistent behavior between CLI and Python module. It's now possible to override advanced\_config at runtime through options dict. Rebulk rules are lazily rebuilt when advanced\_config is changed since previous call. +- Refactored command line options and loading behavior related to configuration files (see -c CONFIG, --config CONFIG, --no-user-config, --no-default-config) + +## 3.0.1 (2018-10-17) + +- Removed Extras and Bonus values from episode\_details property as those tags may also appear in movies +- Add Scalable Video Coding, Advanced Video Codec High Definition and High Efficiency Video Coding values to video\_profile +- Add support for Python 3.7 +- Add mk3d value to container +- Better title cleanup containing acronyms (like Marvel's Agents of S.H.I.E.L.D) +- Fix issue with ES audio\_profile breaking titles +- Fix crash for files ending with Rip + +## 3.0.0 (2018-05-22) + +- Renamed format property to source. +- source property Cam is now Camera or HD Camera +- source property Telesync is now Telesync or HD Telesync +- source property PPV is now Pay-per-view +- source property DVB is now Digital TV +- source property VOD is now Video on Demand +- source property WEBRip is now Web with additional property \`other\`: Rip +- source property WEB-DL is now Web +- source property AHDTV is now Analog HDTV +- source property UHDTV is now Ultra HDTV +- source property HDTC is now HD Telecine +- screen\_size property 360i was added. +- screen\_size property 480i was added. +- screen\_size property 576i was added. +- screen\_size property 900i was added. +- screen\_size property 1440p was added. +- screen\_size property 4K is now 2160p +- screen\_size property 4320p was added. +- video\_codec property h264 is now H.264 +- video\_codec property h265 is now H.265 +- video\_codec property Mpeg2 is now MPEG-2 +- video\_codec property Real is now RealVideo +- video\_codec property XviD is now Xvid +- video\_profile property BP is now Baseline. +- video\_profile property HP is now High. +- video\_profile property XP is now Extended. +- video\_profile property MP is now Main. +- video\_profile property Hi422P is now High 4:2:2. +- video\_profile property Hi444PP is now High 4:4:4 Predictive. +- video\_profile property High 10 was added. +- video\_profile property 8bit was removed. 8bit is detected as \`color\_depth\`: 8-bit +- video\_profile property 10bit was removed. 10bit is detected as \`color\_depth\`: 10-bit +- audio\_codec property DTS-HD was added. +- audio\_codec property AC3 is now Dolby Digital +- audio\_codec property EAC3 is now Dolby Digital Plus +- audio\_codec property TrueHD is now Dolby TrueHD +- audio\_codec property DolbyAtmos is now Dolby Atmos. +- audio\_profile property HE is now High Efficiency. +- audio\_profile property LC is now Low Complexity. +- audio\_profile property HQ is now High Quality. +- audio\_profile property HDMA is now Master Audio. +- edition property Collector Edition is now Collector +- edition property Special Edition is now Special +- edition property Criterion Edition is now Criterion +- edition property Deluxe Edition is now Deluxe +- edition property Limited Edition is now Limited +- edition property Theatrical Edition is now Theatrical +- edition property Director's Definitive Cut was added. +- episode\_details property Oav and Ova were removed. They are now other: Original Animated Video +- episode\_details property Omake is now Extras +- episode\_details property Final was added. +- other property Rip was added. +- other property DDC was removed. DDC is now \`edition\`: Director's Definitive Cut +- other property CC was removed. CC is now \`edition\`: Criterion +- other property FINAL was removed. FINAL is now \`episode\_details\`: Final +- other property Original Animated Video was added. +- other property OV is now Original Video +- other property AudioFix is now Audio Fixed +- other property SyncFix is now Sync Fixed +- other property DualAudio is now Dual Audio +- other property Fansub is now Fan Subtitled +- other property Fastsub is now Fast Subtitled +- other property FullHD is now Full HD +- other property UltraHD is now Ultra HD +- other property mHD and HDLight are now Micro HD +- other property HQ is now High Quality +- other property HR is now High Resolution +- other property LD is now Line Dubbed +- other property MD is now Mic Dubbed +- other property Low Definition was added. +- other property LiNE is now Line Audio +- other property R5 is now Region 5 +- other property Region C was added. +- other property ReEncoded is now Reencoded +- other property WideScreen is now Widescreen +- Added Ultra HD Blu-ray as new source possible value. +- Added Standard Dynamic Range as new other possible value. +- Added HDR10 as new other possible value. +- Added Dolby Vision as new other possible value. +- Added BT.2020 as new other possible value. +- Added 12-bit as new color\_depth possible value. +- Added IMAX as new edition possible value. +- Added Upscaled as new other possible value. +- Added High Frame Rate as new other possible value. +- Added Ultimate as new edition possible value. +- Added Fan as new edition possible value. +- Added High Resolution Audio as new audio\_profile possible value. +- Added Extended Surround as new audio\_profile possible value. +- Added EX as new audio\_profile possible value +- Added Opus as new audio\_codec possible value +- Added aspect\_ratio as new property. Also used to validate if a screen\_size is a standard resolution. +- Fixed unwanted language and country detection for exotic languages. +- Added default and configurable list of allowed languages and countries +- Added VC-1 as new video\_codec possible value +- Enhanced dash-separated release\_group detection. +- Changed size output to return guessit.Quantity object. +- Changed size output to return guessit.Size object. +- Added audio\_video\_rate as new possible property. +- Added video\_video\_rate as new possible property. +- Added frame\_rate as new possible property. +- Added disc as a new possible property. +- Added H.263 as new video\_codec possible value. +- Added VP7 as new video\_codec possible value. +- Added VP8 as new video\_codec possible value. +- Added VP9 as new video\_codec possible value. +- Added Vorbis as new audio\_codec possible value. +- Added PCM as new audio\_codec possible value. +- Added LPCM as new audio\_codec possible value. +- Added Digital Master as new source possible value. +- Added several new values for streaming\_service. +- Added new options --includes and --excludes. +- Added Sample as new other possible value. +- Added Obfuscated as new other possible value. +- Added Proof as new other possible value. +- Added Repost as new other possible value. +- Added advanced guessit configuration to config files. +- Add support for pathlib.Path objects on guessit API input. + +## 2.1.4 (2017-06-01) + +- Fix broken match function when using rebulk\>=0.9.0. + +## 2.1.3 (2017-05-31) + +- Add nzb as new container possible value +- Add EAC3 as new audio\_codec possible value +- Add FullHD as new other possible value +- Added python 3.6 support +- Dropped python 2.6 support +- Make container values consistent and always lowercase +- Fix --type movie being ignored for movies that starts with numbers +- Fix invalid language detection due the common words audio, true and unknown +- Fix episode type detection when series name contains year followed by SEE pattern + +## 2.1.2 (2017-04-03) + +- Many fixes, additions and improvements (thanks to @ratoaq2). + +## 2.1.1 (2016-12-04) + +- Add \~ to episode/season separators. +- Add AHDTV, HDTC, SATRip as new format possible values. +- Add streaming\_service property. +- Add DDP pattern as audio\_codec=\`DolbyDigital\`. +- Add LDTV as possible tag for other=\`LD\`. +- Add StripSeparators Post Processor to strip separators from all matches. +- Fix invalid guess 1 x 2 with --type episode. +- Fix part property. +- Fix cd\_count issue with x264-CD. +- Fix HDD group detected as DolbyDigital. +- Fix invalid comparator in audio\_codec conflict solver. +- Fix validation of film property. +- Fix date followed by screen\_size invalid guess. +- Fix episode not detected when smaller filepart repeats the season and uses SSEE pattern. +- Enhance season/episode conflict solver to keep most specific value. +- Enhance video\_profile detection. +- Enhance episode/season range and sequence guessing. +- Enhance performance with rebulk upgrade to 0.8.2. +- Enhance season/episode. +- Enhance other=\`Complete\` guessing. +- Enhance release\_group guessing. +- Enhance command line options parsing related to unicode. +- Ensure roman numbers are surrounded with separators to be guessed as numbers. + +## 2.1.0 (2016-09-08) + +- Drop support for regex native module. +- Remove dependency constraint on python-dateutil. +- Enhance langage/country guessing in edge cases. +- Enhance rule to guess release\_group in more file templates. +- Fix edge cases for subtitle language detection. +- Fix invalid conflict solving in season/episode occuring between SssEee and ssXee pattern. +- Fix issue when running guessit in non-interactive shell with python 2 +- Guess Dolby keyword as DolbyDigital in audio\_codec. +- Avoid title to be guessed as website (Dark.Net) +- Avoid season/episode to be guessed when pattern is included inside words. +- Enhance screen\_size to detect 720pHD and 1080pHD +- Add support for format and video\_codec when no separators between themselves. (HDTVx264, PDTVx264, ...) +- Add rebulk version in --version option. +- Upgrade rebulk to 0.7.3. + +## 2.0.5 (2016-04-10) + +- Fix inconsistent properties returned by guessit -p. +- Add support for titles containing dots. +- Lock python-dateutil dependency to \<2.5.2. + +## 2.0.4 (2016-02-03) + +- Add an Exception Report when an unexpected exception occurs. + +## 2.0.3 (2016-01-30) + +- Something goes wrong with 2.0.2 release ... + +## 2.0.2 (2016-01-30) + +- Fix possible issue with unicode characters encoding/decoding. +- Pypy is now supported. + +## 2.0.1 (2016-01-28) + +- Add support for any type of string with python 2 and python 3 (binary, str, unicode). + +## 2.0.0 (2016-01-27) + +- Final release. + +## 2.0rc8 (2016-01-26) + +- Remove regex native module from required dependencies. It will now be used only if present. + +## 2.0rc7 (2016-01-18) + +- Fix packaging issues on Python 2.7. + +## 2.0rc6 (2016-01-18) + +- Fix packaging issues. + +## 2.0rc5 (2016-01-18) + +- Guessit is now available as a docker container on Docker Hub (). +- country 2-letter code is not added to title value anymore. +- All container values are now capitalized. +- alternativeTitle has been renamed to alternative\_title and added to the docs. +- mimetype property is now in the docs. +- Add more excluded words for language property. +- Add more possible values for other property. +- Fix an issue occuring with title values starting with Scr. +- film property is now guessed only if less than 100 to avoid possible conflicts with crc32. + +## 2.0rc4 (2015-12-03) + +- Add docs. +- Add exotic screen\_size patterns support like 720hd and 720p50. +- Rename audio\_codec value true-HD to trueHD. + +## 2.0rc3 (2015-11-29) + +- Add \_\_version\_\_ to main module. + +## 2.0rc2 (2015-11-28) + +- Single digit episodes are now guessed for --type episode instead of --episode-prefer-number. +- Fix separators that could cause some titles to be splited with & and ;. +- Avoid possible NoneType error. + +## 2.0rc1 (2015-11-27) + +- Fallback to default title guessing when expected-title is not found. + +## 2.0b4 (2015-11-24) + +- Add expected-group option. +- Add validation rule for single digit episode to avoid false positives. +- Add verbose option. +- Fix expected-title option. +- Better unicode support in expected-group/expected-title option. + +## 2.0b3 (2015-11-15) + +- Add support for part with no space before number. +- Avoid uuid and crc32 collision with season/episode properties. +- Add better space support for season/episode properties. +- Ensure date property is found when conflicting with season/episode properties. +- Fix IndexError when input has a closing group character with no opening one before. +- Add --type option. +- Add rebulk implicit option support. + +## 2.0b2 (2015-11-14) + +- Add python 2.6 support. + +## 2.0b1 (2015-11-11) + +- Enhance title guessing. +- Upgrade rebulk to 0.6.1. +- Rename properCount to proper\_count +- Avoid crash when using -p/-V option with --yaml and yaml module is not available. + +## 2.0a4 (2015-11-09) + +- Add -p/-V options to display properties and values that can be guessed. + +## 2.0a3 (2015-11-08) + +- Allow rebulk customization in API module. + +## 2.0a2 (2015-11-07) + +- Raise TypeError instead of AssertionError when non text is given to guessit API. +- Fix packaging issues with previous release blocking installation. + +## 2.0a1 (2015-11-07) + +- Rewrite from scratch using Rebulk. +- Read MIGRATION.rst for migration guidelines. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..674716e --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,22 @@ +# Contribute + +GuessIt is under active development, and contributions are more than +welcome! + +1. Check for open issues or open a fresh issue to start a discussion + around a feature idea or a bug. There is a Contributor Friendly tag + for issues that should be ideal for people who are not very familiar + with the codebase yet. +2. Fork [the repository][] on Github to start making your changes to + the **master** branch (or branch off of it). +3. Write a test which shows that the bug was fixed or that the feature + works as expected. +4. Send a pull request and bug the maintainer until it gets merged and + published. :) + +# License + +GuessIt is licensed under the [LGPLv3 license][]. + + [the repository]: https://github.com/guessit-io/guessit + [LGPLv3 license]: http://www.gnu.org/licenses/lgpl.html \ No newline at end of file diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst deleted file mode 100644 index 320223d..0000000 --- a/CONTRIBUTING.rst +++ /dev/null @@ -1,19 +0,0 @@ -Contribute ----------- - -GuessIt is under active development, and contributions are more than welcome! - -#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. - There is a Contributor Friendly tag for issues that should be ideal for people who are not very - familiar with the codebase yet. -#. Fork `the repository`_ on Github to start making your changes to the **master** - branch (or branch off of it). -#. Write a test which shows that the bug was fixed or that the feature works as expected. -#. Send a pull request and bug the maintainer until it gets merged and published. :) - -.. _the repository: https://github.com/guessit-io/guessit - -License -------- - -GuessIt is licensed under the `LGPLv3 license `_. \ No newline at end of file diff --git a/HISTORY.rst b/HISTORY.rst deleted file mode 100644 index d5f9ed1..0000000 --- a/HISTORY.rst +++ /dev/null @@ -1,425 +0,0 @@ -History -======= - -3.1.2 (unreleased) ------------------- - -- Nothing changed yet. - - -3.1.1 (2020-05-03) ------------------- - -- Drop python `3.4` support -- Use SafeLoader with `yaml.load()` - - -3.1.0 (2019-09-02) ------------------- - -- Add python `3.8` support -- Use rebulk `2.*` -- Remove `v` from `subtitle_language` prefix in default configuration -- Add `Variable Frame Rate` value to `other` property (VFR tag) -- Use episode words defined in configuration in a rebulk rule -- Avoid trigger of useless rules consequences -- Fix possible crash in weak episode removal -- Fix issue caused by `streaming_service` property conflicts -- Fix source validation when more than one pattern match -- Fix issue with some titles on multiple fileparts -- Fix issue related to website exclusion inside title - - -3.0.4 (2019-06-04) ------------------- - -- `screen_size` property `540p` was added. -- Fix `audio_channel` detection for `6.0` -- Fix common words being detected as language -- `streaming_service` is now configurable in advanced options -- Add `DC Universe` to `streaming_service` -- Improve detection when release name in between brackets -- Improve language detection -- Fix wrong 3D detection -- Fix to keep separators for single characters. E.g.: S.W.A.T. -- Fix `Show Name/Season SS/Ep. EE - Title` -- Added `This is Us` to default expected titles -- Added `suggested_expected` to the api to support apps that uses guessit as a library -- Added `Extras` detection as `other` property -- Add more streaming sites - -3.0.3 (2018-10-23) ------------------- - -- Add `MP2` `audio_codec` value. -- `Proper` and `Fix` have been separated in two distinct `other` values. -- Add `1e18` `season`/`episode` pattern. -- Fix false `release_group` matches with `--expected-title` option. -- Fix parent folder ending with a digit detected as title -- Fix wrong season/year with `--type episode` option. Serie(s) keyword has been removed from default configuration. -- Fix missing property when `episode_details` pattern appears in title. - -3.0.2 (2018-10-18) ------------------- - -- Ensure consistent behavior between CLI and Python module. It's now possible to override `advanced_config` at runtime - through options dict. Rebulk rules are lazily rebuilt when `advanced_config` is changed since previous call. -- Refactored command line options and loading behavior related to configuration files (see `-c CONFIG`, - `--config CONFIG`, `--no-user-config`, `--no-default-config`) - -3.0.1 (2018-10-17) ------------------- - -- Removed `Extras` and `Bonus` values from `episode_details` property as those tags may also appear in movies -- Add `Scalable Video Coding`, `Advanced Video Codec High Definition` and `High Efficiency Video Coding` values to `video_profile` -- Add support for Python 3.7 -- Add `mk3d` value to `container` -- Better title cleanup containing acronyms (like `Marvel's Agents of S.H.I.E.L.D`) -- Fix issue with ES audio_profile breaking titles -- Fix crash for files ending with `Rip` - - -3.0.0 (2018-05-22) ------------------- - -- Renamed `format` property to `source`. -- `source` property `Cam` is now `Camera` or `HD Camera` -- `source` property `Telesync` is now `Telesync` or `HD Telesync` -- `source` property `PPV` is now `Pay-per-view` -- `source` property `DVB` is now `Digital TV` -- `source` property `VOD` is now `Video on Demand` -- `source` property `WEBRip` is now `Web` with additional property `other`: `Rip` -- `source` property `WEB-DL` is now `Web` -- `source` property `AHDTV` is now `Analog HDTV` -- `source` property `UHDTV` is now `Ultra HDTV` -- `source` property `HDTC` is now `HD Telecine` -- `screen_size` property `360i` was added. -- `screen_size` property `480i` was added. -- `screen_size` property `576i` was added. -- `screen_size` property `900i` was added. -- `screen_size` property `1440p` was added. -- `screen_size` property `4K` is now `2160p` -- `screen_size` property `4320p` was added. -- `video_codec` property `h264` is now `H.264` -- `video_codec` property `h265` is now `H.265` -- `video_codec` property `Mpeg2` is now `MPEG-2` -- `video_codec` property `Real` is now `RealVideo` -- `video_codec` property `XviD` is now `Xvid` -- `video_profile` property `BP` is now `Baseline`. -- `video_profile` property `HP` is now `High`. -- `video_profile` property `XP` is now `Extended`. -- `video_profile` property `MP` is now `Main`. -- `video_profile` property `Hi422P` is now `High 4:2:2`. -- `video_profile` property `Hi444PP` is now `High 4:4:4 Predictive`. -- `video_profile` property `High 10` was added. -- `video_profile` property `8bit` was removed. `8bit` is detected as `color_depth`: `8-bit` -- `video_profile` property `10bit` was removed. `10bit` is detected as `color_depth`: `10-bit` -- `audio_codec` property `DTS-HD` was added. -- `audio_codec` property `AC3` is now `Dolby Digital` -- `audio_codec` property `EAC3` is now `Dolby Digital Plus` -- `audio_codec` property `TrueHD` is now `Dolby TrueHD` -- `audio_codec` property `DolbyAtmos` is now `Dolby Atmos`. -- `audio_profile` property `HE` is now `High Efficiency`. -- `audio_profile` property `LC` is now `Low Complexity`. -- `audio_profile` property `HQ` is now `High Quality`. -- `audio_profile` property `HDMA` is now `Master Audio`. -- `edition` property `Collector Edition` is now `Collector` -- `edition` property `Special Edition` is now `Special` -- `edition` property `Criterion Edition` is now `Criterion` -- `edition` property `Deluxe Edition` is now `Deluxe` -- `edition` property `Limited Edition` is now `Limited` -- `edition` property `Theatrical Edition` is now `Theatrical` -- `edition` property `Director's Definitive Cut` was added. -- `episode_details` property `Oav` and `Ova` were removed. They are now `other: Original Animated Video` -- `episode_details` property `Omake` is now `Extras` -- `episode_details` property `Final` was added. -- `other` property `Rip` was added. -- `other` property `DDC` was removed. `DDC` is now `edition`: `Director's Definitive Cut` -- `other` property `CC` was removed. `CC` is now `edition`: `Criterion` -- `other` property `FINAL` was removed. `FINAL` is now `episode_details`: `Final` -- `other` property `Original Animated Video` was added. -- `other` property `OV` is now `Original Video` -- `other` property `AudioFix` is now `Audio Fixed` -- `other` property `SyncFix` is now `Sync Fixed` -- `other` property `DualAudio` is now `Dual Audio` -- `other` property `Fansub` is now `Fan Subtitled` -- `other` property `Fastsub` is now `Fast Subtitled` -- `other` property `FullHD` is now `Full HD` -- `other` property `UltraHD` is now `Ultra HD` -- `other` property `mHD` and `HDLight` are now `Micro HD` -- `other` property `HQ` is now `High Quality` -- `other` property `HR` is now `High Resolution` -- `other` property `LD` is now `Line Dubbed` -- `other` property `MD` is now `Mic Dubbed` -- `other` property `Low Definition` was added. -- `other` property `LiNE` is now `Line Audio` -- `other` property `R5` is now `Region 5` -- `other` property `Region C` was added. -- `other` property `ReEncoded` is now `Reencoded` -- `other` property `WideScreen` is now `Widescreen` -- Added `Ultra HD Blu-ray` as new `source` possible value. -- Added `Standard Dynamic Range` as new `other` possible value. -- Added `HDR10` as new `other` possible value. -- Added `Dolby Vision` as new `other` possible value. -- Added `BT.2020` as new `other` possible value. -- Added `12-bit` as new `color_depth` possible value. -- Added `IMAX` as new `edition` possible value. -- Added `Upscaled` as new `other` possible value. -- Added `High Frame Rate` as new `other` possible value. -- Added `Ultimate` as new `edition` possible value. -- Added `Fan` as new `edition` possible value. -- Added `High Resolution Audio` as new `audio_profile` possible value. -- Added `Extended Surround` as new `audio_profile` possible value. -- Added `EX` as new `audio_profile` possible value -- Added `Opus` as new `audio_codec` possible value -- Added `aspect_ratio` as new property. Also used to validate if a screen_size is a standard resolution. -- Fixed unwanted language and country detection for exotic languages. -- Added default and configurable list of allowed languages and countries -- Added `VC-1` as new `video_codec` possible value -- Enhanced dash-separated `release_group` detection. -- Changed `size` output to return `guessit.Quantity` object. -- Changed `size` output to return `guessit.Size` object. -- Added `audio_video_rate` as new possible property. -- Added `video_video_rate` as new possible property. -- Added `frame_rate` as new possible property. -- Added `disc` as a new possible property. -- Added `H.263` as new `video_codec` possible value. -- Added `VP7` as new `video_codec` possible value. -- Added `VP8` as new `video_codec` possible value. -- Added `VP9` as new `video_codec` possible value. -- Added `Vorbis` as new `audio_codec` possible value. -- Added `PCM` as new `audio_codec` possible value. -- Added `LPCM` as new `audio_codec` possible value. -- Added `Digital Master` as new `source` possible value. -- Added several new values for `streaming_service`. -- Added new options `--includes` and `--excludes`. -- Added `Sample` as new `other` possible value. -- Added `Obfuscated` as new `other` possible value. -- Added `Proof` as new `other` possible value. -- Added `Repost` as new `other` possible value. -- Added advanced guessit configuration to config files. -- Add support for `pathlib.Path` objects on guessit API input. - -2.1.4 (2017-06-01) ------------------- - -- Fix broken match function when using `rebulk>=0.9.0`. - -2.1.3 (2017-05-31) ------------------- - -- Add `nzb` as new `container` possible value -- Add `EAC3` as new `audio_codec` possible value -- Add `FullHD` as new `other` possible value -- Added python 3.6 support -- Dropped python 2.6 support -- Make `container` values consistent and always lowercase -- Fix `--type movie` being ignored for movies that starts with numbers -- Fix invalid `language` detection due the common words `audio`, `true` and `unknown` -- Fix `episode` type detection when series name contains `year` followed by SEE pattern - -2.1.2 (2017-04-03) ------------------- - -- Many fixes, additions and improvements (thanks to @ratoaq2). - -2.1.1 (2016-12-04) ------------------- - -- Add `~` to episode/season separators. -- Add `AHDTV`, `HDTC`, `SATRip` as new `format` possible values. -- Add `streaming_service` property. -- Add `DDP` pattern as `audio_codec`=`DolbyDigital`. -- Add `LDTV` as possible tag for `other`=`LD`. -- Add `StripSeparators` Post Processor to strip separators from all matches. -- Fix invalid guess `1 x 2` with `--type episode`. -- Fix `part` property. -- Fix `cd_count` issue with `x264-CD`. -- Fix `HDD` group detected as `DolbyDigital`. -- Fix invalid comparator in `audio_codec` conflict solver. -- Fix validation of `film` property. -- Fix `date` followed by `screen_size` invalid guess. -- Fix `episode` not detected when smaller filepart repeats the `season` and uses `SSEE` pattern. -- Enhance `season`/`episode` conflict solver to keep most specific value. -- Enhance `video_profile` detection. -- Enhance `episode`/`season` range and sequence guessing. -- Enhance performance with rebulk upgrade to `0.8.2`. -- Enhance `season`/`episode`. -- Enhance `other`=`Complete` guessing. -- Enhance `release_group` guessing. -- Enhance command line options parsing related to unicode. -- Ensure roman numbers are surrounded with separators to be guessed as numbers. - -2.1.0 (2016-09-08) ------------------- - -- Drop support for `regex` native module. -- Remove dependency constraint on `python-dateutil`. -- Enhance langage/country guessing in edge cases. -- Enhance rule to guess `release_group` in more file templates. -- Fix edge cases for subtitle language detection. -- Fix invalid conflict solving in `season`/`episode` occuring between `SssEee` and `ssXee` pattern. -- Fix issue when running guessit in non-interactive shell with python 2 -- Guess Dolby keyword as DolbyDigital in `audio_codec`. -- Avoid `title` to be guessed as `website` (Dark.Net) -- Avoid `season`/`episode` to be guessed when pattern is included inside words. -- Enhance `screen_size` to detect `720pHD` and `1080pHD` -- Add support for `format` and `video_codec` when no separators between themselves. (HDTVx264, PDTVx264, ...) -- Add rebulk version in `--version` option. -- Upgrade rebulk to `0.7.3`. - -2.0.5 (2016-04-10) ------------------- - -- Fix inconsistent properties returned by guessit -p. -- Add support for titles containing dots. -- Lock python-dateutil dependency to <2.5.2. - -2.0.4 (2016-02-03) ------------------- - -- Add an Exception Report when an unexpected exception occurs. - - -2.0.3 (2016-01-30) ------------------- - -- Something goes wrong with 2.0.2 release ... - - -2.0.2 (2016-01-30) ------------------- - -- Fix possible issue with unicode characters encoding/decoding. -- Pypy is now supported. - - -2.0.1 (2016-01-28) ------------------- - -- Add support for any type of string with python 2 and python 3 (binary, str, unicode). - - -2.0.0 (2016-01-27) ------------------- - -- Final release. - - -2.0rc8 (2016-01-26) -------------------- - -- Remove regex native module from required dependencies. It will now be used only if present. - - -2.0rc7 (2016-01-18) -------------------- - -- Fix packaging issues on Python 2.7. - - -2.0rc6 (2016-01-18) -------------------- - -- Fix packaging issues. - - -2.0rc5 (2016-01-18) -------------------- - -- Guessit is now available as a docker container on Docker Hub (https://hub.docker.com/r/toilal/guessit). -- `country` 2-letter code is not added to `title` value anymore. -- All `container` values are now capitalized. -- `alternativeTitle` has been renamed to `alternative_title` and added to the docs. -- `mimetype` property is now in the docs. -- Add more excluded words for `language` property. -- Add more possible values for `other` property. -- Fix an issue occuring with `title` values starting with `Scr`. -- `film` property is now guessed only if less than `100` to avoid possible conflicts with `crc32`. - - -2.0rc4 (2015-12-03) -------------------- - -- Add docs. -- Add exotic `screen_size` patterns support like `720hd` and `720p50`. -- Rename `audio_codec` value `true-HD` to `trueHD`. - - -2.0rc3 (2015-11-29) -------------------- - -- Add `__version__` to main module. - - -2.0rc2 (2015-11-28) -------------------- - -- Single digit episodes are now guessed for `--type episode` instead of `--episode-prefer-number`. -- Fix separators that could cause some titles to be splited with & and ;. -- Avoid possible `NoneType` error. - - -2.0rc1 (2015-11-27) -------------------- - -- Fallback to default title guessing when `expected-title` is not found. - - -2.0b4 (2015-11-24) ------------------- - -- Add `expected-group` option. -- Add validation rule for single digit `episode` to avoid false positives. -- Add `verbose` option. -- Fix `expected-title` option. -- Better unicode support in `expected-group`/`expected-title` option. - - -2.0b3 (2015-11-15) ------------------- - -- Add support for `part` with no space before number. -- Avoid `uuid` and `crc32` collision with `season`/`episode` properties. -- Add better space support for `season`/`episode` properties. -- Ensure `date` property is found when conflicting with `season`/`episode` properties. -- Fix `IndexError` when input has a closing group character with no opening one before. -- Add `--type` option. -- Add rebulk implicit option support. - -2.0b2 (2015-11-14) ------------------- - -- Add python 2.6 support. - - -2.0b1 (2015-11-11) ------------------- - -- Enhance title guessing. -- Upgrade rebulk to `0.6.1`. -- Rename `properCount` to `proper_count` -- Avoid crash when using `-p`/`-V` option with `--yaml` and `yaml` module is not available. - -2.0a4 (2015-11-09) ------------------- - -- Add `-p`/`-V` options to display properties and values that can be guessed. - - -2.0a3 (2015-11-08) ------------------- - -- Allow rebulk customization in API module. - -2.0a2 (2015-11-07) ------------------- - -- Raise TypeError instead of AssertionError when non text is given to guessit API. -- Fix packaging issues with previous release blocking installation. - -2.0a1 (2015-11-07) ------------------- - -- Rewrite from scratch using Rebulk. -- Read MIGRATION.rst for migration guidelines. diff --git a/MANIFEST.in b/MANIFEST.in index 3e5e947..6261de9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,8 @@ recursive-include guessit *.py *.yml *.txt *.ini *.json *.yaml *.yml recursive-exclude guessit *.pyc include LICENSE -include *.rst +include *.md +include *.yml include *.ini include *.cfg include *.txt diff --git a/README.rst b/README.md similarity index 73% rename from README.rst rename to README.md index 31bb2d0..591758d 100644 --- a/README.rst +++ b/README.md @@ -1,33 +1,20 @@ GuessIt ======= -.. image:: http://img.shields.io/pypi/v/guessit.svg - :target: https://pypi.python.org/pypi/guessit - :alt: Latest Version +[![Latest Version](http://img.shields.io/pypi/v/guessit.svg)](https://pypi.python.org/pypi/guessit) +[![LGPLv3 License](http://img.shields.io/badge/license-LGPLv3-blue.svg)]() +[![Build Status](https://img.shields.io/github/workflow/status/guessit-io/guessit/ci)](https://github.com/guessit-io/guessit/actions?query=workflow%3Aci) +[![Coveralls](http://img.shields.io/coveralls/guessit-io/guessit/master.svg)](https://coveralls.io/github/guessit-io/guessit?branch=master) +[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/relekang/python-semantic-release) -.. image:: http://img.shields.io/badge/license-LGPLv3-blue.svg - :target: https://pypi.python.org/pypi/guessit - :alt: LGPLv3 License +GuessIt is a python library that extracts as much information as +possible from a video filename. -.. image:: http://img.shields.io/travis/guessit-io/guessit.svg - :target: https://travis-ci.org/guessit-io/guessit - :alt: Build Status +It has a very powerful matcher that allows to guess properties from a +video using its filename only. This matcher works with both movies and +tv shows episodes. -.. image:: http://img.shields.io/coveralls/guessit-io/guessit/master.svg - :target: https://coveralls.io/github/guessit-io/guessit?branch=master - :alt: Coveralls - -.. image:: https://img.shields.io/badge/Hu-Board-7965cc.svg - :target: https://huboard.com/guessit-io/guessit - :alt: HuBoard - - -GuessIt is a python library that extracts as much information as possible from a video filename. - -It has a very powerful matcher that allows to guess properties from a video using its filename only. -This matcher works with both movies and tv shows episodes. - -For example, GuessIt can do the following:: +For example, GuessIt can do the following: $ guessit "Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi" For: Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi @@ -44,31 +31,34 @@ For example, GuessIt can do the following:: "type": "episode" } -More information are available at `ReadTheDocs `_. +More information are available at [guessit.io](http://guessit.io/). Migration note --------------- -GuessIt 2 has been rewriten from scratch. GuessIt is now a release name parser only, and support for additional -features like hashes computations has been dropped. +----- -To migrate from guessit ``0.x`` or ``1.x`` to ``guessit 2.x``, please read -`migration.rst `_. +GuessIt 2 has been rewriten from scratch. GuessIt is now a release name +parser only, and support for additional features like hashes +computations has been dropped. -To migrate from guessit ``2.x`` to ``3.x``, please read `migration2to3.rst `_. +To migrate from guessit `0.x` or `1.x` to `guessit 2.x`, please read +[migration.md](./docs/migration.md). + +To migrate from guessit `2.x` to `3.x`, please read +[migration2to3.md](./docs/migration2to3.md). Install -------- +----- -Installing GuessIt is simple with `pip `_:: +Installing GuessIt is simple with [pip](http://www.pip-installer.org/): $ pip install guessit -You can also `install GuessIt from sources `_ +You can also [install GuessIt from sources](./docs/sources.md) Usage ----- -GuessIt can be used from command line:: +GuessIt can be used from command line: $ guessit usage: guessit [-h] [-t TYPE] [-n] [-Y] [-D] [-L ALLOWED_LANGUAGES] @@ -153,21 +143,20 @@ GuessIt can be used from command line:: -V, --values Display property values that can be guessed. --version Display the guessit version. - -It can also be used as a python module:: +It can also be used as a python module: >>> from guessit import guessit >>> guessit('Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi') MatchesDict([('title', 'Treme'), ('season', 1), ('episode', 3), ('episode_title', 'Right Place, Wrong Time'), ('source', 'HDTV'), ('video_codec', 'Xvid'), ('release_group', 'NoTV'), ('container', 'avi'), ('mimetype', 'video/x-msvideo'), ('type', 'episode')]) -``MatchesDict`` is a dict that keeps matches ordering. +`MatchesDict` is a dict that keeps matches ordering. Command line options can be given as dict or string to the second argument. Docker ------ -GuessIt is also available on `Docker Hub `_ as a Docker Image.:: +GuessIt is also available on [Docker Hub](https://hub.docker.com/r/guessit/guessit/) as a Docker Image.: $ docker run -it guessit/guessit "Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi" For: Treme.1x03.Right.Place,.Wrong.Time.HDTV.XviD-NoTV.avi @@ -187,12 +176,11 @@ GuessIt is also available on `Docker Hub `_. Feel free to open an issue if you think you -have found a bug or something is missing in guessit. +This project is hosted on [GitHub](https://github.com/guessit-io/guessit). Feel free to open an issue if you think you have found a bug or something is missing in guessit. -GuessIt relies on `Rebulk `_ project for pattern and rules registration. +GuessIt relies on [Rebulk](https://github.com/Toilal/rebulk) project for pattern and rules registration. License ------- -GuessIt is licensed under the `LGPLv3 license `_. +GuessIt is licensed under the [LGPLv3 license](http://www.gnu.org/licenses/lgpl.html). diff --git a/docs/Makefile b/docs/Makefile deleted file mode 100644 index 858c0ee..0000000 --- a/docs/Makefile +++ /dev/null @@ -1,192 +0,0 @@ -# Makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = -BUILDDIR = _build - -# User-friendly check for sphinx-build -ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) -$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) -endif - -# Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . -# the i18n builder cannot share the environment and doctrees with the others -I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . - -.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext - -help: - @echo "Please use \`make ' where is one of" - @echo " html to make standalone HTML files" - @echo " dirhtml to make HTML files named index.html in directories" - @echo " singlehtml to make a single large HTML file" - @echo " pickle to make pickle files" - @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" - @echo " qthelp to make HTML files and a qthelp project" - @echo " applehelp to make an Apple Help Book" - @echo " devhelp to make HTML files and a Devhelp project" - @echo " epub to make an epub" - @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" - @echo " latexpdf to make LaTeX files and run them through pdflatex" - @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx" - @echo " text to make text files" - @echo " man to make manual pages" - @echo " texinfo to make Texinfo files" - @echo " info to make Texinfo files and run them through makeinfo" - @echo " gettext to make PO message catalogs" - @echo " changes to make an overview of all changed/added/deprecated items" - @echo " xml to make Docutils-native XML files" - @echo " pseudoxml to make pseudoxml-XML files for display purposes" - @echo " linkcheck to check all external links for integrity" - @echo " doctest to run all doctests embedded in the documentation (if enabled)" - @echo " coverage to run coverage check of the documentation (if enabled)" - -clean: - rm -rf $(BUILDDIR)/* - -html: - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." - -dirhtml: - $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." - -singlehtml: - $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml - @echo - @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." - -pickle: - $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle - @echo - @echo "Build finished; now you can process the pickle files." - -json: - $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json - @echo - @echo "Build finished; now you can process the JSON files." - -htmlhelp: - $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp - @echo - @echo "Build finished; now you can run HTML Help Workshop with the" \ - ".hhp project file in $(BUILDDIR)/htmlhelp." - -qthelp: - $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp - @echo - @echo "Build finished; now you can run "qcollectiongenerator" with the" \ - ".qhcp project file in $(BUILDDIR)/qthelp, like this:" - @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/GuessIt.qhcp" - @echo "To view the help file:" - @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/GuessIt.qhc" - -applehelp: - $(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp - @echo - @echo "Build finished. The help book is in $(BUILDDIR)/applehelp." - @echo "N.B. You won't be able to view it unless you put it in" \ - "~/Library/Documentation/Help or install it in your application" \ - "bundle." - -devhelp: - $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp - @echo - @echo "Build finished." - @echo "To view the help file:" - @echo "# mkdir -p $$HOME/.local/share/devhelp/GuessIt" - @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/GuessIt" - @echo "# devhelp" - -epub: - $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub - @echo - @echo "Build finished. The epub file is in $(BUILDDIR)/epub." - -latex: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo - @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." - @echo "Run \`make' in that directory to run these through (pdf)latex" \ - "(use \`make latexpdf' here to do that automatically)." - -latexpdf: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through pdflatex..." - $(MAKE) -C $(BUILDDIR)/latex all-pdf - @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." - -latexpdfja: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through platex and dvipdfmx..." - $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja - @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." - -text: - $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text - @echo - @echo "Build finished. The text files are in $(BUILDDIR)/text." - -man: - $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man - @echo - @echo "Build finished. The manual pages are in $(BUILDDIR)/man." - -texinfo: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo - @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." - @echo "Run \`make' in that directory to run these through makeinfo" \ - "(use \`make info' here to do that automatically)." - -info: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo "Running Texinfo files through makeinfo..." - make -C $(BUILDDIR)/texinfo info - @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." - -gettext: - $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale - @echo - @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." - -changes: - $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes - @echo - @echo "The overview file is in $(BUILDDIR)/changes." - -linkcheck: - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck - @echo - @echo "Link check complete; look for any errors in the above output " \ - "or in $(BUILDDIR)/linkcheck/output.txt." - -doctest: - $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest - @echo "Testing of doctests in the sources finished, look at the " \ - "results in $(BUILDDIR)/doctest/output.txt." - -coverage: - $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage - @echo "Testing of coverage in the sources finished, look at the " \ - "results in $(BUILDDIR)/coverage/python.txt." - -xml: - $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml - @echo - @echo "Build finished. The XML files are in $(BUILDDIR)/xml." - -pseudoxml: - $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml - @echo - @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." diff --git a/docs/_static/coinwidget/coin.css b/docs/_static/coinwidget/coin.css deleted file mode 100644 index 1505992..0000000 --- a/docs/_static/coinwidget/coin.css +++ /dev/null @@ -1,96 +0,0 @@ -/** - -Donations welcome: - BTC: 122MeuyZpYz4GSHNrF98e6dnQCXZfHJeGS - LTC: LY1L6M6yG26b4sRkLv4BbkmHhPn8GR5fFm - ~ Thank you! - ------------- - -MIT License (MIT) - -Copyright (c) 2013 http://coinwidget.com/ -Copyright (c) 2013 http://scotty.cc/ - -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. - -*/ - -/* button */ -.COINWIDGETCOM_CONTAINER {height:18px;display:inline-block;font-family:arial;line-height:12px;margin-right:5px;} -.COINWIDGETCOM_CONTAINER > span {padding:3px;background:#fff;box-shadow:1px 1px 2px rgba(0,0,0,0.05);border:1px solid #ddd;position:relative;min-height:14px;max-height:14px;min-width:14px;text-align:center;font-size:11px;color:#666;margin-left:7px;border-radius:3px 3px 3px 3px;} -.COINWIDGETCOM_CONTAINER > span:after, .COINWIDGETCOM_CONTAINER > span:before {right: 100%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;} -.COINWIDGETCOM_CONTAINER > span:after {border-color: rgba(255, 255, 255, 0);border-right-color: #fff;border-width: 5px;top: 50%;margin-top: -5px;} -.COINWIDGETCOM_CONTAINER > span:before {border-color: rgba(221, 221, 221, 0);border-right-color: #ddd;border-width: 6px;top: 50%;margin-top: -6px;} -.COINWIDGETCOM_CONTAINER > span, -.COINWIDGETCOM_CONTAINER > a {display:inline-block;vertical-align:middle;height:18px;} -.COINWIDGETCOM_CONTAINER > a {background: #eeeeee;background: -moz-linear-gradient(top, #eeeeee 0%, #fafafa 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#fafafa));background: -webkit-linear-gradient(top, #eeeeee 0%,#fafafa 100%);background: -o-linear-gradient(top, #eeeeee 0%,#fafafa 100%);background: -ms-linear-gradient(top, #eeeeee 0%,#fafafa 100%);background: linear-gradient(to bottom, #eeeeee 0%,#fafafa 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#fafafa',GradientType=0 );padding:2px 4px;border:1px solid #ccc;font-size:11px;box-shadow:1px 1px 4px rgba(0,0,0,0.075),inset 1px 1px 0px rgba(255,255,255,0.8);border-radius:2px 2px 2px 2px;} -.COINWIDGETCOM_CONTAINER > a:hover {background: #fafafa;background: -moz-linear-gradient(top, #fafafa 0%, #eeeeee 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(100%,#eeeeee));background: -webkit-linear-gradient(top, #fafafa 0%,#eeeeee 100%);background: -o-linear-gradient(top, #fafafa 0%,#eeeeee 100%);background: -ms-linear-gradient(top, #fafafa 0%,#eeeeee 100%);background: linear-gradient(to bottom, #fafafa 0%,#eeeeee 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#eeeeee',GradientType=0 );} -.COINWIDGETCOM_CONTAINER > a > img, -.COINWIDGETCOM_CONTAINER > a > span {display:inline-block;vertical-align:middle;} -.COINWIDGETCOM_CONTAINER > a > span {margin:0px 3px;color:#444;text-shadow:0px -1px 0px #fff;font-weight:bold;} -.COINWIDGETCOM_CONTAINER > span > img, -.COINWIDGETCOM_CONTAINER > a > img {padding:0px;margin:0px!important;border:0px;} - -/* window */ -.COINWIDGETCOM_WINDOW {font-family:arial;position:absolute;z-index:99999999998;background:#fff;border:1px solid #ccc;padding:5px 5px 25px 5px;background: #fafafa;background: -moz-linear-gradient(top, #fafafa 0%, #eeeeee 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(100%,#eeeeee));background: -webkit-linear-gradient(top, #fafafa 0%,#eeeeee 100%);background: -o-linear-gradient(top, #fafafa 0%,#eeeeee 100%);background: -ms-linear-gradient(top, #fafafa 0%,#eeeeee 100%);background: linear-gradient(to bottom, #fafafa 0%,#eeeeee 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#eeeeee',GradientType=0 );border-radius:2px 2px 2px 2px;top:90%;left:45%;} - -/* window alignments */ -.COINWIDGETCOM_WINDOW_BC {box-shadow:0px 3px 4px rgba(0,0,0,0.1),inset 1px 1px 0px #fff;} -.COINWIDGETCOM_WINDOW_BL {box-shadow:3px 3px 4px rgba(0,0,0,0.1),inset 1px 1px 0px #fff;} -.COINWIDGETCOM_WINDOW_BR {box-shadow:3px 3px 4px rgba(0,0,0,0.1),inset 1px 1px 0px #fff;} -.COINWIDGETCOM_WINDOW_AC {box-shadow:0px 3px 4px rgba(0,0,0,0.1),inset 1px 1px 0px #fff;} -.COINWIDGETCOM_WINDOW_AL {box-shadow:3px 3px 4px rgba(0,0,0,0.1),inset 1px 1px 0px #fff;} -.COINWIDGETCOM_WINDOW_AR {box-shadow:3px 3px 4px rgba(0,0,0,0.1),inset 1px 1px 0px #fff;} - -.COINWIDGETCOM_WINDOW_BC:after, .COINWIDGETCOM_WINDOW_BC:before {bottom: 100%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;} -.COINWIDGETCOM_WINDOW_BC:after {border-color: rgba(250, 250, 250, 0);border-bottom-color: #fafafa;border-width: 5px;left: 50%;margin-left: -5px;} -.COINWIDGETCOM_WINDOW_BC:before {border-color: rgba(204, 204, 204, 0);border-bottom-color: #ccc;border-width: 6px;left: 50%;margin-left: -6px;} -.COINWIDGETCOM_WINDOW_BL:after, .COINWIDGETCOM_WINDOW_BL:before {bottom: 100%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;} -.COINWIDGETCOM_WINDOW_BL:after {border-color: rgba(250, 250, 250, 0);border-bottom-color: #fafafa;border-width: 5px;left: 10%;margin-left: -5px;} -.COINWIDGETCOM_WINDOW_BL:before {border-color: rgba(204, 204, 204, 0);border-bottom-color: #ccc;border-width: 6px;left: 10%;margin-left: -6px;} -.COINWIDGETCOM_WINDOW_BR:after, .COINWIDGETCOM_WINDOW_BR:before {bottom: 100%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;} -.COINWIDGETCOM_WINDOW_BR:after {border-color: rgba(250, 250, 250, 0);border-bottom-color: #fafafa;border-width: 5px;left: 90%;margin-left: -5px;} -.COINWIDGETCOM_WINDOW_BR:before {border-color: rgba(204, 204, 204, 0);border-bottom-color: #ccc;border-width: 6px;left: 90%;margin-left: -6px;} -.COINWIDGETCOM_WINDOW_AC:after, .COINWIDGETCOM_WINDOW_AC:before {top: 100%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;} -.COINWIDGETCOM_WINDOW_AC:after {border-color: rgba(238, 238, 238, 0);border-top-color: #eeeeee;border-width: 5px;left: 50%;margin-left: -5px;} -.COINWIDGETCOM_WINDOW_AC:before {border-color: rgba(204, 204, 204, 0);border-top-color: #ccc;border-width: 6px;left: 50%;margin-left: -6px;} -.COINWIDGETCOM_WINDOW_AL:after, .COINWIDGETCOM_WINDOW_AL:before {top: 100%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;} -.COINWIDGETCOM_WINDOW_AL:after {border-color: rgba(238, 238, 238, 0);border-top-color: #eeeeee;border-width: 5px;left: 10%;margin-left: -5px;} -.COINWIDGETCOM_WINDOW_AL:before {border-color: rgba(204, 204, 204, 0);border-top-color: #ccc;border-width: 6px;left: 10%;margin-left: -6px;} -.COINWIDGETCOM_WINDOW_AR:after, .COINWIDGETCOM_WINDOW_AR:before {top: 100%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;} -.COINWIDGETCOM_WINDOW_AR:after {border-color: rgba(238, 238, 238, 0);border-top-color: #eeeeee;border-width: 5px;left: 90%;margin-left: -5px;} -.COINWIDGETCOM_WINDOW_AR:before {border-color: rgba(204, 204, 204, 0);border-top-color: #ccc;border-width: 6px;left: 90%;margin-left: -6px;} - -/* window elements */ -.COINWIDGETCOM_WINDOW > label {font-size:12px;font-weight:bold;color:#444;display:block;width:250px;padding:3px;text-shadow:0px -1px 0px #fff;} -.COINWIDGETCOM_WINDOW > input {padding:4px 3px 4px 20px;border-radius:2px 2px 2px 2px;border:1px solid #ccc;display:block;width:210px;font-size:10px;margin-bottom:5px;} -.COINWIDGETCOM_WINDOW > a.COINWIDGETCOM_CLOSER {position:absolute;top:3px;right:7px;color:#666;font-weight:bold;text-decoration:none;} -.COINWIDGETCOM_WINDOW > a.COINWIDGETCOM_CLOSER:hover {color:#aaa;} -.COINWIDGETCOM_WINDOW > img {position:absolute;border:none;margin:0px;padding:0px;} -.COINWIDGETCOM_WINDOW > a img {border:none;margin:0px;padding:0px;} -.COINWIDGETCOM_WINDOW > a.COINWIDGETCOM_WALLETURI {position:absolute;} -.COINWIDGETCOM_WINDOW > span {float: left;font-size:12px;font-weight:bold;display: block;width: 115px;text-align: left;border: 1px solid #ffeeb3;background: #fff8ef;text-shadow:0px -1px 0px #fffefa;padding: 5px;margin-right: 4px;box-shadow: inset 1px 1px 0px #fff;color:#444!important;} -.COINWIDGETCOM_WINDOW > span.end {margin-right:0px;} -.COINWIDGETCOM_WINDOW > span > small {display:block;font-size:11px;font-weight:normal;} -.COINWIDGETCOM_WINDOW > a.COINWIDGETCOM_CREDITS {position:absolute;bottom:5px;right:5px;font-size:11px;color:#555;text-decoration:none;text-shadow:0px -1px 0px #fff;} -.COINWIDGETCOM_WINDOW > a.COINWIDGETCOM_CREDITS:hover {color:#111;} -.COINWIDGETCOM_WINDOW > img.COINWIDGETCOM_QRCODE {position:absolute;bottom:5px;left:6px;} -.COINWIDGETCOM_WINDOW > img.COINWIDGETCOM_QRCODE_LARGE {position:absolute;bottom:5px;left:30px;display:none;border:1px solid #333;border-radius:4px;z-index:99999999;box-shadow:0px 0px 8px rgba(0,0,0,0.5);} - diff --git a/docs/_static/coinwidget/coin.js b/docs/_static/coinwidget/coin.js deleted file mode 100644 index a4184e0..0000000 --- a/docs/_static/coinwidget/coin.js +++ /dev/null @@ -1,332 +0,0 @@ -/** - -Donations welcome: - BTC: 122MeuyZpYz4GSHNrF98e6dnQCXZfHJeGS - LTC: LY1L6M6yG26b4sRkLv4BbkmHhPn8GR5fFm - ~ Thank you! - ------------- - -MIT License (MIT) - -Copyright (c) 2013 http://coinwidget.com/ -Copyright (c) 2013 http://scotty.cc/ - -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. - -*/ - -if (typeof CoinWidgetComCounter != 'number') -var CoinWidgetComCounter = 0; - -if (typeof CoinWidgetCom != 'object') -var CoinWidgetCom = { - source: '_static/coinwidget/' - , config: [] - , go :function(config) { - config = CoinWidgetCom.validate(config); - CoinWidgetCom.config[CoinWidgetComCounter] = config; - CoinWidgetCom.loader.jquery(); - document.write(''); - CoinWidgetComCounter++; - } - , validate: function(config) { - var $accepted = []; - $accepted['currencies'] = ['bitcoin','litecoin']; - $accepted['counters'] = ['count','amount','hide']; - $accepted['alignment'] = ['al','ac','ar','bl','bc','br']; - if (!config.currency || !CoinWidgetCom.in_array(config.currency,$accepted['currencies'])) - config.currency = 'bitcoin'; - if (!config.counter || !CoinWidgetCom.in_array(config.counter,$accepted['counters'])) - config.counter = 'count'; - if (!config.alignment || !CoinWidgetCom.in_array(config.alignment,$accepted['alignment'])) - config.alignment = 'bl'; - if (typeof config.qrcode != 'boolean') - config.qrcode = true; - if (typeof config.auto_show != 'boolean') - config.auto_show = false; - if (!config.wallet_address) - config.wallet_address = 'My '+ config.currency +' wallet_address is missing!'; - if (!config.lbl_button) - config.lbl_button = 'Donate'; - if (!config.lbl_address) - config.lbl_address = 'My Bitcoin Address:'; - if (!config.lbl_count) - config.lbl_count = 'Donation'; - if (!config.lbl_amount) - config.lbl_amount = 'BTC'; - if (typeof config.decimals != 'number' || config.decimals < 0 || config.decimals > 10) - config.decimals = 4; - - return config; - } - , init: function(){ - CoinWidgetCom.loader.stylesheet(); - $(window).resize(function(){ - CoinWidgetCom.window_resize(); - }); - setTimeout(function(){ - /* this delayed start gives the page enough time to - render multiple widgets before pinging for counts. - */ - CoinWidgetCom.build(); - },800); - } - , build: function(){ - $containers = $("span[data-coinwidget-instance]"); - $containers.each(function(i,v){ - $config = CoinWidgetCom.config[$(this).attr('data-coinwidget-instance')]; - $counter = $config.counter == 'hide'?'':(''); - $button = ''+$config.lbl_button+''+$counter; - $(this).html($button); - $(this).find('> a').unbind('click').click(function(e){ - e.preventDefault(); - CoinWidgetCom.show(this); - }); - }); - CoinWidgetCom.counters(); - } - , window_resize: function(){ - $.each(CoinWidgetCom.config,function(i,v){ - CoinWidgetCom.window_position(i); - }); - } - , window_position: function($instance){ - $config = CoinWidgetCom.config[$instance]; - coin_window = "#COINWIDGETCOM_WINDOW_"+$instance; - - obj = "span[data-coinwidget-instance='"+$instance+"'] > a"; - /* to make alignment relative to the full width of the container instead - of just the button change this occurence of $(obj) to $(obj).parent(), - do the same for the occurences within the switch statement. */ - $pos = $(obj).offset(); - switch ($config.alignment) { - default: - case 'al': /* above left */ - $top = $pos.top - $(coin_window).outerHeight() - 10; - $left = $pos.left; - break; - case 'ac': /* above center */ - $top = $pos.top - $(coin_window).outerHeight() - 10; - $left = $pos.left + ($(obj).outerWidth()/2) - ($(coin_window).outerWidth()/2); - break; - case 'ar': /* above right */ - $top = $pos.top - $(coin_window).outerHeight() - 10; - $left = $pos.left + $(obj).outerWidth() - $(coin_window).outerWidth(); - break; - case 'bl': /* bottom left */ - $top = $pos.top + $(obj).outerHeight() + 10; - $left = $pos.left; - break; - case 'bc': /* bottom center */ - $top = $pos.top + $(obj).outerHeight() + 10; - $left = $pos.left + ($(obj).outerWidth()/2) - ($(coin_window).outerWidth()/2); - break; - case 'br': /* bottom right */ - $top = $pos.top + $(obj).outerHeight() + 10; - $left = $pos.left + $(obj).outerWidth() - $(coin_window).outerWidth(); - break; - } - if ($(coin_window).is(':visible')) { - $(coin_window).stop().animate({'z-index':99999999999,'top':$top,'left':$left},150); - } else { - $(coin_window).stop().css({'z-index':99999999998,'top':$top,'left':$left}); - } - } - , counter: [] - , counters: function(){ - $addresses = []; - $.each(CoinWidgetCom.config,function(i,v){ - $instance = i; - $config = v; - if ($config.counter != 'hide') - $addresses.push($instance+'_'+$config.currency+'_'+$config.wallet_address); - else { - if ($config.auto_show) - $("span[data-coinwidget-instance='"+i+"']").find('> a').click(); - } - }); - if ($addresses.length) { - CoinWidgetCom.loader.script({ - id: 'COINWIDGETCOM_INFO'+Math.random() - , source: (CoinWidgetCom.source+'lookup.php?data='+$addresses.join('|')) - , callback: function(){ - if (typeof COINWIDGETCOM_DATA == 'object') { - CoinWidgetCom.counter = COINWIDGETCOM_DATA; - $.each(CoinWidgetCom.counter,function(i,v){ - $config = CoinWidgetCom.config[i]; - if (!v.count || v == null) v = {count:0,amount:0}; - $("span[data-coinwidget-instance='"+i+"']").find('> span').html($config.counter=='count'?v.count:(v.amount.toFixed($config.decimals)+' '+$config.lbl_amount)); - if ($config.auto_show) { - $("span[data-coinwidget-instance='"+i+"']").find('> a').click(); - } - }); - } - if ($("span[data-coinwidget-instance] > span img").length > 0) { - setTimeout(function(){CoinWidgetCom.counters();},2500); - } - } - }); - } - } - , show: function(obj) { - $instance = $(obj).parent().attr('data-coinwidget-instance'); - $config = CoinWidgetCom.config[$instance]; - coin_window = "#COINWIDGETCOM_WINDOW_"+$instance; - $(".COINWIDGETCOM_WINDOW").css({'z-index':99999999998}); - if (!$(coin_window).length) { - - $sel = !navigator.userAgent.match(/iPhone/i)?'onclick="this.select();"':'onclick="prompt(\'Select all and copy:\',\''+$config.wallet_address+'\');"'; - - $html = '' - + '' - + '' - + 'CoinWidget.com' - + '' - + 'x' - + '' - ; - if ($config.counter != 'hide') { - $html += '0'+$config.lbl_count+'' - + '0.00'+$config.lbl_amount+'' - ; - } - if ($config.qrcode) { - $html += '' - + '' - ; - } - var $div = $('
'); - $('body').append($div); - $div.attr({ - 'id': 'COINWIDGETCOM_WINDOW_'+$instance - }).addClass('COINWIDGETCOM_WINDOW COINWIDGETCOM_WINDOW_'+$config.currency.toUpperCase()+' COINWIDGETCOM_WINDOW_'+$config.alignment.toUpperCase()).html($html).unbind('click').bind('click',function(){ - $(".COINWIDGETCOM_WINDOW").css({'z-index':99999999998}); - $(this).css({'z-index':99999999999}); - }); - if ($config.qrcode) { - $(coin_window).find('.COINWIDGETCOM_QRCODE').bind('mouseenter click',function(){ - $config = CoinWidgetCom.config[$(this).attr('data-coinwidget-instance')]; - $lrg = $(this).parent().find('.COINWIDGETCOM_QRCODE_LARGE'); - if ($lrg.is(':visible')) { - $lrg.hide(); - return; - } - $lrg.attr({ - src: CoinWidgetCom.source +'qr/?address='+$config.wallet_address - }).show(); - }).bind('mouseleave',function(){ - $lrg = $(this).parent().find('.COINWIDGETCOM_QRCODE_LARGE'); - $lrg.hide(); - }); - } - } else { - if ($(coin_window).is(':visible')) { - CoinWidgetCom.hide($instance); - return; - } - } - CoinWidgetCom.window_position($instance); - $(coin_window).show(); - $pos = $(coin_window).find('input').position(); - $(coin_window).find('img.COINWIDGET_INPUT_ICON').css({'top':$pos.top+3,'left':$pos.left+3}); - $(coin_window).find('.COINWIDGETCOM_WALLETURI').css({'top':$pos.top+3,'left':$pos.left+$(coin_window).find('input').outerWidth()+3}); - if ($config.counter != 'hide') { - $counters = CoinWidgetCom.counter[$instance]; - if ($counters == null) { - $counters = { - count: 0, - amount: 0 - }; - } - if ($counters.count == null) $counters.count = 0; - if ($counters.amount == null) $counters.amount = 0; - $(coin_window).find('.COINWIDGETCOM_COUNT').html($counters.count+ ''+$config.lbl_count+''); - $(coin_window).find('.COINWIDGETCOM_AMOUNT').html($counters.amount.toFixed($config.decimals)+ ''+$config.lbl_amount+''); - } - if (typeof $config.onShow == 'function') - $config.onShow(); - } - , hide: function($instance) { - $config = CoinWidgetCom.config[$instance]; - coin_window = "#COINWIDGETCOM_WINDOW_"+$instance; - $(coin_window).fadeOut(); - if (typeof $config.onHide == 'function') { - $config.onHide(); - } - } - , in_array: function(needle,haystack) { - for (i=0;i'); - $("head").append($link); - $link.attr({ - id : 'COINWIDGETCOM_STYLESHEET' - , rel : 'stylesheet' - , type : 'text/css' - , href : CoinWidgetCom.source+'coin.css' - }); - } - } - , jquery: function(){ - if (!window.jQuery && !CoinWidgetCom.loader.loading_jquery) { - $prefix = window.location.protocol=='file:'?'http:':''; - CoinWidgetCom.loader.script({ - id : 'COINWIDGETCOM_JQUERY' - , source : $prefix + '//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' - , callback : function(){ - CoinWidgetCom.init(); - } - }); - return; - } - CoinWidgetCom.init(); - } - } -}; diff --git a/docs/_static/coinwidget/icon_bitcoin.png b/docs/_static/coinwidget/icon_bitcoin.png deleted file mode 100644 index 85e491b2c13938cf1074e402a15e80339e4552ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1825 zcmaJ?c~BEq91d1&xC{sg6}8JERcj!JT#1PaIW&YQhNu(=!;&my4au&_VgfiSptVp$ z4n+;%QM|PX7IBpOs8&Sf^lpcWwVA2_M8l6dFFnt(-?3qk9oeq3_K*F0&8ON6L zg&%zp78g|EIL4;Y3EPIES5!s$@C!*KKdjr4jFy4daq#xKCD;h5DZ69 zEnrcEV$npL3lfojNI`>rlGW-zmWe1B%?M#MhA-Wc(lAgW`G2TJ^9ilTrSRu?|5I2m zOTu896xO4OIt9_VI4_GUjLp-*5RU3(D4H-_#c&mhqk0vJ0lWx*KmsWct;K$imq^$m ztsaN83RuMFf`o!Ef+*SkJf^pSipdxt3ATV1#ErtV348N}&$b0Pj;~BO}Mc8d2{fS2=Pl!6R~ML@+cJl*mr-#~hiD)YW@$v$rSG zd-YIp^X37kOU6H%rrau>9sS^DO0E8)ckQ6ceO`CB{r%H6d4Jt=5moODYrZ7TEP5$w zQD0th=l7cH)sRX4oHJxNq5xd;8|YJ1W_f8ZIg`5D9QLHEs@J(>%8cp3o$09QDQC{1 z#FSGThmO{qtj-&1U0Fo2NyD!C2WCO2e0LLAA$0W&PNQN6XRje$sx03j zZ+`M-QXi+qYn)^*r6N_`w4yRcwwN4p-#Ti`K9^~3GGImI_~0DBiJ6qELEBr3DHF@u z=P)-k)+OO%532-0;R)mw-`Zx!=U4Q*uUkWIG&Jb!gTDLz90ribofxz=bx&0VOxSL! zAsvYj?5obM?Q6?TeahVhP$;I9`v_S)ik~{>ydz!nD9EF@rw%$JJQ6iZ(4IP$QBjpl zzqzqQ-Bz(YUEB5WMRJX)cfc`giCxr{4S5s4lyn9q-em<<+ISb73D!_NX1v-xraeDR z@ato+VtN1U#J{QXXQ>`LQmKeZI9JF!B@e!yj*&m lI@qA6Hi9WxZx^n!B9&SH5W8cOX`$t(B@!&)mxjco{R5h_*Kq&< diff --git a/docs/_static/coinwidget/icon_litecoin.png b/docs/_static/coinwidget/icon_litecoin.png deleted file mode 100644 index 4078f086844ddafbeeadc019fa04f5b664a8fa7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1711 zcmaJ?X;2eq7>BR^ za&$aEtF?%d(jrKeL$QL05)o;s$7l=IgDSM89JMg&fZZU_{wV!scfVua=XtN^oBbqQ zwrRfo3VRldHD3~nD42Pn<+ZhDzH9z`jWW}6Dma>oAQPwzRFAO&HKYmyBsiLgDKJ!% znRXrXW3lGCXqC}av@}epCUFjGvEk6TjzP0negU)&Ri|JSpu!Thga{mLYyttTMg&Ij zq+F>^j3sG9v-DU*mQ1P6N>K|mV1Pg1M++GO9HUTx##0G{kQRZHyh3JeIfg)B(u7J8 zfp3C}mWBgjQjY;V4v($o!rp+7fCKYjZ(rC0@Z`c?5Z4QWz1Xm)kSh?vJYZ^oj5oa|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m0~GM4ex_*_XlmAM z`;O)Xs4Z}uJs@V_f=Be`0%9Nz{)L1zDa;^-)-Q?<9<+A$8~odIhs%x0qZfD@Ez+!cxJ?4}F+l)|0+?l-;%vvzgLGRn2P5Lm!iEUWJMg%KjU~-1u^x>GQ1 zZ@0f@VqS?@G6paw!fsK60bF2Qg3%w2J$FRt7X%=ldynWV z4){W?b(G-h`A-tv=bAGf91$=TklZ4&h8wM~oG5xE>-c^p?RaUa+{(RY|8DHCl8#}q z0{K^omkU=E97<2LK7w2Js-vOdZCGOKhpS#}Iw3m)Y`Ll+CWaHt?D}>&$K)oJ96bKh ztR|5*u)+8n3>(ftyqwH)C>jdOzU)YZ6o{~$$PCF*g|Jy=2QM3?aTTeSB-zs>FGP60 zBLJzs{B=QS8lG_k0G!pt%$$QGpre3#uE+CD0X^1^j-B<;U|q?YDN2gL^tvn{g+;8g z_0{p-yx7XBrN`DOX=Dj!gWv({-FiDm3 zJxdNVo~TNZ8^R&U;Z!SazM#d*cc#h&U+JEl_C}#S;LhOf4O_V^KjxxCSQy0uq>l&( zJdp^-xQHEiXQC|A@oO}UcqbK?IczkB>6Y*}Af7wYW*-{czxL1onsc5269C!yHw3J_ zxmU*QmVD@;(e%|rqjqcUBGy;;uy#X~@63zIV}z2f-?(h7O2r44%p^#_1QR0MnUzwN!F#=u9Tu yMkLUnG&N`cIMXj#OlC7`deIK=WGn9{+1?t}mV-&OMe^f`jb;g(aHWe3-}^6jWrG3$ diff --git a/docs/_static/coinwidget/icon_qrcode.png b/docs/_static/coinwidget/icon_qrcode.png deleted file mode 100644 index 41a84aa1d424088bc50edb767a4037d3c30f8c29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5X?s&R5hE&{2`t$$4J+o?qAcsSVvOxCYldTLNrF3#6c5of} zsvzu8Av?wG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