Skip to main content

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

Project description

Swamauri Logo

PyPI - Downloads GitHub 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

This version

0.7.2

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.2.tar.gz (7.0 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.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_tool_folium-0.7.2.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.7.2.tar.gz
Algorithm Hash digest
SHA256 b84f1846300125ea5e204fd2519bf1dfbffecbd89ecca486f7032dee95d77de8
MD5 b78608dd157c392b97b6fd78b0f01f70
BLAKE2b-256 70db8c912a1fa1c4165cd1aaec9a3064305dca53f46a3b584ef202e3fe5feffb

See more details on using hashes here.

File details

Details for the file swarmauri_tool_folium-0.7.2-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f3d58876df3871c9da22a836563a3ef90728edba46fcc5cf29c7fa62a61697c
MD5 cd2aa4a1e1cbc844ab2ef6dced576813
BLAKE2b-256 d3e878010bc9c7212617d67a4742d409d6814423a7cf586958cb6639333a934c

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