semvec/pypi-packages huggingface dataset:
geo-data-utils 1.1.1
Geology Data Utils
License: MIT
Requires Python: >=3.5, <4

# Geology Data Utils v1.1.1

## Getting Started

install from pypi

```
pip install geo-data-utils
```

Install direct from git

```
pip install git+https://gitlab.com/csiro-geoanalytics/python-shared/geo-data-utils.git
```

Or clone the repo so you can make changes or view the code, note the -e in the pip install is optional, it makes it so any code changes are automatically picked up.

```
git clone https://gitlab.com/csiro-geoanalytics/python-shared/geo-data-utils.git
<Navigate to the code directory>
pip install -e .
```

If you would like to work on the code in a virtual env a pipfile is available

```
pip install pipenv
pipenv install
pipenv shell
```

## Usage

Once it's installed use the command 'geo-data-utils'

TODO: more info
seqlabel 0.2.4
Rule-based Text Labeling Framework Aiming at Flexibility
License: MIT
Requires Python: >=3.7,<4.0

# seqlabel: Flexible Rule-based Text Labeling

![CI badge](https://github.com/tech-sketch/seqlabel/actions/workflows/ci.yml/badge.svg)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1WfjCIWntq5H4kSiB_vYM2B-1oiGjAyuA?usp=sharing)

*seqlabel* is a rule-based text labeling framework aiming at flexibility. 

## Installation

To install seqlabel:

```sh
pip install seqlabel
```

## Requirements

- Python 3.8+


## Usage

### For a normal text

First, import some classes.

```py
from seqlabel import Text
from seqlabel.matchers import DictionaryMatcher
from seqlabel.entity_filters import LongestMatchFilter, MaximizedMatchFilter
from seqlabel.serializers import IOB2Serializer
```

Initialize `Text` by giving it a text you want to label over.

```py
text = Text("Tokyo is the capital of Japan.")
```

Prepare `matcher` matching supplied patterns. You can supply patterns via Hash Map mapping string sequences to the corresponding labels. You can define your own matcher by inheriting `seqlabel.matchers.Matcher`.  

Then, apply `matcher.match` to `text`.  

```py
# Preparing Matcher
matcher = DictionaryMatcher()
# Adding patterns
matcher.add({"Tokyo": "LOC", "Japan": "LOC"})
# Matching
entities = matcher.match(text)
```

Filter unwanted entities. `LongestMatchFilter` removes overlapping entities and leaves longer entity. `MaximizedMatchFilter` removes overlapping entities and leaves as many entities as possible. You can define your own filter by inheriting `seqlabel.entity_filters.EntityFilter`.

```py
filter_a = LongestMatchFilter()
filtered_entities_a = filter_a(entities)

filter_b = MaximizedMatchFilter()
filtered_entities_b = filter_b(entities)
```

Convert entities to IOB2 format after matching and filtering. Check `seqlabel.serializers` out if you want to use other formats.

```py
serializer = IOB2Serializer()
serializer.save(text, filtered_entities_a)
```

### For a tokenized text

If you want to process a tokenized text, you need to use `TokenizedText` instead of `Text`. You could import it as follows:

```py
from seqlabel import TokenizedText
```

Initialize `TokenizedText` by giving it `tokens` and `space_after` you want to label over. `tokens` is a list of strings and `space_after` is a list of boolean indicating whether each token has a subsequent space.

```py
tokenized_text = TokenizedText(
  ["Tokyo", "is", "the", "captial", "of", "Japan", "."],
  [True, True, True, True, True, False, False]
)
```

You can use `matcher`, `filter`, and `serializer` just like a normal text, as shown above.

```py
# Mathcing
entities = matcher.match(tokenized_text)
# Filtering
filtered_entities = filter_a(entities)
# Serializing
serializer.save(tokenized_text, filtered_entities)
```
genbarcode 1.0.1
offline tracking number image rendering tool.
License: MIT
Requires Python: >=3.8.0,<4.0.0

# genBarcode

genBarcode is a cli tool I created to simply take a string and generate barcode.

I use an application on my phone to track numerous packages. When I get the tracking on my phone it's relatively easy to just add the tracking directly. But when it's on my computer I tend to copy the tracking number and paste it into one of the many online barcode generator sites. Sometimes these sites don't make the barcode big enough, or they use some different barcode that my phone has trouble reading.

I figureed I'd just create a python tool to generate the barcode for me. This makes it so I don't have to rely on sites, or dealing with the hassle. The code uses python-barcode and supports the full gambit of formats offered by that library.

Additionally this just a fun project to improve my skills such as 
* learning more about packaging python tools
* building wheels
* uploading to pypi
* building a reliable development environment
* using poetry
* using pipx

# Installation
I highly recommend you use `pipx` to install this, as it creates the virtualenv for you and seamlessly handles the loading of the virtual environment when running this tool. If you choose not to use `pipx`, you should create a virtualenv and possibly a wrapper script to launch this in the virtualenv.

```sh
pipx install genBarcode
```

# Usage

The following is the help for the program
```
usage: genbarcode [-h] [-V] [-v] [-l] [-m METHOD] [-d DATA] [-t TRACKING]

 program description to be displayed by argparse
    ex: python genBarcode.py


optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -v, --verbose
  -l, --list-methods    Enumerate available generators and exit
  -m METHOD, --method METHOD
                        set the barcode generated type (default: code128)
  -d DATA, --data DATA  Provide data to be used to generate the barcode
  -t TRACKING, --tracking TRACKING
                        Provide tracking number to be used to generate the barcode, stub for --data
```

One of `-d` or `-t` is required. You can use either one.

# Examples

```sh
# print help/usage
genBarcode -h

# print all available barcode formats
genBarcode -l

# print all available barcode formats
genBarcode -l

# USPS sample
genBarcode -d 9400123456789999876500

# UPS sample
genBarcode --data 1Z9999999999999999

# Fedex sample
genBarcode --tracking 123456789012

# Generate isbn for 1984/George.Orwell
genBarcode -m isbn -d 9780451524935
genBarcode -m isbn13 -d 9780451524935
genBarcode -m isbn10 -d 0451524934
```

# Credits

This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [tbennett6421/pythoncookie](https://github.com/tbennett6421/pythoncookie) project template.