Skip to content

Commit b10c223

Browse files
committed
ready to package pyrclone-wrapper
1 parent 3e4ea99 commit b10c223

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# PyRCLONE
22
A Python wrapper for rclone.
33

4-
No need to install rclone separately as it is already included in this package. The binary file for version v1.62.2 is available for different operating systems including Windows, Mac, and Linux, as well as arch with amd64 and x86_64.
4+
This package, available on PyPI, conveniently includes the rclone binary (version v1.62.2) **eliminating the need for pre-installation of rclone**. It caters to various operating systems like Windows, Mac, and Linux, and supports both amd64 and x86_64 architectures. When a user downloads the package, the appropriate rclone binary file is installed based on their system type.
55

66
## Install
77
```python
8-
pip install pyrclonetest
8+
pip install pyrclone-wrapper
99
```
1010

1111
## Usage
1212
```python
13-
from pyrclone.rclone_wrapper import RCloneWrapper
13+
from pyrclone import RCloneWrapper
1414

1515

1616
config = {
@@ -46,7 +46,7 @@ print(result.get('error'))
4646
Even if not all `rclone` commands have been exposed, it's possible to invoke any command using `run_cmd` method directly, as shown in the example bellow:
4747

4848
```python
49-
from pyrclone.rclone_wrapper import RCloneWrapper
49+
from pyrclone import RCloneWrapper
5050

5151
config = {
5252
"local": {
@@ -66,7 +66,7 @@ logging.basicConfig(
6666
level=logging.DEBUG,
6767
format="%(asctime)s %(name)s [%(levelname)s]: %(message)s")
6868

69-
from pyrclone.rclone_wrapper import RCloneWrapper
69+
from pyrclone import RCloneWrapper
7070

7171
config = {
7272
"local": {
@@ -95,8 +95,9 @@ $ make test
9595
```
9696

9797
## Reference
98-
https://github.com/ddragosd/python-rclone (base on this project and improve it)
98+
[python-rclone](https://github.com/ddragosd/python-rclone) ( base on this project and improve it )
9999

100+
[rclone](https://rclone.org/)
100101

101102

102103

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
raise NotImplementedError('Unsupported OS')
1414

1515
setuptools.setup(
16-
name="pyrclonetest",
17-
version="0.0.7",
16+
name="pyrclone-wrapper",
17+
version="0.0.1",
1818
author="Yuangang Li",
1919
author_email="yuangangli@outlook.com",
2020
description="A package that provides a wrapper for RClone",

0 commit comments

Comments
 (0)