pax_global_header 0000666 0000000 0000000 00000000064 14344415640 0014517 g ustar 00root root 0000000 0000000 52 comment=897687f71ac4ca7da6d35361ffe832f93a64a128
param-1.12.3/ 0000775 0000000 0000000 00000000000 14344415640 0012703 5 ustar 00root root 0000000 0000000 param-1.12.3/.coveragerc 0000664 0000000 0000000 00000000041 14344415640 0015017 0 ustar 00root root 0000000 0000000 [report]
omit = param/version.py
param-1.12.3/.gitattributes 0000664 0000000 0000000 00000000032 14344415640 0015571 0 ustar 00root root 0000000 0000000 __init__.py export-subst
param-1.12.3/.github/ 0000775 0000000 0000000 00000000000 14344415640 0014243 5 ustar 00root root 0000000 0000000 param-1.12.3/.github/workflows/ 0000775 0000000 0000000 00000000000 14344415640 0016300 5 ustar 00root root 0000000 0000000 param-1.12.3/.github/workflows/build.yaml 0000664 0000000 0000000 00000005615 14344415640 0020272 0 ustar 00root root 0000000 0000000 name: packages
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+b[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
# Dry-run only
workflow_dispatch:
schedule:
- cron: '0 13 * * SUN'
jobs:
conda_build:
name: Build Conda Packages
runs-on: 'ubuntu-latest'
defaults:
run:
shell: bash -l {0}
env:
CHANS_DEV: "-c pyviz/label/dev"
PKG_TEST_PYTHON: "--test-python=py37"
PYTHON_VERSION: "3.7"
CHANS: "-c pyviz"
CONDA_UPLOAD_TOKEN: ${{ secrets.CONDA_UPLOAD_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow -f
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: conda setup
run: |
eval "$(conda shell.bash hook)"
conda config --set always_yes yes --set changeps1 no
conda update conda
conda install anaconda-client conda-build
- name: conda build
run: |
eval "$(conda shell.bash hook)"
conda build conda.recipe/
- name: conda dev upload
if: (github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
run: |
eval "$(conda shell.bash hook)"
anaconda --token $CONDA_UPLOAD_TOKEN upload --user pyviz --label=dev $(conda build --output conda.recipe)
- name: conda main upload
if: (github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
run: |
eval "$(conda shell.bash hook)"
anaconda --token $CONDA_UPLOAD_TOKEN upload --user pyviz --label=dev --label=main $(conda build --output conda.recipe)
pip_build:
name: Build PyPI Packages
runs-on: 'ubuntu-latest'
defaults:
run:
shell: bash -l {0}
env:
TOX_ENV: "py3.7"
steps:
- uses: actions/checkout@v3
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow -f
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: env setup
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel twine tox
- name: pip build
run: |
python setup.py sdist bdist_wheel
- name: Publish package to PyPI
if: github.event_name == 'push'
uses: pypa/gh-action-pypi-publish@master
with:
user: ${{ secrets.PPU }}
password: ${{ secrets.PPP }}
packages_dir: dist/
param-1.12.3/.github/workflows/docs.yaml 0000664 0000000 0000000 00000004553 14344415640 0020123 0 ustar 00root root 0000000 0000000 name: docs
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+a[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+b[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
workflow_dispatch:
inputs:
target:
description: 'Site to build and deploy'
type: choice
options:
- dev
- main
- dryrun
required: true
default: dryrun
schedule:
- cron: '0 13 * * SUN'
jobs:
build_docs:
name: Documentation
runs-on: 'ubuntu-latest'
timeout-minutes: 120
defaults:
run:
shell: bash -l {0}
env:
DESC: "Documentation build"
steps:
- uses: actions/checkout@v3
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow -f
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Set output
id: vars
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: graphviz
run: sudo apt install graphviz graphviz-dev
- name: env setup
run: |
python -m pip install --upgrade pip
python -m pip install nbsite==0.8.0rc2
python -m pip install -e .[doc]
- name: build docs
run: |
cp examples/user_guide/*.ipynb doc/user_guide/
python -m nbsite build --org holoviz --project-name param
- name: Deploy dev
uses: peaceiris/actions-gh-pages@v3
if: |
(github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||
(github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
with:
personal_token: ${{ secrets.ACCESS_TOKEN }}
external_repository: pyviz-dev/param
publish_dir: ./builtdocs
force_orphan: true
- name: Deploy main
if: |
(github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||
(github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./builtdocs
cname: param.holoviz.org
force_orphan: true
param-1.12.3/.github/workflows/downstream_tests.yaml 0000664 0000000 0000000 00000001225 14344415640 0022571 0 ustar 00root root 0000000 0000000 name: downstream_tests
on:
# Run this workflow after the build workflow has completed.
workflow_run:
workflows: [packages]
types: [completed]
# Or by triggering it manually via Github's UI
workflow_dispatch:
inputs:
manual:
description: don't change me!
type: boolean
required: true
default: true
jobs:
downstream_tests:
uses: pyviz-dev/holoviz_tasks/.github/workflows/run_downstream_tests.yaml@main
with:
downstream_repos_as_json: "{\"downstream_repo\":[\"panel\", \"lumen\", \"holoviews\", \"datashader\", \"colorcet\"]}"
secrets:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
param-1.12.3/.github/workflows/test.yaml 0000664 0000000 0000000 00000007267 14344415640 0020157 0 ustar 00root root 0000000 0000000 name: tests
on:
push:
branches:
- master
pull_request:
branches:
- '*'
workflow_dispatch:
schedule:
- cron: '0 13 * * SUN'
jobs:
test_suite:
name: Tox on ${{ matrix.python-version }}, ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: ['ubuntu-latest', 'windows-latest', 'macos-latest']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7']
exclude:
# Started failing with `Error: The version '3.6' with architecture 'x64' was not found for Ubuntu 22.04.``
- platform: ubuntu-latest
python-version: '3.6'
timeout-minutes: 30
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "100"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: env setup
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install "tox<4" tox-gh-actions
- name: lint
run: tox -e flakes
- name: unit
run: tox
- name: unit with_ipython
run: tox -e with_ipython
- name: unit with_numpy
if: (!startsWith(matrix.python-version, 'py'))
run: tox -e with_numpy
- name: unit with_pandas
if: (!startsWith(matrix.python-version, 'py'))
run: tox -e with_pandas
- name: unit with_jsonschema
run: tox -e with_jsonschema
- name: unit with_gmpy
if: contains(matrix.platform, 'ubuntu') && !startsWith(matrix.python-version, 'py') && matrix.python-version != '3.11'
run: tox -e with_gmpy
- name: unit all_deps
if: contains(matrix.platform, 'ubuntu') && !startsWith(matrix.python-version, 'py') && matrix.python-version != '3.11'
run: tox -e with_all
- uses: codecov/codecov-action@v3
if: github.event_name == 'push'
test_suite27:
name: Tox on ${{ matrix.python-version }}, ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: ['ubuntu-latest', 'windows-latest', 'macos-latest']
python-version: ['2.7']
timeout-minutes: 30
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "100"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: env setup
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install "tox<4" tox-gh-actions
- name: lint
run: tox -e flakes
- name: unit
run: tox -c tox27.ini
- name: unit with_ipython
run: tox -c tox27.ini -e with_ipython
- name: unit with_numpy
if: (!startsWith(matrix.python-version, 'py'))
run: tox -c tox27.ini -e with_numpy
- name: unit with_pandas
if: (!startsWith(matrix.python-version, 'py'))
run: tox -c tox27.ini -e with_pandas
- name: unit with_jsonschema
run: tox -c tox27.ini -e with_jsonschema
- name: unit with_gmpy
if: contains(matrix.platform, 'ubuntu') && !startsWith(matrix.python-version, 'py')
run: tox -c tox27.ini -e with_gmpy
- name: unit all_deps
if: contains(matrix.platform, 'ubuntu') && !startsWith(matrix.python-version, 'py')
run: tox -c tox27.ini -e with_all
- uses: codecov/codecov-action@v3
if: github.event_name == 'push'
param-1.12.3/.gitignore 0000664 0000000 0000000 00000000426 14344415640 0014675 0 ustar 00root root 0000000 0000000 *.py[cod]
#*#
*~
*.egg
*.egg-info
*.swp
*.DS_Store
*.so
*.o
*.out
*.lock
.ipynb_checkpoints
.vscode
.tox
data.pickle
# Docs
builtdocs/
jupyter_execute/
doc/user_guide/*.ipynb
doc/Reference_Manual/
# Unit test / Coverage report
.coverage
coverage.xml
# autover
param/.version
param-1.12.3/.gitmodules 0000664 0000000 0000000 00000000000 14344415640 0015046 0 ustar 00root root 0000000 0000000 param-1.12.3/LICENSE.txt 0000664 0000000 0000000 00000002742 14344415640 0014533 0 ustar 00root root 0000000 0000000 Copyright (c) 2005-2022, HoloViz team.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the
distribution.
* Neither the name of the copyright holder nor the names of any
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
param-1.12.3/MANIFEST.in 0000664 0000000 0000000 00000000215 14344415640 0014437 0 ustar 00root root 0000000 0000000 include README.rst
include LICENSE.txt
include setup.py
include param/.version
recursive-include param *.py
recursive-include numbergen *.py
param-1.12.3/README.md 0000664 0000000 0000000 00000005307 14344415640 0014167 0 ustar 00root root 0000000 0000000
| | |
| --- | --- |
| Build Status | [](https://github.com/holoviz/param/actions/workflows/test.yml)
| Coverage | [](https://codecov.io/gh/holoviz/param) ||
| Latest dev release | [](https://github.com/holoviz/param/tags) [](https://pyviz-dev.github.io/param/) |
| Latest release | [](https://github.com/holoviz/param/releases) [](https://pypi.python.org/pypi/param) [](https://anaconda.org/pyviz/param) [](https://anaconda.org/conda-forge/param) [](https://anaconda.org/anaconda/param) |
| Python | [](https://pypi.org/project/param/)
| Docs | [](https://github.com/holoviz/param/tree/gh-pages) [](https://param.holoviz.org) |
| Binder | [](https://mybinder.org/v2/gh/holoviz/param/master?labpath=examples) |
| Support | [](https://discourse.holoviz.org/) |
Param is a library providing Parameters: Python attributes extended to have features such as type and range checking, dynamically generated values, documentation strings, default values, etc., each of which is inherited from parent classes if not specified in a subclass.
Param contains only two required Python files, with no external dependencies, and is provided freely for both non-commercial and commercial use under a BSD license, so that it can easily be included as part of other projects.
Please see [param's website](https://param.holoviz.org) for official releases, installation instructions, documentation, and examples.
param-1.12.3/binder/ 0000775 0000000 0000000 00000000000 14344415640 0014146 5 ustar 00root root 0000000 0000000 param-1.12.3/binder/environment.yml 0000664 0000000 0000000 00000000167 14344415640 0017241 0 ustar 00root root 0000000 0000000 name: param
channels:
- pyviz
- defaults
dependencies:
- python=3.9.7
- aiohttp=3.7.4
- panel=0.12.4
- pip
param-1.12.3/binder/postBuild 0000664 0000000 0000000 00000000050 14344415640 0016031 0 ustar 00root root 0000000 0000000 pip uninstall param --yes
pip install .
param-1.12.3/conda.recipe/ 0000775 0000000 0000000 00000000000 14344415640 0015235 5 ustar 00root root 0000000 0000000 param-1.12.3/conda.recipe/meta.yaml 0000664 0000000 0000000 00000001344 14344415640 0017051 0 ustar 00root root 0000000 0000000 {% set sdata = load_setup_py_data() %}
package:
name: param
version: {{ sdata['version'] }}
source:
path: ..
build:
noarch: python
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
run:
- python {{ sdata['python_requires'] }}
test:
requires:
{% for dep in sdata['extras_require']['tests'] %}
- {{ dep }}
{% endfor %}
source_files:
# for nose config
- setup.cfg
- tests
imports:
- param
- numbergen
commands:
# https://github.com/holoviz/param/issues/219
- pytest tests
about:
home: {{ sdata['url'] }}
summary: {{ sdata['description'] }}
license: {{ sdata['license'] }}
param-1.12.3/doc/ 0000775 0000000 0000000 00000000000 14344415640 0013450 5 ustar 00root root 0000000 0000000 param-1.12.3/doc/_static/ 0000775 0000000 0000000 00000000000 14344415640 0015076 5 ustar 00root root 0000000 0000000 param-1.12.3/doc/_static/favicon.ico 0000664 0000000 0000000 00000035356 14344415640 0017233 0 ustar 00root root 0000000 0000000 h 6 00 % F ( v4 i{0?Yqtrrrrrrj' J^ : C w w w | P L m w w w wwww w w v wwwwwwwwwKww̸wjwwww*wwݸw۸w۸w۸w۸w۸w۸wwwwwݸwԸwbw/wɸwwwwwwwwwwwwwwmwww)w(w(w(w(w(w'wPww˸wmw(w#ww w x d) U>[ P;^ tOD x w w wwww w w J^ .'x 7,q J`daaaaaaY>w9 v5 ( @ 0>) s ,0/83/0000000000000% "s
f5 ^0 Z ua
]B w w w w t t t t w w w w w w w w w w w w w w w w w w w w wwwwx w w w u u u w w w w w w w w w w w w w w w w w w w wwwwwŸwwNww w w w w w t
w wwwwwwwwwwwwwwwww1wwwwwwwbwwwwww w www̸wҸwѸwѸwѸwѸwѸwѸwѸwѸwѸwѸwѸwѸwиw۸wwwwwwwwѸwѸwҸwwWww wZwwwwwwwwwwwwwwwwwwwwwwwwwwwww̸w-w wbwwwwwwwwwwwwwwwwwwwwwwwwwwwwwոw2w wwwwwwwwwwwwwwwwwwwwwwwwwwwwwٸwtww x ww0w5w4w4w4w4w4w4w4w4w4w4w4w4w3wBwwwwwwwkw3w4w5w(ww w w w w w w w w w w w w w w w w w w w wwwwwŸwwNww w w w w y w w w w
w w w w wwwwx w w w w w w w w w v w w w w w w w w
w w w w v v v v
]B
r]
gD U* k8 -
@FEKFEFFFFFFFFFFFFF8 t 0>)
8 ! ( 0 ` $ Zb !9 > hh .. ww 7UUTTSwSTTTTTTTTTTTTTTTTTTTTUV7 m bm -?4 w w w w w r t v v w w ww
wx w w w w w ~ w.wwwƸww}w(w w w w v w w w x x x x x x x x x x x x x x x x x x x x w wwuwwwwwwwڸwQw x x x w w w n u w w w wwwxxxxxxxxxxxxxxxxxxxxxwswwwwwwwwwwExxxwwww w w w x w>wwոwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwӸwwwwwwwwwwwwҸwӸwӸwӸwԸww>{ w w w=wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww=w v wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwx wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwx w wUwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwTw w wwxwܸwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwܸwxww w w vww7w7w6w6w6w6w6w6w6w6w6w6w6w6w6w6w6w6w6w6w6w6w4w}wwwwwwwwwwXw4w6w6w7w7www w w w w w w w w w w w w w w w w w w w w w w w w w w w wwvwwwwwwwڸwQv w w w w w w w w w w
w.wwwǸww~w(w w w v v w w ww
ww w w w w w w w w v v
-?4
al
m
****(_)********************++ vv aa { y DD
@A B "9
[b
3 7 param-1.12.3/doc/_static/icon.png 0000664 0000000 0000000 00000012244 14344415640 0016537 0 ustar 00root root 0000000 0000000 PNG
IHDR ȁY pHYs 篶 tEXtSoftware www.inkscape.org< 1IDATxy\ekuw:]]NX$,#茇0dNY[9Nt1YT<=
d\Fh$!AT@= DtwuWt?B4`jU.ߓ~w֭DDDDDDDDDDv|.^iuJ ($"jDqBKK{}`'qlDdDo