项目背景
基于 Python 调用 Github 项目 variety 的脚本
variety 文件夹来源于该项目拷贝
版本:
目前已有的功能
1. 规整指定数据库集合的首层字段
如:
object1={'a':1,'b':2,'d':4}
object2={'a':1,'b':2,'c':3}
...
变更为:
object1={'a':1,'b':2,'c':'','d':4}
object2={'a':1,'b':2,'c':3,'d':''}
...
demo
from py_variety import formal_fields
db_name = 'db_name'
coll_name = 'coll_name'
new_name = 'new_name'
formal_fields(host='x.x.x.x', verify={'user': 'xxx', 'passwd': 'xxxxxx', 'authdb': 'xxxx'},
db_name=db_name, coll_name=coll_name,new_name=new_name)
Metadata
Release files for py-variety 0.1.0
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 |
|---|---|---|---|---|
| py_variety-0.1.0.tar.gz | 2.8 kB | Without provenance | Details for py_variety-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_variety-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for py_variety-0.1.0-py3-none-any.whl |
Total release size: 6.9 kB
Release files / py_variety-0.1.0.tar.gz
| Download URL | py_variety-0.1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fac5d95821243163b1da6b56dd1dbab70719aa1c2de91ec23130f12a73c68ae3
|
|
BLAKE2b-256 checksum How to use checksums |
4a90748620a14f929684b34245390ab639a464c0f53b5f8e3a23d9dde82215af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.5
|
Release files / py_variety-0.1.0-py3-none-any.whl
| Download URL | py_variety-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10bd7609520d83a73f0d3322593287f02e2e3ec6435460dbce92abddfc25fde6
|
|
BLAKE2b-256 checksum How to use checksums |
55ba886165d00250917fe5e7590c8d90d4f278405745f471c4d9d9015d5b03ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.5
|
Security for py-variety 0.1.0
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.