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 details)

Uploaded Python 2Python 3

File details

Details for the file servicemapper-0.0.13-py2.py3-none-any.whl.

File metadata

  • Download URL: servicemapper-0.0.13-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for servicemapper-0.0.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 353a89cd54af3dd864d86ceaca0afed015953b3729fe40b871e50473d5c04c20
MD5 f1dd00eaadcfaa22b1b6b98f1acbe885
BLAKE2b-256 ec82fc0c2e97be0c0cdf193c9fbeae0534b8c5a32b30a4a1ce54953abe3f46d2

See more details on using hashes here.

Supported by

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