Anand Balakrishnan
22479aa7af
fix(ci): don't let cargo run test for pyargus
2023-10-05 23:29:27 -07:00
Anand Balakrishnan
d39e3d3e12
feat!(pyargus): simplify the API surface
...
- Get rid of helper functions. It is not that much more verbose to
create signals with `argus.FloatSignal(...)` than
`argus.signal(..., dtype=argus.dtype.float64`).
- Make the package hierarchy flat: everything is under `argus`. If this
is an issue, it can be changed in the future.
- Add type hints for interval types.
2023-10-05 15:28:59 -07:00
Anand Balakrishnan
24f7583f88
fix(pyargus): add typing-extensions as dependency
2023-10-04 16:51:36 -07:00
Anand Balakrishnan
f97d593926
feat: expose parser in argus
2023-10-04 14:46:32 -07:00
Anand Balakrishnan
50d5a0a78a
feat!: make interpolation method explicit
...
All methods that need to perform interpolation of some sort need an
explicit interpolation method. In Rust, this manifests as a generic
parameter, while in Python, this is a string parameter.
2023-10-04 14:42:51 -07:00
Anand Balakrishnan
f6b26b61ab
chore: clean up unnecessary numpy dependency (and better pre-commit)
2023-10-04 14:33:17 -07:00
Anand Balakrishnan
9ca6748c50
feat(pyargus): add interpolation method parameter for Signal construction
2023-10-03 19:46:17 -07:00
Anand Balakrishnan
444d60197d
refactor(pyargus): make pyargus depend only on argus
2023-10-03 17:34:17 -07:00
Anand Balakrishnan
0df9aba559
edit mypy allowlist
2023-10-03 17:13:10 -07:00
Anand Balakrishnan
0498dd0f57
set common parameters in the workspace
2023-10-03 16:59:06 -07:00
Anand Balakrishnan
3d6157e03a
refactor(pyargus): define a runtime checkable Signal protocol
2023-09-07 16:34:13 -07:00
Anand Balakrishnan
8027f86213
refactor(pyargus): implement new for PySignal
2023-09-07 15:44:46 -07:00
Anand Balakrishnan
e2cfe3da56
refactor(pyargus): data type name
2023-09-07 15:43:04 -07:00
Anand Balakrishnan
4942a78899
test(pyargus): improve test coverage
2023-09-07 13:32:27 -07:00
Anand Balakrishnan
a52f6a756c
build: minor changes
2023-09-06 13:30:59 -07:00
Anand Balakrishnan
980a08227f
style: run formatter
2023-09-06 11:46:49 -07:00
Anand Balakrishnan
ac5867e7b0
test(pyargus): add general signal tests
2023-09-05 10:27:14 -07:00
Anand Balakrishnan
961551b2cb
chore: bump dependencies
2023-09-01 14:54:47 -07:00
Anand Balakrishnan
a25e56f025
fix(pyargus): address typing issues
...
This addresses some of the issues with inheritance (internal to the rust
module) for signals, and generally making mypy and flake8 happy.
2023-09-01 14:52:35 -07:00
Anand Balakrishnan
ccd87fc22a
add flake8 and clean justfile
2023-09-01 14:49:08 -07:00
Anand Balakrishnan
b58f67b272
chore: address linting errors
2023-09-01 11:23:44 -07:00
Anand Balakrishnan
137c22cd70
tests(pyargus): add test cases for signals
2023-08-31 17:11:52 -07:00
Anand Balakrishnan
a5bc6f5d36
chore(pyargus): minor changes
2023-08-30 16:02:37 -07:00
Anand Balakrishnan
b20a838d06
change pyo3 features
2023-08-30 13:24:28 -07:00
Anand Balakrishnan
b8c67bcea9
refactor(pyargus): update python bindings for breaking changes
2023-08-30 12:49:14 -07:00
Anand Balakrishnan
86138fe213
chore(py): handle interval in the expression trampoline
2023-05-09 12:08:11 -07:00
Anand Balakrishnan
ee75539d73
feat(py): add convenience functions to create variables, literals, and signals
2023-05-04 13:36:06 -07:00
Anand Balakrishnan
31c65a4734
refactor(py): update the type stubs (and expose DType)
2023-05-04 13:33:56 -07:00
Anand Balakrishnan
9f674bd385
feat(py): expose quantitative semantics
2023-05-03 16:38:35 -07:00
Anand Balakrishnan
bfb59c1008
refactor!(py): Boolean semantics should be exposed as function
2023-05-03 16:35:27 -07:00
Anand Balakrishnan
e6ef427e2f
feat!(py): expose boolean semantics to Python
2023-05-03 16:32:49 -07:00
Anand Balakrishnan
c42f892099
feat(python): add interface file and other small changes
2023-04-30 22:14:33 -07:00
Anand Balakrishnan
168e881884
refactor(pyargus): move library components into modules
2023-04-27 13:47:46 -07:00
Anand Balakrishnan
4b4d02a0ec
feat(pyargus): add temporal operators to bindings
2023-04-26 13:19:35 -07:00
Anand Balakrishnan
c322d34859
feat(py): python bindings for BoolExpr with sugar
2023-04-05 15:38:24 -07:00
Anand Balakrishnan
f8ec8857d4
feat: add python bindings for argus
2023-04-04 14:41:17 -07:00