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
Release files for servicemapper 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| servicemapper-0.0.13-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / servicemapper-0.0.13-py2.py3-none-any.whl
| Download URL | servicemapper-0.0.13-py2.py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
353a89cd54af3dd864d86ceaca0afed015953b3729fe40b871e50473d5c04c20
|
|
BLAKE2b-256 checksum How to use checksums |
ec82fc0c2e97be0c0cdf193c9fbeae0534b8c5a32b30a4a1ce54953abe3f46d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|