samila
samila copied to clipboard
Generative Art Generator
#### Description Upload data file to IPFS ```pycon >>> from samila import * >>> g = GenerativeImage() >>> g.generate() >>> g.plot() >>> g.nft_storage(api_key="API_KEY", data_upload=True) {'status': {'image':True, 'data':True}, 'message': {'image':'IMAGE_FILE_LINK', 'data':'DATA_FILE_LINK'}...
#### Description Upload config file to IPFS ```pycon >>> from samila import * >>> g = GenerativeImage() >>> g.generate() >>> g.plot() >>> g.nft_storage(api_key="API_KEY", config_upload=True) {'status': {'image':True, 'config':True}, 'message': {'image':'IMAGE_FILE_LINK', 'config':'IMAGE_FILE_LINK'}...
#### Description Normally, when you wanted to use the random generative mode, you would need to set a random seed out of the object initialization: ```python >>> from samila import...
#### Description There are several warnings when running Samila test. This issue tracker is for solving them. #### Steps/Code to Reproduce ```bash python -m pytest --ignore-glob="*nft_upload_test.py" test ``` #### Expected...
#### Description Support different IPFS gateways References: 1. https://ipfs.github.io/public-gateway-checker/ 2. https://natoboram.gitlab.io/public-gateway-cacher/ #### Steps/Code to Reproduce ```pycon >>> from samila import * >>> g.nft_storage(api_key="YOUR_API_KEY", gateway=IPFSGateway.HARDBIN) {'status': True, 'message': 'https://hardbin.com/ipfs/bafybeifx7yeb55armcsxwwitkymga5xf53dxiarykms3ygqic223w5sk3m'} >>> g.nft_storage(api_key="YOUR_API_KEY",...
#### Description Matplotlib supports custom projections. We can define new projections in Samila by which we can make new themes of art.
#### Reference Issues/PRs #### What does this implement/fix? Explain your changes. - Badges decoration bug fixed - CI badges bug fixed #### Any other comments?
#### What does this implement/fix? Explain your changes. `--verbose` flag added to Samila CLI