Skip to main content

Data Steward Service-Mapper framework

Project description

PIPSC Service Mapper is a framework for connecting external services and sharing data using the PIPSC Data Steward service.

Prerequisites

  • Python 3

  • Virtualenv

  • npm

Environment Setup

Note: If using zsh, you’ll need to use ‘noglob’ to prevent zsh from using the square brackets for pattern matching. A useful alias is .. code-block:: bash

$ alias pip=’noglob pip3’

Setup the virutalenv and install the dev dependencies: .. code-block:: bash

$ npm run venv $ source .venv/bin/activate $ pip install -e .[dev]

Creating a Manifest

$ check-manifest --create
$ git add MANIFEST.ini

Package Testing with tox

$ tox

Build the Package

$ python3 setup.py bdist_wheel sdist

Publish the Package

$ twine upload dist/*

Using the Package

To use the servicemapper package in another project you must configure the package repository, then import servicemapper

$ pip install servicemapper

Relevant Info

https://godatadriven.com/blog/a-practical-guide-to-using-setup-py/ https://www.youtube.com/watch?v=GIF3LaRqgXo

History

0.0.1 [2020-03-04] * Initial commit

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

servicemapper-0.0.13-py2.py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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