asimov-jq-module 0.1.3-x86_64-linux-gnu

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1539f38f982757903b944104bc66b81c10431f838ef32d12696da557b88d9788
4
+ data.tar.gz: 44acff56227b6636569c412c19d2a4ab189e2e1df0b0155f0d038fd1395c4b35
5
+ SHA512:
6
+ metadata.gz: a8b4621da16e08fdce186c8fb5b7d2462479172c0b28dfbf74d78c917f5663ed3543b9bbf0946c23c03612d7fb74190c35e28bb6cabaae464c37c5bb7e07e2f3
7
+ data.tar.gz: da238277c9d359581ba0228ef4e0ec277d361356083ec28e07e853e286297d9daecc055e045a6acaeac98f5eed727e28adab005d8b142e86621f03b18a037282
data/AUTHORS ADDED
@@ -0,0 +1 @@
1
+ * Arto Bendiken <arto@asimov.so>
data/CHANGES.md ADDED
@@ -0,0 +1,26 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## 0.1.3 - 2025-06-07
9
+ ### Changed
10
+ - Package also for distribution via PyPI
11
+
12
+ ## 0.1.2 - 2025-05-31
13
+ ### Changed
14
+ - [CD] Tweet new releases automatically
15
+
16
+ ## 0.1.1 - 2025-05-30
17
+ ### Changed
18
+ - Update the project template
19
+
20
+ ## 0.1.0 - 2025-05-29
21
+ ### Added
22
+ - Transforms JSON inputs using the [jq] programming language
23
+ - Supports values from environment variables using the `env.USER` syntax
24
+ - Loads environment variables from `.env` (aka dotenv) files
25
+
26
+ ## 0.0.1 - 2025-05-29
data/README.md ADDED
@@ -0,0 +1,65 @@
1
+ # ASIMOV JQ Module
2
+
3
+ [![License](https://img.shields.io/badge/license-Public%20Domain-blue.svg)](https://unlicense.org)
4
+ [![Package on Crates.io](https://img.shields.io/crates/v/asimov-jq-module.svg)](https://crates.io/crates/asimov-jq-module)
5
+ [![Package on PyPI](https://img.shields.io/pypi/v/asimov-jq-module.svg)](https://pypi.org/project/asimov-jq-module)
6
+
7
+ [ASIMOV] module for JSON transformation using the [jq] filter language.
8
+
9
+ ## ✨ Features
10
+
11
+ - Transforms JSON inputs using the [jq] programming language.
12
+ - Supports values from environment variables using the `env.USER` syntax.
13
+ - Loads environment variables from `.env` (aka dotenv) files.
14
+ - Distributed as a standalone static binary with zero runtime dependencies.
15
+
16
+ ## 🛠️ Prerequisites
17
+
18
+ - [Rust] 1.85+ (2024 edition) if building from source code
19
+
20
+ ## ⬇️ Installation
21
+
22
+ ### Installation from PyPI
23
+
24
+ ```bash
25
+ pip install -U asimov-jq-module
26
+ ```
27
+
28
+ ### Installation from Source Code
29
+
30
+ ```bash
31
+ cargo install asimov-jq-module
32
+ ```
33
+
34
+ ## 👉 Examples
35
+
36
+ ### Transforming JSON Input
37
+
38
+ ```bash
39
+ asimov-jq-runner filter.jq < input.json > output.json
40
+ ```
41
+
42
+ ## 📚 Reference
43
+
44
+ ### Installed Binaries
45
+
46
+ - `asimov-jq-runner`: filters JSON from standard input to standard output
47
+
48
+ ## 👨‍💻 Development
49
+
50
+ ```bash
51
+ git clone https://github.com/asimov-modules/asimov-jq-module.git
52
+ ```
53
+
54
+ ---
55
+
56
+ [![Share on X](https://img.shields.io/badge/share%20on-x-03A9F4?logo=x)](https://x.com/intent/post?url=https://github.com/asimov-modules/asimov-jq-module&text=asimov-jq-module)
57
+ [![Share on Reddit](https://img.shields.io/badge/share%20on-reddit-red?logo=reddit)](https://reddit.com/submit?url=https://github.com/asimov-modules/asimov-jq-module&title=asimov-jq-module)
58
+ [![Share on Hacker News](https://img.shields.io/badge/share%20on-hn-orange?logo=ycombinator)](https://news.ycombinator.com/submitlink?u=https://github.com/asimov-modules/asimov-jq-module&t=asimov-jq-module)
59
+ [![Share on Facebook](https://img.shields.io/badge/share%20on-fb-1976D2?logo=facebook)](https://www.facebook.com/sharer/sharer.php?u=https://github.com/asimov-modules/asimov-jq-module)
60
+ [![Share on LinkedIn](https://img.shields.io/badge/share%20on-linkedin-3949AB?logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/asimov-modules/asimov-jq-module)
61
+
62
+ [ASIMOV]: https://github.com/asimov-platform
63
+ [Python]: https://python.org
64
+ [Rust]: https://rust-lang.org
65
+ [jq]: https://en.wikipedia.org/wiki/Jq_(programming_language)
data/UNLICENSE ADDED
@@ -0,0 +1,24 @@
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to <https://unlicense.org/>
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.3
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ argv0 = ::File.join(::File.expand_path("../lib/asimov-jq-module", __dir__), "asimov-jq-runner")
3
+ if ::Gem.win_platform?
4
+ ::Kernel.exit(::Kernel.system(argv0, *ARGV) ? 0 : $?.exitstatus)
5
+ else
6
+ ::Kernel.exec(argv0, *ARGV)
7
+ end
@@ -0,0 +1,23 @@
1
+ # This is free and unencumbered software released into the public domain.
2
+
3
+ module ASIMOV_JQ_Module; end
4
+
5
+ class ASIMOV_JQ_Module::Runner
6
+ def self.path
7
+ ::File.join(__dir__, "asimov-jq-runner")
8
+ end
9
+
10
+ def self.execute(...)
11
+ self.new(...).execute
12
+ end
13
+
14
+ def initialize(*args, env: {})
15
+ @argv0 = self.class.path.freeze
16
+ @args = args.map(&:to_s).freeze
17
+ @env = env.to_h.freeze
18
+ end
19
+
20
+ def execute(*args)
21
+ ::Kernel.system(@env, @argv0, *(@args + args.map(&:to_s))) ? 0 : $?.exitstatus
22
+ end
23
+ end
@@ -0,0 +1,5 @@
1
+ # This is free and unencumbered software released into the public domain.
2
+
3
+ module ASIMOV_JQ_Module
4
+ VERSION = "0.0.0"
5
+ end
metadata ADDED
@@ -0,0 +1,54 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: asimov-jq-module
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: x86_64-linux-gnu
6
+ authors:
7
+ - ASIMOV Protocol
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 2025-06-07 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: ASIMOV module for JSON transformation using the jq filter language.
13
+ email: support@asimov.so
14
+ executables:
15
+ - asimov-jq-runner
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - AUTHORS
20
+ - CHANGES.md
21
+ - README.md
22
+ - UNLICENSE
23
+ - VERSION
24
+ - bin/asimov-jq-runner
25
+ - lib/asimov-jq-module.rb
26
+ - lib/asimov-jq-module/asimov-jq-runner
27
+ - lib/asimov-jq-module/runner.rb
28
+ homepage: https://github.com/asimov-modules
29
+ licenses:
30
+ - Unlicense
31
+ metadata:
32
+ homepage_uri: https://github.com/asimov-modules
33
+ source_code_uri: https://github.com/asimov-modules/asimov-jq-module
34
+ changelog_uri: https://github.com/asimov-modules/asimov-jq-module/blob/master/CHANGES.md
35
+ bug_tracker_uri: https://github.com/asimov-modules/asimov-jq-module/issues
36
+ documentation_uri: https://github.com/asimov-modules/asimov-jq-module/blob/master/README.md
37
+ rdoc_options: []
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '3.0'
45
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ requirements: []
51
+ rubygems_version: 3.6.9
52
+ specification_version: 4
53
+ summary: ASIMOV module for JSON transformation using the jq filter language.
54
+ test_files: []