delorean_postgresql_importer:将 ESRI Shapefiles 导入 PostgreSQL 数据库的 Python 库

时间:2024-07-11 07:03:15
【文件属性】:

文件名称:delorean_postgresql_importer:将 ESRI Shapefiles 导入 PostgreSQL 数据库的 Python 库

文件大小:24KB

文件格式:ZIP

更新时间:2024-07-11 07:03:15

Python

DeLorean PostgreSQL 导入器 这个 Python 库包装了命令和 SQL 脚本,以将 ESRI Shapefiles 导入 PostgreSQL 数据库。 编写这个库的动机是自动化导入并使过程可重复。 配置 要使用该库,您需要准备一些特定于您的数据库或 Shapefile 的配置文件。 一、安装 $ pip install path/to/delorean_postgresql_importer --user 或者如果您使用 : $ pip install path/to/delorean_postgresql_importer --ignore-installed 2. 数据库连接 然后手动创建一个配置文件,其中包含 PostgreSQL 数据库的敏感连接设置。 该文件的默认位置是: ~/.delorean/db_connection.cfg,因为这是一个全局设置。


【文件预览】:
delorean_postgresql_importer-master
----README.rst(4KB)
----LICENSE.txt(34KB)
----CHANGELOG.rst(249B)
----.travis.yml(181B)
----delorean_postgresql_importer()
--------connection_settings.py(2KB)
--------__init__.py(0B)
--------import_settings.py(3KB)
--------cli.py(2KB)
--------postgresql_import.py(3KB)
----setup.py(1KB)
----tests()
--------import_settings_test.py(6KB)
--------postgresql_import_test.py(2KB)
--------conftest.py(411B)
--------connection_settings_test.py(1KB)
--------data()
----.gitignore(383B)
----version.py(22B)

网友评论