Commit Graph

93 Commits

Author SHA1 Message Date
onyx-and-iris
ac1306c57e fix doc string 2022-04-29 22:07:44 +01:00
onyx-and-iris
b31c976abc update banana badge 2022-04-29 22:02:01 +01:00
onyx-and-iris
727af55019 start implementing lower tests 2022-04-29 22:01:33 +01:00
onyx-and-iris
32d740ccca sendtext remove from readme. its still available but not advised to use.
use apply through dict instead (updates cache)
2022-04-29 21:57:16 +01:00
onyx-and-iris
ce48136cdb move channel props into factory function
sub apply func now using sendtext

depth func added to util

apply_profile now using sub apply (which uses sendtext)
2022-04-29 21:53:44 +01:00
onyx-and-iris
2830299942 ensure eq bus props are fetched from dataclass 2022-04-29 20:52:03 +01:00
onyx-and-iris
637fe9fb88 fix bug where getter may return None 2022-04-29 03:24:32 +01:00
onyx-and-iris
f8b964bc35 remove print 2022-04-29 03:07:06 +01:00
onyx-and-iris
3aebd90920 refactor meta functions
add channel_bool_prop and channel_label_prop to strip/bus
self.identifier in strip bus now returning only class name

add psuedo decorators cache_bool and cache_string to util.

fix bug with cache
todo. add to cache on multi-set
2022-04-29 02:57:47 +01:00
onyx-and-iris
98c15967d1 set tests to run randomly 2022-04-28 11:40:14 +01:00
onyx-and-iris
3993fa99be add potato tests badge 2022-04-28 11:39:41 +01:00
onyx-and-iris
80ecd7daef generate potato tests badge 2022-04-28 11:39:22 +01:00
onyx-and-iris
38557d04de add banana bade 2022-04-28 11:38:14 +01:00
onyx-and-iris
c3336d31d6 add basic tests badge 2022-04-28 11:36:52 +01:00
onyx-and-iris
596e7465fb add pre-commit hook
keep tests random
print kind.name to pytest output

add genbadge to dev dependencies

add test badges to readme
2022-04-28 11:34:48 +01:00
onyx-and-iris
f55d86514c Update README.md 2022-04-27 20:00:30 +01:00
onyx-and-iris
79abec7531 now using sendtext to apply a profile
now using sendtext to apply a profile
2022-04-27 14:50:48 +01:00
onyx-and-iris
e8aa762c70 rework bus mode getter
rework bus mode getter
2022-04-27 14:00:55 +01:00
onyx-and-iris
0fc4f693fa Update dataclass.py 2022-04-26 23:38:56 +01:00
onyx-and-iris
c6b9fa6112 Update vbancmd.py
add ratelimit kwarg. applies only to multiset operations (apply, profile_apply).
2022-04-26 22:47:48 +01:00
onyx-and-iris
7fb026ca1e Update vbancmd.py
ratelimit multiset to 30ms since we have sped up the overall interface
2022-04-26 21:58:45 +01:00
onyx-and-iris
dd24fc1816 changes to param cache
changes to param cache

allow set bus mode true or false (setting false resets to mode normal)
2022-04-26 21:03:02 +01:00
onyx-and-iris
2bc9fa9d57 change to bus_mode_prop meta function.
change to bus_mode_prop meta function.

save gain to cache as gain.

remove kwarg ratelimiter (used for test units)
2022-04-26 07:35:41 +01:00
onyx-and-iris
d1555663b3 migrate nose to pytest
migrate nose to pytest
2022-04-26 07:16:21 +01:00
onyx-and-iris
df8688aaee Update vbancmd.py
return only values relevant for a kind
2022-04-18 08:31:12 +01:00
onyx-and-iris
0806937fbd Update vbancmd.py
reduce buffer
2022-04-14 15:11:55 +01:00
onyx-and-iris
7f2a3ef7e5 Update vbancmd.py
add strip_levels, bus_levels property objects to base class
2022-04-13 06:17:22 +01:00
onyx-and-iris
1c0ebfa1d1 add sync kwarg, reformat tests.
tests reformatted, add sync to tests.

add sync kwarg to vbancmd. Set for apply_profile.
2022-04-08 21:16:37 +01:00
onyx-and-iris
b7b62ea2fe Update strip.py
add mc to virtual strips
2022-04-08 20:48:10 +01:00
onyx-and-iris
ad1c3f9f6b Update strip.py
remove range check for strip int params
2022-04-03 00:06:42 +01:00
onyx-and-iris
7272d2ad21 Update dataclass.py
add all gainlayers to pdirty in dataclass
2022-03-29 23:40:35 +01:00
onyx-and-iris
c0d19b6663 Update dataclass.py 2022-03-28 18:23:46 +01:00
onyx-and-iris
855cb746b9 Update dataclass.py 2022-03-27 16:12:07 +01:00
onyx-and-iris
6c2fb720f2 reformat long arrays
fix long multi line arrays created by black
2022-03-27 11:33:01 +01:00
onyx-and-iris
2e23a03b32 Update README.md
add black codestyle badge
2022-03-26 23:43:51 +00:00
onyx-and-iris
39005661fd Update README.md 2022-03-26 23:06:38 +00:00
onyx-and-iris
5d878a5df0 black reformatter
now using black reformatter
2022-03-26 23:00:09 +00:00
onyx-and-iris
a94b2bb265 Update dataclass.py
split at null terminator
2022-03-23 12:08:08 +00:00
onyx-and-iris
559acb9e89 Update README.md 2022-03-23 11:32:12 +00:00
onyx-and-iris
06c005ab5e Update README.md
add profiles section to readme
2022-03-23 11:31:28 +00:00
onyx-and-iris
1c57528cd8 add profiles
added profiles module.
added example profile configs
added toml dependency to setup.py
add apply_profile and reset functions to base class
2022-03-23 11:28:42 +00:00
onyx-and-iris
5d593200d3 Update dataclass.py
return as ascii string
2022-03-23 09:43:10 +00:00
onyx-and-iris
18f59b4eb2 Update dataclass.py
add check for empty labels
2022-03-21 16:41:27 +00:00
onyx-and-iris
6098c34e15 add command class
added command class

added action prop to meta module
2022-03-21 11:20:53 +00:00
onyx-and-iris
2257ce0e4c Update __init__.py
add login,logout to tests init
2022-03-20 12:46:05 +00:00
onyx-and-iris
80048d62bd Update README.md
add login,logout example to readme
2022-03-20 12:26:01 +00:00
onyx-and-iris
6c914dafbe add login,logout, caching system, dirty parameter to base class
add login, logout functions to base class.

add caching to setters and fetch caching to getters.

add isdirty function to rt packet dataclass for defining dirty flag.

remove sync kwarg.
2022-03-20 12:25:50 +00:00
onyx-and-iris
af647f2483 Update meta.py
fix docstring for bus_mode_prop
2022-03-19 09:53:02 +00:00
onyx-and-iris
919c967023 add modevals to Modes class.
add modevals to Modes class.
2022-03-19 09:51:48 +00:00
onyx-and-iris
6aeef19d38 fix bus mode prop
add spacing for clarity in Modes dataclass.

bus mode prop now returning correct mode
2022-03-18 07:42:25 +00:00