Skip to content

Commit 60e9907

Browse files
author
Dmitry Paramonov
committed
Package renamed to b2sdk
1 parent d1a1256 commit 60e9907

32 files changed

Lines changed: 154 additions & 154 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
*.pyc
22
.idea
3-
b2_sdk.egg-info
3+
b2sdk.egg-info
44
build
55
dist
66
.eggs/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ script:
300300
fi
301301
fi
302302
# custom things specific to b2 SDK
303-
- if [ -n "$TEST_ACCOUNT_ID" -a "$MODE" == "TEST_RAW_API" ]; then python -m b2_sdk.__main__ test_raw_api; else echo skip; fi
303+
- if [ -n "$TEST_ACCOUNT_ID" -a "$MODE" == "TEST_RAW_API" ]; then python -m b2sdk.__main__ test_raw_api; else echo skip; fi
304304

305305
after_success:
306306
- if [ "$MODE" == 'coverage' -a -n "$CODACY_PROJECT_TOKEN" ]; then travis_retry python-codacy-coverage -r coverage.xml; else echo skip; fi

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ format: ## Format code using yapf
1919

2020
.PHONY: clean
2121
clean: ## Remove stuff you can regenerate
22-
rm -rf b2_sdk.egg-info build TAGS
22+
rm -rf b2sdk.egg-info build TAGS
2323
find . -name __pycache__ | xargs rm -rf
2424
find . -name \*~ -o -name \*.pyc | xargs rm -f

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# B2 Command Line Tool [![Travis CI](https://img.shields.io/travis/Backblaze/b2-sdk-python/master.svg?label=Travis%20CI)](https://travis-ci.org/Backblaze/b2-sdk-python) [![License](https://img.shields.io/pypi/l/b2-sdk.svg?label=License)](https://pypi.python.org/pypi/b2) [![python versions](https://img.shields.io/pypi/pyversions/b2-sdk.svg?label=python%20versions)](https://pypi.python.org/pypi/b2-sdk) [![PyPI version](https://img.shields.io/pypi/v/b2-sdk.svg?label=PyPI%20version)](https://pypi.python.org/pypi/b2-sdk)
1+
# B2 Command Line Tool [![Travis CI](https://img.shields.io/travis/Backblaze/b2-sdk-python/master.svg?label=Travis%20CI)](https://travis-ci.org/Backblaze/b2-sdk-python) [![License](https://img.shields.io/pypi/l/b2sdk.svg?label=License)](https://pypi.python.org/pypi/b2) [![python versions](https://img.shields.io/pypi/pyversions/b2sdk.svg?label=python%20versions)](https://pypi.python.org/pypi/b2sdk) [![PyPI version](https://img.shields.io/pypi/v/b2sdk.svg?label=PyPI%20version)](https://pypi.python.org/pypi/b2sdk)
22

33
The command-line tool that gives easy access to all of the capabilities of B2 Cloud Storage.
44

@@ -10,13 +10,13 @@ Version 1.0.0
1010

1111
This tool can be installed with:
1212

13-
pip install b2-sdk
13+
pip install b2sdk
1414

1515
If you see a message saying that the `six` library cannot be installed, which
1616
happens if you're installing with the system python on OS X El Capitan, try
1717
this:
1818

19-
pip install --ignore-installed b2-sdk
19+
pip install --ignore-installed b2sdk
2020

2121
# Release History
2222

b2_sdk/account_info/abstract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
import six
1414

15-
from b2_sdk.raw_api import ALL_CAPABILITIES
16-
from b2_sdk.utils import B2TraceMetaAbstract, limit_trace_arguments
15+
from b2sdk.raw_api import ALL_CAPABILITIES
16+
from b2sdk.utils import B2TraceMetaAbstract, limit_trace_arguments
1717

1818

1919
@six.add_metaclass(B2TraceMetaAbstract)

b2_sdk/session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
import functools
1212

13-
from b2_sdk.exception import (InvalidAuthToken, Unauthorized)
14-
from b2_sdk.raw_api import ALL_CAPABILITIES
13+
from b2sdk.exception import (InvalidAuthToken, Unauthorized)
14+
from b2sdk.raw_api import ALL_CAPABILITIES
1515

1616

1717
class B2Session(object):

b2_sdk/sync/folder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import sys
1515

1616
from abc import ABCMeta, abstractmethod
17-
from b2_sdk.exception import CommandError
17+
from b2sdk.exception import CommandError
1818
from .exception import EnvironmentEncodingError
1919
from .file import File, FileVersion
2020
from .scan_policies import DEFAULT_SCAN_MANAGER

