semvec/pypi-packages huggingface dataset:
visualist 0.3.0
A simple library to visualize lists.

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/visualist) ![PyPI](https://img.shields.io/pypi/v/visualist)

[![Discord](https://img.shields.io/discord/479923444017004556?label=discord)](https://discord.gg/jWWDRyD5Nu) [![PyPI - Downloads](https://img.shields.io/pypi/dm/visualist)](https://pypi.org/project/visualist/) [![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UCMb90JgsFJpZyZzdmWCaCTg?style=social)](https://www.youtube.com/channel/UCMb90JgsFJpZyZzdmWCaCTg)

![Logo](https://github.com/ThiNepo/visualist/raw/master/images/logo.svg)

This is a very simple library to visualize lists in Python.

It was created mainly to support the creation of tutorials for [Neps Academy](https://neps.academy/) (amazing website :D).

### Install

```
pip install visualist
```

### Usage

The minimal example is shown below. It supposes that we want to create an image from the list [1, 2, -4, 2, -2, 5] and highlight the indexes [2, 4].

```python
from visualist import Visualist

visualist = Visualist()

img = visualist.img_from_list([1, 2, -4, 2, -2, 5], highlight_indexes=[2, 4])
img.show()
```

The result of this code would be

![example](https://github.com/ThiNepo/visualist/raw/master/images/simple.png)

If you want to save the image change `img.show()` to `img.save('my_dear_list.png')`.

If you use the method `img_from_lists` it will work with a list of lists. Note that the _highlights_ also need to be a list of lists.

```python
from visualist import Visualist

visualist = Visualist()

img = visualist.img_from_lists([[1, 2, -4, 2, -2, 5], [1, 2, 3, 4]], highlight_indexes=[[2, 4], [1]])
img.show()
```

The result will be

![example](https://github.com/ThiNepo/visualist/raw/master/images/multi_lists.png)

#### Building the library

To build the library you need the **wheel** module:

```
pip install wheel
```

and run the following command:

```
python setup.py sdist bdist_wheel
```

To upload a new version use (don't forget to update the version number in `setup.py`):

```
twine upload dist/*
```
space-analysis.py 2024.7.12
Python library for data analysis in space physics
Requires Python: <3.12,>=3.10

# space-analysis.py


Python utils for data analysis in space physics. Still in active development, use with caution.

[![PyPI](https://img.shields.io/pypi/v/space-analysis.py)](https://pypi.org/project/space-analysis.py)
[![Pixi Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/prefix-dev/pixi/main/assets/badge/v0.json)](https://pixi.sh)
[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet.png)](https://pdm-project.org)

Inspired from [SpaceAnalysis.jl](https://henry2004y.github.io/VisAnaJulia/dev/), created with [nbdev](https://nbdev.fast.ai/).

## References

- [speasy](https://speasy.readthedocs.io) : Python client for Space Physics web services such as CDAWEB or AMDA
- [pyspedas](https://pyspedas.readthedocs.io) : Python Space Physics Environment Data Analysis Software
- [fastcore](https://fastcore.fast.ai) : Python supercharged for the fastai library

## Install

``` sh
pip install space_analysis
```

## How to use
durhamspintronics 0.0.10
A collection of instrument control and analysis tools for the Spintronics group at Durham University.
Requires Python: >=3

# Durham Spintronics Group
A collection of instrument control and analysis tools for the Spintronics group at Durham University.

## Installation
Currently, this package is only installable using ```pip```. You can still install this pacakge within the anaconda environment, however, you must use ```pip install```, not ```conda install```.
```
pip install durhamspintronics
```
Once installed, there are several differnt sub-modules.

### Instruments
```durhamspintronics.instruments``` 
A variety of class objects, each of which provides a user friendly wrapper for various instruments. The instruments are sorted by manufacturer. Currently included devices:
* ```kepco.BOP``` Kepco BOP power supply (commonly the magnet power supply).
* ```newport.ESP300``` Newport motion controller, model ESP300.
* ```ni.NI_pci6713``` National Instruments analogue output device.
* ```ni.NI_pci6034E``` National Instruments analogue input device.
* ```rohdeandschwarz.ZNLE18_VNA``` Rohde & Schwarz 18 GHz Vector Network Analyser.

### Experiments
```durhamspintronics.experiments``` 
Class objects for the various experiements, such as the sotmoke. These classes combine the aforementioned instrument classes to create one object to control your experiment.
* ```fmr_vna``` Example script for running a frequency sweep measurement on the FMR setup in Ph50.
* ```sotmoke``` Various experiment classes for running hysteresis loops which are field driven, current driven, or a combination of both.

### Data Loaders
```durhamspintronics.dataloader``` 
Class objects for loading the result files from various experiments.
* ```xray.Load_brml``` For use with Bruker D8 .brml files.
* ```deposition.Load_MantisLog``` For use with Mantis Deposition sputtering log files.

### Anaylsis
```durhamspintronics.analysis``` 
Anaylsis methods, sorted by measurement type.
* ```microscope.add_scale_bar()``` Adds a calibrated scale bar to the images taken using the microscope in Ph58.
* ```microscope.reduce_saturation()``` Reduces the image saturation for easier viewing on some projectors/screens.
* ```moke.langevin_singlesweep()``` Modified langevin function for modelling half-hysteresis loops.
* ```moke.langevin_dualshape_singlesweep()``` Extends ```langevin_singlesweep()``` to include two shape parameters for half-hysteresis loops which are antisymmetric immediately above/below the coercive field.
* ```moke.langevin_dualshape()``` Converts ```langevin_dualshape_singlesweep()``` into complete hysteresis loops.
* ```moke.fit_langevin_dualshape()``` Performs a basic ```lmfit``` for a given hysteresis loop.
  
### General
```durhamspintronics.general``` 
An unsorted, yet useful, set of functions.
* ```get_symbols()``` Prints a list of common symbols along which the respective chr() values.
* ```format_uncertainty(value, error)``` Returns a nicely formatted string in the form of "value ± error".
* ```GenerateSampleDiagram``` A tool for quickly generating sample diagrams for presentations and reports.
msteams-tickler 1.0.1
CLI tool for macOS to check MS Teams token expiration and send notifications
Requires Python: <4.0,>=3.11

# MSTeams-Tickler

MSTeams-Tickler is a command-line interface (CLI) tool that checks the expiration of Microsoft Teams tokens on macOS.


## Installation

To install MSTeams-Tickler, you can use pip:

```bash
pip install msteams-tickler
```

## Usage
Usage

To use MSTeams-Tickler, run:

```bash
mstc check
```

or for MSTeams classic 
```bash
mstc classic check
```

MSTeams uses a binarycookies file to store the tokens.  MSTeams-Tickler looks for the binarycookies file at the default location.
If you have the binarycookies file at a different location, you can specify the path to the binarycookies file using the `--cookies-path` option:

```bash
mstc check --cookies-path /path/to/cookies.binarycookies --token-name other_token
```
! MSTeams classic looks for a sqlite file at the default cookies location.  If you have the sqlite file at a different location,
you can specify the path to the sqlite file using the `--cookies-path` option:

## Contributing
If you want to contribute to MSTeams-Tickler, feel free to open an issue or submit a pull request.  

## License

MSTeams-Tickler is licensed under the MIT License. See LICENSE for more information.
rnd-cats 0.1.0
A simple python module for receiving random images with cats.
Requires Python: <4.0,>=3.9

<h1 align="center">
  <br>
  <a href="https://github.com/Atom244"><img src="https://www.dropbox.com/scl/fi/80xkk8of2fsoxihi0xc2h/rndcatpreviewpng.png?rlkey=mc35p4lnsiukeeg9k5556764l&st=7dw7qhxv&dl=1" alt="Random cat module" width="1024"></a>
  <br>
  rnd_cats
  <br>
</h1>

<h4 align="center">A simple python module for receiving random images with cats.</h4>

<p align="center">
  <a href="#installation">Installation</a> •
  <a href="#how-to-use">How To Use</a> •
  <a href="#credits">Credits</a>
</p>

## Installation

Open python terminal and install module rnd_cat through pip:

```bash
$ pip install rnd_cat
```

## How To Use

Import rnd_cat to your py-file:

```py

import rnd_cat
```

#### Functions:

• cat() - Will return a random cat.  
Arguments: filename, format

```py

import rnd_cat

rnd_cat.cat(filename='default_cat_img', format='jpg')
```

> **Note**
> The arguments are also duplicated in the module, and each function has default values for the arguments (it is not necessary to edit them)

• cat_say() - Will return a random cat saying text. The text does not support special characters and emoticons.  
Arguments: filename, format, text

```py

import rnd_cat

rnd_cat.cat_say(filename='default_cat_say_img', text='Hello', format='jpg')
```

• cat_gif() - Will return a random gif cat.  
Arguments: filename

```py

import rnd_cat

rnd_cat.cat_gif(filename='default_cat_gif')
```

• cat_say_edit() - Will return a random gif cat.  
Arguments: filename, format, text, fontSize, fontColor

```py

import rnd_cat

rnd_cat.cat_say_edit(filename='default_cat_gif', text + 'Hello', fontSize=50, fontColor='red', format='jpg')
```

## Credits

The module is based on getting images from this site:

- [CATAAS](https://cataas.com/)

The module is still being finalized...

### Author:

> GitHub [@Atom244](https://github.com/Atom244) &nbsp;&nbsp;

<h1 align="center">
  <br>
  <a href="https://github.com/Atom244"><img src="https://www.dropbox.com/scl/fi/g7onxkravpirf79uaz7ze/cat.png?rlkey=01n3lh89xc203cnxi9vroxup1&st=g87gx514&dl=1" alt="Alien cat" width="256"></a>
  <br>
  Thanks for using my module!!!
  <br>
</h1>