Skip to main content

WIMLib is a custom reusable libraries and objects for logging, and other operations, this version is confied to basin functions others to come

Project description

WiM

WIMLib

Current version (2.0.0) have been updated to python 3.7.2 with basin functionality (no spatial or geojson handling), which will come in future version. WIMLib is a custom reusable libraries and objects for handling geojson, logging, and spatial operations.

Installing

python WIMLib package: pip install WIMLib

Updating package from pypi

pip install WIMLib--upgrade

Updating Library

for more information see packing-project tutorial Build distribution file and store in dist folder python setup.py sdist bdist_wheel upload to pypi twine upload dist/*

Prerequisites

ArcGIS 10.x

  • You will be using ESRI's ArcGIS ArcPy library for geoprocessing. If you have not installed ArcGIS before, you can skip to the next section.
  • If you already have ArcGIS installed on your machine, then you might need to reinstall it. If you are reinstalling, delete C:\Python27 and C:\Program Files (x86)\ArcGIS to remove the files from your machine. Once that is done, download ArGIS from your favorite repository or have an IT administrator add it to your machine. During installation, if you are prompted to overwrite a file, choose the option to overwrite as it will help you clean up your installation (i.e. miscellaneous parts that ESRI has a tendency of leaving out and about on your computer).
  • Following installation, verify that you have Python up and working correctly. Open ArcMap or ArcCatalog to verify the installation worked as expected.

Set Python as a System Variable

  • Go to the Start Menu
  • Right click on Computer
  • Select Properties
  • Select Advanced Systems Settings
  • Click Environment Variables
  • Under System Variables, find Path and press Edit
  • Add C:\Python27\ArcGIS10.3 or whatever your relevant path is.
  • Click OK
  • Click OK, again
  • Open the Command Prompt and type python which should turn your Command Prompt into a Python Command Prompt allowing you to use Python commands. It is useful to also obtain the version using python --version from the command line. If you're using ArcGIS 10.3.1 you should have Python 2.7.8.

Pip and Related Packages

  • Go here, open the get-pip.py file and save it to your computer. Personally, I open a copy of Notepad++ and save the file.
  • Open the Command Prompt, navigate to where get-pip.py is and execute the command python get-pip.py this will download and install Pip.
  • Install requests, cirtifi, and virtualenv by executing pip install requests pip install cirtifi pip install virtualenv

netCDF

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installing

https://help.github.com/articles/cloning-a-repository/

Built With

  • python 2.7

Contributing

Please read CONTRIBUTING.md for details on the process for submitting pull requests to us. Please read CODE_OF_CONDUCT.md for details on adhering by the USGS Code of Scientific Conduct.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Advance the version when adding features, fixing bugs or making minor enhancement. Follow semver principles. To add tag in git, type git tag v{major}.{minor}.{patch}. Example: git tag v2.0.5

To push tags to remote origin: git push origin --tags

*Note that your alias for the remote origin may differ.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Creative Commons CC0 1.0 Universal License - see the LICENSE.md file for details

Suggested Citation

In the spirit of open source, please cite any re-use of the source code stored in this repository. Below is the suggested citation:

This project contains code produced by the Web Informatics and Mapping (WIM) team at the United States Geological Survey (USGS). As a work of the United States Government, this project is in the public domain within the United States. https://wim.usgs.gov

Acknowledgments

Henry Walshaw (om-henners/geojson_handler.py)

About WIM

  • This project authored by the USGS WIM team
  • WIM is a team of developers and technologists who build and manage tools, software, web services, and databases to support USGS science and other federal government cooperators.
  • WiM is a part of the Upper Midwest Water Science Center.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

WIMLib-2.0.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

WIMLib-2.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file WIMLib-2.0.0.tar.gz.

File metadata

  • Download URL: WIMLib-2.0.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.11.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.13

File hashes

Hashes for WIMLib-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b79a005a2d5c33baa9b0f1696b0efa0478fd46411c5ba862910caa93b66060fc
MD5 b7cdfedada1e845b65c92051d1195f7c
BLAKE2b-256 a3410750f71298c3f91042bc9088b72a43d89ec099555804797ba8833b1abf35

See more details on using hashes here.

File details

Details for the file WIMLib-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: WIMLib-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.11.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.13

File hashes

Hashes for WIMLib-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a0a0e04465c8eae0bb972d3b040ac942303c9a7f6555484a759b7d17b289778
MD5 5539f37eb8f6e5c9cdded9337c490d6d
BLAKE2b-256 1b7e077bf0d6305f2ebfe7b33883eaa24f33171e08ad1e58925469a361d60f58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page