encapsia-api


Nameencapsia-api JSON
Version 0.4.8 PyPI version JSON
download
home_pagehttps://github.com/Encapsia/encapsia-api
SummaryClient API for talking to an Encapsia system.
upload_time2024-07-22 12:21:52
maintainerPetre Mierluțiu
docs_urlNone
authorTimothy Corbett-Clark
requires_python<4.0,>=3.8
licenseMIT
keywords encapsia esource edc clinical trials
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Encapsia API Library

![Workflows](https://github.com/encapsia/encapsia-api/actions/workflows/main.yml/badge.svg)
![PyPI](https://img.shields.io/pypi/v/encapsia-api?style=flat)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/encapsia-api)

[![Known Vulnerabilities](https://snyk.io/test/github/encapsia/encapsia-api/badge.svg?targetFile=requirements.txt)](https://snyk.io/test/github/encapsia/encapsia-api?targetFile=requirements.txt)


REST API for working with [Encapsia](https://www.encapsia.com).

## Installation

   pip install encapsia-api
   

## Contributing

`encapsia-api` is a python package managed with [`poetry`](https://python-poetry.org/).
You will need python 3.8 or newer. To get started, after checking out this repository,
run:

    poetry install
    

### Code Style

Code in this project should be auto-formatted using `black` and adhere to isort-like
imports, and should pass linting and checks. You can run the following commands
manually, or integrate the tooling in your dev environment, but see also the next
section.

    poetry run black .
    poetry run ruff check .
    poetry run mypy .

Ruff can fix some of the issues it finds. For example, it can fix the style of importing
modules, but it can do much more. This can be done with running:

    poetry run ruff check --fix .
    
However, please make sure you check the fixes it performs!


### Revision Control

The release branch for this project is `master` and feature branches should be merged
into it via pull requests.

This repository uses [`pre-commit`](https://pre-commit.com/) to run various checks with
git pre-commit hooks. To get started, run:

    pre-commit install
   
After this, configured checks are run before you commit changes. You can also run them
explicitly for all files:

    pre-commit run -a


### Versioning

`encapsia-api` adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

To change the version, run:

    poetry version <specifier>   # e.g. patch

or edit the version string in `pyproject.toml`. In any case, update the following file
to match the new version: `encapsia_api/__init__.py`.

Note that we are yet in `<1.0.0` land and thus version changes are not too strict and
backward-incompatible changes may still occur before 1.0.0.


### Building

Manually build by running:

    poetry build
    
    
### Updating Dependencies

This is achieved with:

    poetry update
    poetry lock
    poetry export -f requirements.txt > requirements.txt

### How to Run Tests

Run:

    poetry run pytest


### Continuous Integration

This project uses Github Actions to for linting, checking, and running the tests on
commit to or pull requests targeting the main branch.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Encapsia/encapsia-api",
    "name": "encapsia-api",
    "maintainer": "Petre Mierlu\u021biu",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": "petre.mierlutiu@aixial.com",
    "keywords": "encapsia, eSource, EDC, Clinical Trials",
    "author": "Timothy Corbett-Clark",
    "author_email": "timothy.corbettclark@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ed/aa/026f32436112870a91c7f3962a3d34ac192896775a607297bdfa3dd2ebef/encapsia_api-0.4.8.tar.gz",
    "platform": null,
    "description": "# Encapsia API Library\n\n![Workflows](https://github.com/encapsia/encapsia-api/actions/workflows/main.yml/badge.svg)\n![PyPI](https://img.shields.io/pypi/v/encapsia-api?style=flat)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/encapsia-api)\n\n[![Known Vulnerabilities](https://snyk.io/test/github/encapsia/encapsia-api/badge.svg?targetFile=requirements.txt)](https://snyk.io/test/github/encapsia/encapsia-api?targetFile=requirements.txt)\n\n\nREST API for working with [Encapsia](https://www.encapsia.com).\n\n## Installation\n\n   pip install encapsia-api\n   \n\n## Contributing\n\n`encapsia-api` is a python package managed with [`poetry`](https://python-poetry.org/).\nYou will need python 3.8 or newer. To get started, after checking out this repository,\nrun:\n\n    poetry install\n    \n\n### Code Style\n\nCode in this project should be auto-formatted using `black` and adhere to isort-like\nimports, and should pass linting and checks. You can run the following commands\nmanually, or integrate the tooling in your dev environment, but see also the next\nsection.\n\n    poetry run black .\n    poetry run ruff check .\n    poetry run mypy .\n\nRuff can fix some of the issues it finds. For example, it can fix the style of importing\nmodules, but it can do much more. This can be done with running:\n\n    poetry run ruff check --fix .\n    \nHowever, please make sure you check the fixes it performs!\n\n\n### Revision Control\n\nThe release branch for this project is `master` and feature branches should be merged\ninto it via pull requests.\n\nThis repository uses [`pre-commit`](https://pre-commit.com/) to run various checks with\ngit pre-commit hooks. To get started, run:\n\n    pre-commit install\n   \nAfter this, configured checks are run before you commit changes. You can also run them\nexplicitly for all files:\n\n    pre-commit run -a\n\n\n### Versioning\n\n`encapsia-api` adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\nTo change the version, run:\n\n    poetry version <specifier>   # e.g. patch\n\nor edit the version string in `pyproject.toml`. In any case, update the following file\nto match the new version: `encapsia_api/__init__.py`.\n\nNote that we are yet in `<1.0.0` land and thus version changes are not too strict and\nbackward-incompatible changes may still occur before 1.0.0.\n\n\n### Building\n\nManually build by running:\n\n    poetry build\n    \n    \n### Updating Dependencies\n\nThis is achieved with:\n\n    poetry update\n    poetry lock\n    poetry export -f requirements.txt > requirements.txt\n\n### How to Run Tests\n\nRun:\n\n    poetry run pytest\n\n\n### Continuous Integration\n\nThis project uses Github Actions to for linting, checking, and running the tests on\ncommit to or pull requests targeting the main branch.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Client API for talking to an Encapsia system.",
    "version": "0.4.8",
    "project_urls": {
        "Homepage": "https://github.com/Encapsia/encapsia-api"
    },
    "split_keywords": [
        "encapsia",
        " esource",
        " edc",
        " clinical trials"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "946933cc4c9e031c5b99fbe70b91a09ecf93e62cc7446b5b06699f1269f911cd",
                "md5": "34342684c50313d7b049e52696a43429",
                "sha256": "e068da91b7ab514f5640b58d2d883acf426802f31b7fdf7092748c9a47bbfabd"
            },
            "downloads": -1,
            "filename": "encapsia_api-0.4.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "34342684c50313d7b049e52696a43429",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 26735,
            "upload_time": "2024-07-22T12:21:50",
            "upload_time_iso_8601": "2024-07-22T12:21:50.112356Z",
            "url": "https://files.pythonhosted.org/packages/94/69/33cc4c9e031c5b99fbe70b91a09ecf93e62cc7446b5b06699f1269f911cd/encapsia_api-0.4.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "edaa026f32436112870a91c7f3962a3d34ac192896775a607297bdfa3dd2ebef",
                "md5": "c7b1b26a4efdfdaed7d393aafeacc135",
                "sha256": "34c82d83264e66e835a65e4cff16460f1d53a730f7af9f4553366b2b593fc66e"
            },
            "downloads": -1,
            "filename": "encapsia_api-0.4.8.tar.gz",
            "has_sig": false,
            "md5_digest": "c7b1b26a4efdfdaed7d393aafeacc135",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 24240,
            "upload_time": "2024-07-22T12:21:52",
            "upload_time_iso_8601": "2024-07-22T12:21:52.209348Z",
            "url": "https://files.pythonhosted.org/packages/ed/aa/026f32436112870a91c7f3962a3d34ac192896775a607297bdfa3dd2ebef/encapsia_api-0.4.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-22 12:21:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Encapsia",
    "github_project": "encapsia-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "encapsia-api"
}
        
Elapsed time: 0.29494s