semvec/pypi-packages huggingface dataset:
torch-lr-scheduler 0.0.6
PyTorch Optimizer Lr Scheduler
License: MIT
Requires Python: >=3.6.0
Keywords: PyTorch Lr Scheduler

# torch-lr-scheduler [![Build Status](https://travis-ci.com/FebruaryBreeze/torch-lr-scheduler.svg?branch=master)](https://travis-ci.com/FebruaryBreeze/torch-lr-scheduler) [![codecov](https://codecov.io/gh/FebruaryBreeze/torch-lr-scheduler/branch/master/graph/badge.svg)](https://codecov.io/gh/FebruaryBreeze/torch-lr-scheduler) [![PyPI version](https://badge.fury.io/py/torch-lr-scheduler.svg)](https://pypi.org/project/torch-lr-scheduler/)

PyTorch Optimizer Lr Scheduler.

## Installation

Need Python 3.6+.

```bash
pip install torch-lr-scheduler
```

## Usage

```python
import torch_lr_scheduler


lr_scheduler = torch_lr_scheduler.factory(config={
    'line_chain': [{
        # warm up to 0.8
        'mode': 'linear',
        'ratio': 0.01,
        'start': 0.2,
        'target': 0.8
    }, {
        # cosine to 0.0
        'mode': 'cosine',
        'ratio': 1.0,
        'target': 0.0
    }]
})

print(lr_scheduler)
#> LrScheduler (learning_rate_scale: 1.0) with LineChain (
#>     1.0%, linear from 0.2 to 0.8,
#>   100.0%, cosine from 0.8 to 0.0,
#> )
```
genice-cif 0.2.1
CIF reader plugin for GenIce.
License: MIT
Keywords: genice,CIF

# genice-cif

A [GenIce](https://github.com/vitroid/GenIce) plugin to import CIF file.

(version 0.2.1)

## Requirements

    % make prepare

will install required packages via pip.

* cif2ice>=0.2.2
* GenIce>=0.25

## Installation

### System-wide installation

Install via pip.

    % pip install genice_cif

### Private installation

Not supported.

## Usage


* To convert a local cif file to Gromacs format,

	% genice cif[RHO.cif] > RHO.gro

* Some zeolites share the network topology with low-density ices. If you want to retrieve a zeolite ITT structure from [IZA structure database](http://www.iza-structure.org/databases) to prepare a low-density ice, try the following command:

	% genice zeolite[ITT] > ITT.gro

## Test in place

    % make test
psd2html 0.3.0
Convert PSD file to HTML
License: MIT
Requires Python: >=3

PSD2HTML
===========

PSD to HTML converter based on [`psd-tools`](https://github.com/psd-tools/psd-tools)

Install
---------

Use ``pip`` to install::

    pip install psd2html

Usage
---------

### As a command-line tool

The package comes with a command-line tool::

    psd2html input.psd output.html

When the output path is a directory, or omitted, the tool infers the output
name from the input::

    psd2html file.psd                 # => file.html
    psd2html file.psd dir/            # => dir/file.html
    psd2html file.psd dir/file1       # => dir/file1.html
    psd2html file.psd dir/file1.html  # => dir/file1.html

### As a python library

Example:

    from psd2html import PSD2HTML

    with open('file.psd', 'rb') as f:
        converter = PSD2HTML(f)
        html = converter.html
        html_string = converter.html_str



Notes:
--------
Not all PSD layers are being converted to HTML elements. Current release only converts the [TypeLayer](https://psd-tools.readthedocs.io/en/latest/reference/psd_tools.api.layers.html#typelayer) to HTML, all the others types i.e Artboard, PixelLayer, ShapeLayer and SmartObjectLayer are rendered as png images. 

Future releases will include support for other types of layers.
py-defer 1.3.0
Golang-esque defer functionality
License: MIT
Requires Python: >=3.6

<!-- @prettier -->

# Defer

[![PyPi-version](https://img.shields.io/pypi/v/py-defer.svg?style=flat-square)](https://pypi.org/project/py-defer/)
[![PyPi-versions](https://img.shields.io/pypi/pyversions/py-defer.svg?style=flat-square)](https://pypi.org/project/py-defer/)
[![PyPi-license](https://img.shields.io/pypi/l/py-defer.svg?style=flat-square)](https://pypi.org/project/py-defer/)
[![Travis CI](https://img.shields.io/travis/naphta/py-defer.svg?style=flat-square)](https://travis-ci.org/naphta/py-defer)
[![CodeCov](https://img.shields.io/codecov/c/github/naphta/py-defer.svg?style=flat-square)](https://codecov.io/github/naphta/py-defer)
[![Codacy](https://img.shields.io/codacy/grade/3a5de3a9d2544c60be2e45d4548a97cb.svg?style=flat-square)](https://www.codacy.com/app/jake_5/py-defer?utm_source=github.com&utm_medium=referral&utm_content=naphta/py-defer&utm_campaign=Badge_Grade)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/ambv/black)
[![Code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/ambv/black)
[![Thanks](https://img.shields.io/badge/say%20thanks-!-1EAEDB.svg?style=flat-square)](https://saythanks.io/to/naphta)

Add a simple golang-esque deferral system for python.

## TODO

- [x] Add deferrals for a function
- [x] Tests
- [x] 95% testing coverage
- [ ] Add deferrals for a class
- [ ] Add deferrals for a module

## Example

```text
In [1]: import defer

In [2]: @defer.with_defer
   ...: def example_function():
   ...:     print("Hello")
   ...:     defer.defer(print, "!")
   ...:     print("World")
   ...:

In [3]: example_function()
Hello
World
!
```