-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* π Add testimonials in README.md * β Fix test coverage * β Fix test coverage * π Add backend badges in README * π Load entrypoint plugins only when APIs are called * π₯ Rename `other` module to `misc` * π 0.11.0
- Loading branch information
Showing
21 changed files
with
92 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ exclude_lines = | |
if TYPE_CHECKING: | ||
omit = | ||
datar/datasets.py | ||
*/site-packages/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from pipda import register_array_ufunc | ||
|
||
from .options import get_option | ||
from .plugin import plugin | ||
|
||
|
||
def _array_ufunc_to_register(ufunc, x, *args, **kwargs): | ||
"""Register the array ufunc to pipda""" | ||
from ..apis.misc import array_ufunc | ||
|
||
return array_ufunc( | ||
x, | ||
ufunc, | ||
*args, | ||
**kwargs, | ||
__backend=array_ufunc.backend, | ||
) | ||
|
||
|
||
plugin.load_entrypoints(only=get_option("backends")) | ||
|
||
plugin.hooks.setup() | ||
register_array_ufunc(_array_ufunc_to_register) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .core.load_plugins import plugin as _plugin | ||
|
||
_additional_imports = _plugin.hooks.misc_api() | ||
locals().update(_additional_imports) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "datar" | ||
version = "0.10.3" | ||
version = "0.11.0" | ||
description = "A Grammar of Data Manipulation in python" | ||
authors = ["pwwang <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -13,8 +13,8 @@ python = "^3.7.1" | |
simplug = "^0.2.2" | ||
pipda = "^0.11" | ||
python-simpleconf = {version = "^0.5", extras = ["toml"]} | ||
datar-numpy = {version = "^0.0", optional = true} | ||
datar-pandas = {version = "^0.1", optional = true} | ||
datar-numpy = {version = "^0.1", optional = true} | ||
datar-pandas = {version = "^0.2", optional = true} | ||
# datar-polars = {version = "^0.0.0", optional = true} | ||
# datar-pyarrow = {version = "^0.0.0", optional = true} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters