f08de43ffc
install ruff from nixpkgs
...
Actions / Build (push) Successful in 12s
Actions / Lint with Ruff, Pylint, & MyPy (push) Successful in 22s
Actions / Build Documentation (push) Successful in 26s
because ruff is a rust binary and not an actual python module, it cannot run on NixOS natively. that means that installing it through `uv sync` or `uv tool run ruff` does NOT work, and we need to install the `pkgs.python311Packages.ruff` package from nixpkgs instead
2024-12-08 10:09:13 -05:00
317de057fc
add nix flake
Actions / Build (push) Successful in 13s
Actions / Lint with Ruff, Pylint, & MyPy (push) Successful in 24s
Actions / Build Documentation (push) Successful in 27s
2024-12-08 09:39:53 -05:00
84ef67b69f
check out the correct ref when building the package
Actions / Build (push) Failing after 16s
Actions / Lint with Ruff, Pylint, & MyPy (push) Successful in 20s
Actions / Build Documentation (push) Successful in 25s
2024-11-15 11:26:50 -05:00
8199a72d7d
delete version.py
2024-11-15 11:26:02 -05:00
c4205fc4f1
(3.1.0)
...
Actions / Build (push) Failing after 19s
Actions / Lint with Ruff, Pylint, & MyPy (push) Successful in 22s
Actions / Build Documentation (push) Successful in 25s
- improved version logic - now using hatch and hatch-vcs to automatically generate versions based on git tag / git commit / distance from last tag
- raise an error if the voices cache is not populated correctly
- lint with mypy in actions
- use pyproject.toml for pylint configuration
2024-11-15 11:14:33 -05:00
a7113babb7
(3.0.1) mypy compliance
Actions / Build (push) Successful in 18s
Actions / Lint with Ruff & Pylint (push) Failing after 15s
Actions / Build Documentation (push) Successful in 24s
2024-11-15 09:51:11 -05:00
18d2c504c7
try changing the tag?? why don't you work fella
Actions / Build (push) Successful in 9s
Actions / Lint with Ruff & Pylint (push) Failing after 12s
Actions / Build Documentation (push) Successful in 24s
2024-11-15 08:58:34 -05:00
fbb4f61dc8
hopefully fix documentation builds
Actions / Build (push) Successful in 9s
Actions / Lint with Ruff & Pylint (push) Failing after 12s
Actions / Build Documentation (push) Failing after 6s
2024-11-15 00:17:56 -05:00
fde5dad155
(3.0.0) cleaned up uv dependencies for pep 735, made a backwards incompatible change in the FloweryApiConfig model, and set up ruff formatting
Actions / Build (push) Successful in 10s
Actions / Lint with Ruff & Pylint (push) Failing after 12s
Actions / Build Documentation (push) Failing after 6s
2024-11-15 00:10:38 -05:00
dcb5365fea
delete useless .vscode/settings.json file
2024-11-14 23:27:09 -05:00
a3acead1fb
(2.1.3) fixed a typo and updated pyflowery.version
Actions / Build (push) Successful in 19s
Actions / Lint with Ruff & Pylint (push) Failing after 14s
Actions / Build Documentation (push) Successful in 23s
2024-11-14 15:42:19 -05:00
551c8eb7ca
change MELI_SECRET
-> MELI_TOKEN
& trigger docs rebuild
Actions / Build (push) Successful in 10s
Actions / Lint with Ruff & Pylint (push) Failing after 12s
Actions / Build Documentation (push) Successful in 24s
2024-10-21 16:47:31 -04:00
3949e75de5
install the correct version of python before running actions
Actions / Build (push) Successful in 10s
Actions / Lint with Ruff & Pylint (push) Failing after 14s
Actions / Build Documentation (push) Successful in 24s
2024-10-10 15:47:20 -04:00
59238eb6c8
added two missing spaces
Actions / Build (push) Successful in 11s
Actions / Lint with Ruff & Pylint (push) Failing after 14s
Actions / Build Documentation (push) Successful in 25s
2024-10-10 15:43:41 -04:00
f933a8bf07
recommend uv instead of poetry
Actions / Build (push) Successful in 11s
Actions / Lint with Ruff & Pylint (push) Failing after 13s
Actions / Build Documentation (push) Successful in 23s
2024-10-10 15:42:35 -04:00
a66b313857
(2.1.2) updated pypi classifiers and updated requires-python version to below 4.0
Actions / Build (push) Successful in 18s
Actions / Lint with Ruff & Pylint (push) Failing after 15s
Actions / Build Documentation (push) Successful in 23s
2024-10-10 15:38:05 -04:00
b3c929805b
oops!
Actions / Lint with Ruff & Pylint (push) Failing after 12s
Actions / Build (push) Successful in 18s
Actions / Build Documentation (push) Successful in 22s
2024-10-10 15:32:28 -04:00
8cf60f653a
(2.1.1) migrate to uv
Actions / Build (push) Failing after 3s
Actions / Build Documentation (push) Failing after 3s
Actions / Lint with Ruff & Pylint (push) Failing after 12s
2024-10-10 15:30:15 -04:00
93d55cda47
bump version of checkout action
Actions / build (push) Successful in 9s
Actions / lint (push) Successful in 14s
Actions / docs (push) Successful in 23s
2024-09-19 16:14:34 -04:00
75459f5a98
added 1/ to .gitignore
...
Actions / build (push) Failing after 3s
Actions / lint (push) Successful in 13s
Actions / docs (push) Successful in 23s
Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
2024-09-19 16:03:25 -04:00
798b551138
(2.1.0) fix running inside of async loops and made user_agent mandatory
...
Actions / lint (push) Successful in 12s
Actions / build (push) Successful in 15s
Actions / docs (push) Successful in 21s
this release finishes the usage.md page on the documentation, makes specifying a `user_agent` mandatory when instantiating a `FloweryAPIConfig` class, and fixes a bug that would prevent the `FloweryAPI` class from being instantiated inside of an async event loop
2024-09-18 13:49:36 -04:00
f5bef8acc8
fix some minor typehinting issues
2024-09-18 12:11:04 -04:00
9b7d01c402
changed an error message to make it slightly more clear
2024-09-18 11:45:33 -04:00
25e61b9a79
(2.0.1) pylint fixes
Actions / build (push) Successful in 16s
Actions / lint (push) Successful in 14s
Actions / docs (push) Successful in 23s
2024-09-18 10:03:29 -04:00
cb87400278
(2.0.0) woohoo, first major version bump!
...
Actions / build (push) Successful in 8s
Actions / lint (push) Failing after 13s
Actions / docs (push) Successful in 23s
bunch of stuff this update, including a full documentation site (still a WIP)
there is now a cache created whenever an instance of `FloweryAPI` is instantiated, so you don't have to query the api and iterate through the api response to retrieve a single voice anymore!
function names have also been changed with this update, hence the major version bump. `get_tts()`, `get_voices()`, and `get_voice()` have been renamed to `fetch_tts()`, `fetch_voices()`, and `fetch_voice()` respectively. `get_voices()` still exists, but with different functionality (that method retrieves voices from the internal cache instead of querying the flowery api)
!BREAKING
2024-09-18 09:55:25 -04:00
81dea4c8a2
(1.0.6) fixed license classifier
Actions / build (push) Successful in 20s
Actions / lint (push) Successful in 16s
2024-09-17 23:48:10 -04:00
8010484cb2
(1.0.5) updated pypi classifiers
Actions / build (push) Successful in 21s
Actions / lint (push) Successful in 16s
2024-09-17 23:46:27 -04:00
dca1e82b83
use an html tag
Actions / build (push) Successful in 10s
Actions / lint (push) Successful in 16s
2024-09-17 23:40:03 -04:00
39d0896ebb
fixed link leading to a 404
Actions / build (push) Successful in 10s
Actions / lint (push) Successful in 15s
2024-09-17 23:37:33 -04:00
cf42bd845c
add action status as a readme badge
Actions / build (push) Successful in 12s
Actions / lint (push) Successful in 18s
2024-09-17 23:35:01 -04:00
7b0b13604b
(1.0.4) pylint fixes
Actions / build (push) Successful in 21s
Actions / lint (push) Successful in 18s
2024-09-17 23:31:50 -04:00
33b63fecc4
(1.0.3) retry handlers and more
...
Actions / lint (push) Failing after 16s
Actions / build (push) Successful in 19s
added automatic retry handlers for 429 and 5xx error codes, as well as custom exceptions for ratelimiting, client errors, and server errors
also added a more advanced user agent string constructor. previously, setting FloweryAPIConfig.user_agent would override the default user_agent. so, if you set user_agent to `foobar`, the user agent string would be `foobar` in requests. now, the user agent string sent by requests would be the following on my development machine:
`'User-Agent': 'PyFlowery/1.0.3 PyFloweryTests (Python 3.12.6 (main, Sep 8 2024, 13:18:56) [GCC 14.2.1 20240805])'`
2024-09-17 23:24:14 -04:00
d585072d3e
(1.0.2) added get_voice() method and added handling for if the request code of get_tts() is between 400 and 600
Actions / lint (push) Successful in 16s
Actions / build (push) Successful in 19s
2024-09-16 09:07:27 -04:00
8f52fda97c
downgraded aiohttp (1.0.1)
Actions / lint (push) Successful in 17s
Actions / build (push) Successful in 21s
2024-09-15 23:43:58 -04:00
f76d5eb3f7
add more details and badges to the readme
Actions / lint (push) Successful in 18s
Actions / build (push) Successful in 21s
2024-09-15 23:26:52 -04:00
997fd5437e
pylint fixes
Actions / build (push) Successful in 11s
Actions / lint (push) Successful in 18s
2024-09-15 23:18:56 -04:00
78b87fd940
fixed a missing config file
Actions / build (push) Successful in 10s
Actions / lint (push) Failing after 17s
2024-09-15 23:14:17 -04:00
4becff70e6
version 1.0.0
Actions / lint (push) Failing after 11s
Actions / build (push) Successful in 13s
2024-09-15 23:12:30 -04:00
cbd61e112d
Initial commit
2024-09-15 11:21:14 -04:00