This repository was archived by the owner on Apr 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +60
-37
lines changed
Expand file tree Collapse file tree 6 files changed +60
-37
lines changed Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 0.1.0
3- commit = True
2+ current_version = 0.1.0-alpha.2
3+ commit = False
44tag = False
55
6- [bumpversion:file:src/bookstack/__init__.py]
6+
7+ parse =
8+ (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) # major, minor and patch
9+ (?:\-(?P<pre>(?:alpha|beta|rc))\.(?P<prenum>\d+))? # pre-release
10+
11+ serialize =
12+ {major}.{minor}.{patch}-{pre}.{prenum}
13+ {major}.{minor}.{patch}-{pre}
14+ {major}.{minor}.{patch}
15+
16+ [bumpversion:part:pre]
17+ values =
18+ alpha
19+ beta
20+ rc
21+
22+ [bumpversion:part:prenum]
23+ first_value = 1
24+
25+
26+ [bumpversion:file:src/bookstack/__version__.py]
27+
28+ [bumpversion:file:README.md]
Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file.
33
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0 ) ,
5- and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.hmtml )
5+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.hmtml ) .
66
77## [ Unreleased]
88
9- ## [ Released]
10- ### [ 0.1.0] - YYYY-MM-DD
11- Initial release
9+ ## [ Released]
Original file line number Diff line number Diff line change 11# bookstack
2+ version: 0.1.0-alpha.2
3+
24A Python wrapper for [ BookStack's] ( https://www.bookstackapp.com ) API
35
4- - TODO document examples
6+ # Installation
7+ To install ` bookstack ` , run:
8+
9+ ` pip install bookstack `
10+
11+ # Usage
12+ To use BookStack's API, you'll need to get a token ID and secret.
13+
14+ You can find how to get these values from your BookStack instance's doc page at ` http[s]://<example.com>/api/docs `
15+
16+ ``` python
17+ import bookstack
18+
19+ # Input the appropriate values for these three variables
20+ base_url = ' http[s]://<example.com>'
21+ token_id = ' <token_id>'
22+ token_secret = ' <token_secret' >
23+
24+ api = bookstack.BookStack(base_url, token_id = < token_id> , token_secret = < token_secret> )
25+ ```
26+
27+ ## TODO
28+ - Documentation
529- Remove ` tests ` directory from ` .gitignore `
Original file line number Diff line number Diff line change 1- __author__ = 'coffeepenbit'
2- __description__ = "A Python wrapper for BookStack's API"
3- __author_email__ = 'coffeepenbit@gmail.com'
4- __maintainer__ = 'coffeepenbit'
5- __title__ = 'bookstack'
6- __url__ = "https://github.com/coffeepenbit/bookstack"
7- __version__ = '0.1.0-alpha.2'
1+ from .models import BookStack
Original file line number Diff line number Diff line change 1+ __author__ = 'coffeepenbit'
2+ __description__ = "A Python wrapper for BookStack's API"
3+ __author_email__ = 'coffeepenbit@gmail.com'
4+ __maintainer__ = 'coffeepenbit'
5+ __title__ = 'bookstack'
6+ __url__ = "https://github.com/coffeepenbit/bookstack"
7+ __version__ = '0.1.0-alpha.2'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments