Skip to content

Commit 36decff

Browse files
committed
updated docs
1 parent bba95c9 commit 36decff

File tree

8 files changed

+23
-26
lines changed

8 files changed

+23
-26
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# python-krb5ticket
22

3-
[![PythonSSH Version](https://img.shields.io/pypi/v/python-krb5ticket?style=for-the-badge)](https://pypi.org/project/python-krb5ticket/)
4-
[![PythonSSH Status](https://img.shields.io/pypi/status/python-krb5ticket?style=for-the-badge)](https://pypi.org/project/python-krb5ticket)
5-
[![PythonSSH Python Versions](https://img.shields.io/pypi/pyversions/python-krb5ticket?style=for-the-badge)](https://pypi.org/project/python-krb5ticket/)
6-
[![PythonSSH Release](https://img.shields.io/github/release/degagne/python-krb5ticket?style=for-the-badge)](https://github.com/degagne/python-krb5ticket/releases/)
7-
[![PythonSSH License](https://img.shields.io/github/license/degagne/python-krb5ticket?style=for-the-badge)](https://github.com/degagne/python-krb5ticket/blob/master/LICENSE)
3+
[![PythonKrb5Ticket Version](https://img.shields.io/pypi/v/python-krb5ticket?style=for-the-badge)](https://pypi.org/project/python-krb5ticket/)
4+
[![PythonKrb5Ticket Status](https://img.shields.io/pypi/status/python-krb5ticket?style=for-the-badge)](https://pypi.org/project/python-krb5ticket)
5+
[![PythonKrb5Ticket Python Versions](https://img.shields.io/pypi/pyversions/python-krb5ticket?style=for-the-badge)](https://pypi.org/project/python-krb5ticket/)
6+
[![PythonKrb5Ticket Release](https://img.shields.io/github/release/degagne/python-krb5ticket?style=for-the-badge)](https://github.com/degagne/python-krb5ticket/releases/)
7+
[![PythonKrb5Ticket License](https://img.shields.io/github/license/degagne/python-krb5ticket?style=for-the-badge)](https://github.com/degagne/python-krb5ticket/blob/master/LICENSE)
88

99
**python-krb5ticket** provides a convenient interface to create Kerberos keytab files and to manage ticket-granting tickets (TGTs).
1010

docs/apidoc/krb5.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
####
2-
Krb5
2+
krb5
33
####
44

5-
.. autoclass:: krb5.Krb5
5+
.. autoclass:: krb5ticket.Krb5
66
:members:
77
:inherited-members:

docs/apidoc/ktutil.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
######
2-
Ktutil
2+
ktutil
33
######
44

5-
.. autoclass:: krb5.ktutil
5+
.. autoclass:: krb5ticket.ktutil
66
:members:
77
:inherited-members:

docs/apidoc/ktutil_helpers.rst

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
##############
2-
Ktutil Helpers
2+
ktutil_helpers
33
##############
44

5-
The ``ktutil_helpers`` module, provides easy-to-use functions to create,
6-
delete or list Kerberos keytab entries.
7-
8-
.. automodule:: krb5.ktutil_helpers
5+
.. automodule:: krb5ticket.ktutil_helpers
96
:members:
107
:inherited-members:

docs/apidoc/modules.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ API Documentation
44

55
.. toctree::
66

7-
ktutil <ktutil>
8-
ktutil_helpers <ktutil_helpers>
9-
krb5 <krb5>
7+
ktutil
8+
ktutil_helpers
9+
krb5

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# built documents.
2121
#
2222
# The full version, including alpha/beta/rc tags.
23-
release = imp.load_source("krb5.version", os.path.join("../krb5", "version.py")).version
23+
release = imp.load_source("krb5ticket.version", os.path.join("../krb5ticket", "version.py")).version
2424

2525
# Add any Sphinx extension module names here, as strings. They can be
2626
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom

docs/index.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Acquires Kerberos ticket-granting ticket (TGT) with keytab file.
4444
:caption: Python
4545
:linenos:
4646
47-
import krb5
47+
import krb5ticket
4848
49-
krb = krb5.Krb5("[email protected]", "/tmp/krb5cc_user")
49+
krb = krb5ticket.Krb5("[email protected]", "/tmp/krb5cc_user")
5050
krb.acquire_with_keytab("/home/user/user.keytab")
5151
5252
Acquires Kerberos ticket-granting ticket (TGT) with password.
@@ -55,9 +55,9 @@ Acquires Kerberos ticket-granting ticket (TGT) with password.
5555
:caption: Python
5656
:linenos:
5757
58-
from krb5 import Krb5
58+
from krb5ticket import Krb5
5959
60-
krb = Krb5("[email protected]", "/tmp/krb5cc_user")
60+
krb = krb5ticket("[email protected]", "/tmp/krb5cc_user")
6161
krb.acquire_with_password("thisismypassword")
6262
6363
ktutil
@@ -76,7 +76,7 @@ Reads the Kerberos V5 keytab file keytab into the current keylist, then prints t
7676
:caption: Python
7777
:linenos:
7878
79-
from krb5 import ktutil
79+
from krb5ticket import ktutil
8080
8181
KEYTAB = "jsmith.keytab"
8282
@@ -110,7 +110,7 @@ to a keytab file.
110110
:caption: Python
111111
:linenos:
112112
113-
from krb5 import ktutil
113+
from krb5ticket import ktutil
114114
115115
PRINCIPAL = "[email protected]"
116116
PASSWORD = "securepassword"
@@ -137,7 +137,7 @@ Deletes an entry to the current keylist and writes it to a ``NEW`` keytab file.
137137
:caption: Python
138138
:linenos:
139139
140-
from krb5 import ktutil
140+
from krb5ticket import ktutil
141141
142142
KEYTAB = "jsmith.keytab"
143143
NEW_KEYTAB = "jsmith_new.keytab"

krb5ticket/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "1.0.1"
1+
version = "1.0.2"

0 commit comments

Comments
 (0)