All Projects → rinetd → transfer

rinetd / transfer

Licence: Apache-2.0 license
Converts from one encoding to another. Supported formats HCL ⇄ JSON ⇄ YAML⇄TOML⇄XML⇄plist⇄pickle⇄properties ...

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to transfer

Konf
A type-safe cascading configuration library for Kotlin/Java/Android, supporting most configuration formats
Stars: ✭ 225 (+221.43%)
Mutual labels:  config, yaml, toml, properties
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 (+221.43%)
Mutual labels:  config, yaml, toml, hcl
parse it
A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
Stars: ✭ 86 (+22.86%)
Mutual labels:  config, yaml, toml, hcl
climatecontrol
Python library for loading settings and config data from files and environment variables
Stars: ✭ 20 (-71.43%)
Mutual labels:  config, yaml, toml
Simple Settings
A simple way to manage your project settings.
Stars: ✭ 165 (+135.71%)
Mutual labels:  config, yaml, toml
wildq
Command-line TOML/JSON/INI/YAML/XML/HCL processor using jq c bindings
Stars: ✭ 22 (-68.57%)
Mutual labels:  yaml, toml, hcl
Resticprofile
Configuration profiles for restic backup
Stars: ✭ 48 (-31.43%)
Mutual labels:  yaml, toml, hcl
Jsonj
A fluent Java API for manipulating json data structures
Stars: ✭ 42 (-40%)
Mutual labels:  yaml, bson, plist
Koanf
Light weight, extensible configuration management library for Go. Built in support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Stars: ✭ 450 (+542.86%)
Mutual labels:  config, yaml, 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 (+984.29%)
Mutual labels:  config, 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 (+191.43%)
Mutual labels:  yaml, toml, plist
Config Lite
A super simple & flexible & useful config module.
Stars: ✭ 78 (+11.43%)
Mutual labels:  config, yaml, toml
Mconfig
MCONFIG is a lightweight Golang library for integrating configs files like (json, yml, toml) and environment variables into one config struct.
Stars: ✭ 28 (-60%)
Mutual labels:  config, yaml, toml
cfg-rs
A Configuration Library for Rust Applications
Stars: ✭ 18 (-74.29%)
Mutual labels:  config, yaml, toml
Cfgdiff
diff(1) all your configs
Stars: ✭ 138 (+97.14%)
Mutual labels:  config, yaml
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 (+250%)
Mutual labels:  config, yaml
config-cpp
C++ Configuration management library inspired by the Viper package for golang.
Stars: ✭ 21 (-70%)
Mutual labels:  yaml, toml
tomli
A lil' TOML parser
Stars: ✭ 313 (+347.14%)
Mutual labels:  config, toml
Gray Matter
Contributing Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Stars: ✭ 2,105 (+2907.14%)
Mutual labels:  config, yaml
luban
你的最佳游戏配置解决方案 {excel, csv, xls, xlsx, json, bson, xml, yaml, lua, unity scriptableobject} => {json, bson, xml, lua, yaml, protobuf(pb), msgpack, flatbuffers, erlang, custom template} data + {c++, java, c#, go(golang), lua, javascript(js), typescript(ts), erlang, rust, gdscript, protobuf schema, flatbuffers schema, custom template} code。
Stars: ✭ 1,660 (+2271.43%)
Mutual labels:  config, yaml

transfer GoDocBuild Status

中文文档

Converts from one encoding to another.

Supported formats HCL ⇄ JSON ⇄ YAML⇄TOML⇄XML⇄plist⇄pickle⇄properties ...

install

$ go get github.com/rinetd/transfer

Download

https://github.com/rinetd/transfer/releases

usage

usage:

	transfer [-f] [-s input.yaml] [-o output.json] /path/to/input.yaml [/path/to/output.json]

Converts from one encoding to another. Supported formats (and their file extensions):

	- JSON (.json)
	- TOML (.toml)
	- YAML (.yaml or .yml)
	- HCL (.hcl or .tf)
	- XML (.xml)
	- MSGPACK (.msgpack)
	- PLIST (.plist)
	- BSON (.bson)
	- PICKLE (.pickle)
	- PROPERTIES (.prop or .props or .properties)

docker usage

# build the transfer image
docker build -o rientd/transfer .

examples

Convert data/input.yml TO data/input.json $ transfer -f data/input.yaml (output "./data/input.json")

$ transfer -f data/input.yaml out.json  (output "./out.json")
$ transfer -f -s data/input.yaml -o /root/out.toml (output "/root/out.toml")
$ transfer -f -s data/input.yaml -o hcl (output "./data/input.hcl")
$ transfer -f -o yaml data/input.json   (output "data/input.yaml")
Author:
  email: [email protected]
  github: rinetd
menu:
  main:
  - Identifier: categories
    Name: categories
    Pre: <i class='fa fa-category'></i>
    URL: /categories/
    Weight: -102
  - Identifier: tags
    Name: tags
    Pre: <i class='fa fa-oags'></i>
    URL: /tags/
    Weight: -101
theme: hueman
{
	"Author": {
		"email": "[email protected]",
		"github": "rinetd"
	},
	"menu": {
		"main": [
			{
				"Identifier": "categories",
				"Name": "categories",
				"Pre": "<i class='fa fa-category'></i>",
				"URL": "/categories/",
				"Weight": -102
			},
			{
				"Identifier": "tags",
				"Name": "tags",
				"Pre": "<i class='fa fa-oags'></i>",
				"URL": "/tags/",
				"Weight": -101
			}
		]
	},
	"theme": "hueman"
}
$ transfer main.json main.hcl
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].