semvec/pypi-packages huggingface dataset:
kaplan 0.16.0
A computer-assisted translation tool package
Keywords: CAT,computer-assisted translation,computer-aided translation,translation,free-to-use

# kaplanpy
[![Documentation Status](https://readthedocs.org/projects/kaplanpy/badge/?version=latest)](https://kaplanpy.readthedocs.io/en/latest/?badge=latest)

kaplan is a Python library which offers basic computer-assisted translation (CAT) capabilities a CAT tool intended for linguists/LSPs should have.

It is distributed under the MIT License, which means you are more than welcome to use it for your personal/commercial projects.

kaplan depends on the following Python libraries:

1. [lxml](https://pypi.org/project/lxml/)
2. [regex](https://pypi.org/project/regex/)
packing2porenet 0.1.2
Python package to compute pore network based on given particle packing
Requires Python: >=3.6

# [packing2porenet](https://gitlab.com/stranskyjan/packing2porenet)
Python package to compute pore network based on given particle packing.

## Overview
Computes pores and throats and their properties based on given packing.

#### spherical pores from spherical packing
Firstly, the weighted (also denoted as regular) Voronoi tesselation is done based on the input spherical packing. Weights are spheres' radii.

From the weighted Voronoi tesselation, Delaunay tetrahedralization is determined, resulting in the set of tetrahedrons and their connectivity.

Pores are assigned for each Delaunay tetrahedron.
Size and position of the pore is assigned as an inscribed spheres between the four "vertex" spheres.

Throats between pores are assigned radius equal to circle in face plane and inscribed between three "vertex" spheres.

It is possible to merge overlapping pores.
Then the new pore is such that:
- volume is equal to the volume of spheres union
- position is weighted average of positions, with weights being input volumes
Throats related to merged pores has radius such that the area of new throat is equal to the area of both merged throats.

### Usage

#### Example
```python
from packing2porenet import Sphere, Voronoi, PoreNetwork, export, ymport

# testing sphere pack
spheres = (
    Sphere((0.00, 0.00, 0.00), 1.00),
    Sphere((2.10, 0.10, 0.05), 1.20),
    Sphere((4.05, 0.20, 0.10), 1.10),
    Sphere((1.15, 2.15, 0.15), 1.15),
    Sphere((3.05, 2.05, 0.05), 1.05),
    Sphere((2.10, 4.20, 0.10), 1.25),
    Sphere((1.05, 1.05, 2.10), 1.00),
    Sphere((3.15, 1.10, 2.20), 1.10),
    Sphere((2.05, 3.10, 2.05), 1.20),
    Sphere((2.10, 2.15, 4.10), 1.15),
)

# pore network
export.spheres2vtk(spheres, "vtk-packing")
voro = Voronoi(spheres)
export.network2vtk(voro, "vtk-voro")
network = PoreNetwork().fromVoronoi(voro)
export.spheres2vtk([pore.asSphere() for pore in network.cells], "vtk-pores")
export.network2vtk(network, "vtk-throats")
network.mergeIntersectingPores()
export.spheres2vtk([pore.asSphere() for pore in network.cells], "vtk-pores-merged")
export.network2vtk(network, "vtk-throats-merged")
```

### Compatibility
Tested on [Ubuntu](https://ubuntu.com/) 18.04 LTS and [Python](https://www.python.org/) 3.6

## Installation

1. Using [`pip`](https://pypi.org/project/pip/)

	`python3 -m pip install packing2porenet`

2. Using `make` (calls `python3 -m pip install .`, i.e. option 3, internally):

	`make install`

3. Using [`pip`](https://pypi.org/project/pip/) locally

	`python3 -m pip install .`


## Contribution
#### Merge Requests
Are welcome

#### Bug reporting
In case of any question or problem, please leave an issue at the [GitLab page of the project](https://gitlab.com/stranskyjan/packing2porenet/-/issues).

#### Contributors
- [Jan Stránský](https://gitlab.com/stranskyjan)

## License
This project is licensed under the [MIT License](https://en.wikipedia.org/wiki/MIT_License) - see the [license file](LICENSE) for details.

## TODO
- documentation
- tests
- periodicity
- other shapes
- other properties and functionality
cykooz.recipe.idea 0.4
zc.buildout recipe that creates a file with list of external libraries for PyCharm of IntelliJ IDEA.

cykooz.recipe.idea
******************

This recipe for buildout_ creates a ``.idea/libraries/Buildout_Eggs.xml`` file.
This file may be used by ``PyCharm`` (or ``IntelliJ IDEA``) as list of external
libraries and contains paths to all the specified eggs and their dependencies.

Usage
=====

This is a minimal ``buildout.cfg`` file which creates a xml-file with paths
to eggs::

    [buildout]
    parts =
        application
        idea

    [application]
    recipe = zc.recipe.egg:scripts
    eggs =
        my_application
        ipython

    [idea]
    recipe = cykooz.recipe.idea
    eggs =
        ${application:eggs}


Available options
=================

eggs
    The eggs that will be used to generate a file with paths. You don’t need to
    include transitive dependencies. This is done automatically.

idea_dir
    Path to directory of ``PyCharm`` project. Default: ``${buildout:directory}/.idea``
    The recipe won't create any files or directories if given directory is absent
    or it not contains .iml file.

include_develop
    Set it as ``true`` if you need to add paths to develop packages.
    Default: ``false``.

include_eggs
    Set it as ``false`` if you need to exclude paths to the specified eggs.
    Default: ``true``.

include_other
    Set it as ``true`` if you need to add paths to other directories that
    contains required packages or it dependencies but that was installed
    not by ``zc.buildout``. For example path to ``site-packages`` directory
    from used Python.
    Default: ``false``.

extra-paths
    Extra paths to include in a generated xml file.


.. _buildout: http://pypi.python.org/pypi/zc.buildout


Changes
*******

0.4 (2022-04-29)
================

- Added support of Windows (GH-1).
- Added support of zc.buildout 3+ into tests.

0.3 (2021-12-14)
================

- Added support of Python 3.6 and 3.7.

0.2 (2021-12-08)
================

- First release.