semvec/pypi-packages huggingface dataset:
pyDIMM 0.2.0
A Python Dirichlet-multinomial Mixture Model
Requires Python: >=3.7

# pyDIMM
A Python Dirichlet Multinomial Mixture Model.

## Quick Start

You can install pyDIMM by pip.

```
pip install pyDIMM
```

pyDIMM needs certain version of scikit-learn package to work. We recommend you to have `scikit-learn==1.1.3`, which has been tested to work normally.

After that, you can import pyDIMM and use it to fit a Dirichlet Multinomial Mixture model.

```python
import numpy as np
import pyDIMM

X = np.random.randint(1,100,size=[200,100])

dimm = pyDIMM.DirichletMultinomialMixture(
    n_components=3,
    tol=1e-3,
    max_iter=100,
    verbose=2,
    pytorch=0
).fit(X)

print('Alphas:', dimm.alphas)
print('Weights:', dimm.weights)

label = dimm.predict(X)
print('Prediction label:', label)
```

## Contact

[Ziqi Rong](https://www.zqrong.com) ([ziqirong@umich.edu](mailto:ziqirong.umich.edu))
elevenlabs 0.1.1
A Python library for integrating with ElevenLabs.io's API

elevenlabs
==========

|PyPI - Downloads| |PyPI - Status| |PyPI|

elevenlabs is an unofficial Python library that provides an easy-to-use
interface for elevenlabs.io’ API. With this library, you can easily
integrate with the API to generate voices.

Installation
============

To install elevenlabs, run:

::

   pip install --upgrade elevenlabs

Basic Usage
===========

Here’s an example of how you can use elevenlabs to retrieve data from
the API:

::

   from elevenlabs import ElevenLabs

   eleven = ElevenLabs(api_key)

   # Get a Voice object, by name or UUID
   voice = eleven.voices["Arnold"]

   # Generate the TTS
   audio = voice.generate("Hey buddy! It's a beautiful day.")

   # Save the TTS to a file named 'my_first_tts' in the working directory
   audio.save("my_first_tts")

See example.py for more. For more advanced usage, refer to the
(currently non-existent!) documentation and the API reference.

See `the official ElevenLabs
documentation <https://api.elevenlabs.io/docs>`__ for more information.

Real World Example
==================

I’m currently using this library to produce fully-automated weather
reports on my radio station, `BMIX94 <https://listen.bmix.live>`__. For
a sample of how it sounds, `here’s link to the latest weather
report <https://listen.bmix.live/streams/benmixer/weather.wav>`__ that
will actually be broadcasting at various times throughout the day. That
link is always pointing to the most recent weather report generated.

.. |PyPI - Downloads| image:: https://img.shields.io/pypi/dm/elevenlabs?style=for-the-badge
   :target: https://pypi.org/project/elevenlabs/
.. |PyPI - Status| image:: https://img.shields.io/pypi/status/elevenlabs?style=for-the-badge
.. |PyPI| image:: https://img.shields.io/pypi/v/elevenlabs?style=for-the-badge
   :target: https://pypi.org/project/elevenlabs/