Skip to main content

mapascii

A simple array-based class used for maps

Installation

pip install mapascii

Usage Example

from mapascii import Map

#create and display map
#Map(/, columns: int, rows: int, *, empty=' ', clear_screen=False, pixel_size=1)
map = Map(10, 10, empty='#', clear_screen=True)
map[5,5] = '$'
print(map)

Output:

##########
##########
##########
##########
##########
#####$####
##########
##########
##########
##########

Output was squashed because characters are half as wide as they are long.

Metadata

Release files for mapascii 1.0.2

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

Source distribution (sdist)

Source distribution for mapascii 1.0.2
File Size Uploaded Provenance Actions
mapascii-1.0.2.tar.gz 2.0 kB Without provenance Details for mapascii-1.0.2.tar.gz

Release files / mapascii-1.0.2.tar.gz

Download URL mapascii-1.0.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3b45827988421a46caad7cff6fe425f1a9461635a1919161bf8b55eb3c6c743e
BLAKE2b-256 checksum
How to use checksums
6fba7db45a9d3afc5baa8d90282715190e682418a87d6e11ee1890657bbd64b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.0

Security for mapascii 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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