pygeoip VS django-countries

Compare pygeoip vs django-countries and see what are their differences.

django-countries

A Django application that provides country choices for use with forms, flag icons static files, and a country field for models. (by SmileyChris)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pygeoip django-countries
- 2
481 1,365
- -
0.0 6.0
about 6 years ago 2 days ago
Python Python
GNU Lesser General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pygeoip

Posts with mentions or reviews of pygeoip. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning pygeoip yet.
Tracking mentions began in Dec 2020.

django-countries

Posts with mentions or reviews of django-countries. We have used some of these posts to build our list of alternatives and similar projects.
  • Nested model serializer error
    1 project | /r/learndjango | 9 May 2022
    Hi, CountryField comes from django-countries (https://github.com/SmileyChris/django-countries) and is definitely not the source of the problem (for context, I have already created a basic API endpoint that displays a user profile i.e an instance of CustomUser). As for your second question, I concur that this is probably where the error lies from discussing with people over SO. However, I am not entirely sure how I can fix it. If I swap out `'''`CustomUserDetailSerializerSM''' for '''CustomUserSocialMediaSerializer''', my view would only show the user_id, social_media and social_media_url, whereas I am trying to show both the social media details as well as details about the '''CustomUser''' instance associated with those social media details (as queried using the '''username''' argument in the URL pattern).
  • AttributeError: 'CountryField' object has no attribute 'db_collation'
    1 project | /r/django | 28 Apr 2022
    You're using an old version of the django_countries package. It has a bug that was fixed in this commit and which should be fixed in the latest release.

What are some alternatives?

When comparing pygeoip and django-countries you can also consider the following projects:

geoip2 - Python code for GeoIP2 webservice client and database reader

GeoDjango - GeoDjango provides geospatial extensions to the Django web dev framework

geopy - Geocoding library for Python.

GeoIP - DEPRECATED GeoIP Legacy Python API

Shapely - Manipulation and analysis of geometric objects

Reverse Geocoder - A fast, offline reverse geocoder in Python

geojson - Python bindings and utilities for GeoJSON

geocoder - :earth_asia: Python Geocoder