virtual-staging-url-tools 0.1.1

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: da95a29ca7722a4c13cf47c2f4f4f5bc23c423e00615639376a347ba2f716cc0
4
+ data.tar.gz: 5276e15f685f870b435bd0c5d93cbecac1534ed7b0ae9132875c02f809f64a1c
5
+ SHA512:
6
+ metadata.gz: 7902bd1af625b3f5dd57652fba7ef905d327a6a04181f5b61469061b1c902c9fb7b21a61179951104fb5fc8a23f16dda41e74806b4df36d8d25ac084c50e3bd9
7
+ data.tar.gz: 03a7ab87effb39431e3da4aa1fd2785e3285806f763a0ad59278badfce10e5fdb91831188ef7155e65d0df8507ad32e1a72390c3808a47cc9040cc0c367953f1
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 bbwdadfg
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # virtual-staging-url-tools
2
+
3
+ `virtual-staging-url-tools` builds canonical HTTPS URLs for [Virtual Staging](https://virtual-staging.app/).
4
+
5
+ Offline URL builder for Virtual Staging tool pages and rental-listing guides. Not an official SDK.
6
+
7
+ The helper only concatenates known page slugs. It does not call the site, upload files, or sign in.
8
+
9
+ ## JavaScript
10
+
11
+ ```js
12
+ import { toolUrl, guideUrl } from 'virtual-staging-url-tools';
13
+
14
+ toolUrl('ai-staging'); // https://virtual-staging.app/tools/ai-staging
15
+ guideUrl('compliance'); // https://virtual-staging.app/compliance
16
+ ```
17
+
18
+ ## Python
19
+
20
+ ```python
21
+ from virtual_staging_url_tools import tool_url, guide_url
22
+
23
+ tool_url('ai-staging') # https://virtual-staging.app/tools/ai-staging
24
+ guide_url('compliance') # https://virtual-staging.app/compliance
25
+ ```
26
+
27
+ The repository also contains equivalent Rust, PHP, and Go helpers, plus a small command that prints the same URLs.
28
+
29
+ Source: https://github.com/bbwdadfg/virtual-staging-url-tools
30
+
31
+ License: MIT.
@@ -0,0 +1,24 @@
1
+ module VirtualStagingUrlTools
2
+ BASE = "https://virtual-staging.app"
3
+ PAGES = { }
4
+ def self.home_url
5
+ BASE + "/"
6
+ end
7
+
8
+ def self.page_url(name)
9
+ path = PAGES[name]
10
+ raise ArgumentError, "unknown page: #{name}" if path.nil?
11
+ BASE + path
12
+ end
13
+
14
+ def self.tool_url(slug)
15
+ allowed = ["ai-staging", "furniture-removal", "short-video", "multilingual", "cg-annotation", "aozora"]
16
+ raise ArgumentError, "unknown tool_url: #{slug}" unless allowed.include?(slug)
17
+ BASE + "/tools/" + slug + ""
18
+ end
19
+ def self.guide_url(slug)
20
+ allowed = ["compliance", "homestaging", "akushitsu-taisaku", "pricing", "blog", "features"]
21
+ raise ArgumentError, "unknown guide_url: #{slug}" unless allowed.include?(slug)
22
+ BASE + "/" + slug + ""
23
+ end
24
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: virtual-staging-url-tools
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - bbwdadfg
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: Offline URL builder for Virtual Staging tool pages and rental-listing
13
+ guides. Not an official SDK.
14
+ executables: []
15
+ extensions: []
16
+ extra_rdoc_files: []
17
+ files:
18
+ - LICENSE
19
+ - README.md
20
+ - ruby/lib/virtual_staging_url_tools.rb
21
+ homepage: https://virtual-staging.app/
22
+ licenses:
23
+ - MIT
24
+ metadata:
25
+ homepage_uri: https://virtual-staging.app/
26
+ source_code_uri: https://github.com/wangneo276-lgtm/virtual-staging-url-tools
27
+ rdoc_options: []
28
+ require_paths:
29
+ - ruby/lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubygems_version: 4.0.11
42
+ specification_version: 4
43
+ summary: Offline URL helpers for Virtual Staging
44
+ test_files: []