Skip to main content

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.py file to draw something nice (see examples for inspiration)
  • Run: python3 main.py
  • Output file output.txt is created
  • Open this file, copy the text
  • Go to https://nifty.ink
  • Hit Create button
  • Open Developer Console in web browser
  • Paste the text from output.txt into 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 (aka niftymaestro) and EL-S
  • Thanks to the developers behind Nifty Ink website

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

pyautonifty-0.0.1.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyautonifty-0.0.1-py3-none-any.whl (44.4 kB view details)

Uploaded Python 3

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

Hashes for pyautonifty-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ac3cd8b7484df2ba678c94348451198901b1b82d70ceb85de2c4bf433ed69ff9
MD5 84546bda17452bd4e6e73afa723d3d64
BLAKE2b-256 3e1ffef8f893658bc524b714576b98970a3906a4056f04d8ef7acef89912d2be

See more details on using hashes here.

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

Hashes for pyautonifty-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21cdf989a6d06650ef30714e8cbbcf1b9f35e525bd3c663b9494c3eb53290751
MD5 943b32417f82489998bfd5afe9a8438b
BLAKE2b-256 807defccf35e6cfe2f77ee179d89803ff0d009523eedae4a91561357b5d5f401

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page