doc/source/b2.account_info.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
b2_sdk\.account\_info package
1+
b2sdk\.account\_info package
22
=========================
33

44
Submodules
55
----------
66

7-
b2_sdk\.account\_info\.abstract module
7+
b2sdk\.account\_info\.abstract module
88
----------------------------------
99

10-
.. automodule:: b2_sdk.account_info.abstract
10+
.. automodule:: b2sdk.account_info.abstract
1111
:members:
1212
:undoc-members:
1313
:show-inheritance:
1414

15-
b2_sdk\.account\_info\.exception module
15+
b2sdk\.account\_info\.exception module
1616
-----------------------------------
1717

18-
.. automodule:: b2_sdk.account_info.exception
18+
.. automodule:: b2sdk.account_info.exception
1919
:members:
2020
:undoc-members:
2121
:show-inheritance:
2222

23-
b2_sdk\.account\_info\.in\_memory module
23+
b2sdk\.account\_info\.in\_memory module
2424
------------------------------------
2525

26-
.. automodule:: b2_sdk.account_info.in_memory
26+
.. automodule:: b2sdk.account_info.in_memory
2727
:members:
2828
:undoc-members:
2929
:show-inheritance:
3030

31-
b2_sdk\.account\_info\.sqlite\_account\_info module
31+
b2sdk\.account\_info\.sqlite\_account\_info module
3232
-----------------------------------------------
3333

34-
.. automodule:: b2_sdk.account_info.sqlite_account_info
34+
.. automodule:: b2sdk.account_info.sqlite_account_info
3535
:members:
3636
:undoc-members:
3737
:show-inheritance:
3838

39-
b2_sdk\.account\_info\.test\_upload\_url\_concurrency module
39+
b2sdk\.account\_info\.test\_upload\_url\_concurrency module
4040
--------------------------------------------------------
4141

42-
.. automodule:: b2_sdk.account_info.test_upload_url_concurrency
42+
.. automodule:: b2sdk.account_info.test_upload_url_concurrency
4343
:members:
4444
:undoc-members:
4545
:show-inheritance:
4646

47-
b2_sdk\.account\_info\.upload\_url\_pool module
47+
b2sdk\.account\_info\.upload\_url\_pool module
4848
-------------------------------------------
4949

50-
.. automodule:: b2_sdk.account_info.upload_url_pool
50+
.. automodule:: b2sdk.account_info.upload_url_pool
5151
:members:
5252
:undoc-members:
5353
:show-inheritance:
@@ -56,7 +56,7 @@ b2_sdk\.account\_info\.upload\_url\_pool module
5656
Module contents
5757
---------------
5858

59-
.. automodule:: b2_sdk.account_info
59+
.. automodule:: b2sdk.account_info
6060
:members:
6161
:undoc-members:
6262
:show-inheritance:

doc/source/b2.rst

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,157 +1,157 @@
1-
b2_sdk package
1+
b2sdk package
22
==============
33

44
Subpackages
55
-----------
66

77
.. toctree::
88

9-
b2_sdk.account_info
10-
b2_sdk.sync
9+
b2sdk.account_info
10+
b2sdk.sync
1111

1212
Submodules
1313
----------
1414

15-
b2_sdk\.api module
15+
b2sdk\.api module
1616
------------------
1717

18-
.. automodule:: b2_sdk.api
18+
.. automodule:: b2sdk.api
1919
:members:
2020
:undoc-members:
2121
:show-inheritance:
2222

23-
b2_sdk\.b2http module
23+
b2sdk\.b2http module
2424
---------------------
2525

26-
.. automodule:: b2_sdk.b2http
26+
.. automodule:: b2sdk.b2http
2727
:members:
2828
:undoc-members:
2929
:show-inheritance:
3030

31-
b2_sdk\.bucket module
31+
b2sdk\.bucket module
3232
---------------------
3333

34-
.. automodule:: b2_sdk.bucket
34+
.. automodule:: b2sdk.bucket
3535
:members:
3636
:undoc-members:
3737
:show-inheritance:
3838

39-
b2_sdk\.cache module
39+
b2sdk\.cache module
4040
--------------------
4141

42-
.. automodule:: b2_sdk.cache
42+
.. automodule:: b2sdk.cache
4343
:members:
4444
:undoc-members:
4545
:show-inheritance:
4646

