semvec/pypi-packages huggingface dataset:
lclpy 1.0.1
A localsearch library.
Requires Python: >=3.7

# lclpy

Lclpy is a localsearch library implemented in python.

## Getting Started

Here, you will find a simple guide to install the library on your system.

### Prerequisites

The library is intended to be installed with [pip](https://pip.pypa.io/en/stable/).
Make sure pip is installed on your system. 
(It's probably included with your python implementation, but it doesn't hurt to check.)

After you've made sure pip is installed,
install the following packages:

setuptools

```
pip install setuptools
```

You will be notified if it is already installed. This isn't be a problem.


### Installing

After the prequisites have been properly installed, it's time to install lclpy.
Do not worry about dependencies and such, setuptools should take care of those.

```
pip install lclpy
```

You can easily test if it's installed by using the [interactive interpreter](https://docs.python.org/3/tutorial/interpreter.html#interactive-mode).

Depending on your local installation, it might also be possible to start the interactive interpreter by using:

```
python
```

or

```
py
```

Once inside the interpreter, try the following command:

```
import lclpy
```

If it succeeds without errors, lclpy is installed.

## Usage

If you have any questions of how to use the library, you can download the project from github and check the documentation in the docs/html folder.
You can also check the docstrings of a module in the interactive interpreter like this:

```
print(module_alias.__doc__)
```

There are also several [jupyter notebooks](https://jupyter.org/) that demonstrate the use of some classes. These notebooks can be found in the project on github in the notebooks folder.


## Tests

Most of the modules of lclpy have some [doctests](https://docs.python.org/3/library/doctest.html) included.

One can perform these by importing a module and then using the following code in the interactive interpreter:

```
import doctest

doctest.testmod(module_alias)
```

If there are no failed tests, everything is fine.


## Authors

* **Daan Thijs** - *Design and initial implementation* - [nobody1570](https://github.com/nobody1570)

## License

This project is licensed under the MIT License - see the [LICENSE.md](https://github.com/nobody1570/lclpy/blob/master/LICENSE) file for details

## Acknowledgments

* Tony Wauters
* Wim Vancroonenburg
static-thumbnails 0.9
Extension to easy_thumbnails for Django providing thumbnails from static files

# static-thumbnails
Django application providing template tags to create thumbnails from static files using easy-thumbnails

## Installation

```shell script
pip install Pillow easy-thumbnails static-thumbnails
```
## Usage

Add static-thumbnails to your settings.py:
```python
INSTALLED_APPS = [
    # ... regular django apps go here
    'easy_thumbnails',
    'static_thumbnails',
]
```

And then use it as the regular thumbnail tag from easy-thumbnails, but pointing ot to a file in your STATIC_ROOT:

```jinja2
{% static_thumbnail 'some/static/file.png' 150x100 quality=100 HIGH_RESOLUTION as logo %}
<img src="{{ logo.highres_url }}" width="{{ logo.width }}" height="{{ logo.height }}" />
```