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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
20,400 | connect.py | devsnd_cherrymusic/cherrymusicserver/database/connect.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 3,105 | Python | .py | 77 | 35.87013 | 85 | 0.699403 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,401 | sql.py | devsnd_cherrymusic/cherrymusicserver/database/sql.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 11,174 | Python | .py | 283 | 31.137809 | 101 | 0.619996 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,402 | __init__.py | devsnd_cherrymusic/cherrymusicserver/database/__init__.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# CherryMusic - a standalone music server
# Copyright (c) 2012 - 2016 Tom Wallroth & Tilman Boerner
#
# Project page:
# http://fomori.org/cherrymusic/
# Sources on github:
# http://github.com/devsnd/cherrymusic/
#
# CherryMusic is based on
# jPlayer (GPL/MIT licens... | 5,572 | Python | .py | 147 | 31.435374 | 81 | 0.665555 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,403 | __init__.py | devsnd_cherrymusic/cherrymusicserver/database/defs/__init__.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
_PACKAGEDIR = os.path.dirname(__file__)
cache = {}
def get(dbname):
"""The database definition as a ``dict``.
Raises :
ValueError : if there is no definition for that name
"""
try:
return cache[dbname]
except KeyError:
... | 1,180 | Python | .py | 37 | 26.432432 | 75 | 0.646903 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,404 | mustache-0.7.0.js | devsnd_cherrymusic/res/js/ext/mustache-0.7.0.js | /*!
* mustache.js - Logic-less {{mustache}} templates with JavaScript
* http://github.com/janl/mustache.js
*/
/*global define: false*/
var Mustache;
(function (exports) {
if (typeof module !== "undefined" && module.exports) {
module.exports = exports; // CommonJS
} else if (typeof define === "function") {... | 15,264 | Python | .tac | 494 | 24.665992 | 102 | 0.581764 | devsnd/cherrymusic | 1,032 | 187 | 111 | GPL-3.0 | 9/5/2024, 5:12:30 PM (Europe/Amsterdam) |
20,405 | item.py | jjjake_internetarchive/internetarchive/item.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 54,346 | Python | .py | 1,134 | 32.124339 | 94 | 0.52006 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,406 | config.py | jjjake_internetarchive/internetarchive/config.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 6,727 | Python | .py | 154 | 36.61039 | 101 | 0.64146 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,407 | iarequest.py | jjjake_internetarchive/internetarchive/iarequest.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 21,154 | Python | .py | 461 | 32.798265 | 92 | 0.566823 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,408 | search.py | jjjake_internetarchive/internetarchive/search.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 9,958 | Python | .py | 249 | 28.409639 | 99 | 0.538279 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,409 | api.py | jjjake_internetarchive/internetarchive/api.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 20,362 | Python | .py | 455 | 37.171429 | 89 | 0.662367 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,410 | auth.py | jjjake_internetarchive/internetarchive/auth.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 2,641 | Python | .py | 59 | 37.491525 | 85 | 0.652529 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,411 | utils.py | jjjake_internetarchive/internetarchive/utils.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2022 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 14,322 | Python | .py | 375 | 29.994667 | 97 | 0.606605 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,412 | __init__.py | jjjake_internetarchive/internetarchive/__init__.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 2,237 | Python | .py | 78 | 25.717949 | 74 | 0.71575 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,413 | catalog.py | jjjake_internetarchive/internetarchive/catalog.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 11,922 | Python | .py | 275 | 32.814545 | 95 | 0.583901 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,414 | exceptions.py | jjjake_internetarchive/internetarchive/exceptions.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 1,586 | Python | .py | 39 | 36.692308 | 88 | 0.697856 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,415 | files.py | jjjake_internetarchive/internetarchive/files.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 19,599 | Python | .py | 429 | 31.37296 | 102 | 0.541937 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,416 | session.py | jjjake_internetarchive/internetarchive/session.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 22,967 | Python | .py | 458 | 36.786026 | 102 | 0.5767 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,417 | ia_reviews.py | jjjake_internetarchive/internetarchive/cli/ia_reviews.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 3,428 | Python | .py | 77 | 36.753247 | 93 | 0.616467 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,418 | ia_search.py | jjjake_internetarchive/internetarchive/cli/ia_search.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 4,859 | Python | .py | 109 | 35.477064 | 84 | 0.58872 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,419 | ia_move.py | jjjake_internetarchive/internetarchive/cli/ia_move.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 3,225 | Python | .py | 70 | 40.214286 | 90 | 0.652354 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,420 | argparser.py | jjjake_internetarchive/internetarchive/cli/argparser.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 2,528 | Python | .py | 64 | 34.046875 | 93 | 0.654835 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,421 | ia_upload.py | jjjake_internetarchive/internetarchive/cli/ia_upload.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 14,533 | Python | .py | 299 | 36.501672 | 96 | 0.548244 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,422 | ia_metadata.py | jjjake_internetarchive/internetarchive/cli/ia_metadata.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 13,199 | Python | .py | 279 | 34.308244 | 99 | 0.524825 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,423 | ia_configure.py | jjjake_internetarchive/internetarchive/cli/ia_configure.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 4,133 | Python | .py | 88 | 36.170455 | 93 | 0.598661 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,424 | ia_download.py | jjjake_internetarchive/internetarchive/cli/ia_download.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 10,057 | Python | .py | 204 | 37.857843 | 102 | 0.546527 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,425 | ia_delete.py | jjjake_internetarchive/internetarchive/cli/ia_delete.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 5,652 | Python | .py | 127 | 35.417323 | 90 | 0.586558 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,426 | __init__.py | jjjake_internetarchive/internetarchive/cli/__init__.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2016, 2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either versio... | 1,297 | Python | .py | 47 | 24.829787 | 74 | 0.705694 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,427 | ia_copy.py | jjjake_internetarchive/internetarchive/cli/ia_copy.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 6,307 | Python | .py | 128 | 40.648438 | 97 | 0.615909 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,428 | ia.py | jjjake_internetarchive/internetarchive/cli/ia.py | #!/usr/bin/env python
#
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundatio... | 6,139 | Python | .py | 158 | 32.132911 | 90 | 0.614415 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,429 | ia_list.py | jjjake_internetarchive/internetarchive/cli/ia_list.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2019 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 3,002 | Python | .py | 71 | 36.591549 | 95 | 0.637766 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,430 | ia_tasks.py | jjjake_internetarchive/internetarchive/cli/ia_tasks.py | #
# The internetarchive module is a Python/CLI interface to Archive.org.
#
# Copyright (C) 2012-2021 Internet Archive
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | 6,838 | Python | .py | 147 | 37.156463 | 99 | 0.582859 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,431 | conf.py | jjjake_internetarchive/docs/source/conf.py | #
# internetarchive documentation build configuration file, created by
# sphinx-quickstart on Mon Sep 23 20:16:03 2013.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration... | 9,098 | Python | .py | 223 | 38.892377 | 79 | 0.724867 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,432 | lint_python.yml | jjjake_internetarchive/.github/workflows/lint_python.yml | name: lint_python
on: [pull_request, push]
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: pip
python-version: 3.x
- run: pip install --upgrade pip setuptools wheel
- run: pip install ... | 681 | Python | .py | 18 | 31.722222 | 82 | 0.641026 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,433 | conftest.py | jjjake_internetarchive/tests/conftest.py | import os
import re
import sys
from subprocess import PIPE, Popen
import pytest
import responses
from responses import RequestsMock
from internetarchive import get_session
from internetarchive.api import get_item
from internetarchive.cli import ia
from internetarchive.utils import json
PROTOCOL = 'https:'
BASE_URL =... | 3,489 | Python | .py | 99 | 30.262626 | 86 | 0.679358 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,434 | test_bad_data.py | jjjake_internetarchive/tests/test_bad_data.py | from internetarchive.api import get_item
from tests.conftest import IaRequestsMock
def test_bad_mediatype():
# this identifier actually has this malformed data
ident = 'CIA-RDP96-00789R000700210007-5'
body = '{"metadata": {"mediatype":["texts","texts"]}}'
with IaRequestsMock() as rsps:
rsps.ad... | 418 | Python | .py | 10 | 36.6 | 58 | 0.714286 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,435 | test_api.py | jjjake_internetarchive/tests/test_api.py | import os
import re
import responses
import urllib3
from internetarchive import (
download,
get_files,
get_item,
get_session,
modify_metadata,
search_items,
upload,
)
from internetarchive.utils import InvalidIdentifierException, json
from tests.conftest import (
NASA_METADATA_PATH,
... | 14,514 | Python | .py | 341 | 33.079179 | 85 | 0.588323 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,436 | test_utils.py | jjjake_internetarchive/tests/test_utils.py | import string
import internetarchive.utils
from tests.conftest import NASA_METADATA_PATH, IaRequestsMock
def test_utils():
with open(__file__, encoding='utf-8') as fh:
list(internetarchive.utils.chunk_generator(fh, 10))
ifp = internetarchive.utils.IterableToFileAdapter([1, 2], 200)
assert len(if... | 3,493 | Python | .py | 71 | 41.070423 | 89 | 0.676285 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,437 | test_item.py | jjjake_internetarchive/tests/test_item.py | import logging
import os
import re
import types
from copy import deepcopy
import pytest
import responses
from requests.exceptions import ConnectionError, HTTPError
import internetarchive.files
from internetarchive import get_session
from internetarchive.api import get_item
from internetarchive.exceptions import Inval... | 29,248 | Python | .py | 616 | 36.397727 | 94 | 0.586686 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,438 | test_exceptions.py | jjjake_internetarchive/tests/test_exceptions.py | import internetarchive.exceptions
def test_AuthenticationError():
try:
raise internetarchive.exceptions.AuthenticationError('Authentication Failed')
except Exception as exc:
assert str(exc) == 'Authentication Failed'
| 243 | Python | .py | 6 | 35.166667 | 85 | 0.770213 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,439 | test_session.py | jjjake_internetarchive/tests/test_session.py | import os
import responses
import internetarchive.session
from internetarchive import __version__
from tests.conftest import NASA_METADATA_PATH, PROTOCOL, IaRequestsMock
CONFIG = {
's3': {
'access': 'test_access',
'secret': 'test_secret',
},
'cookies': {
'logged-in-user': 'test%40... | 4,477 | Python | .py | 117 | 29.239316 | 79 | 0.58829 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,440 | test_config.py | jjjake_internetarchive/tests/test_config.py | import contextlib
import os
import tempfile
from unittest import mock
import pytest
import requests.adapters
import responses
import internetarchive.config
import internetarchive.session
from internetarchive.exceptions import AuthenticationError
@responses.activate
def test_get_auth_config():
test_body = """{
... | 14,898 | Python | .py | 363 | 32.352617 | 100 | 0.606501 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,441 | test_ia.py | jjjake_internetarchive/tests/cli/test_ia.py | from tests.conftest import ia_call
def test_ia(capsys):
ia_call(['ia', '--help'])
out, err = capsys.readouterr()
assert 'A command line interface to Archive.org.' in out
ia_call(['ia', '--insecure', 'ls', 'nasa'])
ia_call(['ia', 'nocmd'], expected_exit_code=127)
out, err = capsys.readouterr(... | 541 | Python | .py | 13 | 36.769231 | 60 | 0.630268 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,442 | test_ia_download.py | jjjake_internetarchive/tests/cli/test_ia_download.py | import os
import sys
import time
import pytest
from tests.conftest import NASA_EXPECTED_FILES, call_cmd, files_downloaded
def test_no_args(tmpdir_ch):
call_cmd('ia --insecure download nasa')
assert files_downloaded(path='nasa') == NASA_EXPECTED_FILES
@pytest.mark.xfail("CI" in os.environ, reason="May time... | 5,236 | Python | .py | 105 | 44.409524 | 100 | 0.670075 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,443 | test_ia_upload.py | jjjake_internetarchive/tests/cli/test_ia_upload.py | import os
import sys
from contextlib import contextmanager
from io import StringIO
import responses
from internetarchive.utils import json
from tests.conftest import IaRequestsMock, ia_call, load_test_data_file
PROTOCOL = 'https:'
STATUS_CHECK_RESPONSE = load_test_data_file('s3_status_check.json')
def test_ia_uplo... | 15,221 | Python | .py | 312 | 40.141026 | 101 | 0.612491 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,444 | test_ia_search.py | jjjake_internetarchive/tests/cli/test_ia_search.py | import responses
from internetarchive.utils import json
from tests.conftest import PROTOCOL, IaRequestsMock, ia_call, load_test_data_file
def test_ia_search_itemlist(capsys):
test_scrape_response = load_test_data_file('scrape_response.json')
with responses.RequestsMock(assert_all_requests_are_fired=False) a... | 1,490 | Python | .py | 34 | 34.941176 | 84 | 0.611188 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,445 | test_ia_list.py | jjjake_internetarchive/tests/cli/test_ia_list.py | from copy import deepcopy
from internetarchive import get_session
from internetarchive.cli import ia_list
from tests.conftest import IaRequestsMock
SESSION = get_session()
NASA_FILES = {
'NASAarchiveLogo.jpg',
'globe_west_540.jpg',
'nasa_reviews.xml',
'nasa_meta.xml',
'nasa_archive.torrent',
... | 2,759 | Python | .py | 68 | 35 | 90 | 0.633396 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,446 | test_ia_metadata.py | jjjake_internetarchive/tests/cli/test_ia_metadata.py | import sys
from time import time
import responses
from tests.conftest import IaRequestsMock, ia_call
def test_ia_metadata_exists(capsys):
with IaRequestsMock() as rsps:
rsps.add_metadata_mock('nasa')
ia_call(['ia', 'metadata', '--exists', 'nasa'], expected_exit_code=0)
out, err = capsys.... | 1,546 | Python | .py | 32 | 41 | 84 | 0.619522 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,447 | test_argparser.py | jjjake_internetarchive/tests/cli/test_argparser.py | from internetarchive.cli.argparser import get_args_dict
def test_get_args_dict():
test_input = [
'collection:test_collection',
'description: Attention: multiple colons',
'unicode_test:தமிழ்',
'subject:subject1, subject1',
'subject:subject2',
'subject:subject3; subje... | 1,047 | Python | .py | 30 | 27.366667 | 76 | 0.590131 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,448 | lint_python.yml | jjjake_internetarchive/.github/workflows/lint_python.yml | name: lint_python
on: [pull_request, push]
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: pip
python-version: 3.x
- run: pip install --upgrade pip setuptools wheel
- run: pip install ... | 681 | Python | .pyt | 18 | 31.722222 | 82 | 0.641026 | jjjake/internetarchive | 1,580 | 217 | 72 | AGPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,449 | setup.py | furlongm_openvpn-monitor/setup.py | #!/usr/bin/env python3
import os
import sys
from setuptools import setup
with open('VERSION.txt', 'r') as v:
version = v.readline().strip()
with open('README.md', 'r') as r:
long_description = r.read()
for dirpath, dirnames, filenames in os.walk('images/flags'):
data_files = [('share/openvpn-monitor/ima... | 1,589 | Python | .py | 45 | 29.844444 | 75 | 0.649967 | furlongm/openvpn-monitor | 963 | 293 | 51 | GPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,450 | openvpn-monitor.py | furlongm_openvpn-monitor/openvpn-monitor.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2011 VPAC <http://www.vpac.org>
# Copyright 2012-2019 Marcus Furlong <furlongm@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Founda... | 41,829 | Python | .py | 845 | 37.071006 | 279 | 0.555431 | furlongm/openvpn-monitor | 963 | 293 | 51 | GPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,451 | listen.py | furlongm_openvpn-monitor/tests/listen.py | #!/usr/bin/env python
import sys
import socket
import select
host = '127.0.0.1'
port = 5555
timeout = 3
status = """TITLE OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jan 4 2016\r
TIME Wed Mar 23 21:42:22 2016 1458729742\r
HEADER CLIENT_LIST Common Name Real Address... | 3,555 | Python | .py | 88 | 32.295455 | 138 | 0.615963 | furlongm/openvpn-monitor | 963 | 293 | 51 | GPL-3.0 | 9/5/2024, 5:12:38 PM (Europe/Amsterdam) |
20,452 | setup.py | pwr-Solaar_Solaar/setup.py | import subprocess
import textwrap
from glob import glob
from os.path import dirname
from pathlib import Path
from setuptools import find_packages
from setuptools import setup
NAME = "Solaar"
version = Path("lib/solaar/version").read_text().strip()
try: # get commit from git describe
commit = subprocess.check_o... | 3,363 | Python | .py | 82 | 34.621951 | 114 | 0.642923 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,453 | receiver.py | pwr-Solaar_Solaar/lib/logitech_receiver/receiver.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 21,796 | Python | .py | 459 | 38.174292 | 127 | 0.628354 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,454 | diversion.py | pwr-Solaar_Solaar/lib/logitech_receiver/diversion.py | ## Copyright (C) 2020 Peter Patel-Schneider
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is... | 58,649 | Python | .py | 1,355 | 34.524723 | 124 | 0.610512 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,455 | device.py | pwr-Solaar_Solaar/lib/logitech_receiver/device.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 24,487 | Python | .py | 512 | 37.0625 | 120 | 0.61684 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,456 | hidpp20.py | pwr-Solaar_Solaar/lib/logitech_receiver/hidpp20.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 77,824 | Python | .py | 1,628 | 37.934275 | 126 | 0.618367 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,457 | hidpp20_constants.py | pwr-Solaar_Solaar/lib/logitech_receiver/hidpp20_constants.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 8,155 | Python | .py | 249 | 28.365462 | 101 | 0.722201 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,458 | settings.py | pwr-Solaar_Solaar/lib/logitech_receiver/settings.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 63,875 | Python | .py | 1,339 | 36.763256 | 127 | 0.593267 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,459 | special_keys.py | pwr-Solaar_Solaar/lib/logitech_receiver/special_keys.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 47,936 | Python | .py | 1,529 | 24.158273 | 123 | 0.593444 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,460 | listener.py | pwr-Solaar_Solaar/lib/logitech_receiver/listener.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 6,552 | Python | .py | 153 | 33.921569 | 106 | 0.623783 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,461 | desktop_notifications.py | pwr-Solaar_Solaar/lib/logitech_receiver/desktop_notifications.py | ## Copyright (C) 2024 Solaar contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is d... | 4,647 | Python | .py | 108 | 33.648148 | 101 | 0.62085 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,462 | i18n.py | pwr-Solaar_Solaar/lib/logitech_receiver/i18n.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 2,212 | Python | .py | 75 | 25.6 | 74 | 0.636492 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,463 | __init__.py | pwr-Solaar_Solaar/lib/logitech_receiver/__init__.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 985 | Python | .py | 21 | 45.761905 | 82 | 0.772112 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,464 | base_usb.py | pwr-Solaar_Solaar/lib/logitech_receiver/base_usb.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 7,160 | Python | .py | 188 | 33.223404 | 118 | 0.693283 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,465 | hidpp10.py | pwr-Solaar_Solaar/lib/logitech_receiver/hidpp10.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 10,484 | Python | .py | 231 | 36.17316 | 113 | 0.636765 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,466 | hidpp10_constants.py | pwr-Solaar_Solaar/lib/logitech_receiver/hidpp10_constants.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 6,154 | Python | .py | 166 | 33.198795 | 107 | 0.746774 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,467 | descriptors.py | pwr-Solaar_Solaar/lib/logitech_receiver/descriptors.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 17,843 | Python | .py | 426 | 37.683099 | 117 | 0.684641 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,468 | base.py | pwr-Solaar_Solaar/lib/logitech_receiver/base.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 25,415 | Python | .py | 559 | 35.744186 | 120 | 0.611401 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,469 | settings_templates.py | pwr-Solaar_Solaar/lib/logitech_receiver/settings_templates.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 81,339 | Python | .py | 1,607 | 41.943995 | 127 | 0.641488 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,470 | exceptions.py | pwr-Solaar_Solaar/lib/logitech_receiver/exceptions.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 1,726 | Python | .py | 36 | 45.027778 | 84 | 0.760311 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,471 | notifications.py | pwr-Solaar_Solaar/lib/logitech_receiver/notifications.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 21,624 | Python | .py | 420 | 40.961905 | 122 | 0.630369 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,472 | common.py | pwr-Solaar_Solaar/lib/logitech_receiver/common.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 17,148 | Python | .py | 581 | 21.156627 | 110 | 0.568844 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,473 | configuration.py | pwr-Solaar_Solaar/lib/solaar/configuration.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 10,171 | Python | .py | 224 | 37.111607 | 119 | 0.631297 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,474 | dbus.py | pwr-Solaar_Solaar/lib/solaar/dbus.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 3,019 | Python | .py | 68 | 39.985294 | 93 | 0.725691 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,475 | listener.py | pwr-Solaar_Solaar/lib/solaar/listener.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 16,114 | Python | .py | 324 | 39.367284 | 119 | 0.63734 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,476 | tasks.py | pwr-Solaar_Solaar/lib/solaar/tasks.py | #!/usr/bin/env python3
## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
... | 1,866 | Python | .py | 50 | 30.62 | 74 | 0.65391 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,477 | i18n.py | pwr-Solaar_Solaar/lib/solaar/i18n.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 2,120 | Python | .py | 51 | 37.784314 | 100 | 0.721168 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,478 | __init__.py | pwr-Solaar_Solaar/lib/solaar/__init__.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 1,311 | Python | .py | 38 | 29.210526 | 76 | 0.65748 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,479 | gtk.py | pwr-Solaar_Solaar/lib/solaar/gtk.py | #!/usr/bin/env python3
## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
... | 6,868 | Python | .py | 165 | 35.793939 | 108 | 0.67946 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,480 | window.py | pwr-Solaar_Solaar/lib/solaar/ui/window.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 31,960 | Python | .py | 728 | 36.217033 | 120 | 0.639807 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,481 | pair_window.py | pwr-Solaar_Solaar/lib/solaar/ui/pair_window.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 11,265 | Python | .py | 246 | 38.715447 | 116 | 0.66873 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,482 | rule_conditions.py | pwr-Solaar_Solaar/lib/solaar/ui/rule_conditions.py | ## Copyright (C) Solaar Contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distri... | 23,337 | Python | .py | 509 | 37.011788 | 122 | 0.627645 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,483 | config_panel.py | pwr-Solaar_Solaar/lib/solaar/ui/config_panel.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 32,129 | Python | .py | 711 | 35.694796 | 119 | 0.613548 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,484 | rule_base.py | pwr-Solaar_Solaar/lib/solaar/ui/rule_base.py | ## Copyright (C) Solaar Contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distri... | 3,517 | Python | .py | 88 | 32.909091 | 115 | 0.658744 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,485 | desktop_notifications.py | pwr-Solaar_Solaar/lib/solaar/ui/desktop_notifications.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 4,877 | Python | .py | 113 | 34.026549 | 109 | 0.638073 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,486 | tray.py | pwr-Solaar_Solaar/lib/solaar/ui/tray.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 16,646 | Python | .py | 385 | 34.353247 | 118 | 0.630491 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,487 | __init__.py | pwr-Solaar_Solaar/lib/solaar/ui/__init__.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 4,567 | Python | .py | 112 | 36.160714 | 102 | 0.714156 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,488 | diversion_rules.py | pwr-Solaar_Solaar/lib/solaar/ui/diversion_rules.py | ## Copyright (C) Solaar Contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distri... | 74,730 | Python | .py | 1,621 | 35.969772 | 127 | 0.602144 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,489 | action.py | pwr-Solaar_Solaar/lib/solaar/ui/action.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 3,307 | Python | .py | 82 | 35.573171 | 120 | 0.712371 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,490 | common.py | pwr-Solaar_Solaar/lib/solaar/ui/common.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 3,048 | Python | .py | 74 | 35.581081 | 118 | 0.662716 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,491 | rule_actions.py | pwr-Solaar_Solaar/lib/solaar/ui/rule_actions.py | ## Copyright (C) Solaar Contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distri... | 13,095 | Python | .py | 272 | 39.742647 | 127 | 0.630459 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,492 | icons.py | pwr-Solaar_Solaar/lib/solaar/ui/icons.py | ## Copyright (C) 2012-2013 Daniel Pavel
## Copyright (C) 2014-2024 Solaar Contributors https://pwr-solaar.github.io/Solaar/
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version... | 4,801 | Python | .py | 106 | 39.367925 | 107 | 0.659593 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,493 | presenter.py | pwr-Solaar_Solaar/lib/solaar/ui/about/presenter.py | ## Copyright (C) Solaar Contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distri... | 2,922 | Python | .py | 72 | 34.486111 | 83 | 0.675628 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,494 | about.py | pwr-Solaar_Solaar/lib/solaar/ui/about/about.py | ## Copyright (C) Solaar Contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distri... | 1,223 | Python | .py | 30 | 37.966667 | 74 | 0.737152 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,495 | model.py | pwr-Solaar_Solaar/lib/solaar/ui/about/model.py | ## Copyright (C) Solaar Contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distri... | 2,885 | Python | .py | 69 | 33.115942 | 109 | 0.616375 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,496 | view.py | pwr-Solaar_Solaar/lib/solaar/ui/about/view.py | ## Copyright (C) Solaar Contributors
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is distri... | 2,302 | Python | .py | 50 | 40.86 | 83 | 0.709172 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,497 | show.py | pwr-Solaar_Solaar/lib/solaar/cli/show.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 16,386 | Python | .py | 311 | 40.536977 | 125 | 0.559419 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,498 | config.py | pwr-Solaar_Solaar/lib/solaar/cli/config.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 11,915 | Python | .py | 262 | 36.423664 | 118 | 0.604563 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |
20,499 | pair.py | pwr-Solaar_Solaar/lib/solaar/cli/pair.py | ## Copyright (C) 2012-2013 Daniel Pavel
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##
## This program is di... | 6,369 | Python | .py | 122 | 42.819672 | 123 | 0.663832 | pwr-Solaar/Solaar | 5,327 | 400 | 31 | GPL-2.0 | 9/5/2024, 5:12:46 PM (Europe/Amsterdam) |