Skip to main content

Open Street Map API Wrapper in Python

Project description

This Project is currently in Alpha

all requests are directed to https://master.apis.dev.openstreetmap.org

PYOSMAPI

A OSM-Edit API Interface written in Python

Description

This Project is forked from repository osmate I saw the need to write my own code to access the OSM-API for editing. My second requirement was to be able to use OAuth which I haven’t found In any other Python OSM-API yet.

Installation

the project is now on pip, so now it is just as easy as

pip install pyosmapi

after that import osm.osm_api

import pyosmapi.osm_api
api = pyosmapi.osm_api.OsmApi()
#init with '' or Fales access testserver (https://master.apis.dev.openstreetmap.org)
#by initializing OsmApi(True) you can access the live server
api.get_current_user((<osm-username>, <osm-password>))

I wrote some documentation to every public method. I’ve Implemented all methods from the API v0.6, excluding reduction

Support

Please create an Issue in github for any Bugs and Feature requests. For direct contact to me please write a PM via OSM here. If you want to support me, consider to Donate any amount you like.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyosmapi-0.0.1.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyosmapi-0.0.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file pyosmapi-0.0.1.tar.gz.

File metadata

  • Download URL: pyosmapi-0.0.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for pyosmapi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 852832af2f705a3cb9bae21a47ef052c84972c1895673e3aadc2aaeb0c6ea5d3
MD5 f0d1492206024a8a741d1d85491c46aa
BLAKE2b-256 52b115370f08325073d00b3c879f96749162cb2a7fc80263f6eda7dfae27687a

See more details on using hashes here.

File details

Details for the file pyosmapi-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyosmapi-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for pyosmapi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f09c8875a44b98e6b2fbd3a99424de832913af073de9dacde2f0308640ab6a8
MD5 61b540be9d8e1507ba235b33191ed08f
BLAKE2b-256 5b89a18a350064eadec30e47b805f21bd8e0b7f26ccfd5d7494ef092fe43db23

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