semvec/pypi-packages huggingface dataset:
bec-scan-server 1.24.1
BEC scan server
Requires Python: >=3.10

# BEC scan server

bec-scan-server is a core Python service for the [Beamline and Experiment Control (BEC)](https://gitlab.psi.ch/bec/bec) server, tasked with the handling and orchestrating the data acquisition. 

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install bec-scan-server.

```bash
pip install bec-scan-server
```

## Documentation

The documentation is part of the BEC documentation and can be found [here](https://bec.readthedocs.io/en/latest/).

## Contributing

Merge requests are very welcome! For major changes, please open an issue first to discuss what you would like to change.
All commits should use the Angular commit scheme:

```
<type>(<scope>): <short summary>
  │       │             │
  │       │             └─⫸ Summary in present tense. Not capitalized. No period at the end.
  │       │
  │       └─⫸ Commit Scope: animations|bazel|benchpress|common|compiler|compiler-cli|core|
  │                          elements|forms|http|language-service|localize|platform-browser|
  │                          platform-browser-dynamic|platform-server|router|service-worker|
  │                          upgrade|zone.js|packaging|changelog|docs-infra|migrations|ngcc|ve|
  │                          devtools
  │
  └─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|test
```

The `<type>` and `<summary>` fields are mandatory, the `(<scope>)` field is optional.
##### Type

Must be one of the following:

* **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
* **ci**: Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs)
* **docs**: Documentation only changes
* **feat**: A new feature
* **fix**: A bug fix
* **perf**: A code change that improves performance
* **refactor**: A code change that neither fixes a bug nor adds a feature
* **test**: Adding missing tests or correcting existing tests


Please make sure to update tests as necessary.

## License

[BSD-3-Clause](https://choosealicense.com/licenses/bsd-3-clause/)
tmprofile 0.0.5
A simple time, ram & vram python profiler.
Requires Python: >=3.8

# A simple time and memory Python profiler

## Installation

`pip install tmprofile`


## Usage

### 1. As a context manager

```python
from tmprofile import Profile

with Profile() as profiler:
    f(...) # some intensive code
# profile is automatically saved as a json file.
# display elapsed time, RAM & VRAM consumption evolution
profiler.print()
profiler.plot()
```

### 2. As a decorator

```python
from tmprofile import profile

@profile()
f(...) # some intensive code
# profile is automatically saved as a json file.
```

## Parameters

- `name (str)`: Name of the profiler. Will be used to name the saved file. Required for context manager. For decorator, will use fonction' name if no name is provided.
- `verbose (bool)`: If True, will print logged values at the end of profiling (i.e. on exit as a context manager, on function's return as a decorator). Defaults to False.
- `gpu_idx (int)`: Which gpu's VRAM consumption has to be monitored. Default to `0`.
- `time_delta (float)`: Time to wait (in second) between two RAM / VRAM consumption logging. Defaults to `0.2`.
- `output_dir (str | Path)`: Where to write the logged values (as json). Defaults to `.tmprofile`.
- `filename (str | Path, optional)`: Name of the saved json file. If no name is given, will used the profiler name (see `name` above).


## Saved logs

Each time it is called, the profiler will saved a file.         
The filepath will be `<output_dir>/filename.json`. By default, `<output_dir>` is `.tmprofile/` and `<filename>` is:
- `<name>.json` if `name` was specified.
- `profile.json` if the profiler is a context manager and `name` was NOT specified.
- `<module>::<function>.json` if the profiler is a decorator and `name` was NOT specified.


## Interrupt

Since this profiler runs in a separate process, it will gracefully shutdown if the main programm is interrupted. 

## Disclaimer

The core of this code (asynchronous RAM/VRAM logging) is taken from Thomas Rouch's code [here](https://betterprogramming.pub/ram-and-vram-profiling-in-python-bf99876e985f).
enveloop-py 0.2.0
Enveloop API SDK
Requires Python: >=3.7

# Enveloop

enveloop-py is a python wrapper for the Enveloop API. It allows easy use of the API to send messages.

## Installation

Install with pip:

```shell
python3 -m pip install enveloop-py
```

## Usage

Setup the client connection:

```python
import os
from enveloop_py import api

enveloop = api.connect(os.environ['ENVELOOP_API_TOKEN'])
```

Send a message: 

```python
enveloop.send_message(
  template='welcome-email',
  to='user@email.com',
  from_address='welcome@myapp.com',
  subject='Welcome to MyApp',
  template_variables={
    "first_name": 'John',
  }
)
```

Get information about a template (variables and body html):

```python
enveloop.template_info(template='welcome-email')
```

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/enveloophq/enveloop-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/enveloophq/enveloop-ruby/blob/master/CODE_OF_CONDUCT.md).


## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the Enveloop project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/enveloophq/enveloop-ruby/blob/master/CODE_OF_CONDUCT.md).
nanonis-tramea-specs 0.0.5
Python package for controlling Nanonis Tramea software through python
Requires Python: >=3.8

# Python Interface Package for Nanonis 

Official python package for the Nanonis TRAMEA Controller software.

## Usage

This package allows users of the Nanonis TRAMEA Controller software to use and control
said software through python commands.

## How to use

### Importing

import nanonis_tramea_specs

### Initializing Connection

nanonisInstance = nanonis_tramea_specs.Nanonis(6501, '10.10.10.10')

NOTE : THE PORT HAS TO BE AN INTEGER AND THE IP ADRESS A STRING

### Example

nanonisInstance.BiasSpectr_Open() --> Opens Bias Spectroscopy Module.

Funtion Documentations can be found by either hovering over the function names
or in the TCP Protocol Document, which is also where all the available functions
are listed.