ej

A medley of Universal Utils broken up into small packages

https://github.com/thorwhalen/uu

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

A medley of Universal Utils broken up into small packages

Basic Info
  • Host: GitHub
  • Owner: thorwhalen
  • Language: Python
  • Default Branch: master
  • Size: 435 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme

README.md

UU - Utility Library

A collection of Python utility modules for data processing and analysis.

Modules

by - Selection Tools

The by module provides utilities for selecting, matching, and pairing data points based on various criteria.

Key Features:

  • Nearest Neighbor Matching: Find closest points between two datasets
  • Close Pair Generation: Generate pairs of elements from iterables that are within a specified distance
  • Interval Subsetting: Extract sublists that contain specified ranges

Main Functions:

  • gen_nearest_neighbor_matching_pairs: Generate pairs of nearest neighbors between query and match point sets
  • gen_of_close_pairs_from_iterables: Generate pairs of numbers from two iterables within a given distance
  • sublist_that_contains_segment: Return a sublist of elements covering a specified interval

Usage Examples:

```python import numpy as np from uu.by import gennearestneighbormatchingpairs

Find matching points within radius 1.0

querypoints = np.array([[0, 0], [1, 1], [2, 2]]) matchpoints = np.array([[0.5, 0.5], [1.5, 1.5], [3, 3]])

Get the matching pairs

pairs = list(gennearestneighbormatchingpairs(querypoints, matchpoints, radius=1.0)) print(pairs) # Will include points within radius 1.0

Working with simple iterables

from uu.by import genofclosepairsfrom_iterables

Find pairs from two lists within distance 1

list1 = [1, 5, 10, 15] list2 = [2, 6, 11, 14] pairs = list(genofclosepairsfrom_iterables(list1, list2, radius=1)) print(pairs) # Will include pairs like (1, 2), (5, 6), etc.

Get a sublist covering a range

from uu.by import sublistthatcontains_segment

values = [0, 5, 10, 15, 20, 25, 30] segment = sublistthatcontains_segment(values, 8, 22) print(segment) # Will return [5, 10, 15, 20] ```

Installation

This is a private package. To use it, ensure it's in your Python path.

Dependencies

  • NumPy
  • scikit-learn

Owner

  • Name: Thor Whalen
  • Login: thorwhalen
  • Kind: user
  • Location: Mountain View, CA
  • Company: Analog Devices

R&D in Machine Learning Systems

GitHub Events

Total
  • Push event: 10
Last Year
  • Push event: 10

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 3
  • Total Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Thor Whalen t****1@g****m 3

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 5
  • Total downloads:
    • pypi 922 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 1,342
    (may contain duplicates)
  • Total versions: 16
  • Total maintainers: 1
pypi.org: if

Face-lift makeing BeautifulSoup even more beautiful

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 1,337
  • Downloads: 282 Last month
Rankings
Dependent repos count: 0.3%
Dependent packages count: 10.0%
Downloads: 11.2%
Average: 15.8%
Stargazers count: 27.8%
Forks count: 29.8%
Maintainers (1)
tcw
Last synced: over 1 year ago
pypi.org: lb

utils for ipython importing

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 68 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 11.6%
Average: 20.6%
Stargazers count: 25.0%
Downloads: 26.5%
Forks count: 29.8%
Maintainers (1)
tcw
Last synced: 11 months ago
pypi.org: oj

Reading excel (but more than just cell values: Also colors

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 76 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Average: 24.1%
Stargazers count: 25.0%
Forks count: 29.8%
Downloads: 34.1%
Maintainers (1)
tcw
Last synced: 11 months ago
pypi.org: ov

Dynamo access

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 471 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Average: 25.2%
Stargazers count: 27.8%
Forks count: 29.8%
Downloads: 36.9%
Maintainers (1)
tcw
Last synced: 11 months ago
pypi.org: ej

String generation

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 25 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Average: 25.9%
Stargazers count: 27.8%
Forks count: 29.8%
Downloads: 40.3%
Maintainers (1)
tcw
Last synced: 11 months ago

Dependencies

an/setup.py pypi
aw/setup.py pypi
ba/setup.py pypi
bh/setup.py pypi
bj/setup.py pypi
by/setup.py pypi
cw/setup.py pypi
dn/setup.py pypi
ef/setup.py pypi
ej/setup.py pypi
ek/setup.py pypi
eu/setup.py pypi
fg/setup.py pypi
fk/setup.py pypi
ge/setup.py pypi
ha/setup.py pypi
ho/setup.py pypi
hz/setup.py pypi
if/setup.py pypi
ij/setup.py pypi
ir/setup.py pypi
ix/setup.py pypi
iy/setup.py pypi
ji/setup.py pypi
jo/setup.py pypi
ju/setup.py pypi
kc/setup.py pypi
ke/setup.py pypi
kr/setup.py pypi
kw/setup.py pypi
ky/setup.py pypi
lb/setup.py pypi
lh/setup.py pypi
lv/setup.py pypi
na/setup.py pypi
nh/setup.py pypi
nj/setup.py pypi
nm/setup.py pypi
nw/setup.py pypi
og/setup.py pypi
oj/setup.py pypi
ou/setup.py pypi
ov/setup.py pypi
ow/setup.py pypi
rh/setup.py pypi
rv/setup.py pypi
su/setup.py pypi
tn/setup.py pypi
tu/setup.py pypi
ub/setup.py pypi
uf/setup.py pypi
ug/setup.py pypi
uj/setup.py pypi
un/setup.py pypi
uo/setup.py pypi
uw/setup.py pypi
uy/setup.py pypi
vd/setup.py pypi
wv/setup.py pypi
xa/setup.py pypi
xl/setup.py pypi
ya/setup.py pypi
yf/setup.py pypi
yi/setup.py pypi
yl/setup.py pypi
ys/setup.py pypi
yv/setup.py pypi
yw/setup.py pypi
yx/setup.py pypi
yz/setup.py pypi
zr/setup.py pypi