2023-06-27 22:15:36 -04:00
|
|
|
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
|
|
|
# ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
|
|
|
|
|
# ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
|
|
|
|
|
# ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
|
|
|
|
|
# ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
|
|
|
|
|
# ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
|
|
|
|
|
# ┃ Copyright (c) 2017, the Perspective Authors. ┃
|
|
|
|
|
# ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
|
|
|
|
|
# ┃ This file is part of the Perspective library, distributed under the terms ┃
|
|
|
|
|
# ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
|
|
|
|
|
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|
|
|
|
|
Merge Perspective-Python and build out Node/Pybind
can construct ctx0, ctx1, ctx2
add better test, move low level tests down
fix test
clean up build/test/lint scripts
WIP: make python API more symmetric to JS API
process table data, working view constructors
edit python dockerfile
update style
more types supported
don't purge docker assets until end of test stage
don't allow table to fail, try to install packages locally
update build scripts to install deps
assert in table tests
Fixed Dockerfile
don't use target=/Volumes/files/jpmc/perspective locally
forward API to latest master
add autopep8 fix script
no -r
avoid global, remove dependency install
don't install in local folder
merge master changes
style fixes
refactoring python code to be modular, add docstring examples, fix some style issues, add support for format=1 and format=2 tables, add initial support for numpy and pandas types
seperate script for building/linting/testing all in one
install optionals
remove individual license, remap badges in readme, remove perspective-python travis, remove bettercodehub
fix test, use warning instead of warn
add codecov upload
bugfix for segfault
lint in precommit
WIP: to_dict(), add scalar_to_py
split apart pythons C++ code, don't make vectors and maps opaque
readd comented stuff, remove some more todos
support some numpy types
merge from pyapi
merge from pyapi
add scalar_to_py for outputting data
fix bug with boolean columns
working to_dict, to_columns for 0, 1, 2 sided views
refactor to_dict, to_column, add limit and index tests
update working
refactor data formatter, start on numpy export
support python-only numpy
add numpy tests
remove working
fix performance issue, make aggregates a dict
parse strings with datetime, accept string schemas, add more tests
to_records() and to_dict() replace to_dict() and to_columns()
read and write date(), datetime() objects, parse date/datetime strings
don't install before build
revamp docs
add docs framework for all packages, generate markdown for outputs including autodocs
update readmes to remove gitter, extract pandas flattening, change type mapping
convert to UTC in tests
travis is in UTC
adding pandas export
add simple to_df tests
2019-06-17 13:34:06 -04:00
|
|
|
[build-system]
|
2024-05-27 18:12:36 -04:00
|
|
|
requires = ["maturin>=1.4,<2.0"]
|
|
|
|
|
build-backend = "maturin"
|
2022-05-26 10:52:04 -04:00
|
|
|
|
2024-05-27 18:12:36 -04:00
|
|
|
[project]
|
|
|
|
|
name = "perspective-python"
|
2024-07-09 00:22:54 -04:00
|
|
|
requires-python = ">=3.9"
|
2024-05-27 18:12:36 -04:00
|
|
|
dynamic = ["version"]
|
2024-09-12 13:08:54 -04:00
|
|
|
dependencies = []
|
2024-11-08 16:57:53 -08:00
|
|
|
license = { file = "LICENSE.md" }
|
2024-05-27 18:12:36 -04:00
|
|
|
classifiers = [
|
2024-08-16 12:56:57 -04:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
2024-05-27 18:12:36 -04:00
|
|
|
"Programming Language :: Rust",
|
|
|
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
2024-08-16 12:56:57 -04:00
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
|
"Programming Language :: Python :: 3.12",
|
|
|
|
|
"Framework :: Jupyter :: JupyterLab",
|
|
|
|
|
"Framework :: Jupyter :: JupyterLab :: 3",
|
|
|
|
|
"Framework :: Jupyter :: JupyterLab :: Extensions",
|
|
|
|
|
# "Framework :: Jupyter :: JupyterLab :: Extensions :: Mime Renderers",
|
|
|
|
|
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt",
|
2024-05-27 18:12:36 -04:00
|
|
|
]
|
2024-09-05 22:01:22 -07:00
|
|
|
|
2024-09-12 13:08:54 -04:00
|
|
|
[project.optional-dependencies]
|
|
|
|
|
jupyter = ["ipywidgets>=7.5.1,<9"]
|
|
|
|
|
tornado = ["tornado>=5,<7"]
|
|
|
|
|
aiohttp = ["aiohttp>=2,<4"]
|
|
|
|
|
starlette = ["starlette<1"]
|
2023-03-20 18:54:02 -04:00
|
|
|
|
2024-05-27 18:12:36 -04:00
|
|
|
[tool.maturin]
|
2024-07-28 21:12:49 -04:00
|
|
|
module-name = "perspective"
|
2026-03-10 14:33:14 -04:00
|
|
|
data = "perspective_python-4.3.0.data"
|
2024-05-27 18:12:36 -04:00
|
|
|
features = ["pyo3/extension-module"]
|
2024-07-08 17:27:03 -04:00
|
|
|
include = [
|
|
|
|
|
{ path = "perspective/*libpsp.so", format = "wheel" },
|
|
|
|
|
{ path = "perspective/*libpsp.dll", format = "wheel" },
|
|
|
|
|
]
|
2024-07-04 13:45:07 -04:00
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
python_classes = ["Test", "Describe"]
|
|
|
|
|
python_functions = ["test_", "it_", "and_", "but_", "they_"]
|
|
|
|
|
python_files = ["test_*.py"]
|
|
|
|
|
testpaths = ["tests"]
|
2025-02-05 23:06:43 +00:00
|
|
|
asyncio_default_fixture_loop_scope = "function"
|
2025-03-10 12:43:32 -04:00
|
|
|
|
|
|
|
|
log_cli = true
|
|
|
|
|
log_cli_level = "INFO"
|
|
|
|
|
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
|
|
|
|
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|