Skip to content

Commit 2d61bba

Browse files
Benjamin-Loisongtsystem
authored andcommitted
Correct typos and uppercase *Url*
1 parent 90b8341 commit 2d61bba

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ This module provides a way to access single members of a zip file archive withou
1616

1717
To download the content, this library rely on the `requests` module. The constructor interface matches the function `requests.get` module.
1818

19-
* **url**: Url where the zip file is located *(required)*.
19+
* **url**: URL where the zip file is located *(required)*.
2020
* **auth**: authentication credentials.
2121
* **headers**: headers to pass to the request.
2222
* **timeout**: timeout for the request.
2323
* **verify**: enable/disable certificate verification or set custom certificates location.
24-
* ... Please look at the [requests](http://docs.python-requests.org/en/master/user/quickstart/#make-a-request) documentation for futher usage details.
25-
* **initial\_buffer\_size**: How much data (in bytes) to fetch during the first connection to download the zip file central directory. If your zip file conteins a lot of files, would be a good idea to increase this parameter in order to avoid the need for further remote requests. *Default: 64kb*.
24+
* ... Please look at the [requests](http://docs.python-requests.org/en/master/user/quickstart/#make-a-request) documentation for further usage details.
25+
* **initial\_buffer\_size**: How much data (in bytes) to fetch during the first connection to download the zip file central directory. If your zip file contains a lot of files, would be a good idea to increase this parameter in order to avoid the need for further remote requests. *Default: 64kb*.
2626
* **session**: a custom session object to use for the request.
2727
* **support_suffix_range**: You can set this attribute to `False` if the remote server doesn't support suffix range
2828
(negative offset). Notice that this option will use one more HEAD request to fetch the content length.
@@ -68,7 +68,7 @@ with RemoteZip('http://.../myfile.zip') as zip:
6868

6969

7070
#### Download a member
71-
The following example will extract the file `somefile.txt` from the archive stored at the url `http://.../myfile.zip`.
71+
The following example will extract the file `somefile.txt` from the archive stored at the URL `http://.../myfile.zip`.
7272

7373
```python
7474
from remotezip import RemoteZip
@@ -107,7 +107,7 @@ usage: remotezip [-h] [-l] [-d DIR] url [filename [filename ...]]
107107
Unzip remote files
108108
109109
positional arguments:
110-
url Url of the zip archive
110+
url URL of the zip archive
111111
filename File to extract
112112
113113
optional arguments:
@@ -145,6 +145,6 @@ How many requests will this module perform to download a member?
145145
* If the central directory is bigger than **initial\_buffer\_size**, a third request will be required.
146146
* If negative seek operations are used in `ZipExtFile`, each of them will result in a new request.
147147

148-
## Alternative modules
148+
## Alternative module
149149

150150
There is a similar module available for python [pyremotezip](https://github.com/fcvarela/pyremotezip).

remotezip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def main():
298298
import os
299299

300300
parser = argparse.ArgumentParser(description="Unzip remote files")
301-
parser.add_argument('url', help='Url of the zip archive')
301+
parser.add_argument('url', help='URL of the zip archive')
302302
parser.add_argument('filename', nargs='*', help='File to extract')
303303
parser.add_argument('-l', '--list', action='store_true', help='List files in the archive')
304304
parser.add_argument('-d', '--dir', default=os.getcwd(), help='Extract directory, default current directory')

0 commit comments

Comments
 (0)