semvec/pypi-packages huggingface dataset:
accorder 21.5.4
Accorder makes Calibre library portable as standalone webapp and ready to be shared at Memory of the World Library.
Requires Python: >=3.6

Accorder takes care of various tasks which Memory of the World amateur librarians do in order to maintain their shared catalogs online. It builds searchable, standalone, portable webapp which one could then just copy to USB disk and open BROWSE_LIBRARY.html in her web browser. It uploads all of the books and metadata from local Calibre's library (together with portable webapp) to the server. It helps a librarian to maintain and share her catalog at https://library.memoryoftheworld.org together with other amateur librarians. It does all of above in one go by typing: accorder release PROFILE. The configuration file will keep information about one or more PROFILE. Under every PROFILE's configuration section there will be information about the directory path of local Calibre's library, librarian's name, credentials needed to upload the files to the destination server etc.
hypixel 0.8.0
This is a simple, unofficial library for getting values from the public Hypixel-API in Python.
Requires Python: >=3.3
Keywords: hypixel hypixel-api hypixel.py

Hypixel: Python wrapper for the Hypixel-API.
============================================

.. image:: https://i.imgur.com/eFWzNiy.png
    :target: https://gitlab.com/Snuggie/hypixel.py
    :alt: hypixel.py Logo
    


------------------

        
.. image:: https://img.shields.io/badge/hypixel--api-python-brightgreen.svg?colorA=2d2306&colorB=705810
    :target: https://api.hypixel.net
    :alt: Hypixel API - Python
        
.. image:: https://img.shields.io/pypi/v/hypixel.svg?colorA=2d2306&colorB=705810
    :target: https://pypi.org/project/hypixel/
    :alt: PiPy Version
        
.. image:: https://img.shields.io/badge/build-not yet implemented :(-brightgreen.svg?colorA=2d2306&colorB=705810
    :target: https://gitlab.com/SnuggIe/hypixel.py/pipelines
    :alt: Travis Ci Build

.. image:: https://img.shields.io/pypi/pyversions/hypixel.svg?colorA=2d2306&colorB=705810
    :target: https://pypi.org/project/hypixel/
    :alt: Supported Python Versions

.. image:: https://img.shields.io/badge/made%20by-snuggle%20|%20hypixel%20moderator-brightgreen.svg?colorA=2d2306&colorB=705810
    :target: https://hypixel.net/player/Snuggle
    :alt: Made by Snuggle
        
This is a simple, unofficial Python library which allows you to get values from the Hypixel-API using a JSON request. 
Designed for use with the latest version of Python with two previous versions also tested.

Please see `https://gitlab.com/Snuggie/hypixel.py <https://gitlab.com/Snuggie/hypixel.py>`_ for installation/usage information.
readablePTH 0.1.4
This project can write json file from pth and can write the pth again from the json.

[![OneView Logo](https://one-view.ai/wp-content/themes/ov/assets/images/oneview-logo@2x.png)](https://one-view.ai/)
# Readable PTH 

[![Upload Python Package](https://github.com/oneview-space/readablePTH/actions/workflows/release.yml/badge.svg)](https://github.com/oneview-space/readablePTH/actions/workflows/release.yml)
[![GitHub license](https://img.shields.io/github/license/oneview-space/readablePTH?style=plastic)](https://github.com/oneview-space/readablePTH/blob/master/LICENSE)

## About this project
Make pth readable. \
This project can write json file from pth and can write the pth again from the json. \
model.pth <--> model.json

#### Limitation
model.pth must be the state_dict of a Pytorch model:
`torch.save(model.state_dict(), 'model.pth')`

## Installation
```bash
pip install readablePTH
```

### For develop
Please clone the project
```bash
git clone https://github.com/oneview-space/readablePTH.git
```
And then install
```bash
cd readablePTH
pip install -e .
```

## Usage

*For now this is only working with [`encode`, `decode`] commands*

### decode from pth to json
```bash
rpth decode -i test/models/model_small.pth -o test/models/model_small.json 
```

### encode from json to pth
```bash
rpth encode -i test/models/model_small.json -o test/models/model_small_restored.pth
```

## Test
For testing with small model run:
```bash
cd test
python test_small_net.py
```

# TODO:
- [ ] Add the ability to use any torch version 
- [ ] Add args to map_location (CPU/GPU) when writing pth file
- [ ] Add compare state_dict or json methods for checking results