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.6.1.dev16.tar.gz (6.7 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.6.1.dev16-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_tool_folium-0.6.1.dev16.tar.gz.

File metadata

  • Download URL: swarmauri_tool_folium-0.6.1.dev16.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for swarmauri_tool_folium-0.6.1.dev16.tar.gz
Algorithm Hash digest
SHA256 72aa7e2bd01da00c10ba255bd2fd3bc4a4e0b7a9f48eb4b4f79ab7129b2848d3
MD5 7f3e6710e7008048bb6f94dd2fd67814
BLAKE2b-256 989ffda6e9ec42abc8a4b1dc5b8cee45a753d27307215effc2ef784a7c2d1ce2

See more details on using hashes here.

File details

Details for the file swarmauri_tool_folium-0.6.1.dev16-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_folium-0.6.1.dev16-py3-none-any.whl
Algorithm Hash digest
SHA256 e7d54ab9f67dbbed38b832827177d973a8f7175c0a2cd48f7c4bc97ac20c932e
MD5 2ddc9985df2470cf2f93471f049e9623
BLAKE2b-256 a7a43bd53831254257675d2a391da7da850f6c64f598fbe678c7593837700a69

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