heuristomancer

Clojure library for attempting to guess file types.

Лицензия

Лицензия

BSD Standard License
Категории

Категории

Ant Компиляция и сборка
Группа

Группа

org.iplantc
Идентификатор

Идентификатор

heuristomancer
Последняя версия

Последняя версия

0.1.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

heuristomancer
Clojure library for attempting to guess file types.
Ссылка на сайт

Ссылка на сайт

http://www.iplantcollaborative.org
Система контроля версий

Система контроля версий

https://github.com/iPlantCollaborativeOpenSource/heuristomancer

Скачать heuristomancer

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.iplantc/heuristomancer/ -->
<dependency>
    <groupId>org.iplantc</groupId>
    <artifactId>heuristomancer</artifactId>
    <version>0.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.iplantc/heuristomancer/
implementation 'org.iplantc:heuristomancer:0.1.4'
// https://jarcasting.com/artifacts/org.iplantc/heuristomancer/
implementation ("org.iplantc:heuristomancer:0.1.4")
'org.iplantc:heuristomancer:jar:0.1.4'
<dependency org="org.iplantc" name="heuristomancer" rev="0.1.4">
  <artifact name="heuristomancer" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.iplantc', module='heuristomancer', version='0.1.4')
)
libraryDependencies += "org.iplantc" % "heuristomancer" % "0.1.4"
[org.iplantc/heuristomancer "0.1.4"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.clojure : clojure jar 1.5.1
org.clojure : tools.cli jar 0.2.2
org.clojure : tools.logging jar 0.2.6
instaparse » instaparse jar 1.2.1

test (2)

Идентификатор библиотеки Тип Версия
org.clojure : tools.nrepl jar 0.2.3
clojure-complete » clojure-complete jar 0.2.3

Модули Проекта

Данный проект не имеет модулей.

heuristomancer

A Clojure library for attempting to guess file types.

TL;DR

Command-Line Usage

# Display the help text.
java -jar /path/to/heuristomancer-0.1.0-SNAPSHOT-standalone.jar -h

# List the file types recognized by heuristomancer.
java -jar /path/to/heuristomancer-0.1.0-SNAPSHOT-standalone.jar -l

# Identify the types of some files.
java -jar /path/to/heuristomancer-0.1.0-SNAPSHOT-standalone.jar file1 file2

# Use a different sample size when identifying files.
java -jar /path/to/heuristomancer-0.1.0-SNAPSHOT-standalone.jar -s 2000 file

Programmatic Usage

(use 'heuristomancer.core)

;; Identify a file using the default sample size (1000 characters).
(identify "/path/to/file")

;; Identify a file with a specified sample size (in number of characters).
(identify "/path/to/file" sample-size)

;; Identify a sample that's already loaded into memory.
(identify-sample sample)

License

http://iplantcollaborative.org/sites/default/files/iPLANT-LICENSE.txt

org.iplantc

iPlant Collaborative Open Source

This is an old github organization. The new organization is github.com/cyverse

Версии библиотеки

Версия
0.1.4
0.1.3