swanlabs 0.0.1__tar.gz

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.
@@ -0,0 +1,33 @@
1
+ .venv/
2
+ __pycache__/
3
+ *.pyc
4
+ .pytest_cache/
5
+ *.egg-info/
6
+ dist/
7
+ build/
8
+ .private_keys/
9
+ .verilock_private/
10
+ **/.verilock_private/
11
+ .authority_private/
12
+ **/.authority_private/
13
+ .custodian_private/
14
+ **/.custodian_private/
15
+ native/bin/
16
+ native/*/bin/
17
+ verilock_go_verifier/bin/
18
+ engines/julia/docs/build/
19
+ node_modules/
20
+ **/node_modules/
21
+ .astro/
22
+ **/.astro/
23
+ dist/
24
+ **/dist/
25
+ .env
26
+ .env.*
27
+ !.env.example
28
+ test-results/
29
+ playwright-report/
30
+ .DS_Store
31
+ formal/proofs/.lake/
32
+ .cloudflare/
33
+ **/.cloudflare/
swanlabs-0.0.1/LICENSE ADDED
@@ -0,0 +1,17 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ Copyright 2026 Swan Labs, LLC
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.5
2
+ Name: swanlabs
3
+ Version: 0.0.1
4
+ Summary: Official public Python package and verification metadata utilities for Swan Labs, LLC (https://swanlabs.si).
5
+ Project-URL: Homepage, https://swanlabs.si
6
+ Project-URL: Documentation, https://swanlabs.si
7
+ Project-URL: Support, https://swanlabs.si/#contact
8
+ Author-email: "Swan Labs, LLC" <info@swanlabs.si>
9
+ License-Expression: Apache-2.0
10
+ License-File: LICENSE
11
+ Keywords: benchmarks,mathematics,reproducibility,swanlabs,verification
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: License :: OSI Approved :: Apache Software License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Typing :: Typed
22
+ Requires-Python: >=3.10
23
+ Description-Content-Type: text/markdown
24
+
25
+ # swanlabs
26
+
27
+ Official public Python package for **Swan Labs, LLC** (<https://swanlabs.si>) — applied mathematics, formal verification, and software engineering R&D.
28
+
29
+ ## Installation
30
+
31
+ ```bash
32
+ pip install swanlabs
33
+ ```
34
+
35
+ ## Quickstart
36
+
37
+ ```python
38
+ import swanlabs
39
+
40
+ print(swanlabs.__version__)
41
+ print(swanlabs.ORGANIZATION)
42
+ ```
43
+
44
+ ## Contact & Licensing
45
+
46
+ - **Website:** <https://swanlabs.si>
47
+ - **General & Developer Support:** `info@swanlabs.si`
48
+ - **Partnerships & Commercial Licensing:** `partnerships@swanlabs.si`
49
+ - **Public Package License:** Apache-2.0
@@ -0,0 +1,25 @@
1
+ # swanlabs
2
+
3
+ Official public Python package for **Swan Labs, LLC** (<https://swanlabs.si>) — applied mathematics, formal verification, and software engineering R&D.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install swanlabs
9
+ ```
10
+
11
+ ## Quickstart
12
+
13
+ ```python
14
+ import swanlabs
15
+
16
+ print(swanlabs.__version__)
17
+ print(swanlabs.ORGANIZATION)
18
+ ```
19
+
20
+ ## Contact & Licensing
21
+
22
+ - **Website:** <https://swanlabs.si>
23
+ - **General & Developer Support:** `info@swanlabs.si`
24
+ - **Partnerships & Commercial Licensing:** `partnerships@swanlabs.si`
25
+ - **Public Package License:** Apache-2.0
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "swanlabs"
7
+ version = "0.0.1"
8
+ description = "Official public Python package and verification metadata utilities for Swan Labs, LLC (https://swanlabs.si)."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "Apache-2.0"
12
+ authors = [
13
+ { name = "Swan Labs, LLC", email = "info@swanlabs.si" }
14
+ ]
15
+ keywords = ["swanlabs", "verification", "mathematics", "benchmarks", "reproducibility"]
16
+ classifiers = [
17
+ "Development Status :: 3 - Alpha",
18
+ "Intended Audience :: Science/Research",
19
+ "Intended Audience :: Developers",
20
+ "License :: OSI Approved :: Apache Software License",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3.10",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ "Programming Language :: Python :: 3.13",
26
+ "Typing :: Typed",
27
+ ]
28
+
29
+ [project.urls]
30
+ Homepage = "https://swanlabs.si"
31
+ Documentation = "https://swanlabs.si"
32
+ Support = "https://swanlabs.si/#contact"
@@ -0,0 +1,43 @@
1
+ """Official public Python package for Swan Labs, LLC (https://swanlabs.si)."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from dataclasses import dataclass
6
+ import json
7
+ import urllib.request
8
+ from typing import Any
9
+
10
+ __version__ = "0.0.1"
11
+ __all__ = ["__version__", "OrganizationMetadata", "ORGANIZATION", "fetch_public_status"]
12
+
13
+
14
+ @dataclass(frozen=True)
15
+ class OrganizationMetadata:
16
+ """Public corporate metadata for Swan Labs, LLC."""
17
+
18
+ legal_name: str
19
+ website: str
20
+ support_email: str
21
+ partnerships_email: str
22
+
23
+
24
+ ORGANIZATION = OrganizationMetadata(
25
+ legal_name="Swan Labs, LLC",
26
+ website="https://swanlabs.si",
27
+ support_email="info@swanlabs.si",
28
+ partnerships_email="partnerships@swanlabs.si",
29
+ )
30
+
31
+
32
+ def fetch_public_status(endpoint: str = "https://swanlabs.si", timeout: float = 10.0) -> dict[str, Any]:
33
+ """Check reachability of a public Swan Labs endpoint."""
34
+ req = urllib.request.Request(
35
+ endpoint,
36
+ headers={"User-Agent": f"swanlabs-python/{__version__}"},
37
+ )
38
+ with urllib.request.urlopen(req, timeout=timeout) as resp:
39
+ ctype = resp.headers.get("Content-Type", "")
40
+ raw = resp.read().decode("utf-8", errors="replace")
41
+ if "application/json" in ctype:
42
+ return json.loads(raw)
43
+ return {"ok": resp.status == 200, "status_code": resp.status, "url": endpoint}
File without changes