Package: zumime 0.1.0

Pedro Baltazar

zumime: Media Type Detection from Bytes and File Names

Tells what a file is from its first bytes and from its name, with no system library. Implements the Web Hypertext Application Technology Working Group (WHATWG) Multipurpose Internet Mail Extensions (MIME) Sniffing Standard <https://mimesniff.spec.whatwg.org/> over raw vectors and paths. Reads inside containers to tell 'Office' documents from plain 'ZIP' archives, audio from video in 'MP4' files, and 'Word' from 'Excel' in legacy 'Office' files, and recognises the data files 'R' users hold, such as files saved by 'R', 'Parquet', 'SQLite' and 'Stata' files. Every type has a parent in a hierarchy, and an extension table generated from the Internet Assigned Numbers Authority (IANA) media types registry and the 'Apache' 'httpd' type map answers from the name. One call reports both answers, whether they agree, and whether a file is compressed, encrypted or truncated.

Authors:Pedro Baltazar [aut, cre, cph], Apache Software Foundation [cph], Mark Adler [cph], The Go Authors [cph], Sindre Sorhus [cph]

zumime_0.1.0.tar.gz
zumime_0.1.0.zip(r-4.7-x86_64)zumime_0.1.0.zip(r-4.7-arm64)zumime_0.1.0.zip(r-4.6-x86_64)zumime_0.1.0.zip(r-4.6-arm64)
zumime_0.1.0.tar.gz(r-4.7-arm64)zumime_0.1.0.tar.gz(r-4.7-x86_64)zumime_0.1.0.tar.gz(r-4.6-arm64)zumime_0.1.0.tar.gz(r-4.6-x86_64)
zumime_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zumime/json (API)

# Install 'zumime' in R:
install.packages('zumime', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/pedrobtz/zumime/issues

Pkgdown/docs site:https://pedrobtz.github.io

On CRAN:

Conda:

1.70 score 4 scripts 16 exports 0 dependencies

Last updated from:b1adf8120c. Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK97
linux-devel-x86_64OK146
source / vignettesOK234
linux-release-arm64OK94
linux-release-x86_64OK120
windows-devel-arm64OK220
windows-devel-x86_64OK215
windows-release-arm64OK225
windows-release-x86_64OK203
wasm-releaseOK87

Exports:mime_checkmime_extensionsmime_finishmime_formatmime_guessmime_ismime_parentmime_parsemime_pushmime_registermime_sniffmime_sniffermime_typemime_typesmime_unregisterzumime_info

Dependencies: