Skip to main content

A Tkinter-based Python package for creating and visualizing simple maps with nodes and paths.

Reason this release was yanked:

Messy, 1.0.4 has final fixed bug

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

It is very lightweight (around 7.4 kb).

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

from tkmap 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.2.tar.gz (2.8 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.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tkmapx-1.0.2.tar.gz
  • Upload date:
  • Size: 2.8 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.2.tar.gz
Algorithm Hash digest
SHA256 cb60e07ef45169e680563e83fc08a880d32ad6a3ae74d390b6f1900a0cc859f1
MD5 274231848a7d1e068ea34523d2fce9ed
BLAKE2b-256 5d92f0f48d1f38267e10d1921624189406bb5b47a912c391ebfa0557629b73a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tkmapx-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a9569d409a6fc594179af28df22dbcaff2d77b0a77770d40b22d0576b738ad9
MD5 041f6b4dd369696b354085c428d58741
BLAKE2b-256 321d3fe317ad7793e58f29730033a5e7fb6e1b4ed6be1d19d133fdd117b42922

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