File: PKG-INFO

package info (click to toggle)
pyrad 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: python: 1,957; makefile: 5
file content (98 lines) | stat: -rw-r--r-- 4,048 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Metadata-Version: 1.1
Name: pyrad
Version: 2.4
Summary: RADIUS tools
Home-page: https://github.com/pyradius/pyrad
Author: Istvan Ruzman, Christian Giese
Author-email: istvan@ruzman.eu, developer@gicnet.de
License: BSD
Description: .. image:: https://travis-ci.org/pyradius/pyrad.svg?branch=master
            :target: https://travis-ci.org/pyradius/pyrad
        .. image:: https://coveralls.io/repos/github/pyradius/pyrad/badge.svg?branch=master
            :target: https://coveralls.io/github/pyradius/pyrad?branch=master
        .. image:: https://img.shields.io/pypi/v/pyrad.svg
            :target: https://pypi.python.org/pypi/pyrad
        .. image:: https://img.shields.io/pypi/pyversions/pyrad.svg
            :target: https://pypi.python.org/pypi/pyrad
        .. image:: https://img.shields.io/pypi/dm/pyrad.svg
            :target: https://pypi.python.org/pypi/pyrad
        .. image:: https://readthedocs.org/projects/pyrad/badge/?version=latest
            :target: http://pyrad.readthedocs.io/en/latest/?badge=latest
            :alt: Documentation Status
        .. image:: https://img.shields.io/pypi/l/pyrad.svg
            :target: https://pypi.python.org/pypi/pyrad
        
        Introduction
        ============
        
        pyrad is an implementation of a RADIUS client/server as described in RFC2865.
        It takes care of all the details like building RADIUS packets, sending
        them and decoding responses.
        
        Here is an example of doing a authentication request::
        
            from __future__ import print_function
            from pyrad.client import Client
            from pyrad.dictionary import Dictionary
            import pyrad.packet
        
            srv = Client(server="localhost", secret=b"Kah3choteereethiejeimaeziecumi",
                         dict=Dictionary("dictionary"))
        
            # create request
            req = srv.CreateAuthPacket(code=pyrad.packet.AccessRequest,
                                       User_Name="wichert", NAS_Identifier="localhost")
            req["User-Password"] = req.PwCrypt("password")
        
            # send request
            reply = srv.SendPacket(req)
        
            if reply.code == pyrad.packet.AccessAccept:
                print("access accepted")
            else:
                print("access denied")
        
            print("Attributes returned by server:")
            for i in reply.keys():
                print("%s: %s" % (i, reply[i]))
        
        
        
        Requirements & Installation
        ===========================
        
        pyrad requires Python 2.7, or Python 3.6 or later
        
        Installing is simple; pyrad uses the standard distutils system for installing
        Python modules::
        
          python setup.py install
        
        
        Author, Copyright, Availability
        ===============================
        
        pyrad was written by Wichert Akkerman <wichert@wiggy.net> and is maintained by 
        Christian Giese (GIC-de) and Istvan Ruzman (Istvan91). 
        
        This project is licensed under a BSD license.
        
        Copyright and license information can be found in the LICENSE.txt file.
        
        The current version and documentation can be found on pypi:
        https://pypi.org/project/pyrad/
        
        Bugs and wishes can be submitted in the pyrad issue tracker on github:
        https://github.com/pyradius/pyrad/issues
        
Keywords: radius,authentication
Platform: UNKNOWN
Classifier: Development Status :: 6 - Mature
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Systems Administration :: Authentication/Directory