utilitylib
Python utility lib for easy file and data handling
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.3%) to scientific vocabulary
Repository
Python utility lib for easy file and data handling
Basic Info
- Host: GitHub
- Owner: TheBiomics
- Language: Python
- Default Branch: dev
- Size: 253 KB
Statistics
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
- Releases: 3
Metadata Files
README.md
UtilityLib
UtilityLib is a unified library of basic modules that provides a collection of ready-to-use functions for various file system oprerations and data processing.
Installation
- You can install UtilityLib via pip or by copying the UtilityLib directory into your project.
- Using pip:
pip install UtilityLib - Using pip+GitHub:
pip install git+https://github.com/yourusername/UtilityLib.git
Usage/Examples
Here are some examples demonstrating the usage of UtilityLib:
Filename Extraction
```python
Method 1
from UtilityLib import EU EU.filename("filepath/filename.ext1.ext2")
Method 2
from UtilityLib import UtilityManager as UM UM().filename("filepath/filename.ext1.ext2") ```
Project Configuration Management
```python
Method 3
import UtilityLib as UL UL.UM.filename("filepath/filename.ext1.ext2") UL.UtilityManager().filename("filepath/filename.ext1.ext2")
Method 4
from UtilityLib import ProjectManager pm = ProjectManager( pathbases=("/mnt/D/DataDrive", "D:/path-windows") version=2, subversion=202211 ) pm.config.newkey.deepernewkey = "new_value"
Update Old Config
pm.updateconfig()
Save as a new version but later change key
pm.updateconfig(subversion=20221103)
```
Compress Files to tar.gz Format
python
_wos_files = EU.search(f"{path_scrapped_queries}/WOS-Downloads", "*.csv")
EU.add_tgz_files(f"{path_scrapped_queries}/WOS-Downloads.tgz", _wos_files)
EU.delete_path(f"{path_scrapped_queries}/WOS-Downloads")
Classes and Modules
Owner
- Name: The Biomics
- Login: TheBiomics
- Kind: user
- Company: @TheBiomicsIndia
- Website: https://www.thebiomics.com
- Twitter: TheBiomics
- Repositories: 2
- Profile: https://github.com/TheBiomics
@TheBiomicsIndia Administrator
Citation (CITATION.cff)
cff-version: 1.2.0
title: 'UtilityLib: Reusable and optimised python classes'
message: >-
Consider citing this package using DOI.
type: software
authors:
- affiliation: 'Dr. D.Y. Patil Vidyapeeth, Pune'
family-names: Sahu
given-names: Vishal Kumar
orcid: 'https://orcid.org/0000-0003-1487-3526'
- affiliation: 'Dr. D.Y. Patil Vidyapeeth, Pune'
family-names: Ranjan
given-names: Amit
orcid: 'https://orcid.org/0000-0002-7900-982X'
- affiliation: 'Dr. D.Y. Patil Vidyapeeth, Pune'
family-names: Basu
given-names: Soumya
orcid: 'https://orcid.org/0000-0002-1726-0154'
identifiers:
- type: doi
value: 10.5281/zenodo.6563931
- type: url
value: 'https://github.com/TheBiomics/GMXvg'
repository-code: 'https://github.com/TheBiomics/GMXvg'
url: 'https://www.thebiomics.com/node/637'
abstract: An Automated Drug Discovery Pipeline
keywords:
- Python Library
- Manager
- Lirbary
version: v2.X
date-released: '2024-11-30'
GitHub Events
Total
- Delete event: 2
- Push event: 38
- Create event: 8
Last Year
- Delete event: 2
- Push event: 38
- Create event: 8
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 3
- Average time to close issues: N/A
- Average time to close pull requests: 5 months
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- 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
- miRastic (2)
- VishalKumarSahu (1)