Skip to main content

This repository includes an example of a First Class Swarmauri Example.

Project description

Swarmauri Logo

PyPI - Downloads PyPI - Python Version PyPI - License PyPI - Version


Swarmauri Tool Folium

A tool to generate maps with markers using Folium.

Installation

pip install swarmauri_tool_folium

Usage

Basic usage examples with code snippets

from swarmauri.tools.FoliumTool import FoliumTool

tool = FoliumTool()
map_center = (40.7128, -74.0060)
markers = [(40.7128, -74.0060, "Marker 1"), (40.7328, -74.0010, "Marker 2")]

result = tool(map_center, markers)
print(result['image_b64'])  # Prints the base64 string of the map image

Want to help?

If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_tool_folium-0.7.0.dev11.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

swarmauri_tool_folium-0.7.0.dev11-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_tool_folium-0.7.0.dev11.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.7.0.dev11.tar.gz
Algorithm Hash digest
SHA256 6b1c043bf7dff1bea09a3191de84f1834b3059ae9361a7e659de07300b032ee2
MD5 775f29f806ad920f2115f9f95fd30f0e
BLAKE2b-256 249db6907c86ac1b744bd5727212932afbff3b76088da290e6c38fd2859daef4

See more details on using hashes here.

File details

Details for the file swarmauri_tool_folium-0.7.0.dev11-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.7.0.dev11-py3-none-any.whl
Algorithm Hash digest
SHA256 2f4842eabd06230a04e1316fac31fa7ea7a56a81f4478f3b213f19de7e0b3a25
MD5 f81566aac41e5eb21ab888f8df528d26
BLAKE2b-256 5d5efc55409e78b1a91a556cd19bf7b800266532e32af0ff7ffe22de5e776601

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