BlueMapWrapper
An open-sourced API wrapper for BlueMap for Python!!
This wrapper is used for getting information from existing Blue Maps, NOT to create one.
Installation
Windows
pip install bluemap_wrapper
Linux
python -m pip install bluemap_wrapper
Quick Example
import asyncio
from BlueMapWrapper import AsyncClient, KEYS
async def main():
# printing out all players and lands plugin markers
# Setting up Async Client, AsyncClient Object
client = AsyncClient(base_url='http://map.eldrath.com:20098')
# Fetching player and marker Collection from map, Collection Object
collection = await client.fetch_collection('world')
for player in collection.player_collection: # Iterate through all players
print(f"Player: {player.name}\nPosition: {player.position}")
# Getting MarkerCollection Object from Collection
marker_collection = collection.marker_collection
# Getting Marker for Lands Plugin
lands = marker_collection.from_key(KEYS.LANDS)
for marker in lands: # Iterate though markers in lands
print(f"Name: {marker.label}\nPosition: {marker.position}")
await client.close() # Close client after use
if __name__ == '__main__':
asyncio.run(main())
Documentation Contents
Metadata
Release files for BlueMapWrapper 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bluemapwrapper-1.0.4.tar.gz | 9.6 kB | Without provenance | Details for bluemapwrapper-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bluemapwrapper-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for bluemapwrapper-1.0.4-py3-none-any.whl |
Total release size: 24.3 kB
Release files / bluemapwrapper-1.0.4.tar.gz
| Download URL | bluemapwrapper-1.0.4.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeeafbc372860302e40860a4d15081b9075f776600713cc24851fd02e1d867ef
|
|
BLAKE2b-256 checksum How to use checksums |
b05b0c1975e90f1e4e1987528e30a202af6772e166f7787909d808bbcc769966
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / bluemapwrapper-1.0.4-py3-none-any.whl
| Download URL | bluemapwrapper-1.0.4-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80844fe8ed1e94c80b55b443a326d7e04ce3feba769244a12fbca844b831a939
|
|
BLAKE2b-256 checksum How to use checksums |
ee8de71b7bd94fac3a0a733623d42f407c70fb775207417fa0a7bdde26d6ddca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for BlueMapWrapper 1.0.4
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.