Commit graph

54 commits

Author SHA1 Message Date
Anand Balakrishnan
46f0f60bc0
fix: semantics for bounded eventually 2023-10-31 12:08:36 -07:00
Anand Balakrishnan
7a68fd29d7
fix(pyargus): import TypeAlias from extensions for older python 2023-10-17 12:39:25 -07:00
Anand Balakrishnan
dc834bd8be
test(pyargus): add more test cases
Ignore a test case where signals are contracted.
2023-10-17 12:03:52 -07:00
Anand Balakrishnan
77a9106e8b
test(pyargus): add tests comparing semantics against metric-temporal-logic 2023-10-15 14:39:09 -07:00
Anand Balakrishnan
cb8f6bba5a
ci: add coverage to CI 2023-10-15 11:15:17 -07:00
Anand Balakrishnan
eea3065b4e chore: add more PyPI classifiers 2023-10-13 16:24:59 -07:00
Anand Balakrishnan
fb72e60a0a feat(pyargus): add __str__ methods for Expr 2023-10-13 16:18:02 -07:00
Anand Balakrishnan
08085dabd9 Release 0.1.3
argus@0.1.3
pyargus@0.1.3

Generated by cargo-workspaces
2023-10-13 15:38:55 -07:00
Anand Balakrishnan
a7431ce424 feat(argus): don't just panic on failed number parsing 2023-10-13 13:37:07 -07:00
Anand Balakrishnan
e7b1cca5c1 tests(pyargus): ignore positive overflow errors in expr generation... 2023-10-13 13:19:56 -07:00
Anand Balakrishnan
f8e570756c
test(pyargus): better test for expr_gen 2023-10-13 11:08:40 -07:00
Anand Balakrishnan
4f33300d1c
test(pyargus): add better testing for parsing expressions
- Limit the size of the identifiers, and prevent ambiguity in the
identifiers.
2023-10-12 16:22:03 -07:00
Anand Balakrishnan
5da441db42 tests(pyargus): add tests for parsing expressions 2023-10-11 18:05:54 -07:00
Anand Balakrishnan
13194041e3
Release 0.1.2
argus@0.1.2
argus-derive@0.1.2
pyargus@0.1.2

Generated by cargo-workspaces
2023-10-06 16:07:46 -07:00
Anand Balakrishnan
dc71a51df3
feat(pyargus): use version from Cargo 2023-10-06 14:34:10 -07:00
Anand Balakrishnan
3fc4486883
docs: add metadata to Cargo.toml files [skip ci] 2023-10-06 11:44:11 -07:00
Anand Balakrishnan
1ea0faf327
Release 0.1.1
argus-core@0.1.1
argus-parser@0.1.1
pyargus@0.1.1

Generated by cargo-workspaces
2023-10-06 00:38:25 -07:00
Anand Balakrishnan
81acf06e69
refactor!(pyargus): rename python package to minimize ambiguity in PyPI
skip-checks: true
2023-10-06 00:17:16 -07:00
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