PHPackages                             talpa/otic-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. talpa/otic-tools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

talpa/otic-tools
================

otic tools

0486PHP

Since May 28Pushed 5y ago3 watchersCompare

[ Source](https://github.com/talpa-io/otic-tools)[ Packagist](https://packagist.org/packages/talpa/otic-tools)[ RSS](/packages/talpa-otic-tools/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

otic-tools
==========

[](#otic-tools)

- [List of allowed units](src/allowed_units.csv): All units allowed in otic format

Benchgen
--------

[](#benchgen)

Create reproducible csv output for testing timeseries

**Create 30min data (sampled 0.1 hz) 18000 datasets with 1000 sensor names**

```
benchgen -n 18000 -s 1000  -o /tmp/test.csv
oticpack -i /tmp/test.csv -o /tmp/test.otic
dumpotic -i /tmp/test.otic --skipout

```

**Using direct chaining**

```
benchgen | oticpack | dumpotic

```

Api
---

[](#api)

Dump all sensors from sting otic input

```
$data = OticDump::Dump("...otic-binary-data...", $stats);

echo "Sensors read: " . $stats["sensors_read"]
```

Middlewares
-----------

[](#middlewares)

**Readers**

- *CsvEnvtReaderMiddleware*: Read 4-col csv files
- *GzipUnpackerMiddleware*: Unpack gzipped files

**Transformers**

- *UnitMapMiddleware*: Map legacy units to standard

**Validators**

- *VerifyUnitsMiddleware*: Skip records that contain units not in the standard

**Writers**

- *OticWriterMiddleware*: Default Writer on `/v1/convert` routes
- *PrintWriterMiddleware*: Default Writer on `/v1/csv` routes
- *NullWriterMiddleware*: A Endpoint for development
- *MockWriterMiddleware*: A Endpoint for development (stores the result)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/686930?v=4)[talpa](/maintainers/talpa)[@talpa](https://github.com/talpa)

---

Top Contributors

[![dermatthes](https://avatars.githubusercontent.com/u/13380559?v=4)](https://github.com/dermatthes "dermatthes (48 commits)")

### Embed Badge

![Health badge](/badges/talpa-otic-tools/health.svg)

```
[![Health](https://phpackages.com/badges/talpa-otic-tools/health.svg)](https://phpackages.com/packages/talpa-otic-tools)
```

###  Alternatives

[rezzza/formulate

Making life easier while writing complex math formulas, take a breath

1235.3k1](/packages/rezzza-formulate)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
