本程序由chenxi开发,csdn:https://blog.csdn.net/chenxi1412 遵从GPL协议,github:https://github.com/zhangjiahuichenxi/propertiesio 使用实例: #1.新建文件
import propertiesio
propertiesio.new_properties("文件路径")
#2.创建对象
import propertiesio
对象 = propertiesio.new("文件路径")
#3.判断文件是否为properties
import propertiesio
propertiesio.is_properties("文件路径")
#4.读取
import propertiesio
对象 = propertiesio.new("文件路径")
propertiesio.get(对象,"yourkey")
#5.判断key是否存在
import propertiesio
对象 = propertiesio.new("文件路径")
propertiesio.has(对象,"yourkey")
#6.写入
import propertiesio
对象 = propertiesio.new("文件路径")
propertiesio.put(对象,"yourkey",“值”)
Metadata
Release files for propertiesio 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| propertiesio-0.0.2.tar.gz | 14.4 kB | Without provenance | Details for propertiesio-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| propertiesio-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for propertiesio-0.0.2-py3-none-any.whl |
Total release size: 29.0 kB
Release files / propertiesio-0.0.2.tar.gz
| Download URL | propertiesio-0.0.2.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
651af460fbd2c376112afcee6224f702e35b0fa55f193252914c2972a0bdcfe7
|
|
BLAKE2b-256 checksum How to use checksums |
f68b5e045d0bc46ff139f8524236c2efc792c58ad39bcad6abb8e225e616e92e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Release files / propertiesio-0.0.2-py3-none-any.whl
| Download URL | propertiesio-0.0.2-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2ef1738478718cd49010f76d63de2be57943e9e8d9061ab138f7c6dcda46492
|
|
BLAKE2b-256 checksum How to use checksums |
d16fef864ff37dc6e0d35ecc5736c36ab2c755e975614b88e55602f55e5dd9fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Security for propertiesio 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.