• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hivesolutions / netius / #615433413

21 Dec 2023 01:14PM UTC coverage: 45.789%. First build
#615433413

Pull #37

travis-ci

Pull Request #37: feat: add src/netius/adapters to typing

7600 of 16598 relevant lines covered (45.79%)

1.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/netius/sh/auth.py
1
#!/usr/bin/python
2
# -*- coding: utf-8 -*-
3

4
# Hive Netius System
5
# Copyright (c) 2008-2024 Hive Solutions Lda.
6
#
7
# This file is part of Hive Netius System.
8
#
9
# Hive Netius System is free software: you can redistribute it and/or modify
10
# it under the terms of the Apache License as published by the Apache
11
# Foundation, either version 2.0 of the License, or (at your option) any
12
# later version.
13
#
14
# Hive Netius System is distributed in the hope that it will be useful,
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
# Apache License for more details.
18
#
19
# You should have received a copy of the Apache License along with
20
# Hive Netius System. If not, see <http://www.apache.org/licenses/>.
21

22
__copyright__ = "Copyright (c) 2008-2024 Hive Solutions Lda."
×
23
""" The copyright for the module """
24

25
__license__ = "Apache License, Version 2.0"
×
26
""" The license for the module """
27

28
import netius
×
29

30
from . import base
31

×
32

33
def generate(password, type="sha256", salt="netius"):
34
    print(netius.Auth.generate(password, type=type, salt=salt))
×
35

36

37
if __name__ == "__main__":
×
38
    base.sh_call(globals(), locals())
39
else:
×
40
    __path__ = []
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc