urlcache.py 0.0.0__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,83 @@
1
+ Metadata-Version: 2.4
2
+ Name: urlcache.py
3
+ Version: 0.0.0
4
+ Summary: URLcache is a deduplicating HTTP cache layered on top of Bitcache content-addressable storage.
5
+ Keywords:
6
+ Author: Arto Bendiken
7
+ Author-email: Arto Bendiken <arto@bendiken.net>
8
+ License-Expression: Unlicense
9
+ License-File: UNLICENSE
10
+ Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Intended Audience :: Information Technology
14
+ Classifier: License :: Public Domain
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: Topic :: Software Development :: Libraries
19
+ Requires-Dist: distrib-sh>=0.0.0 ; extra == 'dev'
20
+ Requires-Python: >=3.14
21
+ Project-URL: Homepage, https://github.com/artob/urlcache
22
+ Project-URL: Repository, https://github.com/artob/urlcache
23
+ Project-URL: Changelog, https://github.com/artob/urlcache/blob/master/CHANGES.md
24
+ Project-URL: Releases, https://github.com/artob/urlcache/releases
25
+ Project-URL: Issues, https://github.com/artob/urlcache/issues
26
+ Project-URL: Documentation, https://github.com/artob/urlcache/blob/master/python/README.md
27
+ Provides-Extra: dev
28
+ Description-Content-Type: text/markdown
29
+
30
+ # URLcache.py: URLcache for Python
31
+
32
+ [![License](https://img.shields.io/badge/license-Public%20Domain-blue.svg)](https://unlicense.org)
33
+ [![Compatibility](https://img.shields.io/badge/python-3.14%2B-blue)](https://endoflife.date/python)
34
+ [![Package on PyPI](https://img.shields.io/pypi/v/urlcache.py)](https://pypi.org/project/urlcache.py)
35
+
36
+ **URLcache is a deduplicating HTTP cache layered on top of Bitcache content-addressable storage.**
37
+
38
+ <sub>
39
+
40
+ [[Features](#-features)] |
41
+ [[Prerequisites](#%EF%B8%8F-prerequisites)] |
42
+ [[Installation](#%EF%B8%8F-installation)] |
43
+ [[Examples](#-examples)] |
44
+ [[Reference](#-reference)] |
45
+ [[Development](#%E2%80%8D-development)]
46
+
47
+ </sub>
48
+
49
+ <br/>
50
+
51
+ ## ✨ Features
52
+
53
+ - Available both as the command-line tool [`urlcache`] and as a polyglot library.
54
+ - Polyglot software also available for Dart, Ruby, Rust, and TypeScript.
55
+ - Cuts red tape: 100% free and unencumbered public domain software.
56
+
57
+ ## 🛠️ Prerequisites
58
+
59
+ - [Python] 3.14+
60
+
61
+ ## ⬇️ Installation
62
+
63
+ ## 👉 Examples
64
+
65
+ ## 📚 Reference
66
+
67
+ ## 👨‍💻 Development
68
+
69
+ ```bash
70
+ git clone https://github.com/artob/urlcache.git
71
+ ```
72
+
73
+ ---
74
+
75
+ [![Share on X](https://img.shields.io/badge/share%20on-x-03A9F4?logo=x)](https://x.com/intent/post?url=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache&text=URLcache)
76
+ [![Share on Reddit](https://img.shields.io/badge/share%20on-reddit-red?logo=reddit)](https://reddit.com/submit?url=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache&title=URLcache)
77
+ [![Share on Hacker News](https://img.shields.io/badge/share%20on-hn-orange?logo=ycombinator)](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache&t=URLcache)
78
+ [![Share on Facebook](https://img.shields.io/badge/share%20on-fb-1976D2?logo=facebook)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache)
79
+ [![Share on LinkedIn](https://img.shields.io/badge/share%20on-linkedin-3949AB?logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache)
80
+
81
+ [`urlcache`]: https://github.com/artob/urlcache#command-line-interface
82
+
83
+ [Python]: https://python.org
@@ -0,0 +1,54 @@
1
+ # URLcache.py: URLcache for Python
2
+
3
+ [![License](https://img.shields.io/badge/license-Public%20Domain-blue.svg)](https://unlicense.org)
4
+ [![Compatibility](https://img.shields.io/badge/python-3.14%2B-blue)](https://endoflife.date/python)
5
+ [![Package on PyPI](https://img.shields.io/pypi/v/urlcache.py)](https://pypi.org/project/urlcache.py)
6
+
7
+ **URLcache is a deduplicating HTTP cache layered on top of Bitcache content-addressable storage.**
8
+
9
+ <sub>
10
+
11
+ [[Features](#-features)] |
12
+ [[Prerequisites](#%EF%B8%8F-prerequisites)] |
13
+ [[Installation](#%EF%B8%8F-installation)] |
14
+ [[Examples](#-examples)] |
15
+ [[Reference](#-reference)] |
16
+ [[Development](#%E2%80%8D-development)]
17
+
18
+ </sub>
19
+
20
+ <br/>
21
+
22
+ ## ✨ Features
23
+
24
+ - Available both as the command-line tool [`urlcache`] and as a polyglot library.
25
+ - Polyglot software also available for Dart, Ruby, Rust, and TypeScript.
26
+ - Cuts red tape: 100% free and unencumbered public domain software.
27
+
28
+ ## 🛠️ Prerequisites
29
+
30
+ - [Python] 3.14+
31
+
32
+ ## ⬇️ Installation
33
+
34
+ ## 👉 Examples
35
+
36
+ ## 📚 Reference
37
+
38
+ ## 👨‍💻 Development
39
+
40
+ ```bash
41
+ git clone https://github.com/artob/urlcache.git
42
+ ```
43
+
44
+ ---
45
+
46
+ [![Share on X](https://img.shields.io/badge/share%20on-x-03A9F4?logo=x)](https://x.com/intent/post?url=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache&text=URLcache)
47
+ [![Share on Reddit](https://img.shields.io/badge/share%20on-reddit-red?logo=reddit)](https://reddit.com/submit?url=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache&title=URLcache)
48
+ [![Share on Hacker News](https://img.shields.io/badge/share%20on-hn-orange?logo=ycombinator)](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache&t=URLcache)
49
+ [![Share on Facebook](https://img.shields.io/badge/share%20on-fb-1976D2?logo=facebook)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache)
50
+ [![Share on LinkedIn](https://img.shields.io/badge/share%20on-linkedin-3949AB?logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fartob%2Furlcache)
51
+
52
+ [`urlcache`]: https://github.com/artob/urlcache#command-line-interface
53
+
54
+ [Python]: https://python.org
@@ -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/>
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = ["uv_build>=0.10.8,<0.13.0"]
3
+ build-backend = "uv_build"
4
+
5
+ [project]
6
+ name = "urlcache.py"
7
+ description = "URLcache is a deduplicating HTTP cache layered on top of Bitcache content-addressable storage."
8
+ readme = "README.md"
9
+ license = "Unlicense"
10
+ license-files = ["UNLICENSE"]
11
+ version = "0.0.0"
12
+ requires-python = ">=3.14"
13
+ dependencies = []
14
+ keywords = []
15
+ classifiers = [
16
+ "Development Status :: 2 - Pre-Alpha",
17
+ "Environment :: Console",
18
+ "Intended Audience :: Developers",
19
+ "Intended Audience :: Information Technology",
20
+ "License :: Public Domain",
21
+ "Natural Language :: English",
22
+ "Operating System :: OS Independent",
23
+ "Programming Language :: Python :: 3 :: Only",
24
+ "Topic :: Software Development :: Libraries",
25
+ ]
26
+
27
+ [[project.authors]]
28
+ name = "Arto Bendiken"
29
+ email = "arto@bendiken.net"
30
+
31
+ [project.optional-dependencies]
32
+ dev = ["distrib.sh>=0.0.0"]
33
+
34
+ [project.urls]
35
+ Homepage = "https://github.com/artob/urlcache"
36
+ Repository = "https://github.com/artob/urlcache"
37
+ Changelog = "https://github.com/artob/urlcache/blob/master/CHANGES.md"
38
+ Releases = "https://github.com/artob/urlcache/releases"
39
+ Issues = "https://github.com/artob/urlcache/issues"
40
+ Documentation = "https://github.com/artob/urlcache/blob/master/python/README.md"
41
+
42
+ [tool.uv.build-backend]
43
+ module-name = "urlcache"
@@ -0,0 +1,45 @@
1
+ # See: https://packaging.python.org/en/latest/tutorials/packaging-projects/
2
+ # See: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
3
+
4
+ [build-system]
5
+ requires = ["uv_build>=0.10.8,<0.13.0"]
6
+ build-backend = "uv_build"
7
+
8
+ [project]
9
+ name = "urlcache.py"
10
+ description = "URLcache is a deduplicating HTTP cache layered on top of Bitcache content-addressable storage."
11
+ readme = "README.md"
12
+ authors = [{ name = "Arto Bendiken", email = "arto@bendiken.net" }]
13
+ license = "Unlicense"
14
+ license-files = ["UNLICENSE"]
15
+ version = "0.0.0"
16
+
17
+ requires-python = ">=3.14"
18
+ dependencies = []
19
+
20
+ keywords = []
21
+ classifiers = [
22
+ "Development Status :: 2 - Pre-Alpha",
23
+ "Environment :: Console",
24
+ "Intended Audience :: Developers",
25
+ "Intended Audience :: Information Technology",
26
+ "License :: Public Domain",
27
+ "Natural Language :: English",
28
+ "Operating System :: OS Independent",
29
+ "Programming Language :: Python :: 3 :: Only",
30
+ "Topic :: Software Development :: Libraries",
31
+ ]
32
+
33
+ [project.optional-dependencies]
34
+ dev = ["distrib.sh>=0.0.0"]
35
+
36
+ [project.urls]
37
+ Homepage = "https://github.com/artob/urlcache"
38
+ Repository = "https://github.com/artob/urlcache"
39
+ Changelog = "https://github.com/artob/urlcache/blob/master/CHANGES.md"
40
+ Releases = "https://github.com/artob/urlcache/releases"
41
+ Issues = "https://github.com/artob/urlcache/issues"
42
+ Documentation = "https://github.com/artob/urlcache/blob/master/python/README.md"
43
+
44
+ [tool.uv.build-backend]
45
+ module-name = "urlcache"
@@ -0,0 +1,10 @@
1
+ # This is free and unencumbered software released into the public domain.
2
+
3
+ import importlib.metadata
4
+
5
+ try:
6
+ __version__ = importlib.metadata.version("urlcache")
7
+ except importlib.metadata.PackageNotFoundError:
8
+ # This acts as a fallback if the code is being run directly
9
+ # without having been installed first (e.g., local development):
10
+ __version__ = "unknown"