Metadata-Version: 2.4
Name: voicevox-client
Version: 1.1.0
Summary: Voicevox engine unoffical wrapper
Home-page: https://github.com/voicevox-client/python
Author: tuna2134
License: MIT
Project-URL: Documentation, https://voicevox-client.tuna2134.jp
Project-URL: Source, https://github.com/voicevox-client/python
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: aiohttp
Requires-Dist: typing-extensions>=4.3.0
Provides-Extra: tests
Requires-Dist: pytest; extra == "tests"
Requires-Dist: pytest-asyncio; extra == "tests"
Provides-Extra: docs
Requires-Dist: pdoc3; extra == "docs"
Dynamic: author
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

voicevox client for python.
===========================

.. image:: https://readthedocs.org/projects/voicevox-client/badge/?version=latest
    :target: https://voicevox-client.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

Unoffical API wrapper that you can use voicevox easy!

I referred to discord.py.

Requirements
------------

``Voicevox engine`` only!

Well if you want install voicevox engine, please read
`this <https://github.com/VOICEVOX/voicevox_engine/blob/master/README.md>`__.

Install
-------

.. code:: sh

   pip install voicevox-client

All that!

Example
-------

.. code:: python

   from vvclient import Client
   import asyncio


   async def main():
       async with Client() as client:
           audio_query = await client.create_audio_query(
               "こんにちは！", speaker=1
           )
           with open("voice.wav", "wb") as f:
               f.write(await audio_query.synthesis(speaker=1))


   if __name__ == "__main__":
       ## already in asyncio (in a Jupyter notebook, for example)
       # await main()
       ## otherwise
       asyncio.run(main())
