Skip to main content

pyxnat

https://github.com/pyxnat/pyxnat/actions/workflows/ci.yml/badge.svg https://coveralls.io/repos/github/pyxnat/pyxnat/badge.svg?branch=master https://img.shields.io/pypi/dm/pyxnat.svg https://img.shields.io/pypi/pyversions/pyxnat.svg https://img.shields.io/pypi/v/pyxnat.svg https://gitlab.com/xgrg/tweetit/-/raw/master/resources/008-pyxnat-v1.4.gif?inline=false

Where to get it

The source code is currently hosted on GitHub at: https://github.com/pyxnat/pyxnat

Binary installers for the latest released version are available at the Python package index. pyxnat can be installed using pip with the following command:

pip install pyxnat

Dependencies

  • requests v2.20 or higher

  • python-lxml v4.3.2 or higher recommended, earlier versions may work.

For development purposes:

See the full installation instructions for recommended and optional dependencies.

Installation from sources

To install pyxnat from source, from the pyxnat directory (same one where you found this file after cloning the git repo), execute:

python setup.py install

Documentation

The official documentation is hosted at: https://pyxnat.github.io/pyxnat

Running the test suite

Until v1.1 tests were exclusively performed on XNAT Central using a dedicated user account (nosetests). However, some tests could not run due to restricted permissions. In v1.1, tests were restructured to use two independent XNAT instances based on permission level.

A public XNAT instance (NITRC/IR) is used for most tests with read access, while tests requiring write permissions run against a local XNAT instance in a Docker container.

Running the test suite requires the following:

  • pytest v7.1+

  • coverage v3.6+

  • docker v18+

A local Docker-powered XNAT instance can be set up using docker-compose and any available recipe. We recommend the one maintained by the XNAT team (xnat-docker-compose). Once the repository is cloned, run:

docker-compose up -d

After a couple of minutes, the XNAT instance should be up and running locally at http://localhost.

Finally run the tests from the root of the project:

pytest --cov pyxnat

See .github/workflows/ci.yml (used for CI) for the full test setup.

Building the documentation

Building the docs requires to have setuptools and sphinx (v2.0+) installed. Then run the command:

python setup.py build_sphinx

The docs are built in the build/sphinx/html folder.

Contribute to pyxnat

To contribute to pyxnat, first create an account on GitHub. Once this is done, fork the pyxnat repository to have you own repository, clone it using git clone on the computers where you want to work. Make changes in your clone, push them to your GitHub fork, test them on several computers and when you are happy with them, send a pull request to the main repository.

License

BSD 3

Metadata

Release files for bbrc-pyxnat 1.6.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bbrc-pyxnat 1.6.5
File Size Uploaded Provenance Actions
bbrc_pyxnat-1.6.5.tar.gz 96.1 kB Without provenance Details for bbrc_pyxnat-1.6.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bbrc-pyxnat 1.6.5
File Interpreter ABI Platform Actions
bbrc_pyxnat-1.6.5-py3-none-any.whl Python 3 none any Details for bbrc_pyxnat-1.6.5-py3-none-any.whl

Total release size: 217.4 kB

Release files / bbrc_pyxnat-1.6.5.tar.gz

Download URL bbrc_pyxnat-1.6.5.tar.gz
Size 96.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6ca4c9225b3734fef7b9ff1652f05948ae49c89d2cb1a033bf29d67df8ed5fc8
BLAKE2b-256 checksum
How to use checksums
09790f4fe6171c7522655a623f96d3582935387cfb53be0d14481eb45672dbfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / bbrc_pyxnat-1.6.5-py3-none-any.whl

Download URL bbrc_pyxnat-1.6.5-py3-none-any.whl
Size 121.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09182359f941500029070f1325b0223a48e681becc9736289c38d032e7854f98
BLAKE2b-256 checksum
How to use checksums
57e62d6947a11d15b3759ad0c6479204ce22017a9a1377bf12cb41cf8396e0ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for bbrc-pyxnat 1.6.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.6.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page