Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 06-Aug-2021 | - | 208 | 191 | |
b2sdk/ | H | 06-Aug-2021 | - | 20,491 | 15,746 | |
b2sdk.egg-info/ | H | 03-May-2022 | - | 66 | 45 | |
contrib/ | H | 06-Aug-2021 | - | 54 | 38 | |
doc/ | H | 06-Aug-2021 | - | 2,990 | 2,025 | |
test/ | H | 06-Aug-2021 | - | 12,658 | 9,802 | |
.gitignore | H A D | 06-Aug-2021 | 127 | 15 | 14 | |
.readthedocs.yml | H A D | 06-Aug-2021 | 592 | 25 | 20 | |
CHANGELOG.md | H A D | 06-Aug-2021 | 9.6 KiB | 275 | 204 | |
CONTRIBUTING.md | H A D | 06-Aug-2021 | 3.1 KiB | 100 | 65 | |
LICENSE | H A D | 06-Aug-2021 | 1.3 KiB | 31 | 22 | |
MANIFEST.in | H A D | 06-Aug-2021 | 41 | 3 | 2 | |
PKG-INFO | H A D | 06-Aug-2021 | 3 KiB | 66 | 45 | |
README.md | H A D | 06-Aug-2021 | 2.2 KiB | 40 | 22 | |
README.release.md | H A D | 06-Aug-2021 | 1.2 KiB | 26 | 24 | |
noxfile.py | H A D | 06-Aug-2021 | 6.6 KiB | 206 | 130 | |
setup.cfg | H A D | 06-Aug-2021 | 940 | 61 | 54 | |
setup.py | H A D | 03-May-2022 | 4.6 KiB | 136 | 63 |
README.md
1# B2 Python SDK 2 [![Continuous Integration](https://github.com/Backblaze/b2-sdk-python/workflows/Continuous%20Integration/badge.svg)](https://github.com/Backblaze/b2-sdk-python/actions?query=workflow%3A%22Continuous+Integration%22) [![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) [![Docs](https://readthedocs.org/projects/b2-sdk-python/badge/?version=master)](https://b2-sdk-python.readthedocs.io/en/master/) 3 4 5 6This repository contains a client library and a few handy utilities for easy access to all of the capabilities of B2 Cloud Storage. 7 8[B2 command-line tool](https://github.com/Backblaze/B2_Command_Line_Tool) is an example of how it can be used to provide command-line access to the B2 service, but there are many possible applications (including FUSE filesystems, storage backend drivers for backup applications etc). 9 10# Documentation 11 12The latest documentation is available on [Read the Docs](https://b2-sdk-python.readthedocs.io). 13 14# Installation 15 16The sdk can be installed with: 17 18 pip install b2sdk 19 20# Version policy 21 22b2sdk follows [Semantic Versioning](https://semver.org/) policy, so in essence the version number is MAJOR.MINOR.PATCH (for example 1.2.3) and: 23- we increase MAJOR version when we make incompatible API changes 24- we increase MINOR version when we add functionality in a backwards-compatible manner, and 25- we increase PATCH version when we make backwards-compatible bug fixes (unless someone relies on the undocumented behavior of a fixed bug) 26 27Therefore when setting up b2sdk as a dependency, please make sure to match the version appropriately, for example you could put this in your `requirements.txt` to make sure your code is compatible with the `b2sdk` version your user will get from pypi: 28 29``` 30b2sdk>=0.0.0,<1.0.0 31``` 32 33# Release History 34 35Please refer to the [changelog](CHANGELOG.md). 36 37# Developer Info 38 39Please see our [contributing guidelines](CONTRIBUTING.md). 40
README.release.md
1# Release Process 2 3- Get the Nox: 4 - `pip install -U nox` 5- Update the release history in `CHANGELOG.md`: 6 - Change "Unreleased" to the current release version and date. 7 - Create empty "Unreleased" section. 8 - Add proper link to the new release (at the bottom of the file). Use GitHub [compare feature](https://docs.github.com/en/free-pro-team@latest/github/committing-changes-to-your-project/comparing-commits#comparing-tags) between two tags. 9 - Update "Unreleased" link (at the bottom of the file). 10- Run linters and tests: 11 - `export B2_TEST_APPLICATION_KEY=your_app_key` 12 - `export B2_TEST_APPLICATION_KEY_ID=your_app_key_id` 13 - `nox -x` 14- Build docs locally: 15 - `nox --non-interactive -xs doc` 16- Commit and push to GitHub, then wait for CI workflow to complete successfully. 17 - No need to make a branch. Push straight to `master`. 18- Tag in git and push tag to origin. (Version tags look like "v0.4.6".) 19 - `git tag vx.x.x` 20 - `git push origin vx.x.x` 21- Wait for CD workflow to complete successfully. 22 - Verify that the GitHub release is created 23 - Verify that the release has been uploaded to the PyPI 24- Install using pip and verify that it gets the correct version: 25 - `pip install -U b2sdk` 26