Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A Python SDK for integrating with the Dropbox API v2. Compatible with Python
2.7 and 3.4+. Documentation is available on Read the Docs <http://dropbox-sdk-python.readthedocs.org/>
_.
You can install this package from the root directory by running::
$ python setup.py install
After installation, to get started, open a Python console::
>>> import dropbox
>>> dbx = dropbox.Dropbox("YOUR_ACCESS_TOKEN")
>>> dbx.users_get_current_account()
You need to create an Dropbox Application to make API requests.
All 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.
An example, updown.py <example/updown.py>
_, can be found in the examples directory, which
demonstrates how to sync a local directory with a Dropbox.
Documentation can be compiled by running make html
from the docs
folder. After compilation, open docs/_build/html/index.html
. Alternatively,
you can read a hosted version from Read the Docs <http://dropbox-sdk-python.readthedocs.org/>
_.
To ease the transition to the new API and SDK, you can still use the old
dropbox.client.DropboxClient
class. 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.
We use the tox <https://tox.readthedocs.org/>
_ package to run tests in Python
2 and 3. To install, use pip install tox
. Once installed, run tox
from the
root directory. You'll need to specify a working Dropbox OAuth2 token::
$ DROPBOX_TOKEN=YOUR_TOKEN tox
FAQs
Official Dropbox API Client
We found that dropbox_compatiable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.