Shapely VS django-countries

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

Shapely

Manipulation and analysis of geometric objects (by shapely)

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)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Shapely django-countries
7 2
3,678 1,370
1.1% -
8.4 6.0
17 days ago 2 days ago
Python Python
BSD 3-clause "New" or "Revised" License 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.

Shapely

Posts with mentions or reviews of Shapely. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-26.

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 Shapely and django-countries you can also consider the following projects:

geopy - Geocoding library for Python.

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

geojson - Python bindings and utilities for GeoJSON

GeoIP - DEPRECATED GeoIP Legacy Python API

geoip2 - Python code for GeoIP2 webservice client and database reader

pygeoip

geocoder - :earth_asia: Python Geocoder

Reverse Geocoder - A fast, offline reverse geocoder in Python