Database tool scripts.
Project description
## Toolbelt
### data and database utilities
![toolbelt](http://www.gusgusdesigns.co.uk/ekmps/shops/gusgusdesigns/images/pretend-toy-carpenters-tool-belt-from-bigjigs-391-p.jpg)
---
This repository provides the source code to the `toolbelt` tool, which is a command line client
written in Python that is used to administer systems administration tasks through a variety
of utilities that have been combined together into a single tool.
*Note: the initial components of this tool previously made up the `replicator`, `geocoder`, `shapeloader` and `load-gnaf` services*
### Overview
Run with `toolbelt` after install (it should be in your path)
Available commands:
* `loadshapes` - load directories of shapefiles into Postgresql with specific support for PSMA distributions (selecting subsets of data, based on bbox or states)
* `loadgnaf` - loads a normalized version of GNAF into Postgresql using the PSV format or a raw dump
* `initdb` - initializes a database from SQL scripts (for use with `db-schema`)
* `initsearch` - intializes and builds indexes for Elastic Search based on a defined schema
### Quickstart Install
This project is distributed on PyPi - the Python package management environment. It can be installed across all
platforms easily and usually with a single command (provided you don't require editing the source code)
*Note: this tool will soon be provided as a standalone binary and installer for all platforms using the PyInstaller library*
1. Setup on Mac OS X
Start with Homebrew:
```sh
$ brew install python
$ easy_install toolbelt
```
*Note: This will install toolbelt globally, the better option would be to install it into its own environment using `virtualenv`
2. Setup with Windows
Install [python for Windows](http://www.python.org/download/)
Open a command prompt and run `easy_install toolbelt`
### data and database utilities
![toolbelt](http://www.gusgusdesigns.co.uk/ekmps/shops/gusgusdesigns/images/pretend-toy-carpenters-tool-belt-from-bigjigs-391-p.jpg)
---
This repository provides the source code to the `toolbelt` tool, which is a command line client
written in Python that is used to administer systems administration tasks through a variety
of utilities that have been combined together into a single tool.
*Note: the initial components of this tool previously made up the `replicator`, `geocoder`, `shapeloader` and `load-gnaf` services*
### Overview
Run with `toolbelt` after install (it should be in your path)
Available commands:
* `loadshapes` - load directories of shapefiles into Postgresql with specific support for PSMA distributions (selecting subsets of data, based on bbox or states)
* `loadgnaf` - loads a normalized version of GNAF into Postgresql using the PSV format or a raw dump
* `initdb` - initializes a database from SQL scripts (for use with `db-schema`)
* `initsearch` - intializes and builds indexes for Elastic Search based on a defined schema
### Quickstart Install
This project is distributed on PyPi - the Python package management environment. It can be installed across all
platforms easily and usually with a single command (provided you don't require editing the source code)
*Note: this tool will soon be provided as a standalone binary and installer for all platforms using the PyInstaller library*
1. Setup on Mac OS X
Start with Homebrew:
```sh
$ brew install python
$ easy_install toolbelt
```
*Note: This will install toolbelt globally, the better option would be to install it into its own environment using `virtualenv`
2. Setup with Windows
Install [python for Windows](http://www.python.org/download/)
Open a command prompt and run `easy_install toolbelt`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file eac-toolbelt-1.0.macosx-10.12-x86_64.tar.gz
.
File metadata
- Download URL: eac-toolbelt-1.0.macosx-10.12-x86_64.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 464b2db5bc4be00ac4d47f568829c62177a159b50f4f02632b785285f60c8db4 |
|
MD5 | 9ad8ec9246c3a3c0f7274960358c921a |
|
BLAKE2b-256 | b5aa747cf067cf9bc7c5b4d81e3ebf9864bf4242148bce0a5242dba001ab9d61 |
File details
Details for the file eac_toolbelt-1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: eac_toolbelt-1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c03262c252e416b10a7e7e2021550a6cd7dc2b16321744caa890f0bc1884133b |
|
MD5 | 8be6745d0a793751f821b2fd4d027bc9 |
|
BLAKE2b-256 | abc2fa9c83c5e8039e78614c1613aa934a54ed75cd289e92515e64be7ec0f817 |