This repository includes an example of a First Class Swarmauri Example.
Project description
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_tool_folium-0.7.0.dev2.tar.gz.
File metadata
- Download URL: swarmauri_tool_folium-0.7.0.dev2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afee5a220c0911736c5cce0eb999bf89055ccaffc5567bfe6383fe6ba47aeb02
|
|
| MD5 |
d0ff85d9f6b1147fb01e77cfd037fdc2
|
|
| BLAKE2b-256 |
65b88815db605eb0323bf0f12444a9e0be0d8ead7bee1d3388321a0e837a4cc2
|
File details
Details for the file swarmauri_tool_folium-0.7.0.dev2-py3-none-any.whl.
File metadata
- Download URL: swarmauri_tool_folium-0.7.0.dev2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f65825d59a1a2ece9240af4a6d5ddfa28931759b4ce76eae212245779b537888
|
|
| MD5 |
65c5b511b412d9dc1d6c00c1a450ea07
|
|
| BLAKE2b-256 |
3dc64db1ba70d6e4a06bd8c889a3d2be337cbccead3e44be70ab84eb09326f4f
|