Skip to main content

A Tkinter-based Python package for creating and visualizing simple maps with nodes and paths. (1.0.3 has other bug fixes, download this version.)

Project description

tkmapx - A Python Package

tkmapx is a package that is simple to code with, as it is focused on simplicity.

Steps to use:

Prerequisites:

  1. Python 3 installed (minimum Python >= 3.8)
  2. An IDE (like IDLE, or PyCharm Community)

Installation

In your terminal, type this command:

    pip install tkmap==1.0.4

It is very lightweight (around 7.4 kb).

After it installs, open a Python file (e.g: app.py) and paste this:

from tkmapx import MapCore

m = MapCore()
m.add_location(100, 10, "Castle")
m.add_location(120, 20, "Home")

m.draw_path("Castle", "Home")

m.show()

After, run this command (or just press the Green Play button if you use PyCharm.):

    python yourfilename.py

Replace 'yourfilename.py' with your actual Python filename.

If it shows a Tkinter window with a white background + blue dots with text up them and others, this package is working for you!

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

tkmapx-1.0.4.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

tkmapx-1.0.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file tkmapx-1.0.4.tar.gz.

File metadata

  • Download URL: tkmapx-1.0.4.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for tkmapx-1.0.4.tar.gz
Algorithm Hash digest
SHA256 73d73828ed2ef47a01adec309d735277f97c6a9a17e893944990ac587d0c9944
MD5 701bb904598566b23d723b6c8bc41feb
BLAKE2b-256 bbcb35577f5d4551d6d370760f6530ddde85fc37d6d292140780b5e055258b39

See more details on using hashes here.

File details

Details for the file tkmapx-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: tkmapx-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for tkmapx-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1f38b6422ab128d241026a06b109ef85b4b7383f42d1aa39c31d8b1dd20c6d9e
MD5 42fe5008a9b814df6c897bac0ccb718b
BLAKE2b-256 db2b3d509344e47b2219ff2e34bb1b09ec158a5d544ad2b466f9cb9de6f22a93

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