Saravanan666/pypi-org huggingface dataset:
Package: ezcord
An easy-to-use extension forDiscord.pyandPycordwith some utility functions.Features✏️ Reduce boilerplate codeEasy cog managementEmbed templatesDatetime and file utilitiesWrapper foraiosqlite✨ Error handlingAutomatic error handling for slash commandsError webhook reportsCustom logging⚙️ ExtensionsHelp command- Automatically generate a help command for your botStatus changer- Change the bot's status in an intervalBlacklist- Block users from using your botInstallingPython 3.9 or higher is required.pip install ezcordYou can also install the latest version from GitHub. Note that this version may be unstable
and requiresgitto be installed.pip install git+https://github.com/tibue99/ezcordIf you need the latest version in yourrequirements.txtfile, you can add this line:ezcord @ git+https://github.com/tibue99/ezcordUseful LinksDocumentation|Getting startedPycord|Discord.pyPyPiExamplesFor more examples, see theexample repositoryor thesample code.Note:It's recommended toload the tokenfrom a.envfile instead of hardcoding it.
EzCord can automatically load the token if aTOKENvariable is present in the.envfile.Pycordimportezcordimportdiscordbot=ezcord.Bot(intents=discord.Intents.default())if__name__=="__main__":bot.load_cogs("cogs")# Load all cogs in the "cogs" folderbot.run("TOKEN")Discord.pyimportasyncioimportdiscordimportezcordclassBot(ezcord.Bot):def__init__(self):super().__init__(intents=discord.Intents.default())asyncdefsetup_hook(self):awaitsuper().setup_hook()awaitself.tree.sync()asyncdefmain():asyncwithBot()asbot:bot.add_help_command()bot.load_cogs("cogs")# Load all cogs in the "cogs" folderawaitbot.start("TOKEN")if__name__=="__main__":asyncio.run(main())ContributingI am always happy to receive contributions. Here is how to do it:Fork this repositoryMake changesCreate a pull requestYou can alsocreate an issueif you find any bugs.
Package: ezcrowdcount
CrowdCounting Made Easy 🤓 with  CNN-based Cascaded Multi-taskThis is a packaging implementation of the paperCNN-based Cascaded Multi-task Learning of High-level Prior and Density Estimation for Crowd Countingfor single image crowd counting which is accepted atAVSS 2017The package is compatible with all operating systems, provides a staggering fast and accurate prediction. It achieves a min of 20 fps on a 6 core intel cpu.InstallationpipinstallezcrowdcountUsageTo run inference on your favorite image/video simply run the following on your terminal/console:crowdcount--modevideo--path/path/to/video"""mode (str): Whether to run prediction on video or imagepath (str | int): Path to video or image. It can be an index to a camera feed, or a URL also. (Default = 0)."""The inference will run on your GPU (if available), and will be viewed right in front of you 👀
Also, the number of people during each frame will be printed on your console/terminal.DemoInput Image:Result Image:Number of people: 165.8 🎉
Package: ez-crypt-tool
EZ Crypt Tool for PythonCreate and used encryption keys to encrypt any sensitive information used for your application.  Can be used by command line, in environment variables, within Python code as a module.  Simplies the process and makes it easy to kep sensative information safe.OperationsInstallpipinstallez-crypt-toolUSEez_crypt_toolOptionDescription--genkeyGenerates a key, that can be used for encryption and decryption.--genkeyfileWill generate a key and put it in the DEFAULT_KEY_FILE: ~/.ezcrypt/.ezcrypt.key.--keyfile:Is supplied, will be used for Fernet key.--encrypt:Uses the key in the KEY_FILES to encrypt a clear text string.--decryptUses the key in the KEY_FILES to decrypt a cipher string.KEY_FILES: ['.ezcrypt.key', './conf/.ezcrypt.key', '~/.ezcrypt/.ezcrypt.key']
ENV: Environment can be used, skipping key file.  Example: export EZCRYPT_KEY=Step 1:  Generate Key or Key Fileez_crypt_tool --genkeyNQYiJixqOhkFWOESyttUvP4ChIcNehpTiyXMGA0eifA=orez_crypt_tool --genkeyfileNQYiJixqOhkFWOESyttUvP4ChIcNehpTiyXMGA0eifA=Step 2:  Place key in filePlace the key into the ezcrypt.key file, then put the file in one of the 3 locations listed above in KEY_FILES.Step 3: Use command to encrypt passwordez_crypt_tool --encrypt mypasswordEncrypted:gAAAAABi6DbHCEwLiKHIrolX_oUGA9k-3RjB08-5VW0-lg4FdvGgsiwe1HriMkhLfWRFnMJsbJRvmpULEHbu2Q_EQbFDWaPBxA==Step 4: Store encrypted passwordPlace encrypted password in configuration file that can be retrieved by the application.See example under ./sandbox directory.NotesA prefix of "fenc:" can be prepended to key, to denote encrypted string.  Not required.This project uses an example example test key.The key file [.ezcrypt.key] is in the conf directory.Its only for this example and can be used by others to decyrpt your informaiton.!!! DO NOT REUSE THE INCLUDED KEY !!!
GENERATE A NEW KEY BEFORE USING EzCryptTool in your environmentPrerequisites  (IMPORTANT)Python 3.8.x or greaterPIP 20.x or greatervirtualenv 20.14.x or greaterCode ExamplesEzCryptTool Python Code# Import EzCryptfromez_crypt_tool.ez_crypt_toolimportEzCryptTool# Initialize the EzCryptToolezc=EzCryptTool.get_instance()# Starting with clear text stringclear_text_pw="MyCoolPassword"print(f"Clear Text:{clear_text_pw}")# Encrypting the stringcrypted_password=ezc.encrypt(clear_text_pw)print(f"Encrypted:{password}")# decrypting the stringclear_text_pw=ezc.decrypt(crypted_password)print(f"Decrypted:{clear_text_pw}")OutputClear Text: MyCoolPasswordEncrypted: fenc:gAAAAABjk4vdeenLsvEp_WXKCD_pw2a0oNaSI11l-5WLIdAJH4X579N8GOyYHefEPeR03yJymwoViqba9jBWucKHc4ffoev7Eyyn3O7wx3LmyUqRznut8Cw=Decrypted: MyCoolPasswordInfo and HistoryHistoryInitial uploadTODOAdd generate encryption fileAdd code examples in readmeAuthordamonb123@outlook.comLicenseCopyright © 2023,damonb123.
Released under theAPACHE-2.0.
Package: ezcsv
# EZCSVSome utility functions to do the obvious things you want to do with CSV files.`csv` is easy, this is EZ.Install it: `pip install ezcsv`Definitely works with Python 3+.It's on it's way towards compatability with Python 2.6+.It's hard to say anything about it difinitively because there are no tests.Please see "Contributing" below.## Reference#### `read_dicts(file_path)`Returns the data at `file_path` as a list of dicts.- **`file_path`** `string | Path`#### `read_lists(file_path)`Returns the data at `file_path` as a list of lists. Ignores blank lines.- **`file_path`** `string | Path`Example Usage:```>>> from easycsv import csv_as_list>>> filepath = 'C:\\path\\to\\file.csv'>>> print(filepath)C:\path\to\file.csv>>> l = csv_as_list(filepath)>>> print(l[0])First,Line,Of,File,Prints,Here```#### `write_dicts(data, csv_path, mkdir=False, silent_fail=False, fieldnames=None, encoding='utf-8', **kwargs)`Writes the input data to a CSV fileAlways produces a Unix-style CSV file, regardless of whether onWindows or not.- **`data`** `list[dict]`One dict per line. The first dict is expected to contain all of thekeys that will form the header line, unless `fieldnames` is provided.- **`csv_path`** `string | Path`Should have a .csv extension. `mkdir` will malfunction if it doesn't.- **`mkdir`** `bool`If true, creates the directory tree leading up to `csv_path`, ignoringif directories already exist. Default: `False`- **`silent_fail`**: `bool`If `true`, causes the method to do nothing if `data` happensto be empty. Default: `False`- **`fieldnames`**: `list[str]`If set, provides the list of field names to be passed to `csv.DictWriter`.These are written as the header, regardless of what keys are present inthe first dict in `data`. Default: `None`- **`encoding`**: `str`The encoding to write with. Default: 'utf-8'- **`kwargs`**: `dict`Passed on to `csv.DictWriter`. Cannot include `fieldnames`.#### `write_lists(data, csv_path, mkdir=False)`Writes the input data to a CSV fileAlways produces a Unix-style CSV file, regardless of whether onWindows or not.- **`data`** `list[list]`- **`csv_path`** `string | Path`Should have a .csv extension. `mkdir` will malfunction if it doesn't.- **`mkdir`** `bool`If true, creates the directory tree leading up to `csv_path`, ignoringif directories already exist.## ContributingThis could really use some tests!Feel free to fork and open a pull request. Please, one pull request perfunctional change.
Package: ezcurses
library to help with curses programming (Python 3.3+ compatible)InstallationFrom the project root directory:$ python setup.py installUsageThe easiest method is to just decorate your function, and use the injectedscrargument:from time import sleep
from ezcurses import curse

