Metadata-Version: 2.5
Name: nextpyp-client
Version: 2.2.0
Summary: Python client for the nextPYP cryo-EM/ET website: projects, sessions, and real-time updates.
Project-URL: Homepage, https://nextpyp.app
Project-URL: Documentation, https://nextpyp.app/nextpyp-client
Project-URL: Source, https://gitlab.cs.duke.edu/nextpyp/nextpyp-client
Project-URL: Mirror, https://github.com/nextpyp/nextpyp-client
Author-email: Jeff Martin <jeff@cuchazinteractive.com>
Maintainer-email: Alberto Bartesaghi <alberto.bartesaghi@duke.edu>
License: Copyright (c) 2023, Bartesaghi Lab
        
        Redistribution and use in source and binary forms, with or without
        modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this
            list of conditions and the following disclaimer.
        
        2. Redistributions in binary form must reproduce the above copyright notice,
            this list of conditions and the following disclaimer in the documentation
            and/or other materials provided with the distribution.
        
        3. Neither the name of the copyright holder nor the names of its
            contributors may be used to endorse or promote products derived from
            this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License-File: LICENSE
Keywords: api-client,cryo-em,cryo-et,nextpyp
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: requests~=2.31
Requires-Dist: semver~=3.0.2
Requires-Dist: toml~=0.10.2
Requires-Dist: websockets~=12.0
Description-Content-Type: text/markdown


# NextPYP Client

A Python client for the NextPYP website.

The NextPYP Python Client allows you to connect to and exchange data with the NextPYP website using the very
same APIs that NextPYP uses internally. These APIs allow accessing every function of the website available
to browser clients, including listening to real-time updates from the server.


## Install

```shell
pip install nextpyp-client
```

Then see [Getting Started](https://nextpyp.app/nextpyp-client) to request an app token and make your first calls.


## Versions

The client's version matches the NextPYP API version it speaks: client `2.2.x` works with NextPYP websites
whose API is `2.2` or newer, up to the next major version. `Client.is_compatible()` checks a website for you.


## Source code

- GitHub: https://github.com/nextpyp/nextpyp-client
- GitLab (where development happens): https://gitlab.cs.duke.edu/nextpyp/nextpyp-client

Related: [nextpyp-mcp](https://github.com/nextpyp/nextpyp-mcp), an MCP server that lets AI assistants such
as Cursor and Claude use this client to work with NextPYP.


## Documentation

The newest version of the documentation is available online at:

https://nextpyp.app/nextpyp-client

Documentation sources are available in the `doc/src` folder.

You can build the documentation with the command:
```shell
tox run -e doc
```
Then the full HTML documentation will appear at `doc/build/html/index.html`

Building the documentation requires the [tox](https://tox.wiki) tool.
