https://github.com/mohsenhariri/fesenjoon
https://github.com/mohsenhariri/fesenjoon
google-drive
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohsenhariri/fesenjoon
- Owner: mohsenhariri
- License: gpl-3.0
- Created: 2022-06-02T20:00:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T21:46:58.000Z (over 2 years ago)
- Last Synced: 2024-05-06T19:22:07.698Z (about 1 year ago)
- Topics: google-drive
- Language: Python
- Homepage: https://pypi.org/project/fesenjoon/
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fesenjoon
## Install
```
pip install fesenjoon
```## API call
```
import fesenjoondrive = fesenjoon.Drive()
``````
from fesenjoon import Drive
drive = Drive()
```## Command Line
```
fesenjoon -u https://drive.google.com/drive/folders/1Eu2e4m3nH4Mwh8Jc6r_ULJ4U2y1nK6jK
```### Install packages
```
pylint
black
google-api-python-client
google-auth-oauthlib
```https://github.com/googleapis/google-api-python-client
https://github.com/googleapis/google-auth-library-python-oauthlib
https://developers.google.com/drive/api/guides/about-sdk

https://developers.google.com/workspace/guides/auth-overview
## Features
- Linter: Pylint
- Formatter: Black
- CI: GitHub Actions1.
--url
-u
2.
depth
default = 0 (just current directory)
int
string all3.
default binary files
--mimetype-includes
--mimetype-excludes4.
-out# Setup
git clone [email protected]:mohsenhariri/fesenjoon.git
python3 -m venv env
make pia
go to https://console.cloud.google.com/ and download your token (OAuth Client ID)
copy token in the root path
rename token with .credentials
finish
make app