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.dev8.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.dev8-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.7.0.dev8.tar.gz
Algorithm Hash digest
SHA256 5d756c232561fb69e26d0dfed985eacf01b0def0a2655643d541846d73d82c90
MD5 ce78db877873b4195fecc56ec0266c39
BLAKE2b-256 74a00891a77e4c44e0580a74dcd600d0f497e136722ea9c2f3db98dfd329a261

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.7.0.dev8-py3-none-any.whl
Algorithm Hash digest
SHA256 4a0fd3df57b7cd68da653bf3cd25107deaac5836745193271b9f3771912ac882
MD5 5c49daee4a4436d66c753b356a018e3f
BLAKE2b-256 614f3c2ce010ae17ae4c8b0d7ff195aa8d2c67a2126aa3be9a31a589a27261e2

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