charmlibs-pathops 0.0.0__py3-none-any.whl
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.
- charmlibs/pathops/__init__.py +54 -0
- charmlibs/pathops/_constants.py +31 -0
- charmlibs/pathops/_container_path.py +758 -0
- charmlibs/pathops/_errors.py +120 -0
- charmlibs/pathops/_fileinfo.py +97 -0
- charmlibs/pathops/_functions.py +104 -0
- charmlibs/pathops/_local_path.py +224 -0
- charmlibs/pathops/_types.py +721 -0
- charmlibs/pathops/_version.txt +1 -0
- charmlibs/pathops/py.typed +0 -0
- charmlibs_pathops-0.0.0.dist-info/METADATA +27 -0
- charmlibs_pathops-0.0.0.dist-info/RECORD +14 -0
- charmlibs_pathops-0.0.0.dist-info/WHEEL +5 -0
- charmlibs_pathops-0.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.0.0
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: charmlibs-pathops
|
|
3
|
+
Version: 0.0.0
|
|
4
|
+
Summary: A pathlib-like interface for Juju K8s charms to interact with files in their workload container.
|
|
5
|
+
Author: The Charm Tech team at Canonical Ltd.
|
|
6
|
+
Project-URL: Repository, https://github.com/canonical/charmtech-charmlibs
|
|
7
|
+
Project-URL: Issues, https://github.com/canonical/charmtech-charmlibs/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: ops~=2.19
|
|
16
|
+
|
|
17
|
+
# charmlibs-pathops
|
|
18
|
+
|
|
19
|
+
`pathops` provides a `pathlib`-like interface for local filesystem and workload container paths for Juju Charms.
|
|
20
|
+
|
|
21
|
+
To install, add `charmlibs-pathops` to your requirements. Then in your Python code, import as:
|
|
22
|
+
|
|
23
|
+
```py
|
|
24
|
+
from charmlibs import pathops
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Check out the reference docs [here](https://canonical-charmlibs.readthedocs-hosted.com/reference/pathops/).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
charmlibs/pathops/__init__.py,sha256=uhyzufYVNUu2o_DG6Ryh34Kj_HVDrfOBCSKmMC8J2gw,2263
|
|
2
|
+
charmlibs/pathops/_constants.py,sha256=oXQ8imbw3mQ-NEfq7c8WkRVs14boL4QTukZtfLqZ5o8,1068
|
|
3
|
+
charmlibs/pathops/_container_path.py,sha256=175IqZNwAtVAYJZ5NL5VI_Mxz6Q8409jd6Tmq1hcBz8,32187
|
|
4
|
+
charmlibs/pathops/_errors.py,sha256=QyfZW4u0rwYfov19HPcN9GraD6pqtskHTeRhzC1kEII,4437
|
|
5
|
+
charmlibs/pathops/_fileinfo.py,sha256=CVvA8SUbFjw8IZusSaCtQQVTemPsxyKJ2cPt7MSiXVo,3609
|
|
6
|
+
charmlibs/pathops/_functions.py,sha256=Y2sjGp6aczeI9ym57r4lZuZ4tDfhS6-39E8d1QW9i5Q,3767
|
|
7
|
+
charmlibs/pathops/_local_path.py,sha256=nFcsbnIBTVvKPOJOTrkPdHLAGHu0zr3uQmpKKeKnhZs,10351
|
|
8
|
+
charmlibs/pathops/_types.py,sha256=a8SUDurqrXJ-uNxC2wtsAc63ZKX4yNs_X-gMofrwM6I,29045
|
|
9
|
+
charmlibs/pathops/_version.txt,sha256=96-QLu-4nzoiFteYB4KUu5J-ccZLrXBVH4Dv-r03WHU,6
|
|
10
|
+
charmlibs/pathops/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
charmlibs_pathops-0.0.0.dist-info/METADATA,sha256=RNDbsrKGYa3cjPMGZSTmWbw6MUtpSlnm5dnHJGWWzqM,1078
|
|
12
|
+
charmlibs_pathops-0.0.0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
13
|
+
charmlibs_pathops-0.0.0.dist-info/top_level.txt,sha256=6HFUi3bM4JrNV8ts9jmtxLumOQBgsSLOeXu3abbni9M,10
|
|
14
|
+
charmlibs_pathops-0.0.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
charmlibs
|