All Projects → alash3al → Re Txt

alash3al / Re Txt

converts text-formats from one to another, it is very useful if you want to re-format a json file to yaml, toml to yaml, csv to yaml, ... etc

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Re Txt

Structured Text Tools
A list of command line tools for manipulating structured text data
Stars: ✭ 6,180 (+10374.58%)
Mutual labels:  json, csv, yaml, toml
Python Benedict
dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. 📘
Stars: ✭ 204 (+245.76%)
Mutual labels:  json, csv, yaml, toml
Configr
Implements the JSON, INI, YAML and TOML parser, for R setting and writing of configuration file.
Stars: ✭ 38 (-35.59%)
Mutual labels:  json, yaml, toml
Konf
A type-safe cascading configuration library for Kotlin/Java/Android, supporting most configuration formats
Stars: ✭ 225 (+281.36%)
Mutual labels:  json, yaml, toml
Choetl
ETL Framework for .NET / c# (Parser / Writer for CSV, Flat, Xml, JSON, Key-Value, Parquet, Yaml, Avro formatted files)
Stars: ✭ 372 (+530.51%)
Mutual labels:  json, csv, yaml
Chronicle Wire
A Java Serialisation Library that supports multiple formats
Stars: ✭ 204 (+245.76%)
Mutual labels:  json, csv, yaml
Config
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Stars: ✭ 225 (+281.36%)
Mutual labels:  json, yaml, toml
Cli
A simple, fast, and fun package for building command line apps in Go
Stars: ✭ 16,995 (+28705.08%)
Mutual labels:  json, yaml, toml
Rq
Record Query - A tool for doing record analysis and transformation
Stars: ✭ 1,808 (+2964.41%)
Mutual labels:  json, yaml, toml
Remarshal
Convert between CBOR, JSON, MessagePack, TOML, and YAML
Stars: ✭ 421 (+613.56%)
Mutual labels:  json, yaml, toml
Countries
World countries in JSON, CSV, XML and Yaml. Any help is welcome!
Stars: ✭ 5,379 (+9016.95%)
Mutual labels:  json, csv, yaml
Mconfig
MCONFIG is a lightweight Golang library for integrating configs files like (json, yml, toml) and environment variables into one config struct.
Stars: ✭ 28 (-52.54%)
Mutual labels:  json, yaml, toml
Simple Settings
A simple way to manage your project settings.
Stars: ✭ 165 (+179.66%)
Mutual labels:  json, yaml, toml
Fig
A minimalist Go configuration library
Stars: ✭ 142 (+140.68%)
Mutual labels:  json, yaml, toml
Ansible Config encoder filters
Ansible role used to deliver the Config Encoder Filters.
Stars: ✭ 48 (-18.64%)
Mutual labels:  json, yaml, toml
Vscode Data Preview
Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
Stars: ✭ 245 (+315.25%)
Mutual labels:  json, csv, yaml
Datafiles
A file-based ORM for Python dataclasses.
Stars: ✭ 113 (+91.53%)
Mutual labels:  json, yaml, toml
Just Dashboard
📊 📋 Dashboards using YAML or JSON files
Stars: ✭ 1,511 (+2461.02%)
Mutual labels:  json, csv, yaml
Pytablewriter
pytablewriter is a Python library to write a table in various formats: CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV.
Stars: ✭ 422 (+615.25%)
Mutual labels:  json, csv, toml
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (+1186.44%)
Mutual labels:  json, yaml, toml

re-txt

reformates a text file from a structure to another, i.e: convert from json to yaml, toml to json, ... etc

Supported Source Formats

  • json
  • yaml
  • hcl
  • toml
  • csv

Supported Target Formats

  • json
  • yaml
  • toml

Examples

# json to yaml using flag
$ re-txt --src example.json json2yaml

# json to yaml using stdin pipe
$ cat example.json | re-txt json2yaml

# csv to yaml by first converting to json
$ cat example.csv | re-txt csv2json | re-txt json2yaml

# csv to yaml by first converting to json
# also merge multiple json files and convert the piped result & them into yaml
$ cat example.csv | re-txt csv2json | re-txt --dest ./result.yaml --src=another1.json --src=another2.json json2yaml

Installations

  • from source: go get github.com/alash3al/re-txt
  • binary download: go to there and download the binary which support your env
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].