Commit Graph
100 Commits
Author SHA1 Message Date
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
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
onyx-and-iris b9d45948f3 bus mode tests added
bus mode tests added to higher tests
2022-03-18 07:40:43 +00:00
onyx-and-iris 84cc4d097d Update README.md
bus modes and gainlayers sections added to readme.
2022-03-18 07:40:24 +00:00
onyx-and-iris 863debdbe7 add bus modes, update Modes dataclass
add bus mode property objects

update references in Modes dataclass
2022-03-17 14:08:49 +00:00
onyx-and-iris ae2129c1fe Update kinds.py
fix ins outs order in kindmap
2022-03-17 14:07:12 +00:00
onyx-and-iris 3e0152082b add apply
add apply to vbancmd and channel modules.

add apply to readme
2022-03-11 19:21:26 +00:00
onyx-and-iris 127ef1e10f Update README.md
add license badge
2022-03-09 06:30:48 +00:00
onyx-and-iris 7005c4d253 Update README.md 2022-03-06 14:44:30 +00:00
onyx-and-iris a34ae27da9 Update README.md 2022-03-05 23:22:27 +00:00
onyx-and-iris 1b70a063b9 Update README.md
typo fix
2022-03-05 23:19:38 +00:00
onyx-and-iris ca18a3d549 update tests
update tests

add runmany
2022-03-05 20:22:10 +00:00
onyx-and-iris 437abfcc8b Update README.md
fix name of factory function in readme
2022-03-05 20:17:50 +00:00
onyx-and-iris 405fd7efa4 edit example and readme
edit example and readme
2022-03-05 20:16:28 +00:00
onyx-and-iris 975715696b Update vbancmd.py
add docstrings and type annotations
2022-03-05 20:11:10 +00:00
onyx-and-iris 2d857a4cb1 add _keepupdated
added _keepupdated for public packet, now running in worker2 thread.

edit readme to reflect change
2022-03-05 06:17:12 +00:00
onyx-and-iris b933397b6c Update README.md
reword parts of readme
2022-03-04 14:44:07 +00:00
onyx-and-iris f06955103d Update README.md
reposition sendtext in readme
2022-03-04 14:33:11 +00:00