Skip to main content
https://img.shields.io/codeship/1e437ad0-05f2-0135-5add-32bab775782c/master.svg?style=flat-square https://img.shields.io/codecov/c/github/leonardoarroyo/django-google-address.svg?style=flat-square https://readthedocs.org/projects/django-google-address/badge/?version=stable&style=flat-square https://img.shields.io/pypi/v/django-google-address.svg?style=flat-square

Address model backed by Google Maps API for your project.

Getting Started

Installing

  1. Install django-google-address:

    pip install django-google-address
  2. Add it to INSTALLED_APPS on settings.py:

    INSTALLED_APPS = [
      ...,
      'google_address'
    ]
  3. Migrate:

    ./manage.py migrate

Using

Create an Address object with the raw address. Requests will be made to the Google API when saving the address:

>>> from google_address.models import Address
>>> a = Address(raw="Av. Paulista, 1000")
>>> a.save()
>>> a.address_line
'Avenida Paulista, 1000, Bela Vista, São Paulo, SP, Brazil'

Documentation

You can check the complete documentation here.

Testing

To test this module

python google_address/tests/runtests.py

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License. See the LICENSE.md file for details.

Metadata

Release files for django-google-address 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-google-address 1.1.0
File Size Uploaded
django-google-address-1.1.0.tar.gz 16.6 kB Details

Release files / django-google-address-1.1.0.tar.gz

Download URL django-google-address-1.1.0.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5f7d1acf623f75f097e0f189a9cba7581467b2c1628374a4b445a6d0450578a7
BLAKE2b-256 checksum
How to use checksums
34a678d14c70f2550d7e4116c6b4b74c7f29eb2d48e26b1a90b56473ab2917cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page