
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
PyGoogleDrive is a wrapper library of
google-api-python-client <https://github.com/google/google-api-python-client>
_
that simplifies many common Google Drive API tasks You can just need to create credentials.json and place in your root directory.
https://pypi.python.org/pypi/PyGoogleDrive <https://pypi.python.org/pypi/PyGoogleDrive>
_https://github.com/fahadkhan09/pygoogledrive <https://github.com/fahadkhan09/PyGoogleDrive>
_Google Drive API <https://developers.google.com/drive/>
_ into
classes of each resource to make your program more object-oriented.You can install PyGoogleDrive with regular pip
command.
::
pip install PyGoogleDrive
When you create instance it will automatically open url for google authentication After successfully authentication token.pickle file is created in root directory
.. code:: python
from PyGoogleDrive.PyGoogleDrive import PyGoogleDrive
drive = PyGoogleDrive()
We can use drive
instance to create Folder
.. code:: python
drive.createfolder('folder_name')
createfolder function will return folder id that is created on Google drive
PyGoogleDrive handles custom file upload.
.. code:: python
drive.uploadfile(name, file_path, mimetype, folder_name)
uploadfile function will return file id created on google drive folder_name is optionals if you want to upload file in specific folder then add folder_name = 'document'
FAQs
Google Drive API made easy with PyGoogleDrive
We found that PyGoogleDrive 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.