47-
b2_sdk\.console\_tool module
47+
b2sdk\.console\_tool module
4848
----------------------------
4949

50-
.. automodule:: b2_sdk.console_tool
50+
.. automodule:: b2sdk.console_tool
5151
:members:
5252
:undoc-members:
5353
:show-inheritance:
5454

55-
b2_sdk\.download\_dest module
55+
b2sdk\.download\_dest module
5656
-----------------------------
5757

58-
.. automodule:: b2_sdk.download_dest
58+
.. automodule:: b2sdk.download_dest
5959
:members:
6060
:undoc-members:
6161
:show-inheritance:
6262

63-
b2_sdk\.exception module
63+
b2sdk\.exception module
6464
------------------------
6565

66-
.. automodule:: b2_sdk.exception
66+
.. automodule:: b2sdk.exception
6767
:members:
6868
:undoc-members:
6969
:show-inheritance:
7070

71-
b2_sdk\.file\_version module
71+
b2sdk\.file\_version module
7272
----------------------------
7373

74-
.. automodule:: b2_sdk.file_version
74+
.. automodule:: b2sdk.file_version
7575
:members:
7676
:undoc-members:
7777
:show-inheritance:
7878

79-
b2_sdk\.parse\_args module
79+
b2sdk\.parse\_args module
8080
--------------------------
8181

82-
.. automodule:: b2_sdk.parse_args
82+
.. automodule:: b2sdk.parse_args
8383
:members:
8484
:undoc-members:
8585
:show-inheritance:
8686

87-
b2_sdk\.part module
87+
b2sdk\.part module
8888
-------------------
8989

90-
.. automodule:: b2_sdk.part
90+
.. automodule:: b2sdk.part
9191
:members:
9292
:undoc-members:
9393
:show-inheritance:
9494

95-
b2_sdk\.progress module
95+
b2sdk\.progress module
9696
-----------------------
9797

98-
.. automodule:: b2_sdk.progress
98+
.. automodule:: b2sdk.progress
9999
:members:
100100
:undoc-members:
101101
:show-inheritance:
102102

103-
b2_sdk\.raw\_api module
103+
b2sdk\.raw\_api module
104104
-----------------------
105105

106-
.. automodule:: b2_sdk.raw_api
106+
.. automodule:: b2sdk.raw_api
107107
:members:
108108
:undoc-members:
109109
:show-inheritance:
110110

111-
b2_sdk\.raw\_simulator module
111+
b2sdk\.raw\_simulator module
112112
-----------------------------
113113

114-
.. automodule:: b2_sdk.raw_simulator
114+
.. automodule:: b2sdk.raw_simulator
115115
:members:
116116
:undoc-members:
117117
:show-inheritance:
118118

119-
b2_sdk\.session module
119+
b2sdk\.session module
120120
----------------------
121121

122-
.. automodule:: b2_sdk.session
122+
.. automodule:: b2sdk.session
123123
:members:
124124
:undoc-members:
125125
:show-inheritance:
126126

127-
b2_sdk\.unfinished\_large\_file module
127+
b2sdk\.unfinished\_large\_file module
128128
--------------------------------------
129129

130-
.. automodule:: b2_sdk.unfinished_large_file
130+
.. automodule:: b2sdk.unfinished_large_file
131131
:members:
132132
:undoc-members:
133133
:show-inheritance:
134134

135-
b2_sdk\.upload\_source module
135+
b2sdk\.upload\_source module
136136
-----------------------------
137137

138-
.. automodule:: b2_sdk.upload_source
138+
.. automodule:: b2sdk.upload_source
139139
:members:
140140
:undoc-members:
141141
:show-inheritance:
142142

143-
b2_sdk\.utils module
143+
b2sdk\.utils module
144144
--------------------
145145

146-
.. automodule:: b2_sdk.utils
146+
.. automodule:: b2sdk.utils
147147
:members:
148148
:undoc-members:
149149
:show-inheritance:
150150

151-
b2_sdk\.version module
151+
b2sdk\.version module
152152
----------------------
153153

154-
.. automodule:: b2_sdk.version
154+
.. automodule:: b2sdk.version
155155
:members:
156156
:undoc-members:
157157
:show-inheritance:
@@ -160,7 +160,7 @@ b2_sdk\.version module
160160
Module contents
161161
---------------
162162

163-
.. automodule:: b2_sdk
163+
.. automodule:: b2sdk
164164
:members:
165165
:undoc-members:
166166
:show-inheritance:

0 commit comments

Comments
 (0)