@curse
def main(scr, message_string):
    w, h = scr.max_size()
    scr.write(message_string, pos=(w // 2, h // 2))
    scr.refresh()
    sleep(1)

if __name__ == '__main__':
    main('Hello world!')You can also use the Cursed context manager.
Here’s an example with windows with backgrounds and borders and colors:from ezcurses import Cursed

with Cursed() as scr:
    w, h = scr.max_size()
    win1 = scr.new_win(orig=(0, 0), size=(20, 20))
    win2 = scr.new_win(orig=(20, 0), size=(20, 20))
    win1.border()
    win2.border()
    win1.background('+', color='red')
    win2.background('.', color=('green', 'blue'))
    win1.refresh()
    win2.refresh()
    s = win1.getstr((1, 1), echo=True)
    win2.write(s, (1, 1), color=('red', 'black'))
    win2.refresh()
    win1.write('Press q to quit', (1, 1), color=('black', 'red'))
    while win1.getkey() != 'q':
        passRelease Notes0.2.12:Add windows support with unicurses0.2.11:Readme example was bad0.2.10:Add multi_menu feature for selections spanning a screen0.2.9:Rename _msgs to Menu.items0.2.8:Much more intricate menu logic and new multi_menu.py example0.2.7:Fix menu origin in windows bug0.2.6:Make layout creatable withScreen.new_layout(border=True)0.2.5:Add Layout feature for bootstrap like rows and columns0.2.4:Add Menu functionality and an example in examples/menu_example.py0.2.3:make it much more tolerable for floats, if user does math stuff0.2.2:addcursedecoratorrename main context manager toCursed0.2.1:fixed a few bugs in window without size0.2.0:lots of clean up and testing, fix README0.1.2:Make positional optional and a keywordposfor thegetstrfunctionAdd documentation to API0.1.1:Make position optional forwriteand default (0, 0) like other funcs0.1.0:New features for curses windowsget input, string and charactersadd strings with colors to the windowadd bordersdraw lineschange backgroundvery functional as is0.0.1:Project created
Package: ezcx
Troubleshooting assistancehttps://packaging.python.org/en/latest/tutorials/packaging-projects/https://twine.readthedocs.io/en/stable/Adding scripts in pyproject.tomlhttps://packaging.python.org/en/latest/guides/writing-pyproject-toml/#creating-executable-scriptsPre-release tagging guidehttps://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#choosing-a-versioning-scheme
Package: ezdatabase
ezdatabaseMaking Databases easierEzDatabase is a simple Database Wrapper for Python! Inspired by Repl.it Database!
It can be used like a Python ListFeaturesWorks with a Key / Value SystemCan store strings, numbers, booleans, bytesCode ExamplesInitialize Databasefromezdatabaseimportdbdatabase=db("MyDatabase.db")# Returns NoneSet / Update Value of a Key# Arguments: key_name, key_valuedatabase["User1"]={"age":10,"name":"John"}database["21398"]="10,30 EUR"database["online"]=True# Returns True on SuccessRead the Value of a Keyvalue=database["User1"]# Returns the Value of a KeyDelete a Keydeldatabase["User1"]# Returns True on Successful removal of the KeyIterate through the Keys of the Databaseforxindatabase:print(x)Change Log1.6 (02/12/2021)Usage UpdatedMade Database IterableDocumentation Updated
Package: ezdbg
ezdbg下の方に日本語の説明がありますOvervieweasy func debug tooldescription is under constructionUsagerecording (record arguments of the target function)importezdbg@ezdbg.recdeffunc(x):returnx**2func(17)unit test of the function (Only the function is executed.)importezdbg@ezdbg.test# 【！】REWRITE HEREdeffunc(x):returnx**2func(17)概要python関数を簡単にデバッグできるツール説明は執筆中です使い方記録時 (関数の引数を記録)importezdbg@ezdbg.recdeffunc(x):returnx**2func(17)関数単体テスト時 (その関数のみが実行される)importezdbg@ezdbg.test# 【！】ここを書き換えるdeffunc(x):returnx**2func(17)
Package: ezdea
Ezdea promove facilidade ao usar DEA com PythonComo usar:# crie a situação a ser analisada. No nosso caso será a seguinte matriz:fromezdeaimportDEAimportpandasaspdmatriz=[[20,151,100,90],[19,131,150,50],[25,160,160,55],[27,168,180,72],[22,158,94,66],[55,255,230,90],[33,235,220,88],[31,206,152,80],[30,244,290,100],[50,268,250,100],[53,306,262,147],[38,284,250,120]]# declare as entradas e saídas do problemanumero_inputs=2numero_outputs=2# instancie o cenáriocenario=DEA(matriz,numero_inputs,numero_outputs)resultado_bcc=cenario.bcc_dual_input(matrix=True)# matrix = True força que o retorno seja matriz e não jsondf_bcc_dual=pd.DataFrame(resultado_bcc)print(df_bcc_dual)metas=cenario.calcular_metas(resultado_bcc)df_metas=pd.DataFrame(metas)print(df_metas)Lista de métodos:DEA.ccr_primal_input(matrix=False)DEA.ccr_primal_output(matrix=False)DEA.ccr_dual_input(matrix=False)DEA.ccr_dual_output(matrix=False)DEA.bcc_primal_input(matrix=False)DEA.bcc_primal_output(matrix=False)DEA.bcc_dual_input(matrix=False)DEA.bcc_dual_output(matrix=False)DEA.calcular_metas(matriz_dual)próximo passo: subir para o PyPi
Package: ezdeps
easy-depsPackage manager for python based onpip3Solve the main problem of pip -fuckinghorrible deps.Just try it, and you will understand it.All your project config and deps will store in.ezdeps.jsonlike this:{
    "name": "ezdeps",
    "version": "1.0.4",
    "description": "Package manager for python",
    "documentation_path": "./README.md",
    "author": {
        "name": "Vitaly Kisel <jellyb0y>",
        "email": "kisel@internet.ru"
    },
    "scripts": [
        "./scripts/ezdeps"
    ],
    "dependencies": {
        "pip": "^20.0.0",
        "wheel": "0.36.2",
        "twine": "3.4.1"
    },
    "dev_dependencies": {},
    "python_requires": ">=3.8",
    "classifiers": [
        "Programming Language :: Python :: 3.8",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent"
    ],
    "include_package_data": true
}You don't more need usesetuptools, it is already in it.installInstall package:pip install ezdepsUsageCommon usage:ezdeps <command> [options] [packages]Commands:install- Install packagesoptions:<-S | --default>? [packages, ...]Install packages to default dependencies<-D | --development> [packages, ...]Install packages to dev_dependencies<-A | --all>Install packages from dependency list.ezdeps.jsonuninstall- Uninstall packagesoptions:[packages, ...]Uninstall packages from depsupdate- Update packagesoptions:[packages, ...]Update packages in depsbuild- Build packagepublish- Publish packagesoptions:<-C | --clear>Clear temp files after publishing<-R | --repository>Set up repository name in your.ezdepsrc<--repository-url> [url]Set up repository url<--username> [username]Set up registry username<--password> [password]Set up registry passwordCommon options:
-<-J | --without-json>Do not write json fileUsing.ezdepsrcTo store your keys and tokens you have to create~/.ezdepsrcfile:[gitlab.com]
USER=myuser # Test user for gitlab regitsry
PASSWORD=topsecret # Test passwd for gitlab regitsry

[github.com]
USER=myuser # Test user for github regitsry
PASSWORD=topsecret # Test passwd for github regitsry
REPOSITORY_URL=https://example.com/ # regitsry url for github (optional)
REPOSITORY_NAME=github # regitsry name (optional) to rewrite `github.com` to `github`
e (optional) to rewrite `github.com` to `github`
Package: ezdict
EZDictMaking Python'sdicteasier to work with by adding object notation and grouping.Allows keys to be accessed as attributes, soezdict.attrcan be used instead ofezdict["attr"]. Note, this only works with string keys. Additionally, any
keys that overlap with method names will be shadowed, so to access the keykeys,
useezdict["keys"]instead ofezdict.keys.Provide two methods,incrementerandappender, to support the common operations
of counting the occurrences of a key and grouping values by a key, respectively.Installationpip install ezdictImportfromezdictimportEZDictUsageAccessing Keys as AttributesfromezdictimportEZDictez=EZDict({"id":"5e2797c05aa0585816ce8b8c","title":"EZDict","description":"Super cool Python package","author":"Jacob Morris (BlendingJake)","meta":{"created":"March 27th, 2020"}})print(ez.title)# >>> "EZDict"print(ez.meta.created)# >>> "March 27th, 2020"Grouping/Counting Like a ProfromezdictimportEZDict# tried of this?iterable=[...]grouped={}foriteminiterable:ifitem["key"]ingrouped:grouped[item["key"]]+=1# OR grouped[item["key"]].append(item)else:grouped[item["key"]]=1# OR grouped[item["key"]] = [item]# do this insteaditerable=[...]grouped=EZDict()foriteminiterable:grouped.incrementer(item["key"])# OR grouped.appender(item["key"], item)incrementer(key, increment=1)Incrementkeybyincrementif the key has already been seen. Otherwise,
set the key equal toincrement.appender(key, value)Appendvalueto the list of values associated withkeyif that key was
already been seen. Otherwise, set the key equal to[value].
Package: ezdnsbl
A first stab at writing something that could be construed as a python script. Aims to simplify querying multiple DNSBLs.UsageRun the program with an argument of either an IP address, domain name, AS number, or MD5/SHA1 hash. If no argument is
given, drop into a python shell with dnsbl_query imported as a library.To utilize HTTBL, provide theDNSBLResultsinstance withauth_tokens={‘HTTPBL’: ‘<your_api_key>’}.>>> from ezdnsbl import DNSBLResults
>>> results = DNSBLResults('192.0.32.11', auth_tokens={'HTTPBL': '<your_api_key>'})
>>> print(a)
IPtoASN: IP 192.0.32.11
    Returned 2 result(s):
        40528 | 192.0.32.0/22 | US | arin | 2009-06-29
        40528 | 192.0.32.0/24 | US | arin | 2009-06-29
IPtoASNPeers: IP 192.0.32.11
    Returned 2 result(s):
        2914 3257 11164 | 192.0.32.0/24 | US | arin | 2009-06-29
        2914 3257 11164 16876 | 192.0.32.0/22 | US | arin | 2009-06-29Take a look at the source for more info.NOTE: This script makes NO ATTEMPT to rate-limit queries - it is up to YOU to ensure that your usage conforms to the
various AUPs and terms of each of the providers listed below.DNS Blacklists QueriedThe following DNSBL providers are queried:APEWS (apews.py)http://www.apews.org/TeamCymru MHR and IP-ASN Mapping (cymru.py)http://www.team-cymru.org/dan.me’s TOR Node Blacklist (dan.py)https://www.dan.me.uk/GBUdb (gbudb.py)http://www.gbudb.com/index.jspProject Honeypot’sHttp:BL(honeypot.py, httbl_apikey.py)http://www.projecthoneypot.org/LashBack’s Unsubscribe Blacklist (lashback.py)http://www.lashback.com/Spamhaus’ ZEN and DBL (spamhaus.py)https://www.spamhaus.org/Rik van Riel’s Spamikaze instance, Passive Spam Block List (surriel.py)https://surriel.com/,https://psbl.org/AcknowledgementsInspired by vincecarney’s dnsbl:https://github.com/vincecarney/dnsbl
Package: ezDnsShim
ezDnsShim v1.0.0ezDnsShim é uma biblioteca em Python3 para trabalhar com o servidor de DNS desenvolvido e utilizado pelo Registro.br para gerenciar os domínios da internet brasileira. Retorna a resposta em JSON ao invés de XML, tudo consolidado em um único arquivo python com códígo fonte comentado e sem dependências de outras bibliotecas, pure python!For an English version, click hereO DnsShim é um servidor de DNS de código aberto, desenvolvido em Java pelo Registro.br e pode ser utillizado por qualquer empresa ou provedor de serviços de internet. Consiste em um servidor de DNS autoritativo MASTER que fica isolado, sem possibilidade de acesso externo. A gerência das zonas de DNS são feitas somente nesse servidor DnsShim, ele faz as publicações nos servidores de DNS autoritativos secundários que ficam disponíveis ao público e respondendo com autoridade sobre as zona de DNS ali cadastradas. Esses servidores autoritativos secundários utilizam o bind e ficam recebendo as atualizações do MASTER sempre que houver uma nova publicação.O protocolo de comunicação com esse servidor é baseado em XML. A bibliteca ezDnsShim retorna uma variável do tipo dict (como um json) que facilita muito a gerência desse serviço. Há tratamentos de exceptions com mensagens de erro claras e disponíveis em Português e Inglês.O código foi baseado na bibliotecapydnsshim v1.5, também desenvolvida pelo Registro.br e disponível para download emhttps://www.registro.br/dnsshimHow Easy?fromezdnsshimimportezDnsShimClientuser_to_add='dnsadmin'conn=ezDnsShimClient(server='127.0.0.1',port=9999)response=conn.addUser(username=user_to_add,password='*********')ifresponse['status']==responseCode.OK:print(f"Username{user_to_add}created with success!")else:print(f"Failed to add the username{user_to_add}- Reason:{response['msg']}- Status Code:{response['status']}")sys.exit(1)withezDnsShimClient(server='127.0.0.1',port=9999,username='dnsadmin',password='*********',debug=False,keep_alive=True)asconn:ifconn.isAuthenticated:print(f"LOGGED IN! SessionID{conn.sessionId}")zone_to_add='mynewdnszone1.com.br'ifnotconn.zoneExists(zone=zone_to_add):response=conn.newZone(zone=zone_to_add,slaveGroup='slavegroup-sa-east')ifresponse['status']==responseCode.OK:print(f"Your new zone '{zone_to_add}' was created with success! [{response['elapsedTime]}'s]")print(json.dumps(response,indent=4,sort_keys=False))else:print(f"The zone{zone_to_add}already exists on this server!")Output:LOGGEDIN!SessionID1527298117Yournewzone'mynewdnszone1.com.br'wascreatedwithsuccess![0.18062's]{"status":1,"newZone":{"zone":"mynewdnszone1.com.br","slaves":{"slave":[{"slaveAddress":"10.10.10.61","slavePort":"53"},{"slaveAddress":"10.10.10.71","slavePort":"53"}]},"key":"20240122002100-ZSK-257-61062","keytag":"61062","digestType":"SHA256","digest":"2f90743ef64d8f30544b58f1ae124cab1bf95660304897bb52b0e01e97a658f1"},"elapsedTime":0.18062}Fase final de testesEstá sendo realizado os últimos testes e estamos implementado algumas validações e blindagens contra erros de input do usuário. A biblioteca estará disponivel até o final de Jan/2024.
Package: ez-dropbox
easy-dropboxI have summarized the operations that are often used in drop boxes for ease of use!ドロップボックスでよく使われる操作を使いやすいようにまとめました！OutLine[概要]I want to do various things with the DropBox API, but I still find it difficult.(DropBoxAPIで色々やりたいけど、自分にはまだ難しく感じる。)First of all, this is for you ❗️(そんなあなたにまずはこれ❗️)Manage DropBox with easy operation 😁(簡単操作でDropBoxを管理しよう😁)Here's what you can do with easy-dropbox today:(現在easy-dropboxで可能なことは以下になります。)Folder / file search(フォルダ・ファイル検索)Create a new folder(フォルダの作成)Save file(ファイルの保存)Generating shared links for folders and files(フォルダ・ファイルの共有リンクの生成)Installation[インストール]pipinstallez-dropboxUse library[ライブラリの使用方法]importezdbx1. Initial setting[初期設定]1.1. Issuance of access token[アクセストークンの発行]ACCESS_TOKEN=ezdbx.Issue_access_token(APP_KEY,APP_SECRET)1.2. Create an instance[インスタンスの作成]ed=ezdbx.EzDbx(ACCESS_TOKEN)2. Dropbox operation[Dropboxの操作]2.1. Folder / file search[フォルダ・ファイル検索]db_root_dir=['Which folder to search in.(どのフォルダ内を検索するか)']# exsample '/app/sample'file_or_folder=['Whether to get files only, folders only, or all.(ファイルのみか、フォルダのみか、全てを取得するか)']# 'file' or 'folder' or 'all'ed.get_files(db_root_dir,file_or_folder,recursive=False,save=True,reset=True,output=True)2.2. Create a new folder[フォルダの作成]upload_path# esample : '/app/sample/new_folder1/new_folder2'ed.make_folder(upload_path)2.3. Save file[ファイルの保存]upload_path# esample : '/app/sample/folder1/folder2'upload_file# esample : '/home/user/sample.txt'ed.upload(upload_path,upload_file,make_new_path=True):2.4. Generating shared links for folders and files[フォルダ・ファイルの共有リンクの生成]path=['File or folder path(ファイルもしくはフォルダのパス)']# esample : '/app/sample/folder1'ed.get_shared_link(path)