semvec/pypi-packages huggingface dataset:
sphinx-json-globaltoc 0.1.0
Sphinx extension to bulid a global table of contents during JSON output.
Keywords: documentation,sphinx,json

# sphinxcontrib-jsonglobaltoc

This [Sphinx](http://sphinx-doc.org) extension extends `JSONHTMLBuilder` from
`sphinxcontrib-serializinghtml` to add a `globaltoc` key to each `.fjson` file
produced.  `globaltoc` will contain the HTML for the global table of contents
for the entire set of documentation.

## Getting It

You can get `sphinxcontrib-jsonglobaltoc` by using pip:

```bash
pip install sphinxcontrib-jsonglobaltoc
```

If you want to install it from source, grab the git repository from GitHub and run `setup.py`:

```bash
git clone git://github.com/caltechads/sphinxcontrib-jsonglobaltoc.git
cd sphinxcontrib-jsonglobaltoc
python setup.py install
```

## Installing It

To enable `sphinxcontrib-jsonglobaltoc` in your Sphinx project, you need to add it to `extensions` list
in your `conf.py`:

```python
extensions = [
    ...
    'sphinx_json_globaltoc',
    ...
]
```

## Using It

In your Sphinx docs folder, produce your `jsonhtml` output like so:

```bash
make json
```

Now if you open one of your `.ftjson` files and examine it, you
should see a `globaltoc` key.  For example:

```python
>>> import json
>>> with open('build/json/index.fjson', encoding='utf-8') as index:
...     data = json.load(index)
>>> index['globaltoc']
```
pygame-button 0.0.3
A very simple button class for pygame.

# pygame_button
A very simple button class for pygame.
Supports different background and font colors for idle, hover, and clicked modes. Can be linked to a function and set to either run on down-click, or click release.

It is stylable to a degree (see example). The easiest way to do this is to create a style dictionary and then pass this with the **kwarg unpacking syntax.

Many things that could still be added.

## Installation
``` sh
pip install pygame_button
```

## Usage
See [example](https://github.com/Layerex/pygame_button/blob/master/example/example.py)
nanonis-load 3.0.2
Load Nanonis data

# nanonis_load

A library for loading, plotting, and analyzing data from Nanonis SPM files, with special attention to $dI/dV(V_s, V_g)$ data from gate-tunable samples in the field-effect transistor (FET) geometry.

This library is no longer compatible with Python 2.7 as of version 3.0.0.

The following file types are supported:  
> *.dat Bias Spectroscopy files  
> *.3ds Grid Spectroscopy files  
> *.sxm Image files  

## Basic Usage

To load and plot .dat files:
```
spec = didv.spectrum('FILENAME.dat')
specPlot = didv.plot(spec, channel = 'Input 2 (V)')
```
didv.plot takes individual spectrum objects or a list of spectrum objects.  
You can click on the line symbol on the legend to show or hide an individual spectrum.

To plot $dI/dV(V_s, V_g)$ colorplots, where $V_s$ is the sample bias and $V_g$ is gate voltage annotated in the header of each .dat file:
```
cPlot = didv.colorplot(BASENAME)
bar = cPlot.drag_bar(direction = 'horizontal')
cPlot.xlim(XMIN, XMAX)
cPlot.ylim(YMIN, YMAX)
cPlot.clim(CMIN, MAX)
```

Nanonis image files (.sxm) can be loaded and plotted as follows:
```
imageData = sxm.sxm('FILENAME.SXM')
imagePlot = sxm.plot(imageData, channel = 'Z (m)')
imagePlot.fft()
```

And 2D Nanonis binary files (.3ds) can be loaded and plotted using the 'grid' module:
```
gridData = grid.nanonis_3ds('FILENAME.3ds')
gridPlot = grid.plot(gridData, channel = 'Input 2 (V)', fft = True)
```
UP and DOWN arrow keys on the keyboard can be used to iterate over different energies.  
1D line grids can be loaded and plotted using the grid.linecut class.

There are two different ways of creating Landau fans in this library: didv.landau_fan and magnetoconductance.landau_fan.

## Installation

This package is available on PyPI:
```
pip install nanonis-load
```