semvec/pypi-packages huggingface dataset:
nex 1.0.6
Run NeuroExplorer Python scripts and read and write .nex and .nex5 files in any Python development environment (VS Code, Spyder, etc.).
Requires Python: >=3.7
Keywords: NeuroExplorer,nex,nex5,VS Code

# nex-Python-package
Python package for running NeuroExplorer Python scripts an any Python development environment (VS Code, Spyder, etc.)

## Description

Provides a simple way to run Python scripts that control [NeuroExplorer](https://www.neuroexplorer.com) (open data file, get file data, run analysis, save results, etc.) in any Python IDE.

See [NeuroExplorer Python Scripting Documentation](https://www.neuroexplorer.com/docs/reference/scripting/index.html) for detailed information about Python scripting in NeuroExplorer.

To install the package, open Windows Command Prompt, type `pip install -U nex` and press Enter.

If you are using Anaconda:

- Type `Anaconda Prompt` in the Windows Search Bar, select Anaconda version and then click on it
- Type `pip install -U nex` in Anaconda Prompt window and press Enter

After the package is installed, you can run NeuroExplorer Python scripts in any Python development environment. 

For example, to run PSTH analysis saved in the template `PerieventHistograms.ntp`, run this Python code:

```python
import nex
doc = nex.GetActiveDocument()
# run PSTH analysis saved in the template PerieventHistograms
nex.ApplyTemplate(doc, "PerieventHistograms")
``````

The package also provides classes to read and write .nex and .nex5 data files.

```python
import nex.nexfile
reader = nex.nexfile.Reader()
fileData = reader.ReadNexFile(r"C:\path\to\file.nex5")
```
ADAMModbusDriver 0.19.0
A Python client for interfacing with Adam devices via ModbusTCP

# ADAM-driver

This is a reader for the ADAM-6018+ TC reader.

To use, include the AdamClient.py file in your project.
The output of this code is a list of thermocouples 1-8.

# Example
```python
from AdamClient import AdamClient

ADAM_IP = "172.18.120.250"
client = AdamClient(ADAM_IP, thermocouple_type="K")

try:
    converted_values = client.read_and_convert()
    print(converted_values)
except Exception as e:
    print(f"Error: {e}")
```

With one thermocouple attached to input 1, and the thermocouple installed in a coffee, the output will be:
```
[48.37, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
```

# Configuring ADAM devices

The ADAM devices only connect through Ethernet, _and don't respond to ping_. Yeah, have fun with that. They must be configured using the [Advantech ADAM/APAX Utility](https://www.advantech.com/en-us/support/details/utility?id=1-2AKUDB) using a Windows box.

To use the Advantech ADAM Utility, plug the ADAM device into Ethernet. On the same network, run the ADAM Utility on a Windows machine. In the ADAM Utility, select Tools -> Search Device, and hopefully the ADAM device will show up in the left hand column. From there, change the IP / subnet / gateway to something that works. I would suggest using static IP. Have fun.
reaxpro-wrappers 3.0.0
The wrapper of AMS and Zacros drivers for SimPhoNy
Keywords: simphony,cuds,AMS,zacros,SCM

# ReaxPro wrappers:  

This repository is a collection of wrappers used in the [ReaxPro](https://www.reaxpro.eu/) project.
It holds wrappers for the [Amsterdam Modeling Suite](https://www.scm.com/amsterdam-modeling-suite/) (AMS) and [Zacros](https://zacros.org/).

## Authors
- [Pablo Lopez-Tarifa](mailto:p.lopez@esciencecenter.nl) (Main author). The Netherlands eScience Center.
- [Matthias Büschelberger](mailto:matthias.bueschelberger@iwm.fraunhofer.de) (Contributor). Fraunhofer Instituet for Mechanics of Materials (IWM)
- [Joana Francisco Morgado](mailto:joana.francisco.morgado@iwm.fraunhofer.de) (Contributor). Fraunhofer Institute for Mechanics of Materials (IWM)

## Index

- [Requirements](#requirements)
- [Wrapper generals](#wrapper-generals)
- [Installation](#installation)
- [Example](#example)

## Requirements

If you want to use this wrapper set, make sure you have installed:

- The [Simphony OSP-core](https://github.com/simphony/osp-core) version > 3.8.0.
- The [ReaxPro ontology](https://gitlab.cc-asp.fraunhofer.de/ontology/applications/reaxpro/reaxpro-framework).
- For AMS users, a licensed copy of [AMS](https://www.scm.com/amsterdam-modeling-suite/) installed.
- For Zacros users, both a licensed copy of [Zacros](https://zacros.org/software) code and [pyZacros](https://github.com/NLESC-JCER/pyZacros) library installed.

## Structure
A wrapper is a piece of code that slightly modifies the behavior of a function. 

The ReaxPro wrappers are built around the running functions of the above-mentioned software. Their main task is to translate (map) the semantic script provided by the user to the terms that are understood by the engines.

For a given engine XXX, there is a folder reaxpro-wrappers/osp/wrappers/simXXX/simXXX_session.py containing the Simphony wrapper session that will trigger the job execution.

In the folder reaxpro-wrappers/osp/tools is placed all the tooling for the semantic to syntactic mapping. 

## Installation
First of all, you will need to install OSP-core, plams, AdaptiveDesignProcedure and pyZacros (all except osp-core are not on PyPI yet unfortunately):

```shell
(env) user@computer:~/reaxpro-wrappers$ pip install osp-core https://github.com/SCM-NV/pyZacros/archive/refs/tags/v.1.2.zip https://github.com/mbracconi/adaptiveDesignProcedure/archive/refs/tags/v1.4.0.zip git+https://github.com/SCM-NV/PLAMS@7661960a9db53249a0b77935dacc8a7668c2489b
```

Then, finally install the wrapper. Simply type:

```shell
(env) user@computer:~/reaxpro-wrappers$ pip install reaxpro-wrappers
```

... or when the code is cloned from source:


```shell
(env) user@computer:~/reaxpro-wrappers$ pip install .
```

## License

This project is licensed under the LGPL-3.0/BSD 3-Clause license. See the LICENSE file for more information.

## Disclaimer

Copyright (c) 2014-2023, Netherlands eScience Center (NLeSC) and Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. acting on behalf of its Fraunhofer IWM.
phoenix-trade 0.1.9
A Python library for interacting with Phoenix, a limit order book spot exchange on the Solana blockchain.
Requires Python: >=3.7

# phoenixpy

## Installation

```bash
pip install phoenix-trade
```

## Usage

Here is an example of how to get the L2 book for the SOL/USDC market.

```python
from phoenix.market import Market
from phoenix.client import PhoenixClient
import asyncio
from solders.pubkey import Pubkey


async def main():
    client = PhoenixClient()
    solusdc_market_pubkey = Pubkey.from_string(
        "4DoNfFBfF7UokCC2FQzriy7yHK6DY6NVdYpuekQ5pRgg"
    )
    print(await client.get_l2_book(solusdc_market_pubkey))
    await client.close()


asyncio.run(main())
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
ADAM-driver 0.6.0
A Python client for interfacing with Adam devices via ModbusTCP

# ADAM-driver

This is a reader for the ADAM-6018+ TC reader.

To use, include the AdamClient.py file in your project.
The output of this code is a list of thermocouples 1-8.

# Example
```python
from AdamClient import AdamClient

ADAM_IP = "172.18.120.250"
client = AdamClient(ADAM_IP, thermocouple_type="K")

try:
    converted_values = client.read_and_convert()
    print(converted_values)
except Exception as e:
    print(f"Error: {e}")
```

With one thermocouple attached to input 1, and the thermocouple installed in a coffee, the output will be:
```
[48.37, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
```

# Configuring ADAM devices

The ADAM devices only connect through Ethernet, _and don't respond to ping_. Yeah, have fun with that. They must be configured using the [Advantech ADAM/APAX Utility](https://www.advantech.com/en-us/support/details/utility?id=1-2AKUDB) using a Windows box.

To use the Advantech ADAM Utility, plug the ADAM device into Ethernet. On the same network, run the ADAM Utility on a Windows machine. In the ADAM Utility, select Tools -> Search Device, and hopefully the ADAM device will show up in the left hand column. From there, change the IP / subnet / gateway to something that works. I would suggest using static IP. Have fun.
acct 8.6.2
Simple, secure, account and credential management
Requires Python: >=3.6

====
acct
====

.. image:: https://img.shields.io/badge/made%20with-pop-teal
   :alt: Made with pop, a Python implementation of Plugin Oriented Programming
   :target: https://pop.readthedocs.io/

.. image:: https://img.shields.io/badge/made%20with-python-yellow
   :alt: Made with Python
   :target: https://www.python.org/

Simple and secure account management

=====
USAGE
=====

Yaml files containing confidential information can be encrypted for use inside of `acct` base applications.
This is an example of what an `acct` credentials file might look like.

credentials.yml

.. code-block:: yaml

    provider:
      profile_name:
        username: XXXXXXXXXXXX
        password: XXXXXXXXXXXX
        api_key: XXXXXXXXXXXXXXXXXXX

Next use the `acct` command to encrypt this file using the fernet algorithm:

.. code-block:: bash

    $ acct encrypt credentials.yml
    YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8=

The `acct` command can also be used to decrypt the encrypted file:

.. code-block:: bash

    $ acct decrypt credentials.yml.fernet --output=yaml --acct-key="YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8="

The fernet plugin is the default for encryption, but other plugins may be added.
To use the AES plugin change the previous commands to:

.. code-block:: bash

    $ acct encrypt --crypto-plugin aesgcm256 credentials.yml
    YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8=
    $ acct decrypt --crypto-plugin aesgcm256 credentials.yml.aesgcm256 --output=yaml --acct-key="YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8="

You can use the `acct` command to decrypt the acct file, open it in the default text editor, then overwrite the previous acct file:
The default editor from the "EDITOR" environment variable will be used if it is set, otherwise, "notepad" for windows and "vi" for unix systems.
It can also be specified directly with the "--editor" flag.

.. code-block:: bash

    $ acct edit credentials.yml --acct-key="YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8="


What is POP?
------------

This project is built with `pop <https://pop.readthedocs.io/>`__, a Python-based
implementation of *Plugin Oriented Programming (POP)*. POP seeks to bring
together concepts and wisdom from the history of computing in new ways to solve
modern computing problems.

For more information:

* `Intro to Plugin Oriented Programming (POP) <https://pop-book.readthedocs.io/en/latest/>`__
* `pop-awesome <https://gitlab.com/saltstack/pop/pop-awesome>`__
* `pop-create <https://gitlab.com/saltstack/pop/pop-create/>`__

Getting Started
===============

Prerequisites
-------------

* Python 3.6+
* git *(if installing from source, or contributing to the project)*

Installation
------------

.. note::

   If wanting to contribute to the project, and setup your local development
   environment, see the ``CONTRIBUTING.rst`` document in the source repository
   for this project.

If wanting to use ``acct``, you can do so by either
installing from PyPI or from source.

Acknowledgements
================

* `Img Shields <https://shields.io>`__ for making repository badges easy.