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
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
Metadata Files
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 setsgen_of_close_pairs_from_iterables: Generate pairs of numbers from two iterables within a given distancesublist_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
- Website: https://www.linkedin.com/in/thorwhalen/
- Repositories: 90
- Profile: https://github.com/thorwhalen
R&D in Machine Learning Systems
GitHub Events
Total
- Push event: 10
Last Year
- Push event: 10
Committers
Last synced: over 2 years ago
Top Committers
| Name | 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
- Homepage: https://github.com/thorwhalen/uu/tree/master/if
- Documentation: https://if.readthedocs.io/
- License: apache-2.0
-
Latest release: 0.0.5
published almost 4 years ago
Rankings
Maintainers (1)
pypi.org: lb
utils for ipython importing
- Homepage: https://github.com/thorwhalen/uu/tree/master/lb
- Documentation: https://lb.readthedocs.io/
- License: apache-2.0
-
Latest release: 0.0.4
published almost 4 years ago
Rankings
Maintainers (1)
pypi.org: oj
Reading excel (but more than just cell values: Also colors
- Homepage: https://github.com/thorwhalen/uu/tree/master/oj
- Documentation: https://oj.readthedocs.io/
- License: apache-2.0
-
Latest release: 0.0.4
published almost 4 years ago
Rankings
Maintainers (1)
pypi.org: ov
Dynamo access
- Homepage: https://github.com/thorwhalen/uu/tree/master/ov
- Documentation: https://ov.readthedocs.io/
- License: apache-2.0
-
Latest release: 0.0.4
published almost 4 years ago
Rankings
Maintainers (1)
pypi.org: ej
String generation
- Homepage: https://github.com/thorwhalen/uu/tree/master/ej
- Documentation: https://ej.readthedocs.io/
- License: apache-2.0
-
Latest release: 0.0.4
published almost 4 years ago