View gdb_cmp.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python3 | |
# Using python3 anconda | |
# conda install -c conda-forge gdal | |
# gustavodiazjaimes@gmail.com | |
# versión 0.1 | |
#usage: | |
# |
View gdb_read.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!python3 | |
# Using python3 anconda | |
# conda install -c conda-forge gdal | |
from pathlib import Path | |
from contextlib import contextmanager | |
from osgeo import ogr | |
@contextmanager |
View model-KindTaggedItem.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .../apps/taggit-wrap/models.py | |
from django.db import models | |
from django.contrib.contenttypes.models import ContentType | |
from django.utils.translation import ugettext_lazy as _ | |
from taggit.models import GenericTaggedItemBase, TaggedItemBase | |
# Mixin |