Saravanan666/pypi-org huggingface dataset:
Package: dropblame
A Python command line tool which will convert the revision history of a
Dropbox file into a git repository, so you can rungit blameorgit diff. Suggested by@cgranade.Installationpip install dropblameUsagedrop blame /path/to/Dropbox/fileSyncs Dropbox revisions to a git repo and runs git blame. Any additional
arguments will be passed to git blame.drop cd /path/to/Dropbox/fileSyncs Dropbox revisions to a git repo and then opens a shell there, if
you want to run diff or other operations. The commit messages contain
Dropbox revision ids.NotesThe first time you rundropyou will be asked for configuration
details to connect to Dropbox, which will be stored in
~/.dropblame/config.yml.Note that this tool can only go back as far as the Dropbox API will
allow, which is currently 100 revisions.I’ve only tested this on Linux so far.
Package: dropbox
The offical Dropbox SDK for Python.Documentation can be found onRead The Docs.InstallationCreate an app via theDeveloper Console.Install viapip:$pipinstalldropboxInstall from source:$gitclonegit://github.com/dropbox/dropbox-sdk-python.git$cddropbox-sdk-python$pythonsetup.pyinstallAfter installation, follow one of ourExamplesor read the documentation onRead The Docs.You can also view ourOAuth Guide.ExamplesWe provideExamplesto help get you started with a lot of the basic functionality in the SDK.OAuthCommandline OAuth Basic- Shows a simple example of commandline oauth (no redirect).Commandline OAuth Scopes- Shows a simple example of commandline oauth using scopes.Commandline OAuth PKCE- Shows a simple example of commandline oauth using PKCE.Other ExamplesUpdown- Sample application that uploads the contents of yourDownloadsfolder to Dropbox.Backup and Restore- Sample application that shows how you can backup a file and restore previous versions if the file was modified/corrupted in any way.Getting HelpIf you find a bug, please seeCONTRIBUTING.mdfor information on how to report it.If you need help that is not specific to this SDK, please reach out toDropbox Support.LicenseThis SDK is distributed under the MIT license, please seeLICENSEfor more information.
Package: dropbox-cli
dropbox-cli (dbc)cli to manage your dropbox accountVersion: 0.00.01Auhtor:Timo Furrertuxtimo@gmail.comVersion:0.00.01What is this?Comming soonHow to installFirst you need some dependencies:cli module$ git clone https://github.com/timofurrer/cli
$ cd cli
$ sudo python setup.py installNow theclimodule is installed and can be imported withimport cli.dropbox module$ wget https://www.dropbox.com/static/developers/dropbox-python-sdk-1.5.1.zip
$ unzip dropbox-python-sdk-1.5.1.zip
$ cd dropbox-python-sdk-1.5.1
$ sudo python setup.py installNow thedropboxmodule is installed and can be imported withimport dropbox.Install dropbox-cliNow with …$ git clone https://github.com/timofurrer/dropbox-cli
$ cd dropbox-cli
$ sudo python setup.py install… you have installed the dropbox-cli. Start it with:$ dbc
Package: dropbox_compatiable
A Python SDK for integrating with the Dropbox API v2. Compatible with Python
2.7 and 3.4+. Documentation is available onRead the Docs.SetupYou can install this package from the root directory by running:$ python setup.py installAfter installation, to get started, open a Python console:>>> import dropbox
>>> dbx = dropbox.Dropbox("YOUR_ACCESS_TOKEN")
>>> dbx.users_get_current_account()Creating an ApplicationYou need to create an Dropbox Application to make API requests.Go tohttps://dropbox.com/developers/apps.Obtaining an Access TokenAll requests need to be made with an OAuth 2 access token. To get started, once
you’ve created an app, you can go to the app’s console and generate an access
token for your own Dropbox account.ExamplesAn example,updown.py, can be found in the examples directory, which
demonstrates how to sync a local directory with a Dropbox.DocumentationDocumentation can be compiled by runningmake htmlfrom thedocsfolder. After compilation, opendocs/_build/html/index.html. Alternatively,
you can read a hosted version fromRead the Docs.Upgrading from v1To ease the transition to the new API and SDK, you can still use the olddropbox.client.DropboxClientclass. In fact, v2 and v1 can be used
simultaneously.  Support for the old client will be dropped once the new SDK is
at functional parity.Running testsWe use thetoxpackage to run tests in Python
2 and 3. To install, usepip install tox. Once installed, runtoxfrom the
root directory. You’ll need to specify a working Dropbox OAuth2 token:$ DROPBOX_TOKEN=YOUR_TOKEN tox
Package: dropboxDiscord
dropboxDiscordA simple package that helps people using dropbox to backup on discordExample :importdropboxDiscordfromdiscord.extimportcommandsbot=commands.Bot(command_prefix='!')..@bot.command()@commands.is_owner()asyncdefbackup(ctx):awaitdropboxDiscord.backup(bot,"yourdropboxtoken",ctx,['database.json','db.sqlite'])..
Package: dropboxdol
dropboxdoldropbox with a simple (dict-like or list-like) interfaceTo install:pip install dropboxdolA persister for dropbox.You need to have the python connector (if you don't: pip install dropbox)
You also need to have a token for your dropbox app. If you don't it's a google away.
Finally, for the test below, you need to put this token in ~/.py2store_configs.json' under key
dropbox.__init__kwargs, and have a folder named /py2store_data/test/ in your app space.>>>importjson>>>importos>>>fromdropboxdolimportDropboxPersister>>>configs=json.load(open(os.path.expanduser('~/.py2store_configs.json')))>>>s=DropboxPersister('/py2store_data/test/',**configs['dropbox']['__init__kwargs'])>>>if'/py2store_data/test/_can_remove'ins:...dels['/py2store_data/test/_can_remove']...>>>>>>n=len(s)>>>ifn==1:...assertlist(s)==['/py2store_data/test/_can_remove']...>>>s['/py2store_data/test/_can_remove']=b'this is a test'>>>assertlen(s)==n+1>>>asserts['/py2store_data/test/_can_remove']==b'this is a test'>>>'/py2store_data/test/_can_remove'insTrue>>>dels['/py2store_data/test/_can_remove']
Package: dropboxdrivefs
DescriptionThis package is one of the implementation available in the fsspec module. It can be used with alone, or dask and intake by indicating the  protocol in the path file:dropbox://file_pathIt can also be used directly from the fsspec module to download and upload files in the github account.The upload part is using the dropbox API.The download part is using the dropbox API to create a temporary link and then used the already existing https implementation.
Caching (see fsspec module) is available in that case.Documentation of the fsspec module :https://github.com/intake/filesystem_spec/blob/master/docs/source/features.rstInstallpip install dropboxdrivefsThanksThanks to martindurant and TomAugspurger for the help to developping this implementation
see info about the development:https://github.com/intake/filesystem_spec/pull/207
Package: dropbox-filemanager
## Dropbox filemanager 1.0.2##### About
Dropbox filemanager it’s an application to interact
with your dropbox account.[<img src=”https://gitlab.com/dslackw/images/raw/master/dropbox/screenshot.png”  width=”350”>](https://gitlab.com/dslackw/dropbox-filemanager)##### Installing$ pip install dropbox-filemanager##### Usage$ dropbox-filemanager##### Copyright
Copyright 2019-2020 © Dimitris Zlatanidis.
Package: dropboxignore
dropboxignorePython implementation of Dropbox equivalent of .gitignore: .dropboxignore.
At the beginning tool will exclude using Selective Sync in Dropbox all directories matching rules stored in .dropboxignore. Later it will monitor the Dropbox's directory using inotify and exclude them before Dropbox sync them.UsageCreate .dropboxignore fileRundropboxignore $PATH_TO_DROPBOX_DIRECTORY
Package: dropbox-index
Introductiondropbox-indexcreates index.html for directory contents shared publicly on Dropbox. Easily share whole content of the directory without the need to send separate links for all the shared files.After installing, just run this Python script with directory as an argument (and add -R as an option if to include subdirectories):Usage: dropbox-index [options] DIRECTORY

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -R, --recursive       Include subdirectories [default: False]
  -T TEMPLATE, --template=TEMPLATE
                        Use HTML file as template

ATTENTION: Script will overwrite any existing index.html file(s)!Example:dropbox-index.py-R-Ttemplate.html ~/Dropbox/Public/showwill generate index.html for directory (and subdirectories if run in recursive mode). Hidden files (filenames starting with ‘.’) are automatically omitted.If a directory contains a file with dir-info in it’s name (dir-name, dir-name.txt, dir-name.html, - all these names are valid) the contents of the file will be used in the index.html as and additional information about directory content.Click on the table’s headings to sort files by name, size, or date (in ascending and descending order).TemplateTemplates can be used to generate custom index.html files. Selected template is used to generate all pages, including subdirectories if the script is run in recursive mode.Templates are just regular HTML files. CSS styles and JavaScript code will be automatically injected. The table with the files list will be injected in place of %(FILES)s.Use (names are case sensitive!):%(FILES)s: must be included or the files list won’t be injected!%(FAVICON)s: place it inside <head> if you want Dropbox-favicon to be used%(ENCODING)s: system encoding identified by the script%(PATH)s: name of the directory%(DIR_INFO)s: place for additional directory information (from dir-info files Screenshot).Iconsdropbox-indexuses icons from famfamfam’s “Silk” icon setAcknowledgementsWojciech ‘KosciaK’ Pietrzok was the original author.Tommy MacWilliam introduced the template system.Jason R. Coombs ported the project to Python 3 and maintains it.
Package: dropbox-langchain
Canvas langchain document loaderFeatures:Indexes Dropbox FilesThe following file types are supported:mdhtmhtmldocxxlsxlsxpptxpdfrtftxt(docsupport would require libreoffice, so has not been implemented in this library)Running locallyYou can do the install as described below, or build/run the provider dockerfile.DockerEdit dropbox-test.py, fill in the correctauthand one offolder_path,file_path, orfile_paths.Run (this also builds docker):dockerrun-it$(dockerbuild-q.)InstallationInstall dependencies:pipinstall-rrequirements.txtUsage example:To use a refresh token, pass inapi_keyalong withapi_secretfromdropbox_filesimportDropboxLoaderauth={"access_token":"ACCESS_TOKEN_FROM_OAUTH","refresh_token":"REFRESH_TOKEN","expires_at":"EXPIRE_TIMESTAMP"}loader=DropboxLoader(auth=auth,folder_path="/PATH_TO_FOLDER_OR_EMPTY_STRING",# file_path = "/PATH/TO_FILE/File.extension",# file_paths = [# 	"/PATH/TO_FILE/File 1.extension",# 	"/PATH/TO_FILE/File 2.extension"# ],# api_key = "API_KEY",# api_secret = "API_SECRET",)documents=loader.load()print("\nDocuments:\n")print(documents)print("\nInvalid files:\n")print(loader.invalid_files)print("")print("\nErrors:\n")print(loader.errors)print("")If errors are present,loader.errorswill contain one list element per error. It will consist of an error message (key namedmessage) and if the error pertains to a folder issue, a key namedfolder, for files afilekey. Right now the library only catches Dropbox API specific exceptions.
Package: dropbox-pi-cli
dropbox-pi-cliA dropbox command line toolBefore start you need to setup the envar:exportDROPBOX_ACCESS_TOKEN='YOUR AUTH TOKEN HERE'Installafter clone cd to project folder and executemake-Bbuild
makeinstallUninstallcd to project folder and executemakeuninstallUsageThe command line is only able to upload and download from/to dropbox app folder.Downloaddropbox-pi file-download [OPTIONS]

Options:
  --remote-path TEXT  The path of the file to download.
  --local_path TEXT   The path of the file on the local moachine.
  --help              Show this message and exit.Upoloaddropbox-pi file-upload [OPTIONS]

Options:
  --remote_path TEXT      Path in the user's Dropbox to save the file
  --local-path TEXT       Path in the user's local to save the file
  --mode TEXT             Selects what to do if the file already exists. The
                          default for this union is add

  --autorename TEXT       If there's a conflict, as determined by mode, have
                          the Dropbox server try to autorename the file to
                          avoid conflict. The default for this field is False.

  --mute TEXT             Normally, users are made aware of any file
                          modifications in their Dropbox account via
                          notifications in the client software. If true, this
                          tells the clients that this modification shouldn't
                          result in a user notification. The default for this
                          field is False

  --strict-conflict TEXT  Be more strict about how each WriteMode detects
                          conflict. For example, always return a conflict
                          error when mode = WriteMode.update and the given
                          'rev' doesn't match the existing file's 'rev', even
                          if the existing file has been deleted. This also
                          forces a conflict even when the target path refers
                          to a file with identical contents. The default for
                          this field is False

  --help                  Show this message and exit.
Package: dropbox-test-api-bearer-token
Getting startedAPI for testing OAuth2 with DropboxHow to BuildYou must have Python2 >=2.7.9or Python3 >=3.4installed on your system to install and run this SDK. This SDK package depends on other Python packages like nose, jsonpickle etc.
These dependencies are defined in therequirements.txtfile that comes with the SDK.
To resolve these dependencies, you can use the PIP Dependency manager. Install it by following steps athttps://pip.pypa.io/en/stable/installing/.Python and PIP executables should be defined in your PATH. Open command prompt and typepip --version.
This should display the version of the PIP Dependency Manager installed if your installation was successful and the paths are properly defined.Using command line, navigate to the directory containing the generated files (includingrequirements.txt) for the SDK.Run the commandpip install -r requirements.txt. This should install all the required dependencies.How to UseThe following section explains how to use the DropboxTestApiBearerToken SDK package in a new project.1. Open Project in an IDEOpen up a Python IDE like PyCharm. The basic workflow presented here is also applicable if you prefer using a different editor or IDE.Click onOpenin PyCharm to browse to your generated SDK directory and then clickOK.The project files will be displayed in the side bar as follows:2. Add a new Test ProjectCreate a new directory by right clicking on the solution name as shown below:Name the directory as "test"Add a python file to this project with the name "testsdk"Name it "testsdk"In your python file you will be required to import the generated python library using the following code linesfromdropbox_test_api_bearer_token.dropbox_test_api_bearer_token_clientimportDropboxTestApiBearerTokenClientAfter this you can write code to instantiate an API client object, get a controller object and  make API calls. Sample code is given in the subsequent sections.3. Run the Test ProjectTo run the file within your test project, right click on your Python file inside your Test project and click onRunHow to TestYou can test the generated SDK and the server with automatically generated test
cases. unittest is used as the testing framework and nose is used as the test
runner. You can run the tests as follows:From terminal/cmd navigate to the root directory of the SDK.Invokepip install -r test-requirements.txtInvokenosetestsInitializationAuthenticationIn order to setup authentication and initialization of the API client, you need the following information.ParameterDescriptiono_auth_access_tokenOAuth 2.0 Access TokenAPI client can be initialized as following.# Configuration parameters and credentialso_auth_access_token='o_auth_access_token'# OAuth 2.0 Access Tokenclient=DropboxTestApiBearerTokenClient(o_auth_access_token)Class ReferenceList of ControllersFilesControllerFilesControllerGet controller instanceAn instance of theFilesControllerclass can be accessed from the API Client.files_controller=client.filesget_file_countTODO: Add a method descriptiondefget_file_count(self)Example Usageresult=files_controller.get_file_count()Back to List of Controllers
Package: dropbox-updater
dropbox-updaterModule to update python script using dropbox apiInstallationpip install dropbox-updaterExampleUploading>>> from dropbox_updater.updater import upload
>>> config = [
...     {
...         'name': 'my-project',
...         'token': DROPBOX_ACCESS_TOKEN,
...         'dropbox_path': '/my-project.tar.bz2',
...         'file_path': 'dist/my-project.tar.bz2',
...         'extract_dir': '.',
...     },
... ]
>>> upload(config)
05/12/2022 02:13:54 PM - INFO - Compressing to dist/my-project.tar.bz2...
05/12/2022 02:13:54 PM - INFO - my-project requires uploading.
05/12/2022 02:13:54 PM - INFO - Uploading to /my-project.tar.bz2...
05/12/2022 02:13:54 PM - INFO - Uploading (0/1)...
05/12/2022 02:13:57 PM - INFO - Uploading (1/1)...Checking for updates>>> from dropbox_updater.updater import check_for_updates
>>> config = [
...     {
...         'name': 'my-project',
...         'token': DROPBOX_ACCESS_TOKEN,
...         'dropbox_path': '/my-project.tar.bz2',
...         'file_path': 'dist/my-project.tar.bz2',
...         'extract_dir': '.',
...     },
... ]
>>> check_for_updates(config, restart=False)
05/12/2022 02:22:38 PM - INFO - Checking for updates...
05/12/2022 02:22:39 PM - INFO - Already upto date.
Package: dropbugmaker
一、安装（python版本建议3.7以上）pipinstalldubborequests二、升级包pipinstall--upgradedubborequests三、示例获取dubbo服务详情# 导入importdubborequests# 获取dubbo服务详情data=dubborequests.search('cn.com.xxx.sso.ehr.api.dubbo.SsoEmpInfoService')获取服务下的所有方法# 导入importdubborequests# 获取dubbo服务下的所有方法data=dubborequests.list('cn.com.xxx.sso.ehr.api.dubbo.SsoEmpInfoService')# 获取dubbo服务指定的方法data=dubborequests.list('cn.com.xxx.sso.ehr.api.dubbo.SsoEmpInfoService','login')通过zookeeper获取服务的ip和端口, Telnet命令测试dubbo接口importdubborequestsfromdubborequestsimportConfig# 先配置zookeeper中心地址Config.zookeeper_url_list=['192.168.240.15:2181','192.168.240.15:2182','192.168.240.15:2183']invoke_data={"service_name":"cn.com.xxxxx.sso.ehr.api.dubbo.SsoEmpInfoService","method_name":"login","data":{"account":"xxxx","password":"xxxx"}}# 通过zookeeper获取服务的ip和端口, Telnet命令测试dubbo接口data=dubborequests.zk_invoke(*invoke_data)Telnet命令测试dubbo接口importdubborequestsinvoke_data={"ip":'xxxx',"port":7777,"service_name":"cn.com.xxxxx.sso.ehr.api.dubbo.SsoEmpInfoService","method_name":"login","data":{"account":"xxxx","password":"xxxx"}}# Telnet命令测试dubbo接口data=dubborequests.telnet_invoke(*invoke_data)
Package: dropchain-sdk
Python DropChain SDKWelcome! This is the python implementation of the DropChain API, enabling you to build robust web3 applications using languages and frameworks you're already familiar with.QuickstartTo start using the DropChain SDK, simply run:pip install dropchain-sdkDocumentationTake a look here (https://dropchain.gitbook.io/dropchain-api-beta/) to get started.Happy building! 👷‍♂️🏗
Package: drop-cli
MotivationWe cannot trust cloud providers but still want to use their services. We want to be able to easilymountandumountpartitioned and encrypted binary files.ConfigurationConfiguration file should be named.dropconfig.It should contain the fields bellow.{
    "repository":"./repository",
    "devices": [
        {
            "name": "str",
            "input": "./data",
            "mount_point": "./mount"
        }
    ]
}repository: this field contains a path to where all of the assembled binary files are going to be stored.name: this field contains a name that is going to be used for assembled binary file.input: this field contains where split binary files are located.mount_point: this field contains a path to a folder on which the assemble and decrypted binary file is going to be mounted.Example usage$ drop generate-config
$ drop mount name_from_dropconfig
$ drop umount name_from_dropconfigCommandsgenerate-configis going to create a skeleton.dropconfigfile that is used by the drop command line.mountis going to mount a devices withname_from_dropconfigon the mount point defined in the.dropconfig.umountis to unmount a device withname_from_dropconfigfrom the mount point defined in the.dropconfig.
Package: dropcols
selected columns from a delimited text file, such as a CSV file. It is analogous
to the “cut” program, except that it works on CSV files and allows columns
to be selected by name (regular expressions) in addition to by number. Either the
columns to keep, or the columns to remove, or both, can be specified.Home-page: UNKNOWN
Author: Dreas Nielsen
Author-email:dreas.nielsen@gmail.comLicense: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Office/Business