diff --git a/.gitignore b/.gitignore index 7782ae6..389991a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ fundrive/lanzou/__pycache__ build dist .cache -.venv \ No newline at end of file +.venv +logs \ No newline at end of file diff --git a/README.md b/README.md index abaf341..bbf7a0c 100644 --- a/README.md +++ b/README.md @@ -60,18 +60,18 @@ drive.exist(path='upload/README.md') ## 支持的云存储服务 -| 序号 | 网盘 | 支持内容 | 对应的包 | 文档 | -| :--: | :--------------- | :------------- | :-- | :-- | -| 1 | [蓝奏云](src/fundrive/drives/alipan/README.md) | 上传/下载/删除 |fundrive-lanzou | [文档](src/fundrive/drives/alipan/README.md) | -| 2 | [OSS](#3.2) | 上传/下载/删除 | fundrive[oss] | | -| 3 | [github](#3.3) | 上传/下载/删除 | fundrive | | -| 4 | [gitee](#3.4) | 上传/下载/删除 | fundrive | | -| 5 | [百度网盘](#3.5) | 上传/下载/删除 | fundrive[alipan] | | -| 6 | [阿里云盘](#3.6) | TODO | | | -| 7 | [Google Drive](#3.6) | TODO | | | -| 8 | [Dropbox](#3.6) | TODO | | | -| 9 | [OneDrive](#3.6) | TODO | | | -| 10 | [Amazon S3](#3.6) | TODO | | | +| 序号 | 网盘 | 支持内容 | 对应的包 | +| :--: | :--------------- | :------------- | :-- | +| 1 | [蓝奏云](src/fundrive/drives/lanzou/README.md) | 上传/下载/删除 |fundrive-lanzou | +| 2 | [OSS](src/fundrive/drives/oss/README.md) | 上传/下载/删除 | fundrive[oss] | +| 3 | [github](src/fundrive/fungit/README.md) | 上传/下载/删除 | fundrive | +| 4 | [gitee](src/fundrive/fungit/README.md) | 上传/下载/删除 | fundrive | +| 5 | [阿里云盘](src/fundrive/drives/alipan/README.md) | 上传/下载/删除 | fundrive[alipan] | +| 6 | [百度网盘](src/fundrive/drives/baidu/README.md) | 上传/下载/删除 | fundrive[baidu] | +| 7 | [谷歌网盘](src/fundrive/drives/google/README.md) | TODO | fundrive | +| 8 | [Dropbox](src/fundrive/drives/dropbox/README.md) | TODO | fundrive | +| 9 | [OneDrive](src/fundrive/drives/onedrive/README.md) | TODO | fundrive | +| 10 | [Amazon](src/fundrive/drives/amazon/README.md) | TODO | fundrive | - 更多服务即将推出... diff --git a/bak/others/__init__.py b/example/others/__init__.py similarity index 100% rename from bak/others/__init__.py rename to example/others/__init__.py diff --git a/bak/others/aria2/Aria2JsonRpc.py b/example/others/aria2/Aria2JsonRpc.py similarity index 100% rename from bak/others/aria2/Aria2JsonRpc.py rename to example/others/aria2/Aria2JsonRpc.py diff --git a/bak/others/aria2/__init__.py b/example/others/aria2/__init__.py similarity index 100% rename from bak/others/aria2/__init__.py rename to example/others/aria2/__init__.py diff --git a/bak/others/aria2/a2jrg-scrape.py b/example/others/aria2/a2jrg-scrape.py similarity index 100% rename from bak/others/aria2/a2jrg-scrape.py rename to example/others/aria2/a2jrg-scrape.py diff --git a/bak/others/aria2/a2jrg.py b/example/others/aria2/a2jrg.py similarity index 100% rename from bak/others/aria2/a2jrg.py rename to example/others/aria2/a2jrg.py diff --git a/bak/others/cache/__init__.py b/example/others/cache/__init__.py similarity index 100% rename from bak/others/cache/__init__.py rename to example/others/cache/__init__.py diff --git a/bak/others/cache/load.py b/example/others/cache/load.py similarity index 100% rename from bak/others/cache/load.py rename to example/others/cache/load.py diff --git a/bak/others/magnet/__init__.py b/example/others/magnet/__init__.py similarity index 100% rename from bak/others/magnet/__init__.py rename to example/others/magnet/__init__.py diff --git a/bak/others/magnet/__main__.py b/example/others/magnet/__main__.py similarity index 100% rename from bak/others/magnet/__main__.py rename to example/others/magnet/__main__.py diff --git a/bak/others/magnet/core.py b/example/others/magnet/core.py similarity index 100% rename from bak/others/magnet/core.py rename to example/others/magnet/core.py diff --git a/bak/others/magnet/dht/__init__.py b/example/others/magnet/dht/__init__.py similarity index 100% rename from bak/others/magnet/dht/__init__.py rename to example/others/magnet/dht/__init__.py diff --git a/bak/others/magnet/dht/bencode.py b/example/others/magnet/dht/bencode.py similarity index 100% rename from bak/others/magnet/dht/bencode.py rename to example/others/magnet/dht/bencode.py diff --git a/bak/others/magnet/dht/core.py b/example/others/magnet/dht/core.py similarity index 100% rename from bak/others/magnet/dht/core.py rename to example/others/magnet/dht/core.py diff --git a/bak/others/magnet/dht/core1.py b/example/others/magnet/dht/core1.py similarity index 100% rename from bak/others/magnet/dht/core1.py rename to example/others/magnet/dht/core1.py diff --git a/bak/others/magnet/dht/core2.py b/example/others/magnet/dht/core2.py similarity index 100% rename from bak/others/magnet/dht/core2.py rename to example/others/magnet/dht/core2.py diff --git a/bak/others/magnet/dht/crawling.py b/example/others/magnet/dht/crawling.py similarity index 100% rename from bak/others/magnet/dht/crawling.py rename to example/others/magnet/dht/crawling.py diff --git a/bak/others/magnet/dht/network.py b/example/others/magnet/dht/network.py similarity index 100% rename from bak/others/magnet/dht/network.py rename to example/others/magnet/dht/network.py diff --git a/bak/others/magnet/dht/node.py b/example/others/magnet/dht/node.py similarity index 100% rename from bak/others/magnet/dht/node.py rename to example/others/magnet/dht/node.py diff --git a/bak/others/magnet/dht/protocol.py b/example/others/magnet/dht/protocol.py similarity index 100% rename from bak/others/magnet/dht/protocol.py rename to example/others/magnet/dht/protocol.py diff --git a/bak/others/magnet/dht/routing.py b/example/others/magnet/dht/routing.py similarity index 100% rename from bak/others/magnet/dht/routing.py rename to example/others/magnet/dht/routing.py diff --git a/bak/others/magnet/dht/temp1.py b/example/others/magnet/dht/temp1.py similarity index 100% rename from bak/others/magnet/dht/temp1.py rename to example/others/magnet/dht/temp1.py diff --git a/bak/others/magnet/dht/torrent.py b/example/others/magnet/dht/torrent.py similarity index 100% rename from bak/others/magnet/dht/torrent.py rename to example/others/magnet/dht/torrent.py diff --git a/bak/others/magnet/dht/utils.py b/example/others/magnet/dht/utils.py similarity index 100% rename from bak/others/magnet/dht/utils.py rename to example/others/magnet/dht/utils.py diff --git a/bak/others/magnet/peer.py b/example/others/magnet/peer.py similarity index 100% rename from bak/others/magnet/peer.py rename to example/others/magnet/peer.py diff --git a/bak/others/magnet/peer_tracker.py b/example/others/magnet/peer_tracker.py similarity index 100% rename from bak/others/magnet/peer_tracker.py rename to example/others/magnet/peer_tracker.py diff --git a/bak/others/magnet/server.py b/example/others/magnet/server.py similarity index 100% rename from bak/others/magnet/server.py rename to example/others/magnet/server.py diff --git a/bak/others/magnet/settings.py b/example/others/magnet/settings.py similarity index 100% rename from bak/others/magnet/settings.py rename to example/others/magnet/settings.py diff --git a/bak/others/magnet/start.py b/example/others/magnet/start.py similarity index 100% rename from bak/others/magnet/start.py rename to example/others/magnet/start.py diff --git a/bak/others/magnet/utils.py b/example/others/magnet/utils.py similarity index 100% rename from bak/others/magnet/utils.py rename to example/others/magnet/utils.py diff --git a/logs/all.log b/logs/all.log index c5b2dbe..838d14a 100644 --- a/logs/all.log +++ b/logs/all.log @@ -1 +1,2 @@ 2024-12-02 10:25:41.840 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push +2024-12-02 10:40:32.047 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push diff --git a/logs/funbuild.log b/logs/funbuild.log index c5b2dbe..838d14a 100644 --- a/logs/funbuild.log +++ b/logs/funbuild.log @@ -1 +1,2 @@ 2024-12-02 10:25:41.840 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push +2024-12-02 10:40:32.047 |INFO | funbuild.core.core : core: 69 | funbuild | - fundrive push diff --git a/src/fundrive/drives/amazon/README.md b/src/fundrive/drives/amazon/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/amazon/__init__.py b/src/fundrive/drives/amazon/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/amazon/drive.py b/src/fundrive/drives/amazon/drive.py new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/dropbox/README.md b/src/fundrive/drives/dropbox/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/dropbox/__init__.py b/src/fundrive/drives/dropbox/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/dropbox/drive.py b/src/fundrive/drives/dropbox/drive.py new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/google/README.md b/src/fundrive/drives/google/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/google/__init__.py b/src/fundrive/drives/google/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/google/drive.py b/src/fundrive/drives/google/drive.py new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/onedrive/README.md b/src/fundrive/drives/onedrive/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/onedrive/__init__.py b/src/fundrive/drives/onedrive/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/onedrive/drive.py b/src/fundrive/drives/onedrive/drive.py new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/drives/oss/READ.md b/src/fundrive/drives/oss/READ.md new file mode 100644 index 0000000..e69de29 diff --git a/src/fundrive/fungit/READ.md b/src/fundrive/fungit/READ.md new file mode 100644 index 0000000..e69de29