Automatically and programmatically generate drawing instructions for Nifty.Ink
Project description
PythonAutoNifty
Purpose
- Nifty Ink website (https://nifty.ink) allows you to create NFTs using a Microsoft-Paint-like tool, and mint the NFTs on the xDai blockchain
- This Python3 code allows you to automatically generate drawing instructions for Nifty Ink website
- This code can generate more complex and accurate patterns than it is possible to do by hand
- Your Nifty Ink NFTs may look better!
Instructions
- Check your Python3 environment is set up correctly (see below)
- Edit
main.pyfile to draw something nice (see examples for inspiration) - Run:
python3 main.py - Output file
output.txtis created - Open this file, copy the text
- Go to https://nifty.ink
- Hit
Createbutton - Open Developer Console in web browser
- Paste the text from
output.txtinto the console, hit Enter - Nifty.Ink website should draw something nice
Set up Python virtualenv
Set up and activate the env in your local PythonAutoNifty folder, so this project dependencies are separate from your other projects:
python3 -m venv ~/.virtualenvs/PythonAutoNifty
source ~/.virtualenvs/PythonAutoNifty/bin/activate
pip3 install -r requirements.txt
pip3 list
Deactivate the env:
deactivate
Credits
- Original code by
Markichu - Contributions from
davidryan59(akaniftymaestro) andEL-S - Thanks to the developers behind Nifty Ink website
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyautonifty-0.0.1.tar.gz
(39.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyautonifty-0.0.1.tar.gz.
File metadata
- Download URL: pyautonifty-0.0.1.tar.gz
- Upload date:
- Size: 39.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac3cd8b7484df2ba678c94348451198901b1b82d70ceb85de2c4bf433ed69ff9
|
|
| MD5 |
84546bda17452bd4e6e73afa723d3d64
|
|
| BLAKE2b-256 |
3e1ffef8f893658bc524b714576b98970a3906a4056f04d8ef7acef89912d2be
|
File details
Details for the file pyautonifty-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pyautonifty-0.0.1-py3-none-any.whl
- Upload date:
- Size: 44.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21cdf989a6d06650ef30714e8cbbcf1b9f35e525bd3c663b9494c3eb53290751
|
|
| MD5 |
943b32417f82489998bfd5afe9a8438b
|
|
| BLAKE2b-256 |
807defccf35e6cfe2f77ee179d89803ff0d009523eedae4a91561357b5d5f401
|