https://github.com/brentp/nim-gzfile
simple reader and writer for gzipped (and regular) files
Science Score: 13.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
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (2.3%) to scientific vocabulary
Keywords
Repository
simple reader and writer for gzipped (and regular) files
Basic Info
- Host: GitHub
- Owner: brentp
- License: mit
- Language: Nim
- Default Branch: master
- Size: 5.86 KB
Statistics
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
this is a simple wrapper around your systems zlib.
it has an interface like nim's File.
```Nim var gz: GZFile if not gz.open(f, bufsize=16384): quit "couldn't open file" echo gz.tell var line:string while gz.readLine(line): echo line
echo gz.error echo gz.tell gz.close
```
and writing:
```Nim var wgz: GZFile if not wgz.open(f, "w6"): quit "couldn't open file"
for i in 0..10: wgz.write("hello ", "big ") wgz.write_line("world") wgz.close ```
this works for both gzipped and regular files
Owner
- Name: Brent Pedersen
- Login: brentp
- Kind: user
- Location: Oregon, USA
- Twitter: brent_p
- Repositories: 220
- Profile: https://github.com/brentp
Doing genomics
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 10 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