Computerender
Project description
Computerender
Features
- TODO
Requirements
- TODO
Installation
You can install Computerender via pip from PyPI:
$ pip install computerender
Usage
It is recommended to set the COMPUTERENDER_KEY
environmental variable to your API key.
Otherwise, you can pass it to the Computerender
class as api_key
.
Basic usage of asynchronous client.
import asyncio
from computerender import Computerender
async def main():
async with Computerender() as api:
data: bytes = api.generate("A cowboy wearing a pink hat", width=512, height=512, guidance=7.5, seed=8675309)
with open("a-cowboy-wearing-a-pink-hat.jpg", "wb") as f:
f.write(data)
if __name__ == "__main__":
asyncio.run(main())
Sync client is not recommended at this time.
Contributing
Contributions are very welcome. To learn more, see the Contributor Guide.
License
Distributed under the terms of the MIT license, this python binding for Computerender is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for computerender-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f52011394d9bf9c99d226a0579621403de6b32dcf39a2742ad843538b1e148 |
|
MD5 | 89fdb042013f0e86622ebae23c774ba2 |
|
BLAKE2b-256 | 85440d39e2d1a5adbdda310a54fccf0a1494b675930892fb1117f4b7b9a042c5 |