id
int64
0
458k
file_name
stringlengths
4
119
file_path
stringlengths
14
227
content
stringlengths
24
9.96M
size
int64
24
9.96M
language
stringclasses
1 value
extension
stringclasses
14 values
total_lines
int64
1
219k
avg_line_length
float64
2.52
4.63M
max_line_length
int64
5
9.91M
alphanum_fraction
float64
0
1
repo_name
stringlengths
7
101
repo_stars
int64
100
139k
repo_forks
int64
0
26.4k
repo_open_issues
int64
0
2.27k
repo_license
stringclasses
12 values
repo_extraction_date
stringclasses
433 values
500
isbndb.py
internetarchive_openlibrary/scripts/providers/isbndb.py
import re import json import logging import os from typing import Any, Final import requests from json import JSONDecodeError from openlibrary.config import load_config from openlibrary.core.imports import Batch from openlibrary.plugins.upstream.utils import get_marc21_language from scripts.partner_batch_imports impo...
8,832
Python
.py
206
33.621359
105
0.600723
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
501
test_isbndb.py
internetarchive_openlibrary/scripts/tests/test_isbndb.py
from pathlib import Path import pytest from ..providers.isbndb import ISBNdb, get_line, NONBOOK, is_nonbook # Sample lines from the dump line0 = '''{"isbn": "0000001562", "msrp": "0.00", "image": "Https://images.isbndb.com/covers/15/66/9780000001566.jpg", "title": "教えます!花嫁衣装 のトレンドニュース", "isbn13": "9780000001566", "...
5,763
Python
.py
126
37.777778
587
0.632711
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
502
test_affiliate_server.py
internetarchive_openlibrary/scripts/tests/test_affiliate_server.py
""" Requires pytest-mock to be installed: `pip install pytest-mock` for access to the mocker fixture. # docker compose run --rm home pytest scripts/tests/test_affiliate_server.py """ import json import sys from typing import Any from unittest.mock import MagicMock import pytest # TODO: Can we remove _init_path some...
12,095
Python
.py
329
25.924012
91
0.519539
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
503
test_import_open_textbook_library.py
internetarchive_openlibrary/scripts/tests/test_import_open_textbook_library.py
import pytest from ..import_open_textbook_library import map_data @pytest.mark.parametrize( "input_data, expected_output", [ ( # Test case 1: Basic case with all fields present { "id": 1238, "title": "Healthcare in the United States: Navigating ...
8,835
Python
.py
212
21.891509
130
0.373275
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
504
test_promise_batch_imports.py
internetarchive_openlibrary/scripts/tests/test_promise_batch_imports.py
import pytest from ..promise_batch_imports import format_date @pytest.mark.parametrize( "date, only_year, expected", [ ("20001020", False, "2000-10-20"), ("20000101", True, "2000"), ("20000000", True, "2000"), ], ) def test_format_date(date, only_year, expected) -> None: asser...
378
Python
.py
12
26.916667
66
0.644628
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
505
test_obfi.py
internetarchive_openlibrary/scripts/tests/test_obfi.py
import io import os import socket import sys import time import urllib.request from collections.abc import Callable, Generator from pathlib import Path import pytest os.environ['SEED_PATH'] = 'must be truthy for obfi/decode_ip scripts to run' from ..obfi import hide, mktable, reveal, shownames def mock_urlopen(*arg...
9,766
Python
.py
160
54.5375
252
0.660113
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
506
test_import_standard_ebooks.py
internetarchive_openlibrary/scripts/tests/test_import_standard_ebooks.py
from scripts.import_standard_ebooks import map_data SAMPLE_1 = { 'id': 'https://standardebooks.org/ebooks/t-e-lawrence/seven-pillars-of-wisdom', 'guidislink': True, 'link': 'https://standardebooks.org/ebooks/t-e-lawrence/seven-pillars-of-wisdom', 'dcterms_identifier': 'url:https://standardebooks.org/e...
8,414
Python
.py
146
48.027397
2,271
0.633131
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
507
test_solr_updater.py
internetarchive_openlibrary/scripts/tests/test_solr_updater.py
import sys from unittest.mock import MagicMock # TODO: Can we remove _init_path someday :( sys.modules['_init_path'] = MagicMock() from scripts.solr_updater import parse_log class TestParseLog: def test_action_save(self): sample_record = { 'action': 'save', 'site': 'openlibrary.o...
12,125
Python
.py
265
22.909434
79
0.328158
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
508
test_partner_batch_imports.py
internetarchive_openlibrary/scripts/tests/test_partner_batch_imports.py
from datetime import datetime import pytest from ..partner_batch_imports import ( Biblio, is_low_quality_book, is_published_in_future_year, ) csv_row = "USA01961304|0962561851||9780962561856|AC|I|TC||B||Sutra on Upasaka Precepts|The||||||||2006|20060531|Heng-ching, Shih|TR||||||||||||||226|ENG||0.545|22....
7,608
Python
.py
122
54.483607
510
0.567832
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
509
test_copydocs.py
internetarchive_openlibrary/scripts/tests/test_copydocs.py
from __future__ import annotations from ..copydocs import copy, KeyVersionPair class TestKeyVersionPair: def test_from_uri(self): pair = KeyVersionPair.from_uri('/works/OL1W?v=7') assert pair.key == '/works/OL1W' assert pair.version == '7' pair = KeyVersionPair.from_uri('/authors/...
3,196
Python
.py
77
32.61039
84
0.553658
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
510
issue_comment_bot.py
internetarchive_openlibrary/scripts/gh_scripts/issue_comment_bot.py
#!/usr/bin/env python """ Fetches Open Library GitHub issues that have been commented on within some amount of time, in hours. If called with a Slack token and channel, publishes a digest of the issues that were identified to the given channel. Adds the "Needs: Response" label to the issues in Github. """ import argp...
15,659
Python
.py
399
30.814536
151
0.61318
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
511
shownames.py
internetarchive_openlibrary/scripts/obfi/shownames.py
#!/usr/bin/env python3 # this matches obscured IPs, resolves them if possible, and reveals the # resolved host in []s # use: cat /var/log/lighttpd/current-access.log | reveal | shownames import re import socket import sys from re import Match def add_name(match: Match) -> str: ip = match.group(2) if ip[0:2...
940
Python
.py
30
25.833333
84
0.579533
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
512
mktable.py
internetarchive_openlibrary/scripts/obfi/mktable.py
#!/usr/bin/env python3 # matches ip#'s from input, builds reverse table to unhide hidden ips # use: # sudo tcpdump -n (dst port 80 or dst port 443) | ./mktable # leave running .. reveal uses the table # or netstat -n | ./mktable # # or # sudo tcpdump -n dst port 80 and 'tcp[tcpflags] & tcp-syn != 0' | ./mktable # # E...
3,396
Python
.py
99
25.353535
97
0.542048
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
513
reveal.py
internetarchive_openlibrary/scripts/obfi/reveal.py
#!/usr/bin/env python3 # this matches obscured ip's and reveals them in ()'s # use: cat /var/log/lighttpd/current-access.log | reveal import dbm.ndbm import re import sys import time class IPRevealer: """A class to reveal obscured IP addresses obscured by hide.py.""" def __init__(self, real_ips, replace: b...
1,947
Python
.py
50
28.9
87
0.535809
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
514
hide.py
internetarchive_openlibrary/scripts/obfi/hide.py
#!/usr/bin/env python3 # use: hide ip# # prints hashed ip using current key import hashlib import os import struct import sys from typing import Final import urllib.request SEED_PATH: Final = os.getenv("SEED_PATH", "") if not SEED_PATH: print("Set $SEED_PATH to the URL of seed.txt") sys.exit(1) class Hash...
1,228
Python
.py
40
24.5
79
0.586735
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
515
setup.py
internetarchive_openlibrary/scripts/solr_builder/setup.py
from pathlib import Path from setuptools import setup from Cython.Build import cythonize setup( py_modules=['solr_builder'], ext_modules=cythonize( str(Path(__file__).parent / "solr_builder" / "solr_builder.py"), compiler_directives={'language_level': "3"}, ), )
292
Python
.py
10
25.3
72
0.686833
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
516
Dockerfile.olpython
internetarchive_openlibrary/scripts/solr_builder/Dockerfile.olpython
FROM openlibrary/olbase:latest ENV PYTHONPATH=/openlibrary:/openlibrary/vendor/infogami USER root COPY requirements*.txt ./ RUN pip install -r requirements_test.txt WORKDIR /openlibrary/scripts/solr_builder RUN pip install \ # For real-time profiling cprofilev \ # Faster python Cython==3.0.6 # Buil...
390
Python
.py
15
23.533333
56
0.791328
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
517
test_fn_to_cli.py
internetarchive_openlibrary/scripts/solr_builder/tests/test_fn_to_cli.py
from argparse import BooleanOptionalAction from pathlib import Path import typing from scripts.solr_builder.solr_builder.fn_to_cli import FnToCLI class TestFnToCLI: def test_full_flow(self): def fn(works: list[str], solr_url: str | None = None): """ Do some magic! :para...
2,077
Python
.py
58
26.724138
81
0.548355
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
518
solr_builder.py
internetarchive_openlibrary/scripts/solr_builder/solr_builder/solr_builder.py
from __future__ import annotations import json import logging from pathlib import Path import time import uuid from collections import namedtuple from collections.abc import Awaitable, Iterator from configparser import ConfigParser from typing import Any, Literal, Self import aiofiles import psycopg2 from openlibrar...
22,017
Python
.py
572
27.215035
87
0.516173
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
519
fn_to_cli.py
internetarchive_openlibrary/scripts/solr_builder/solr_builder/fn_to_cli.py
import asyncio from pathlib import Path import types import typing from argparse import ( ArgumentParser, ArgumentDefaultsHelpFormatter, BooleanOptionalAction, Namespace, ) class FnToCLI: """ A utility class which automatically infers and generates ArgParse command line options from a func...
4,699
Python
.py
111
33.369369
116
0.598817
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
520
index_subjects.py
internetarchive_openlibrary/scripts/solr_builder/solr_builder/index_subjects.py
import asyncio import json from asyncio import Future from typing import Literal import httpx from openlibrary.solr.utils import solr_insert_documents, str_to_key from scripts.solr_builder.solr_builder.fn_to_cli import FnToCLI from scripts.solr_builder.solr_builder.solr_builder import safeget def subject_name_to_ke...
4,039
Python
.py
120
24.15
82
0.554019
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
521
sitemap.py
internetarchive_openlibrary/scripts/sitemaps/sitemap.py
#!/usr/bin/env python """Script to generate XML sitemap of openlibrary.org website. USAGE: python sitemaps.py suffix dump.txt.gz """ import gzip import itertools import json import logging import os import re from collections.abc import Iterator from contextlib import contextmanager from datetime import datetime...
6,694
Python
.py
176
32.556818
87
0.636251
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
522
Dockerfile.olpython
internetarchive_openlibrary/scripts/solr_builder/Dockerfile.olpython
FROM openlibrary/olbase:latest ENV PYTHONPATH=/openlibrary:/openlibrary/vendor/infogami USER root COPY requirements*.txt ./ RUN pip install -r requirements_test.txt WORKDIR /openlibrary/scripts/solr_builder RUN pip install \ # For real-time profiling cprofilev \ # Faster python Cython==3.0.6 # Buil...
390
Python
.pyt
15
23.533333
56
0.791328
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
523
attach_debugger.html
internetarchive_openlibrary/openlibrary/templates/admin/attach_debugger.html
$def with (python_version, keys="", error="") $var title: $_("Attach Debugger") <div id="contentHead"> $:render_template("admin/menu") <h1>$_('Attach Debugger on Python %(version_number)s', version_number=python_version)</h1> </div> <div id="contentBody"> <div> $_("Start a debugger on port 3000."...
744
Python
.tac
22
27.363636
121
0.582173
internetarchive/openlibrary
5,078
1,311
956
AGPL-3.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
524
setup.py
res0nat0r_gitosis/setup.py
#!/usr/bin/python from setuptools import setup, find_packages import os def _subdir_contents(path): for toplevel in os.listdir(path): toplevel_path = os.path.join(path, toplevel) if not os.path.isdir(toplevel_path): continue for dirpath, dirnames, filenames in os.walk(toplevel_p...
2,169
Python
.py
56
31.821429
68
0.656518
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
525
copyright
res0nat0r_gitosis/debian/copyright
This package was debianized by Tommi Virtanen <tv@eagain.net> on Tue, 28 Aug 2007 21:32:22 -0700. It was originally downloaded from http://eagain.net/software/gitosis/ Upstream Author: Tommi Virtanen <tv@eagain.net> Copyright: Gitosis -- git repository hosting application Copyright (C) 2007 Tommi Virtanen ...
956
Python
.py
17
52.470588
72
0.77897
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
526
gitweb.py
res0nat0r_gitosis/gitosis/gitweb.py
""" Generate ``gitweb`` project list based on ``gitosis.conf``. To plug this into ``gitweb``, you have two choices. - The global way, edit ``/etc/gitweb.conf`` to say:: $projects_list = "/path/to/your/projects.list"; Note that there can be only one such use of gitweb. - The local way, create a new config file::...
4,664
Python
.py
130
27.707692
70
0.599422
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
527
util.py
res0nat0r_gitosis/gitosis/util.py
import errno import os from ConfigParser import NoSectionError, NoOptionError def mkdir(*a, **kw): try: os.mkdir(*a, **kw) except OSError, e: if e.errno == errno.EEXIST: pass else: raise def getRepositoryDir(config): repositories = os.path.expanduser('~') ...
1,037
Python
.py
32
26.40625
65
0.673327
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
528
repository.py
res0nat0r_gitosis/gitosis/repository.py
import stat import errno import os import re import subprocess import sys from pkg_resources import resource_filename from gitosis import util class GitError(Exception): """git failed""" def __str__(self): return '%s: %s' % (self.__doc__, ': '.join(self.args)) class GitInitError(Exception): """g...
5,564
Python
.py
208
19.403846
68
0.560948
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
529
ssh.py
res0nat0r_gitosis/gitosis/ssh.py
import os, errno, re import logging log = logging.getLogger('gitosis.ssh') _ACCEPTABLE_USER_RE = re.compile(r'^[a-zA-Z][a-zA-Z0-9_.-]*(@[a-zA-Z][a-zA-Z0-9.-]*)?$') def isSafeUsername(user): match = _ACCEPTABLE_USER_RE.match(user) return (match is not None) def readKeys(keydir): """ Read SSH public k...
2,398
Python
.py
73
24.109589
88
0.556326
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
530
mirror.py
res0nat0r_gitosis/gitosis/mirror.py
""" Created on 23 Mar 2009 @author: Damien Lebrun """ from ConfigParser import NoOptionError, NoSectionError import os import logging from gitosis import repository from gitosis import util def push_mirrors(config, git_dir): """ Apply a push with the mirror option to all mirrors defined in gitosis.conf ...
2,416
Python
.py
61
32.52459
86
0.671359
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
531
access.py
res0nat0r_gitosis/gitosis/access.py
import os, logging from ConfigParser import NoSectionError, NoOptionError from fnmatch import fnmatch from gitosis import group def pathMatchPatterns(path, repos): """ Check existence of given path against list of path patterns The pattern definition is the as fnmatch.fnmatch. """ for repo in rep...
3,016
Python
.py
89
22.146067
80
0.518366
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
532
gitdaemon.py
res0nat0r_gitosis/gitosis/gitdaemon.py
import errno import logging import os from ConfigParser import NoSectionError, NoOptionError log = logging.getLogger('gitosis.gitdaemon') from gitosis import util from gitosis import access def export_ok_path(repopath): p = os.path.join(repopath, 'git-daemon-export-ok') return p def allow_export(repopath):...
3,004
Python
.py
90
24.922222
74
0.589637
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
533
snagit.py
res0nat0r_gitosis/gitosis/snagit.py
from gitosis import access def list_repos(cfg, user, cmd): all_repos = [] secs = cfg.sections() for sec in secs: for opt in cfg.options(sec): if ((str(opt) == "writable") or (str(opt) == "writeable")): ws = cfg.get(sec, opt).split() for repo in ws: ...
1,423
Python
.py
37
25.486486
71
0.503273
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
534
app.py
res0nat0r_gitosis/gitosis/app.py
import os import sys import logging import optparse import errno import ConfigParser log = logging.getLogger('gitosis.app') class CannotReadConfigError(Exception): """Unable to read config file""" def __str__(self): return '%s: %s' % (self.__doc__, ': '.join(self.args)) class ConfigFileDoesNotExistE...
2,647
Python
.py
79
23.240506
65
0.567737
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
535
init.py
res0nat0r_gitosis/gitosis/init.py
""" Initialize a user account for use with gitosis. """ import errno import logging import os import sys from pkg_resources import resource_filename from cStringIO import StringIO from ConfigParser import RawConfigParser from gitosis import repository from gitosis import run_hook from gitosis import ssh from gitosis...
4,301
Python
.py
129
25.891473
74
0.618142
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
536
run_hook.py
res0nat0r_gitosis/gitosis/run_hook.py
""" Perform gitosis actions for a git hook. """ from ConfigParser import NoOptionError, NoSectionError import errno import logging import os import sys import shutil from gitosis import repository from gitosis import ssh from gitosis import gitweb from gitosis import gitdaemon from gitosis import app from gitosis imp...
2,455
Python
.py
78
24.397436
63
0.627376
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
537
serve.py
res0nat0r_gitosis/gitosis/serve.py
""" Enforce git-shell to only serve allowed by access control policy. directory. The client should refer to them without any extra directory prefix. Repository names are forced to match ALLOW_RE. """ import logging import sys, os, re from gitosis import access from gitosis import repository from gitosis import gitwe...
5,899
Python
.py
175
25.171429
99
0.596195
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
538
group.py
res0nat0r_gitosis/gitosis/group.py
import logging from ConfigParser import NoSectionError, NoOptionError def _getMembership(config, user, seen): log = logging.getLogger('gitosis.group.getMembership') for section in config.sections(): GROUP_PREFIX = 'group ' if not section.startswith(GROUP_PREFIX): continue g...
1,520
Python
.py
44
25.113636
69
0.582253
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
539
test_serve.py
res0nat0r_gitosis/gitosis/test/test_serve.py
from nose.tools import eq_ as eq from gitosis.test.util import assert_raises import logging import os from cStringIO import StringIO from ConfigParser import RawConfigParser from gitosis import serve from gitosis import repository from gitosis.test import util def test_bad_newLine(): cfg = RawConfigParser() ...
17,216
Python
.py
500
28.386
79
0.637579
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
540
test_repository.py
res0nat0r_gitosis/gitosis/test/test_repository.py
from nose.tools import eq_ as eq import os import subprocess import random from gitosis import repository from gitosis.test.util import ( mkdir, maketemp, readFile, writeFile, check_mode, assert_raises, ) def check_bare(path): # we want it to be a bare repository assert not os.pa...
10,947
Python
.py
351
24.820513
89
0.599735
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
541
test_gitweb.py
res0nat0r_gitosis/gitosis/test/test_gitweb.py
from nose.tools import eq_ as eq import os from ConfigParser import RawConfigParser from cStringIO import StringIO from gitosis import gitweb from gitosis.test.util import mkdir, maketemp, readFile, writeFile def test_projectsList_empty(): cfg = RawConfigParser() got = StringIO() gitweb.generate_project_...
6,594
Python
.py
222
24.644144
70
0.634146
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
542
util.py
res0nat0r_gitosis/gitosis/test/util.py
from nose.tools import eq_ as eq import errno import os import shutil import stat import sys def mkdir(*a, **kw): try: os.mkdir(*a, **kw) except OSError, e: if e.errno == errno.EEXIST: pass else: raise def maketemp(): tmp = os.path.join(os.path.dirname(__fi...
1,692
Python
.py
67
19.164179
68
0.575495
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
543
test_run_hook.py
res0nat0r_gitosis/gitosis/test/test_run_hook.py
from nose.tools import eq_ as eq import os from ConfigParser import RawConfigParser from cStringIO import StringIO from gitosis import init, repository, run_hook from gitosis.test.util import maketemp, readFile def test_post_update_simple(): tmp = maketemp() repos = os.path.join(tmp, 'repositories') os.m...
3,299
Python
.py
89
31
369
0.693508
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
544
test_ssh.py
res0nat0r_gitosis/gitosis/test/test_ssh.py
from nose.tools import eq_ as eq, assert_raises import os from cStringIO import StringIO from gitosis import ssh from gitosis.test.util import mkdir, maketemp, writeFile, readFile def _key(s): return ''.join(s.split('\n')).strip() KEY_1 = _key(""" ssh-rsa +v5XLsUrLsHOKy7Stob1lHZM17YCCNXplcKfbpIztS2PujyixOaBev1k...
5,956
Python
.py
166
28.921687
80
0.623284
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
545
test_gitdaemon.py
res0nat0r_gitosis/gitosis/test/test_gitdaemon.py
from nose.tools import eq_ as eq import os from ConfigParser import RawConfigParser from gitosis import gitdaemon from gitosis.test.util import maketemp, writeFile def exported(path): assert os.path.isdir(path) p = gitdaemon.export_ok_path(path) return os.path.exists(p) def test_git_daemon_export_ok_rep...
6,018
Python
.py
166
31.253012
74
0.657579
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
546
test_mirror.py
res0nat0r_gitosis/gitosis/test/test_mirror.py
from nose.tools import eq_ as eq, ok_ as ok from ConfigParser import RawConfigParser from gitosis import mirror, repository from gitosis.test.util import maketemp import os def get_config(): cfg = RawConfigParser() cfg.add_section('repo foo') cfg.set('repo foo', 'mirrors', '/var/bar /var/baz') return...
2,439
Python
.py
68
30.132353
90
0.638688
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
547
test_access.py
res0nat0r_gitosis/gitosis/test/test_access.py
from nose.tools import eq_ as eq import logging from ConfigParser import RawConfigParser from gitosis import access def test_write_no_simple(): cfg = RawConfigParser() eq(access.haveAccess(config=cfg, user='jdoe', mode='writable', path='foo/bar'), None) def test_write_yes_simple(): cfg = RawConfi...
5,954
Python
.py
138
38.072464
87
0.657005
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
548
test_init.py
res0nat0r_gitosis/gitosis/test/test_init.py
from nose.tools import eq_ as eq from gitosis.test.util import assert_raises, maketemp import os from ConfigParser import RawConfigParser from gitosis import init from gitosis import repository from gitosis.test import util def test_ssh_extract_user_simple(): got = init.ssh_extract_user( 'ssh-somealgo '...
5,907
Python
.py
133
37.586466
86
0.728693
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
549
test_group.py
res0nat0r_gitosis/gitosis/test/test_group.py
from nose.tools import eq_ as eq, assert_raises from ConfigParser import RawConfigParser from gitosis import group def test_no_emptyConfig(): cfg = RawConfigParser() gen = group.getMembership(config=cfg, user='jdoe') eq(gen.next(), 'all') assert_raises(StopIteration, gen.next) def test_no_emptyGroup...
4,750
Python
.py
123
34.01626
62
0.670642
res0nat0r/gitosis
1,323
382
9
GPL-2.0
9/5/2024, 5:07:13 PM (Europe/Amsterdam)
550
setup.py
paramiko_paramiko/setup.py
# Copyright (C) 2003-2008 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
3,289
Python
.py
88
32.613636
79
0.669693
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
551
tasks.py
paramiko_paramiko/tasks.py
import os from pathlib import Path from os.path import join from shutil import rmtree, copytree from invoke import Collection, task from invocations import checks from invocations.docs import docs, www, sites, watch_docs from invocations.packaging.release import ns as release_coll, publish from invocations.testing imp...
5,401
Python
.py
148
31.445946
79
0.655594
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
552
setup_helper.py
paramiko_paramiko/setup_helper.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
4,992
Python
.py
133
32.090226
79
0.669495
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
553
shared_conf.py
paramiko_paramiko/sites/shared_conf.py
from datetime import datetime import alabaster # Alabaster theme + mini-extension html_theme_path = [alabaster.get_path()] extensions = ["alabaster", "sphinx.ext.intersphinx"] # Paths relative to invoking conf.py - not this shared file html_theme = "alabaster" html_theme_options = { "description": "A Python impl...
1,033
Python
.py
28
34.714286
137
0.721
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
554
conf.py
paramiko_paramiko/sites/www/conf.py
# Obtain shared config values from pathlib import Path import os import sys updir = Path(__file__).parent.parent.resolve() sys.path.append(str(updir)) from shared_conf import * # Releases changelog extension extensions.append("releases") releases_release_uri = "https://github.com/paramiko/paramiko/tree/%s" releases_i...
912
Python
.py
24
36.5
79
0.748869
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
555
conf.py
paramiko_paramiko/sites/docs/conf.py
# Obtain shared config values import os, sys from os.path import abspath, join, dirname sys.path.append(abspath("..")) sys.path.append(abspath("../..")) from shared_conf import * # Enable autodoc, intersphinx extensions.extend(["sphinx.ext.autodoc"]) # Autodoc settings autodoc_default_options = { "members": True...
743
Python
.py
23
30.391304
78
0.71049
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
556
conftest.py
paramiko_paramiko/tests/conftest.py
import logging import os import shutil import threading from pathlib import Path from invoke.vendor.lexicon import Lexicon import pytest from paramiko import ( SFTPServer, SFTP, Transport, DSSKey, RSAKey, Ed25519Key, ECDSAKey, PKey, ) from ._loop import LoopSocket from ._stub_sftp imp...
6,027
Python
.py
149
35.805369
79
0.702578
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
557
test_message.py
paramiko_paramiko/tests/test_message.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
4,432
Python
.py
97
38.917526
197
0.650614
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
558
test_kex.py
paramiko_paramiko/tests/test_kex.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
36,976
Python
.py
591
53.901861
1,253
0.769032
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
559
test_sftp.py
paramiko_paramiko/tests/test_sftp.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
30,045
Python
.py
730
30.40137
133
0.553315
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
560
test_packetizer.py
paramiko_paramiko/tests/test_packetizer.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
5,095
Python
.py
129
30.565891
199
0.614514
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
561
test_ssh_gss.py
paramiko_paramiko/tests/test_ssh_gss.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # Copyright (C) 2013-2014 science + computing ag # Author: Sebastian Deiss <sebastian.deiss@t-online.de> # # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser Gene...
5,468
Python
.py
135
32.918519
79
0.654861
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
562
test_gssapi.py
paramiko_paramiko/tests/test_gssapi.py
# Copyright (C) 2013-2014 science + computing ag # Author: Sebastian Deiss <sebastian.deiss@t-online.de> # # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation;...
8,574
Python
.py
208
28.754808
79
0.557432
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
563
test_transport.py
paramiko_paramiko/tests/test_transport.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
54,225
Python
.py
1,276
32.273511
337
0.599636
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
564
test_ssh_exception.py
paramiko_paramiko/tests/test_ssh_exception.py
import pickle import unittest from paramiko import RSAKey from paramiko.ssh_exception import ( NoValidConnectionsError, BadAuthenticationType, PartialAuthentication, ChannelException, BadHostKeyException, ProxyCommandFailure, ) class NoValidConnectionsErrorTest(unittest.TestCase): def tes...
2,798
Python
.py
63
36.365079
97
0.633492
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
565
test_channelfile.py
paramiko_paramiko/tests/test_channelfile.py
from unittest.mock import patch, MagicMock from paramiko import Channel, ChannelFile, ChannelStderrFile, ChannelStdinFile class ChannelFileBase: @patch("paramiko.channel.ChannelFile._set_mode") def test_defaults_to_unbuffered_reading(self, setmode): self.klass(Channel(None)) setmode.assert_ca...
1,904
Python
.py
46
34.086957
78
0.678416
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
566
test_client.py
paramiko_paramiko/tests/test_client.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
31,084
Python
.py
723
33.957123
103
0.62469
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
567
auth.py
paramiko_paramiko/tests/auth.py
""" Tests focusing primarily on the authentication step. Thus, they concern AuthHandler and AuthStrategy, with a side of Transport. """ from logging import Logger from unittest.mock import Mock from pytest import raises from paramiko import ( AgentKey, AuthenticationException, AuthFailure, AuthResul...
22,311
Python
.py
511
32.577299
144
0.595877
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
568
test_pkey.py
paramiko_paramiko/tests/test_pkey.py
# -*- coding: utf-8 -*- # Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2...
33,006
Python
.py
619
45.547658
619
0.690112
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
569
test_file.py
paramiko_paramiko/tests/test_file.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
7,208
Python
.py
196
28.72449
79
0.600974
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
570
_util.py
paramiko_paramiko/tests/_util.py
from contextlib import contextmanager from os.path import dirname, realpath, join import builtins import os from pathlib import Path import socket import struct import sys import unittest import time import threading import pytest from paramiko import ( ServerInterface, RSAKey, DSSKey, AUTH_FAILED, ...
14,525
Python
.py
397
29.261965
79
0.645942
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
571
__init__.py
paramiko_paramiko/tests/__init__.py
"""Base classes and helpers for testing paramiko.""" import functools import locale import os from pytest import skip # List of locales which have non-ascii characters in all categories. # Omits most European languages which for instance may have only some months # with names that include accented characters. _non_...
1,852
Python
.py
46
33.304348
78
0.665367
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
572
test_proxy.py
paramiko_paramiko/tests/test_proxy.py
import signal import socket from unittest.mock import patch from pytest import raises from paramiko import ProxyCommand, ProxyCommandFailure class TestProxyCommand: @patch("paramiko.proxy.subprocess") def test_init_takes_command_string(self, subprocess): ProxyCommand(command_line="do a thing") ...
5,950
Python
.py
136
35.764706
79
0.645345
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
573
pkey.py
paramiko_paramiko/tests/pkey.py
from pathlib import Path from unittest.mock import patch, call from pytest import raises from cryptography.hazmat.primitives.asymmetric.ed448 import Ed448PrivateKey from paramiko import ( DSSKey, ECDSAKey, Ed25519Key, Message, PKey, PublicBlob, RSAKey, UnknownKeyType, ) from ._util im...
9,714
Python
.py
198
36.671717
111
0.587032
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
574
_stub_sftp.py
paramiko_paramiko/tests/_stub_sftp.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
7,453
Python
.py
208
26.331731
79
0.586761
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
575
test_buffered_pipe.py
paramiko_paramiko/tests/test_buffered_pipe.py
# Copyright (C) 2006-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
2,638
Python
.py
77
28.350649
79
0.651355
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
576
test_util.py
paramiko_paramiko/tests/test_util.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
4,758
Python
.py
125
29.552
158
0.638035
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
577
test_sftp_big.py
paramiko_paramiko/tests/test_sftp_big.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
15,272
Python
.py
368
27.336957
79
0.482566
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
578
test_config.py
paramiko_paramiko/tests/test_config.py
# This file is part of Paramiko and subject to the license in /LICENSE in this # repository from os.path import expanduser from socket import gaierror try: from invoke import Result except ImportError: Result = None from unittest.mock import patch from pytest import raises, mark, fixture from paramiko impor...
36,596
Python
.py
882
32.993197
79
0.611708
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
579
test_kex_gss.py
paramiko_paramiko/tests/test_kex_gss.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # Copyright (C) 2013-2014 science + computing ag # Author: Sebastian Deiss <sebastian.deiss@t-online.de> # # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser Gene...
5,302
Python
.py
130
33.538462
79
0.663947
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
580
_loop.py
paramiko_paramiko/tests/_loop.py
# Copyright (C) 2003-2009 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
2,875
Python
.py
86
25.453488
79
0.584804
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
581
agent.py
paramiko_paramiko/tests/agent.py
from unittest.mock import Mock from pytest import mark, raises from paramiko import AgentKey, Message, RSAKey from paramiko.agent import ( SSH2_AGENT_SIGN_RESPONSE, SSH_AGENT_RSA_SHA2_256, SSH_AGENT_RSA_SHA2_512, cSSH2_AGENTC_SIGN_REQUEST, ) from ._util import _support # AgentKey with no inner_key ...
6,046
Python
.py
132
34.537879
78
0.583376
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
582
test_hostkeys.py
paramiko_paramiko/tests/test_hostkeys.py
# Copyright (C) 2006-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
7,247
Python
.py
151
42.165563
80
0.746007
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
583
demo.py
paramiko_paramiko/demos/demo.py
#!/usr/bin/env python # Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2....
5,453
Python
.py
164
27.256098
79
0.630839
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
584
interactive.py
paramiko_paramiko/demos/interactive.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
2,780
Python
.py
84
24.75
79
0.597238
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
585
rforward.py
paramiko_paramiko/demos/rforward.py
#!/usr/bin/env python # Copyright (C) 2008 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of ...
6,367
Python
.py
198
25.641414
79
0.619684
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
586
demo_server.py
paramiko_paramiko/demos/demo_server.py
#!/usr/bin/env python # Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2....
5,914
Python
.py
155
32.264516
80
0.675161
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
587
demo_sftp.py
paramiko_paramiko/demos/demo_sftp.py
#!/usr/bin/env python # Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2....
4,076
Python
.py
121
29.429752
81
0.681414
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
588
demo_simple.py
paramiko_paramiko/demos/demo_simple.py
#!/usr/bin/env python # Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2....
3,364
Python
.py
101
28.673267
86
0.689963
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
589
forward.py
paramiko_paramiko/demos/forward.py
#!/usr/bin/env python # Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2....
7,254
Python
.py
219
25.630137
79
0.606403
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
590
demo_keygen.py
paramiko_paramiko/demos/demo_keygen.py
#!/usr/bin/env python # Copyright (C) 2010 Sofian Brabez <sbz@6dev.net> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License...
4,761
Python
.py
149
25.469799
79
0.604753
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
591
client.py
paramiko_paramiko/paramiko/client.py
# Copyright (C) 2006-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
34,492
Python
.py
787
32.330368
79
0.588887
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
592
compress.py
paramiko_paramiko/paramiko/compress.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
1,282
Python
.py
32
37.0625
79
0.738325
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
593
sftp.py
paramiko_paramiko/paramiko/sftp.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
6,471
Python
.py
199
25.944724
79
0.613735
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
594
message.py
paramiko_paramiko/paramiko/message.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
9,349
Python
.py
264
27.420455
79
0.600266
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
595
proxy.py
paramiko_paramiko/paramiko/proxy.py
# Copyright (C) 2012 Yipit, Inc <coders@yipit.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (at your option)...
4,648
Python
.py
114
32.508772
79
0.651307
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
596
util.py
paramiko_paramiko/paramiko/util.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
9,550
Python
.py
277
28.422383
79
0.621296
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
597
channel.py
paramiko_paramiko/paramiko/channel.py
# Copyright (C) 2003-2007 Robey Pointer <robeypointer@gmail.com> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (a...
49,222
Python
.py
1,205
31.025726
79
0.601376
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
598
config.py
paramiko_paramiko/paramiko/config.py
# Copyright (C) 2006-2007 Robey Pointer <robeypointer@gmail.com> # Copyright (C) 2012 Olle Lundberg <geek@nerd.sh> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software F...
27,362
Python
.py
614
33.625407
94
0.58659
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)
599
kex_group14.py
paramiko_paramiko/paramiko/kex_group14.py
# Copyright (C) 2013 Torsten Landschoff <torsten@debian.org> # # This file is part of paramiko. # # Paramiko is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (at yo...
1,833
Python
.py
32
55.15625
530
0.829336
paramiko/paramiko
9,017
1,999
1,074
LGPL-2.1
9/5/2024, 5:07:36 PM (Europe/Amsterdam)