onyx-and-iris
db96872965
changes to level/gain properties in VbanRtPacket
...
level getters in strip, bus fetch from public packet if not in cache
2022-09-28 18:07:10 +01:00
onyx-and-iris
1169435104
base renamed to vbancmd
...
misc renamed to event
info message fixed if no events subbed to
now using logging module in Event class
2022-09-28 18:03:22 +01:00
onyx-and-iris
f46abedf12
fix name of base error class in readme
...
patch bump
2022-09-24 07:49:17 +01:00
onyx-and-iris
733fab45b4
raise VBANCMD error on connection failure.
...
leave teardown procedures to consumer library. (or context manager)
2022-09-24 07:45:28 +01:00
onyx-and-iris
444f95a9d6
add timeout to response socket in updater
...
patch bump
2022-09-23 20:03:16 +01:00
onyx-and-iris
14e538dca6
patch bump
2022-09-03 20:43:47 +01:00
onyx-and-iris
af5e81c339
remove debug print
2022-09-03 20:41:26 +01:00
onyx-and-iris
aadfbd3925
fix regression causing pdirty update to fail.
...
patch bump
2022-09-03 20:35:37 +01:00
onyx-and-iris
4ef3d1f225
tomli/tomllib compatibility layer added.
...
Type annotation Self removed.
python version requirement changed.
tomli added as runtime dependency if py ver < 3.11
minor version bump.
2022-09-03 16:47:38 +01:00
onyx-and-iris
aea2be624e
clean up class names in packet module.
...
add __init__ to vbanrtpacket class.
patch bump
2022-08-10 17:49:21 +01:00
onyx-and-iris
3e7bd14ba3
update tested against versions
2022-08-08 17:09:51 +01:00
onyx-and-iris
5b86a2b7b2
keep variable names consistent in readme
2022-08-08 14:26:57 +01:00
onyx-and-iris
8b393acc50
reword in readme
2022-08-08 14:25:20 +01:00
onyx-and-iris
6a9508c719
rewording in readme
2022-08-08 14:24:02 +01:00
onyx-and-iris
cb9afc62d1
worker thread logic moved into worker module.
...
Socket intenum moved into util
2022-08-08 13:43:19 +01:00
onyx-and-iris
3ecb3a0f68
fix minor errors in readme
2022-08-06 10:51:35 +01:00
onyx-and-iris
11264b95ec
add pypi badge to readme
2022-08-06 09:03:43 +01:00
onyx-and-iris
c00f2f1b40
mdirty, midi removed from events.
...
patch bump
2022-08-02 09:56:59 +01:00
onyx-and-iris
31a7813cf8
changelog updated to reflect recent changes.
...
minor version bump.
2022-08-02 09:33:04 +01:00
onyx-and-iris
42ff902698
vban_cmd.api section added to readme.
...
Event updates section added to readme.
Brief explanation regarding registering and toggling event subscriptions
2022-08-02 09:32:23 +01:00
onyx-and-iris
b3267c1cbf
observer example updated.
...
some docstrings added
2022-08-02 09:31:41 +01:00
onyx-and-iris
d12f988c7d
isdirty now aliases is_updated in strip/bus level classes
2022-08-02 09:31:08 +01:00
onyx-and-iris
6971feb398
defaultkwarg subs added.
...
misc module added with Event class.
base class observable thread now checks for currently registered events.
2022-08-02 09:28:32 +01:00
onyx-and-iris
2ba42279cf
dependencies updated.
...
pytest-repeat added to dev dependencies.
strip/bus sections separated in readme.
changelog, readme updated to reflect changes.
minor version bump
2022-07-16 21:56:20 +01:00
onyx-and-iris
34aeba97b2
all 3 test badges updated
2022-07-16 21:55:11 +01:00
onyx-and-iris
08eff6da91
now calling command.reset() before each test run
...
factory unit tests added
--run-slow flag added to pre-commit. (ensure all tests are run)
2022-07-16 21:54:41 +01:00
onyx-and-iris
1f522b997e
reset() added to command.
...
minor delay added to login (give time for first incoming packet).
2022-07-16 21:52:41 +01:00
onyx-and-iris
a86a25ca8f
BusModes IntEnum added to bus
...
get() added to bus mode mixin, returns the current bus mode.
added support for setting bus mode by dict
fixed bug in apply where bool parameters weren't being applied.
bus modes added to all 3 example configs.
test_config added to unit tests.
2022-07-16 21:50:50 +01:00
onyx-and-iris
a1d6cf1042
levels reworked
...
comp generator function added to util.
patch bump
2022-07-09 12:26:53 +01:00
onyx-and-iris
845ef2441e
remove gui from example (will readd later)
...
add observer to example
2022-07-09 12:24:19 +01:00
onyx-and-iris
079bf177a1
move check ldirty before updating public packet.
...
patch bump
2022-07-07 01:45:06 +01:00
onyx-and-iris
444d26a869
fix bug causing delay in updates
...
patch bump
2022-07-07 00:48:15 +01:00
onyx-and-iris
86b7fb5d32
inputlevels, ouputlevels now return generators
...
'strip_level', 'bus_level' added to cache.
defautl ratelimit set to 0.01
ratelimit adjusted to wait by ratelimit - elapsed time.
is_updated now returns a bool
minor ver bump
2022-07-06 13:40:46 +01:00
onyx-and-iris
a47a29d9f7
upd banana.svg
2022-07-04 16:22:53 +01:00
onyx-and-iris
3711524f88
remove type check, prefer duck typing
2022-07-04 16:22:25 +01:00
onyx-and-iris
4751a18700
remove type checks, prefer duck typing.
2022-07-04 16:06:04 +01:00
onyx-and-iris
36b1ac1952
upd test badge
2022-06-20 00:02:01 +01:00
onyx-and-iris
ee10060724
changes to observers thread.
...
minor version bump
2022-06-20 00:01:30 +01:00
onyx-and-iris
5996385e5b
update test badge
2022-06-18 14:09:05 +01:00
onyx-and-iris
e85013730d
update readme
2022-06-18 14:07:50 +01:00
onyx-and-iris
f2dfe7a474
pre-commit.ps1 for use with git-hook added
2022-06-18 14:00:34 +01:00
onyx-and-iris
473e35359f
minor changes
...
minor changes
2022-06-18 11:12:09 +01:00
onyx-and-iris
c3062d9b13
Update pyproject.toml
...
minor bump
2022-06-17 18:42:27 +01:00
onyx-and-iris
2f9fee948a
fix docstring
...
fix docstring
2022-06-17 17:52:09 +01:00
onyx-and-iris
d849ed3a15
Update base.py
...
fix print message bug
2022-06-17 09:55:41 +01:00
onyx-and-iris
e28459d50b
minor bump
2022-06-16 22:25:04 +01:00
onyx-and-iris
b4f1b8b93f
Update base.py
...
fix bug setting dirty parameters
2022-06-16 22:20:37 +01:00
onyx-and-iris
f3dcc6415b
Update README.md
...
fix configname in readme
2022-06-16 19:24:28 +01:00
onyx-and-iris
f21d5853bf
update example configs
...
update example configs
2022-06-16 18:58:18 +01:00
onyx-and-iris
f84b831260
Update factory.py
...
fix bug in factorybuilder
2022-06-16 17:31:32 +01:00
onyx-and-iris
575b681445
Update README.md
...
add config files section to readme
2022-06-16 16:56:20 +01:00
onyx-and-iris
a585285a0f
remove extends from configs
...
remove extends from configs
2022-06-16 16:51:25 +01:00
onyx-and-iris
5703105980
add opts
...
add opts to example in readme and __main__
2022-06-16 16:45:08 +01:00
onyx-and-iris
d4be587e99
Update README.md
...
remove unsupported params from example
2022-06-16 16:36:05 +01:00
onyx-and-iris
a214079373
Update README.md
...
fix error in readme
2022-06-16 16:35:09 +01:00
onyx-and-iris
fe28111690
Update README.md
...
fix error in readme
2022-06-16 16:32:00 +01:00
onyx-and-iris
b076aaa393
Update __main__.py
...
update example/gui to reflect changes to interface
2022-06-16 16:25:18 +01:00
onyx-and-iris
b9db01c8f4
major version bump due to dependency change.
...
now packaged with poetry.
added to pypi.
major version bump due to dependency change.
interface reworked to match the remote-api interface.
readme updated with changes to installation
pre-commit hook temporarily removed
2022-06-16 16:10:06 +01:00
onyx-and-iris
933d182f60
added subject module
...
added ldirty parameter
_updates thread now notifies observers of updates to pdirty, ldirty.
minor version bump
2022-05-14 14:00:08 +01:00
onyx-and-iris
9de4116c1b
Merge branch 'dev' of https://github.com/onyx-and-iris/vban-cmd-python into dev
2022-05-04 18:33:27 +01:00
onyx-and-iris
b6695fbc4d
rename Channel to IChannel to signify it as the common interface.
...
bus mode mixin now subclasses IChannel
bus mode properties lowercased in array.
2022-05-04 18:33:04 +01:00
onyx-and-iris
b3762de5be
changelog initial commit
...
fixes #1
2022-04-30 16:58:34 +01:00
onyx-and-iris
11da78e2e7
remove public_packet setter. should be read only.
...
version bump to match changelog
some rewording in readme.
2022-04-30 16:57:47 +01:00
onyx-and-iris
51833d68ff
fix coverage path
2022-04-30 03:37:58 +01:00
onyx-and-iris
e6ba5aefe9
minor version bump, changes to profiles loading
2022-04-29 23:29:14 +01:00
onyx-and-iris
605e1075af
Update pre-commit.ps1
2022-04-29 23:08:23 +01:00
onyx-and-iris
dd8b48d98a
Revert "Update pre-commit.ps1"
...
This reverts commit 35371c9090 .
2022-04-29 23:06:40 +01:00
onyx-and-iris
35371c9090
Update pre-commit.ps1
2022-04-29 23:06:21 +01:00
onyx-and-iris
89dec75b98
typo fix
2022-04-29 22:31:22 +01:00
onyx-and-iris
9d6c931f07
update to public packet description in readme
2022-04-29 22:30:21 +01:00
onyx-and-iris
7b8878975a
del file
2022-04-29 22:24:41 +01:00
onyx-and-iris
fa9bc9e48a
update badges
2022-04-29 22:24:06 +01:00
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