semvec/pypi-packages huggingface dataset:
dzwilaya 0.0.1
Find wilaya by code!
Requires Python: >=3.6

# DZWilaya

dzwialya will help you to find the name of the province in Algeria by providing the assigned code.

...

## Instalation

```python
from dzwilaya import get_wilaya_name

# Get Wilaya name
get_wilaya_code(38)
# Output
'Tissemsilt'
```
RussianWordsClusters 0.0.10
Clustering russian words by multiple criterias

# Russian Words Clusters

Russian Words Clusters offers a way to cluster russian words by criterias (by a common stem, by the closeness of vowels or consonants).

For now it supports verbs but was not built for clusterings words that may have different suffixes, as would be a noun and an adjective of a same stem.

It offers options:
  - to merge clusters built on different criterias
  - to input words pairs, useful for clustering verbs and their aspects

The clustering algorithm can be used either with the CLI or with the class's methods.

## Simple example: clustering verbs by stem and vowel transformation

Content of `file1`:
```
выстрелить
отличать
застрелить
отличить
```

`python3.8 clustering.py --input file1 --criterias STEM TRANS --merge`
```
выстрелить
застрелить
отличать
отличить
```

## Usage

#### CLI
The CLI `clustering.py` offers the possibility to cluster words and words pairs.

#### Classes
Classes in `clustering.py` can be called to cluster words. As for usage examples, you can refer to the code in the Main part of `clustering.py`, or to the code contained in the `tests` folder.

Project has a pip package: https://pypi.org/project/russian-words-clusters/</br>
Once the package installed you can import classes into your Python code using `from russianwords.clustering import *`.


## A more complex example: clustering words pairs

Content of `file2`:
```
посещать/посетить
разделять
разбираться/разобраться
выделиться/выделить
изменять/изменить
выделяться/выделять
```

`python3.8 clustering.py --input file2 --criterias STEM TRANS --merge --are-pairs`
```
посещать/посетить
разделять
выделяться/выделять
выделиться/выделить
разбираться/разобраться
изменять/изменить
```
etime_decrypter 0.2
A simple calculator for etime to display exact duration of bookings and warns if pause is missing
Requires Python: >=3.6

# About

The aim of this is to make it easy to learn to how much qualified working time a
booking-overview in etime's "Time Event List"-View is resolved to. This overview
is way better accessible from the detailed PDF report, but first, that needs to
be exported with multiple clicks and second, it only contains posted and curated
entries that have hit the proper SAP booking state, only.  
This script should provide a quick overview about all times from a way faster 
mark, copy & paste action to allow for quicker overview in any state of the
booking process (and also to provide a controlling of Henkel's formular ;-) ).

# How to use

1. Login to [etime]
2. Switch tab to "Time Event List"
3. Navigate to the day in which's overview you are interested in
4. In the "Time Events" overview, select all entries. Best start by clicking right
   to the lowest encircled "X" and drag the mark to the upper left, so you select
   the topic "Time Events", as well:
   ![etime example](assetts/etime_example.png "etime example")
5. Copy the selection and paste that to the tool.

The result should look something like this (note some non-printable extra characters, like tabs and spaces):

![how a pasted multi-line selection looks like](assetts/blank_space_aware_editor.png "how a pasted multi-line selection looks like")

Finish on two emply lines (hit Enter without any input, twice).

[etime]: https://portal.de.henkelgroup.net/irj/portal?NavigationTarget=ROLES://portal_content/henkel_content/kgaa/henkel.hr_portal/henkel.roles/henkel.my_hr/henkel.my_hr_service/henkel.my_hr&NavMode=4&anchor=Employee-open_etime
constload 1.0.1
A package to streamline constant loading and initialisation
Requires Python: >=3.5

# constload

![Tests](https://github.com/codemicro/constload/workflows/Tests/badge.svg)

constload is a package designed to simplify the process of loading settings into Python applications by providing
certain functionality that is frequently reimplemented from project to project. This includes the ability to set
defaults and set certain parameters as required.

### Usage examples

When loading settings, you have a couple of options. You can provide pre-parsed data in a dictionary, or you have have
data parsed for you from a filepath or from a string.

```python
from constload import ConstantLoader

# Loading JSON from file
c = ConstantLoader("/path/to/settings/file.json")

# Loading JSON from string
c = ConstantLoader("{'hello': 'world'}")

# Using preloaded dict
c = ConstantLoader(your_dict)
```

It's also trivial to write your own loaders.

```python
def my_loader(data):
    # Basic CSV loader
    my_dict = {}
    lines = data.split("\n")
    for line in lines:
        vals = line.split(",")
        my_dict[vals[0]] = vals[1:]
    return my_dict

c = ConstantLoader("/path/to/file.csv", loader=my_loader)

```

When you've got your data loaded, you can begin to extract values.

This is done by using tuples that contain paths to your values.

```python
# ("user", "name") is equivalent to ["user"]["name"]
USER_NAME = c.required(("user", "name"))
USER_PETS = c.default(("user", "pets"), [])
```

Any changes made by `c.default` are automatically mirrored to the dictionary as they're being made. This means you can
work directly with the dictionary, if you so choose.

```python
c.default(("user", "pets"), [])
c.data["user", "name"]  # -> []
```

### Installing

* With YAML support - `pip install constload[yaml]`
* Otherwise - `pip install constload`

### Licence

Licenced under the Mozilla Public Licence 2.0. [Licence text.](https://www.github.com/codemicro/constload/blob/master/LICENCE)


### Support

If you need help, feel free to open an issue.

### Contributing

Issues/pull requests are welcome. :)
lib-elem-isotopes 0.1.0
Dealing with isotopic inventories.
Requires Python: >=3.6

### Installation
To install this package it is best to use pip3.

In order to install this package type: *pip3 install lib-kaasknak*

### Usage
In order to use the package import lib in your python editor of choice.

The commands that can be used are:
- ElementZ(input) which gives the Z-value of the corresponding element.
- ElementN(input) which gives the name of the element corresponding to this Z-value.
- NatComp(input) which gives the isotopes in nature and their fractions.

### Example

```python
import lib
a=lib.ElementZ("Gd")
b,c=lib.NatComp("Gd")
print(a)
print(b)
print(c)
```
```output
64
[152, 154, 155, 156, 157, 158, 160]
[0.002, 0.0218, 0.148, 0.2047, 0.1565, 0.2484, 0.2186]
```

### Sidenote
If the element has no natural occuring isotopes it will return a list with one 0 in it. If the element only has traces of an isotope occuring in nature it will return the mass numbers of these traces. In both cases the fractions list will contain a single 0.

Data is gather from the wikipedia page for every individual element.