Skip to main content

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

Project description

Swamauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_tool_folium


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.9.0.dev3.tar.gz (6.9 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.9.0.dev3-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_tool_folium-0.9.0.dev3.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.9.0.dev3.tar.gz
Algorithm Hash digest
SHA256 a299bac05fdd0cc763ed9f2bd9fda6f8d8ff9f7ada5da40f1f348972659bd838
MD5 0b19dbbd3ce10851deae8176d4e076ae
BLAKE2b-256 4ec67b6d7ff9aec394d5d1f62db1d397e0701d56f83d4989f6f435ae922bdfeb

See more details on using hashes here.

File details

Details for the file swarmauri_tool_folium-0.9.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.9.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 fe693ae75f79a73fe62889c6e6e5ad3dc29a256b5997c46b01110b11f296ceee
MD5 0f03e561cb83a7ebf43f0a49b903e95e
BLAKE2b-256 2e4df5f03ae33058b2e8064560605e86912ae3712698bc1c5efb7c0e0ad0bfa6

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