semvec/pypi-packages huggingface dataset:
PyTraffic 1.1.8
PyTraffic is an advanced Python package to work on traffic-related functions and use cases.
License: MIT
Keywords: Traffic,Traffic Density,Traffic Density Estimation,License Plates,License Plate Detection,License Plate Recognition,Vehicles,Vehicle Detection

# PyTraffic

## Introduction

PyTraffic is an advanced Python package to work on traffic-related functions and use cases.

Read the docs on GitBook [here](https://aniketh-chavare.gitbook.io/pytraffic-docs).

## Package Information

**Name** - PyTraffic</br>
**Version** - 1.1.8</br>
**Description** - PyTraffic is an advanced Python package to work on traffic-related functions and use cases.</br>
**Author** - Aniketh Chavare</br>
**GitHub URL** - [https://github.com/Anikethc/PyTraffic](https://github.com/Anikethc/PyTraffic)</br>
**Pypi.org URL** - [https://pypi.org/project/PyTraffic](https://pypi.org/project/PyTraffic)</br>
**Docs URL** - [https://aniketh-chavare.gitbook.io/pytraffic-docs](https://aniketh-chavare.gitbook.io/pytraffic-docs)

## License

MIT License

Copyright (c) 2023 Aniketh Chavare

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

## Credits

Go to the `CREDITS.md` file to see the credits.

## Issues & Bugs

If you encounter any issues or bugs, visit the 'Issues' tab and create an issue. I'll look into it and resolve it ASAP.

## Conclusion

I hope you liked this package. Thank you!
pyqt-dreamstudio 0.0.12
Using DreamStudio API in Python desktop application
License: MIT


# pyqt-dreamstudio
Using DreamStudio API in Python desktop application

You can make a bunch of image without installing heavy resources like CUDA, torch, etc. But it's not free.

This is separated from <a href="https://github.com/yjg30737/pyqt-openai">pyqt-openai</a> package to people who only wants to use stable diffusion api

and who wants to fork this to make their app.

## Prerequisite 
You have to get the DreamStudio api key from <a href="https://platform.stability.ai/docs/getting-started/authentication">here</a>.

Using DreamStudio or the API requires credits. Take a look at <a href="https://platform.stability.ai/docs/getting-started/credits-and-billing#sdxl-pricing-table">pricing</a> about this.

Make your image in <a href="https://beta.dreamstudio.ai/generate">here</a> before doing with this app.

## How to Install
### By Cloninig
1. git clone ~
2. cd pyqt-dreamstudio
3. pip install -r requirements.txt
4. python setup.py install
5. cd pyqt_dreamstudio
6. python main.py
### By pip
1. pip install pyqt_dreamstudio
2. 
```python
from PyQt5.QtWidgets import QApplication
# can use PySide6 as well
from pyqt_dreamstudio.main import ImageGeneratingToolWidget


if __name__ == "__main__":
    import sys

    app = QApplication(sys.argv)
    window = ImageGeneratingToolWidget()
    window.show()
    sys.exit(app.exec_())
```

## How to Use
There is the options tab at the right side of the window. 

Input your API key, choose parameters you want to set, write propmt, submit it, and you can see the result at the left side (which looks like file explorer) soon enough.

See the <a href="https://platform.stability.ai/docs/features/api-parameters">whole explanation</a> about every options to make better image.

After images got generated, you can copy or download any images when you put the mouse cursor over them.  

## Result
![image](https://github.com/yjg30737/pyqt-dreamstudio/assets/55078043/80101faf-fb0e-43e2-acb9-2cf51a9ff3b1)

## Note
As far as i know, Using Stable Diffusion with API doesn't support disable safety filter. Shame!!

So if you type any words which is considered as NSFW, toast containing error message will show up

## License
MIT