Sub-package of edman for cli applications and scripts.
Project description
Requirement
pymongo
python-dateutil
jmespath
edman
Scripts Usage
コマンドとしてインストールされます
{
"collectionA":[
{
"collectionB":{"data1":"value1"}
},
{
"collectionC:{
"data2":"value2",
"CollectionD":{
"data3":"value3",
"data4":"value4"
}
}
}
]
}
・型変換用のJSON例:
{
"コレクション名":{
"キー": "変更する型",
"キー2": "変更する型",
},
"コレクション名2":{
"キー": ["変更する型","変更する型"],
}
}
オプションなど詳しくは:
command_name -h
CONFIG FILE
各スクリプトからDBに接続するためには、DBの接続情報が書かれたファイルが必要です
[DB] # MongoDB default port 27017 port = 27017 # MongoDB server host host = 127.0.0.1 user = user_name password = user_password database = database_name options = ["authSource=authenticate_database_name"] # LDAP USER SETTINGS # options = ["authMechanism=PLAIN"]
上記の内容のファイル、db.iniを作成し、任意の場所に保存してください
DB内にユーザの情報がある場合はauthSourceのauthenticate_database_nameに DBの認証ユーザ名を、 LDAPにユーザ情報がある場合は”authMechanism=PLAIN”を利用してください (上記例はLDAPの場合)
各スクリプトのヘルプを参考にして、引数にこのファイルのパスを指定してください
Install
pip install:
pip install edman_cli
Licence
MIT
PyPI Project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edman_cli-2025.1.31.tar.gz.
File metadata
- Download URL: edman_cli-2025.1.31.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5eeca5052219f50cdc46e0d5be5095db199f3a16c662ede2cb5e8e3ae499ec2
|
|
| MD5 |
fc6aa8f09acedec3d525a922612ab421
|
|
| BLAKE2b-256 |
ce4d295c30b551c1a204f5c268a5d1c1c7fe177b8503a7b6048604a17c369fa5
|
File details
Details for the file edman_cli-2025.1.31-py3-none-any.whl.
File metadata
- Download URL: edman_cli-2025.1.31-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74b30fb702cc75e9446af3b8937cc67b31329c66b3e6124c88b061d6914bf7f9
|
|
| MD5 |
43dbb6c16737ce25a14179d26cec470e
|
|
| BLAKE2b-256 |
eaa978ad42922a4523448dc716cc581072518afdc1d43f79ff0a46b74243119a
|