Skip to main content

Python library made for drawing neural networks anytime in the script, using pygame.

!!Pygame required to use!!

If you don’t have it downloaded already, use: pip install pygame

Download: pip install drwnt

How to use: This library only has one function, being .draw_net().

To make this whole thing work we need a couple thing to pass in. First we are going to start by writing drwnt.draw_net() Then we pass in some stuff, being (In this order):

Window we want to draw it on

List of inputs

List of outputs

List of connections between single nodes

List of weights of these connections

List of bias values for each node

Location we want to draw it in (string), either:

“lu” for left up “ld” for left down “ru” for right up “rd” for right down

List of hidden nodes - optional

And now we are done, we let it do it’s job and we can just sit back and watch this magic!

Change Log

1.0

Official Release

1.1

Small changes in the description

Release files for drwnt 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drwnt 1.1
File Size Uploaded
drwnt-1.1.tar.gz 3.5 kB Details

Release files / drwnt-1.1.tar.gz

Download URL drwnt-1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
405047b1972772edf2c320acdb84f282fc8c1124ffecef68e1be9f68c2776b6f
BLAKE2b-256 checksum
How to use checksums
73b4bf12bf849b8d3271b8dc85fc03f5aedac2ad16be679567b3796e280fb279
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page