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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8,200 | dstat_nfsd3_ops.py | dstat-real_dstat/plugins/dstat_nfsd3_ops.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'extended nfs3 server operations'
self.nick = ('null', 'gatr', 'satr', 'look', 'aces', 'rdln', 'read', 'writ', 'crea', 'mkdr', 'syml', 'mknd', 'rm', 'rmdr', 'ren', 'link', 'rdir', 'rdr+', 'fstt', 'fsn... | 1,195 | Python | .py | 22 | 45.590909 | 243 | 0.55527 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,201 | dstat_mysql5_innodb_basic.py | dstat-real_dstat/plugins/dstat_mysql5_innodb_basic.py | ### Author: HIROSE Masaaki <hirose31 _at_ gmail.com>
global mysql_options
mysql_options = os.getenv('DSTAT_MYSQL') or ''
global target_status
global _basic_status
global _extra_status
_basic_status = (
('Queries' , 'qps'),
('Com_select' , 'sel/s'),
('Com_insert' ... | 4,110 | Python | .py | 103 | 30.640777 | 129 | 0.500251 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,202 | dstat_qmail.py | dstat-real_dstat/plugins/dstat_qmail.py | ### Author: Tom Van Looy <tom$ctors,net>
class dstat_plugin(dstat):
"""
port of qmail_qstat to dstat
"""
def __init__(self):
self.name = 'qmail'
self.nick = ('in_queue', 'not_prep')
self.vars = ('mess', 'todo')
self.type = 'd'
self.width = 4
self.scale = ... | 656 | Python | .py | 20 | 25.2 | 76 | 0.547468 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,203 | dstat_mysql5_keys.py | dstat-real_dstat/plugins/dstat_mysql5_keys.py | ### Author: <lefred$inuits,be>
global mysql_user
mysql_user = os.getenv('DSTAT_MYSQL_USER') or os.getenv('USER')
global mysql_pwd
mysql_pwd = os.getenv('DSTAT_MYSQL_PWD')
global mysql_host
mysql_host = os.getenv('DSTAT_MYSQL_HOST')
global mysql_port
mysql_port = os.getenv('DSTAT_MYSQL_PORT')
global mysql_socket
m... | 1,978 | Python | .py | 57 | 25 | 109 | 0.539591 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,204 | dstat_top_io_adv.py | dstat-real_dstat/plugins/dstat_top_io_adv.py | ### Dstat all I/O process plugin
### Displays all processes' I/O read/write stats and CPU usage
###
### Authority: Guillermo Cantu Luna
class dstat_plugin(dstat):
def __init__(self):
self.name = 'most expensive i/o process'
self.vars = ('process pid read write cpu',)
... | 3,249 | Python | .py | 63 | 37.444444 | 311 | 0.499367 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,205 | dstat_battery_remain.py | dstat-real_dstat/plugins/dstat_battery_remain.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
Remaining battery time.
Calculated from power drain and remaining battery power. Information is
retrieved from ACPI.
"""
def __init__(self):
self.name = 'remain'
self.type = 't'
self.width = 5
... | 1,430 | Python | .py | 40 | 24.35 | 82 | 0.494935 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,206 | dstat_mysql_io.py | dstat-real_dstat/plugins/dstat_mysql_io.py | global mysql_options
mysql_options = os.getenv('DSTAT_MYSQL')
class dstat_plugin(dstat):
def __init__(self):
self.name = 'mysql io'
self.nick = ('recv', 'sent')
self.vars = ('Bytes_received', 'Bytes_sent')
def check(self):
if not os.access('/usr/bin/mysql', os.X_OK):
... | 1,418 | Python | .py | 33 | 32.121212 | 97 | 0.546115 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,207 | dstat_dstat_cpu.py | dstat-real_dstat/plugins/dstat_dstat_cpu.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
Provide CPU information related to the dstat process.
This plugin shows the CPU utilization for the dstat process itself,
including the user-space and system-space (kernel) utilization and
a total of both. On a system with one ... | 1,193 | Python | .py | 28 | 35.5 | 90 | 0.631261 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,208 | dstat_vmk_int.py | dstat-real_dstat/plugins/dstat_vmk_int.py | ### Author: Bert de Bruijn <bert+dstat$debruijn,be>
### VMware ESX kernel interrupt stats
### Displays kernel interrupt statistics on VMware ESX servers
# NOTE TO USERS: command-line plugin configuration is not yet possible, so I've
# "borrowed" the -I argument.
# EXAMPLES:
# # dstat --vmkint -I 0x46,0x5a
# You can ... | 3,191 | Python | .py | 86 | 29.232558 | 94 | 0.539282 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,209 | dstat_innodb_buffer.py | dstat-real_dstat/plugins/dstat_innodb_buffer.py | ### Author: Dag Wieers <dag$wieers,com>
global mysql_options
mysql_options = os.getenv('DSTAT_MYSQL')
class dstat_plugin(dstat):
def __init__(self):
self.name = 'innodb pool'
self.nick = ('crt', 'rea', 'wri')
self.vars = ('created', 'read', 'written')
self.type = 'f'
self.w... | 1,628 | Python | .py | 38 | 32.394737 | 97 | 0.537975 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,210 | dstat_disk_avgqu.py | dstat-real_dstat/plugins/dstat_disk_avgqu.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
The average queue length of the requests that were issued to the device.
"""
def __init__(self):
self.version = 2
self.nick = ('avgqu',)
self.type = 'f'
self.width = 4
self.scale = 10
... | 2,118 | Python | .py | 58 | 26.137931 | 118 | 0.517544 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,211 | dstat_vmk_nic.py | dstat-real_dstat/plugins/dstat_vmk_nic.py | ### Author: Bert de Bruijn <bert+dstat$debruijn,be>
### VMware ESX kernel vmknic stats
### Displays VMkernel port statistics on VMware ESX servers
# NOTE TO USERS: command-line plugin configuration is not yet possible, so I've
# "borrowed" the -N argument.
# EXAMPLES:
# # dstat --vmknic -N vmk1
# You can even combine... | 2,648 | Python | .py | 66 | 30.954545 | 118 | 0.550758 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,212 | dstat_test.py | dstat-real_dstat/plugins/dstat_test.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
'''
Provides a test playground to test syntax and structure.
'''
def __init__(self):
self.name = 'test'
self.nick = ( 'f1', 'f2' )
self.vars = ( 'f1', 'f2' )
# self.type = 'd'
# self.width = 4
# ... | 547 | Python | .py | 19 | 23.631579 | 60 | 0.491429 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,213 | dstat_zfs_zil.py | dstat-real_dstat/plugins/dstat_zfs_zil.py | class dstat_plugin(dstat):
"""
ZFS on Linux ZIL (ZFS Intent Log)
Data is extracted from /proc/spl/kstat/zfs/zil
"""
def __init__(self):
self.name = 'ZFS ZIL'
self.nick = ('count', 'bytes')
self.vars = ('zil_itx_metaslab_slog_count', 'zil_itx_metaslab_slog_bytes')
sel... | 1,001 | Python | .py | 28 | 26.142857 | 84 | 0.52376 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,214 | dstat_top_oom.py | dstat-real_dstat/plugins/dstat_top_oom.py | ### Author: Dag Wieers <dag@wieers.com>
### Dstat most expensive process plugin
### Displays the name of the most expensive process
### More information:
### http://lwn.net/Articles/317814/
class dstat_plugin(dstat):
def __init__(self):
self.name = 'out of memory'
self.vars = ('kill score',)
... | 1,721 | Python | .py | 42 | 31.285714 | 124 | 0.52581 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,215 | dstat_thermal.py | dstat-real_dstat/plugins/dstat_thermal.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'thermal'
self.type = 'd'
self.width = 3
self.scale = 20
if os.path.exists('/sys/devices/virtual/thermal/'):
self.nick = []
self.vars = []
... | 3,513 | Python | .py | 71 | 35.15493 | 106 | 0.517332 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,216 | dstat_nfsd4_ops.py | dstat-real_dstat/plugins/dstat_nfsd4_ops.py | ### Author: Adam Michel <elfurbe@furbism.com>
### Based on work by: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'nfs4 server'
# this vars/nick pair is the ones I considered relevant. Any set of the full list would work.
self.vars = ('read','write',... | 4,417 | Python | .py | 66 | 56.333333 | 162 | 0.554916 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,217 | dstat_top_cpu_adv.py | dstat-real_dstat/plugins/dstat_top_cpu_adv.py | ### Dstat all I/O process plugin
### Displays all processes' I/O read/write stats and CPU usage
###
### Authority: Guillermo Cantu Luna
class dstat_plugin(dstat):
def __init__(self):
self.name = 'most expensive cpu process'
self.vars = ('process pid cpu read write',)
... | 3,177 | Python | .py | 61 | 37.983607 | 310 | 0.501942 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,218 | dstat_power.py | dstat-real_dstat/plugins/dstat_power.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
"""
Power usage information from ACPI.
Displays the power usage in watt per hour of your system's battery using
ACPI information. This information is only available when the battery is
being used (or being charged).
"""
de... | 2,200 | Python | .py | 55 | 28.636364 | 86 | 0.511007 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,219 | dstat_mysql5_conn.py | dstat-real_dstat/plugins/dstat_mysql5_conn.py | ### Author: <lefred$inuits,be>
global mysql_user
mysql_user = os.getenv('DSTAT_MYSQL_USER') or os.getenv('USER')
global mysql_pwd
mysql_pwd = os.getenv('DSTAT_MYSQL_PWD')
global mysql_host
mysql_host = os.getenv('DSTAT_MYSQL_HOST')
global mysql_port
mysql_port = os.getenv('DSTAT_MYSQL_PORT')
global mysql_socket
my... | 2,038 | Python | .py | 58 | 25.534483 | 79 | 0.547304 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,220 | dstat_mongodb_queue.py | dstat-real_dstat/plugins/dstat_mongodb_queue.py | ### Author: <gianfranco@mongodb.com>
global mongodb_user
mongodb_user = os.getenv('DSTAT_MONGODB_USER') or os.getenv('USER')
global mongodb_pwd
mongodb_pwd = os.getenv('DSTAT_MONGODB_PWD')
global mongodb_host
mongodb_host = os.getenv('DSTAT_MONGODB_HOST') or '127.0.0.1:27017'
class dstat_plugin(dstat):
"""
Plug... | 1,224 | Python | .py | 37 | 28.675676 | 69 | 0.639525 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,221 | dstat_snmp_net.py | dstat-real_dstat/plugins/dstat_snmp_net.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
def __init__(self):
self.nick = ('recv', 'send')
self.type = 'b'
self.cols = 2
self.server = os.getenv('DSTAT_SNMPSERVER') or '192.168.1.1'
self.community = os.getenv('DSTAT_SNMPCOMMUNITY') or 'public'
d... | 1,175 | Python | .py | 26 | 36.5 | 211 | 0.587204 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,222 | dstat_nfsstat4.py | dstat-real_dstat/plugins/dstat_nfsstat4.py | ### Author: Adam Michel <elfurbe@furbism.com>
### Based on work by: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'nfs4 client'
# this vars/nick pair is the ones I considered relevant. Any set of the full list would work.
self.vars = ('read', 'write'... | 2,970 | Python | .py | 45 | 55.777778 | 162 | 0.547635 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,223 | dstat_mysql_keys.py | dstat-real_dstat/plugins/dstat_mysql_keys.py | global mysql_options
mysql_options = os.getenv('DSTAT_MYSQL')
class dstat_plugin(dstat):
def __init__(self):
self.name = 'mysql key status'
self.nick = ('used', 'read', 'writ', 'rreq', 'wreq')
self.vars = ('Key_blocks_used', 'Key_reads', 'Key_writes', 'Key_read_requests', 'Key_write_request... | 1,577 | Python | .py | 36 | 33.111111 | 109 | 0.545336 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,224 | dstat_helloworld.py | dstat-real_dstat/plugins/dstat_helloworld.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
Example "Hello world!" output plugin for aspiring Dstat developers.
"""
def __init__(self):
self.name = 'plugin title'
self.nick = ('counter',)
self.vars = ('text',)
self.type = 's'
self.widt... | 436 | Python | .py | 15 | 22.733333 | 71 | 0.565947 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,225 | dstat_zfs_arc.py | dstat-real_dstat/plugins/dstat_zfs_arc.py | class dstat_plugin(dstat):
"""
ZFS on Linux ARC (Adjustable Replacement Cache)
Data is extracted from /proc/spl/kstat/zfs/arcstats
"""
def __init__(self):
self.name = 'ZFS ARC'
self.nick = ('mem', 'hit', 'miss', 'reads', 'hit%')
self.vars = ('size', 'hits', 'misses', 'total'... | 1,319 | Python | .py | 33 | 30.151515 | 84 | 0.516028 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,226 | dstat_gpfs.py | dstat-real_dstat/plugins/dstat_gpfs.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
Total amount of read and write throughput (in bytes) on a GPFS filesystem.
"""
def __init__(self):
self.name = 'gpfs i/o'
self.nick = ('read', 'write')
self.vars = ('_br_', '_bw_')
def check(self):
... | 1,622 | Python | .py | 39 | 30.794872 | 95 | 0.536462 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,227 | dstat_battery.py | dstat-real_dstat/plugins/dstat_battery.py | ### Author: Dag Wieers <dag$wieers,com>
### Author: Sven-Hendrik Haase <sh@lutzhaase.com>
class dstat_plugin(dstat):
"""
Percentage of remaining battery power as reported by ACPI.
"""
def __init__(self):
self.name = 'battery'
self.type = 'p'
self.width = 4
self.scale = 3... | 2,648 | Python | .py | 65 | 26.661538 | 94 | 0.478075 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,228 | dstat_mongodb_stats.py | dstat-real_dstat/plugins/dstat_mongodb_stats.py | ### Author: <gianfranco@mongodb.com>
global mongodb_user
mongodb_user = os.getenv('DSTAT_MONGODB_USER') or os.getenv('USER')
global mongodb_pwd
mongodb_pwd = os.getenv('DSTAT_MONGODB_PWD')
global mongodb_host
mongodb_host = os.getenv('DSTAT_MONGODB_HOST') or '127.0.0.1:27017'
class dstat_plugin(dstat):
"""
Plug... | 1,942 | Python | .py | 57 | 28.789474 | 69 | 0.636558 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,229 | dstat_dstat.py | dstat-real_dstat/plugins/dstat_dstat.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
Provide more information related to the dstat process.
The dstat cputime is the total cputime dstat requires per second. On a
system with one cpu and one core, the total cputime is 1000ms. On a system
with 2 cores the total is ... | 1,050 | Python | .py | 26 | 33.461538 | 80 | 0.613949 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,230 | dstat_snmp_cpu.py | dstat-real_dstat/plugins/dstat_snmp_cpu.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'total cpu'
self.vars = ( 'usr', 'sys', 'idl' )
self.type = 'p'
self.width = 3
self.scale = 34
self.server = os.getenv('DSTAT_SNMPSERVER') or '192.168.1.1'
self... | 1,635 | Python | .py | 32 | 41.90625 | 134 | 0.575454 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,231 | dstat_vz_ubc.py | dstat-real_dstat/plugins/dstat_vz_ubc.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.nick = ('fcnt', )
self.type = 'd'
self.width = 5
self.scale = 1000
self.open('/proc/user_beancounters')
self.cols = 1 ### Is this correct ?
def check(self):
info(... | 2,010 | Python | .py | 59 | 22.983051 | 80 | 0.474253 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,232 | dstat_cpufreq.py | dstat-real_dstat/plugins/dstat_cpufreq.py | ### Author: dag@wieers.com
class dstat_plugin(dstat):
"""
CPU frequency in percentage as reported by ACPI.
"""
def __init__(self):
self.name = 'frequency'
self.type = 'p'
self.width = 4
self.scale = 34
def check(self):
for cpu in glob.glob('/sys/devices/sy... | 1,664 | Python | .py | 41 | 30.365854 | 102 | 0.546468 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,233 | dstat_innodb_io.py | dstat-real_dstat/plugins/dstat_innodb_io.py | ### Author: Dag Wieers <dag$wieers,com>
global mysql_options
mysql_options = os.getenv('DSTAT_MYSQL')
class dstat_plugin(dstat):
def __init__(self):
self.name = 'innodb io ops '
self.nick = ('rea', 'wri', 'syn')
self.vars = ('read', 'write', 'sync')
self.type = 'f'
self.wid... | 1,618 | Python | .py | 39 | 30.692308 | 101 | 0.530911 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,234 | dstat_mysql5_innodb_extra.py | dstat-real_dstat/plugins/dstat_mysql5_innodb_extra.py | ### Author: HIROSE Masaaki <hirose31 _at_ gmail.com>
global mysql_options
mysql_options = os.getenv('DSTAT_MYSQL') or ''
global target_status
global _basic_status
global _extra_status
_basic_status = (
('Queries' , 'qps'),
('Com_select' , 'sel/s'),
('Com_insert' ... | 4,110 | Python | .py | 103 | 30.640777 | 129 | 0.500251 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,235 | dstat_mongodb_opcount.py | dstat-real_dstat/plugins/dstat_mongodb_opcount.py | ### Author: <gianfranco@mongodb.com>
global mongodb_user
mongodb_user = os.getenv('DSTAT_MONGODB_USER') or os.getenv('USER')
global mongodb_pwd
mongodb_pwd = os.getenv('DSTAT_MONGODB_PWD')
global mongodb_host
mongodb_host = os.getenv('DSTAT_MONGODB_HOST') or '127.0.0.1:27017'
class dstat_plugin(dstat):
"""
Plug... | 1,304 | Python | .py | 37 | 30.27027 | 81 | 0.643084 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,236 | dstat_wifi.py | dstat-real_dstat/plugins/dstat_wifi.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'wifi'
self.nick = ('lnk', 's/n')
self.type = 'd'
self.width = 3
self.scale = 34
self.cols = 2
def check(self):
global iwlibs
from pythonwifi impor... | 937 | Python | .py | 24 | 30.5 | 143 | 0.575991 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,237 | dstat_jvm_full.py | dstat-real_dstat/plugins/dstat_jvm_full.py | # Author: Roberto Polli <rpolli@redhat.com>
#
# NOTE: Edit the jcmd location according to your path or use update-alternatives.
global BIN_JCMD
BIN_JCMD = '/usr/bin/jcmd'
class dstat_plugin(dstat):
"""
This plugin gathers jvm stats via jcmd.
Usage:
JVM_PID=15123 dstat --jvm-full
Minimize the... | 4,523 | Python | .py | 102 | 30.77451 | 93 | 0.520691 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,238 | dstat_snooze.py | dstat-real_dstat/plugins/dstat_snooze.py | class dstat_plugin(dstat):
def __init__(self):
self.name = 'snooze'
self.vars = ('snooze',)
self.type = 's'
self.width = 6
self.scale = 0
self.before = time.time()
def extract(self):
now = time.time()
if loop != 0:
self.val['snooze'] =... | 908 | Python | .py | 29 | 21.172414 | 52 | 0.483982 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,239 | dstat_zfs_l2arc.py | dstat-real_dstat/plugins/dstat_zfs_l2arc.py | class dstat_plugin(dstat):
"""
ZFS on Linux L2ARC (Level 2 Adjustable Replacement Cache)
Data is extracted from /proc/spl/kstat/zfs/arcstats
"""
def __init__(self):
self.name = 'ZFS L2ARC'
self.nick = ('size', 'hit', 'miss', 'hit%', 'read', 'write')
self.vars = ('l2_size', '... | 1,367 | Python | .py | 33 | 31.606061 | 102 | 0.523738 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,240 | dstat_disk_svctm.py | dstat-real_dstat/plugins/dstat_disk_svctm.py | ### Author: David Nicklay <david-d$nicklay,com>
### Modified from disk-util: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
The average service time (in milliseconds) for I/O requests that were
issued to the device.
Warning! Do not trust this field any more.
"""
def __init__(self)... | 2,493 | Python | .py | 67 | 26.641791 | 113 | 0.514274 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,241 | dstat_vz_io.py | dstat-real_dstat/plugins/dstat_vz_io.py | ### Author: Dag Wieers <dag@wieers.com>
### Example content for /proc/bc/<veid>/ioacct
# read 2773011640320
# write 2095707136000
# dirty 4500342390784
# cancel 4080624041984
# missed ... | 2,742 | Python | .py | 58 | 40.327586 | 104 | 0.484112 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,242 | dstat_fan.py | dstat-real_dstat/plugins/dstat_fan.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
Fan speed in RPM (rotations per minute) as reported by ACPI.
"""
def __init__(self):
self.name = 'fan'
self.type = 'd'
self.width = 4
self.scale = 500
self.open('/proc/acpi/ibm/fan')
def... | 829 | Python | .py | 26 | 23.115385 | 64 | 0.520703 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,243 | dstat_vm_cpu.py | dstat-real_dstat/plugins/dstat_vm_cpu.py | ### Author: Bert de Bruijn <bert+dstat$debruijn,be>
### VMware cpu stats
### Displays CPU stats coming from the hypervisor inside VMware VMs.
### The vmGuestLib API from VMware Tools needs to be installed
class dstat_plugin(dstat):
def __init__(self):
self.name = 'vm cpu'
self.vars = ('used', 'sto... | 1,169 | Python | .py | 30 | 30.9 | 131 | 0.595049 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,244 | dstat_lustre.py | dstat-real_dstat/plugins/dstat_lustre.py | # Author: Brock Palen <brockp@mlds-networks.com>, Kilian Vavalotti <kilian@stanford.edu>
class dstat_plugin(dstat):
def __init__(self):
self.nick = ('read', 'write')
self.cols = 2
def check(self):
if not os.path.exists('/proc/fs/lustre/llite'):
raise Exception('Lustre file... | 1,221 | Python | .py | 27 | 34.703704 | 110 | 0.555649 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,245 | dstat_top_cpu.py | dstat-real_dstat/plugins/dstat_top_cpu.py | ### Authority: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
"""
Most expensive CPU process.
Displays the process that uses the CPU the most during the monitored
interval. The value displayed is the percentage of CPU time for the total
amount of CPU processing power. Based on per process ... | 1,926 | Python | .py | 47 | 31.340426 | 122 | 0.531367 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,246 | dstat_vz_cpu.py | dstat-real_dstat/plugins/dstat_vz_cpu.py | ### Author: Dag Wieers <dag@wieers.com>
#Version: 2.2
#VEID user nice system uptime idle strv uptime used maxlat totlat numsched
#302 142926 0 10252 152896388 852779112954062 0 427034187248480 1048603937010 0 0 0
#301 27188 0 ... | 2,288 | Python | .py | 54 | 33.074074 | 211 | 0.501799 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,247 | dstat_fuse.py | dstat-real_dstat/plugins/dstat_fuse.py | ### Author: Vikas Gorur (http://github.com/vikasgorur)
class dstat_plugin(dstat):
"""
Waiting calls on mounted FUSE filesystems
Displays the number of waiting calls on all mounted FUSE filesystems.
"""
def __init__(self):
self.name = 'fuse'
self.type = 'd'
self.fusectl_pat... | 1,369 | Python | .py | 35 | 29.685714 | 78 | 0.581255 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,248 | dstat_jvm_vm.py | dstat-real_dstat/plugins/dstat_jvm_vm.py | # Author: Roberto Polli <rpolli@redhat.com>
#
# This plugin shows jvm stats using the JVM_PID environment variable.
# Requires the presence of the /tmp/hsperfdata_* directory and
# files created when running java with the profiler enabled.
#
class dstat_plugin(dstat):
def __init__(self):
self.name = 'jv... | 2,765 | Python | .py | 72 | 26.361111 | 72 | 0.503734 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,249 | dstat_disk_wait.py | dstat-real_dstat/plugins/dstat_disk_wait.py | ### Author: David Nicklay <david-d$nicklay,com>
### Modified from disk-util: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
Read and Write average wait times of block devices.
Displays the average read and write wait times of block devices
"""
def __init__(self):
self.nick = (... | 2,769 | Python | .py | 72 | 27.388889 | 113 | 0.50744 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,250 | dstat_disk_avgrq.py | dstat-real_dstat/plugins/dstat_disk_avgrq.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
"""
The average size (in sectors) of the requests that were issued
to the device.
"""
def __init__(self):
self.version = 2
self.nick = ('avgrq',)
self.type = 'f'
self.width = 4
self.scale = 1... | 2,489 | Python | .py | 67 | 26.059701 | 113 | 0.496686 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,251 | dstat_top_int.py | dstat-real_dstat/plugins/dstat_top_int.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
"""
Top interrupt
Displays the name of the most frequent interrupt
"""
def __init__(self):
self.name = 'most frequent'
self.vars = ('interrupt',)
self.type = 's'
self.width = 20
self.scale = ... | 1,948 | Python | .py | 52 | 27.019231 | 97 | 0.483289 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,252 | dstat_sendmail.py | dstat-real_dstat/plugins/dstat_sendmail.py | ### Author: Dag Wieers <dag@wieers.com>
### FIXME: Should read /var/log/mail/statistics or /etc/mail/statistics (format ?)
class dstat_plugin(dstat):
def __init__(self):
self.name = 'sendmail'
self.vars = ('queue',)
self.type = 'd'
self.width = 4
self.scale = 100
def c... | 560 | Python | .py | 15 | 30.666667 | 82 | 0.603704 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,253 | dstat_vmk_hba.py | dstat-real_dstat/plugins/dstat_vmk_hba.py | ### Author: Bert de Bruijn <bert+dstat$debruijn,be>
### VMware ESX kernel vmhba stats
### Displays kernel vmhba statistics on VMware ESX servers
# NOTE TO USERS: command-line plugin configuration is not yet possible, so I've
# "borrowed" the -D argument.
# EXAMPLES:
# # dstat --vmkhba -D vmhba1,vmhba2,total
# # dsta... | 2,856 | Python | .py | 70 | 30.957143 | 117 | 0.538711 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,254 | dstat_top_latency_avg.py | dstat-real_dstat/plugins/dstat_top_latency_avg.py | ### Dstat most expensive I/O process plugin
### Displays the name of the most expensive I/O process
###
### Authority: dag@wieers.com
### For more information, see:
### http://eaglet.rain.com/rick/linux/schedstat/
class dstat_plugin(dstat):
def __init__(self):
self.name = 'highest average'
sel... | 2,367 | Python | .py | 54 | 33.148148 | 165 | 0.525239 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,255 | dstat_nfs3_ops.py | dstat-real_dstat/plugins/dstat_nfs3_ops.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'extended nfs3 client operations'
self.nick = ('null', 'gatr', 'satr', 'look', 'aces', 'rdln', 'read', 'writ', 'crea', 'mkdr', 'syml', 'mknd', 'rm', 'rmdr', 'ren', 'link', 'rdir', 'rdr+', 'fstt', 'fsn... | 1,194 | Python | .py | 22 | 45.545455 | 243 | 0.554889 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,256 | dstat_top_childwait.py | dstat-real_dstat/plugins/dstat_top_childwait.py | ### Dstat most expensive process plugin
### Displays the name of the most expensive process
###
### Authority: dag@wieers.com
global cpunr
class dstat_plugin(dstat):
def __init__(self):
self.name = 'most waiting for'
self.vars = ('child process',)
self.type = 's'
self.width = 16
... | 1,716 | Python | .py | 44 | 29.431818 | 135 | 0.509946 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,257 | dstat_mongodb_mem.py | dstat-real_dstat/plugins/dstat_mongodb_mem.py | ### Author: <gianfranco@mongodb.com>
global mongodb_user
mongodb_user = os.getenv('DSTAT_MONGODB_USER') or os.getenv('USER')
global mongodb_pwd
mongodb_pwd = os.getenv('DSTAT_MONGODB_PWD')
global mongodb_host
mongodb_host = os.getenv('DSTAT_MONGODB_HOST') or '127.0.0.1:27017'
class dstat_plugin(dstat):
"""
Plug... | 1,830 | Python | .py | 52 | 29.826923 | 95 | 0.64152 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,258 | dstat_nfs3.py | dstat-real_dstat/plugins/dstat_nfs3.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'nfs3 client'
self.nick = ('read', 'writ', 'rdir', 'othr', 'fs', 'cmmt')
self.vars = ('read', 'write', 'readdir', 'other', 'filesystem', 'commit')
self.type = 'd'
self.width = ... | 1,159 | Python | .py | 24 | 38.916667 | 194 | 0.50708 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,259 | dstat_postfix.py | dstat-real_dstat/plugins/dstat_postfix.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'postfix'
self.nick = ('inco', 'actv', 'dfrd', 'bnce', 'defr')
self.vars = ('incoming', 'active', 'deferred', 'bounce', 'defer')
self.type = 'd'
self.width = 4
self.sca... | 629 | Python | .py | 16 | 31.8125 | 78 | 0.569787 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,260 | dstat_snmp_load.py | dstat-real_dstat/plugins/dstat_snmp_load.py | ### Author: Dag Wieers <dag$wieers,com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'load avg'
self.nick = ('1m', '5m', '15m')
self.vars = ('load1', 'load5', 'load15')
self.type = 'f'
self.width = 4
self.scale = 0.5
self.server = os.getenv('DST... | 809 | Python | .py | 20 | 32.45 | 139 | 0.589809 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,261 | dstat_squid.py | dstat-real_dstat/plugins/dstat_squid.py | ### Authority: Jason Friedland <thesuperjason@gmail.com>
# This plugin has been tested with:
# - Dstat 0.6.7
# - CentOS release 5.4 (Final)
# - Python 2.4.3
# - Squid 2.6 and 2.7
global squidclient_options
squidclient_options = os.getenv('DSTAT_SQUID_OPTS') # -p 8080
class dstat_plugin(dstat):
'''
Provides... | 1,666 | Python | .py | 45 | 28.177778 | 100 | 0.562655 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,262 | dstat_mysql5_innodb.py | dstat-real_dstat/plugins/dstat_mysql5_innodb.py | ### Author: HIROSE Masaaki <hirose31 _at_ gmail.com>
global mysql_options
mysql_options = os.getenv('DSTAT_MYSQL') or ''
global target_status
global _basic_status
global _extra_status
_basic_status = (
('Queries' , 'qps'),
('Com_select' , 'sel/s'),
('Com_insert' ... | 4,110 | Python | .py | 103 | 30.640777 | 129 | 0.500251 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,263 | dstat_ib.py | dstat-real_dstat/plugins/dstat_ib.py | ### Author: Dmitry Fedin <dmitry.fedin@gmail.com>
class dstat_plugin(dstat):
ibdirname = '/sys/class/infiniband'
"""
Bytes received or sent through infiniband/RoCE interfaces
Usage:
dstat --ib -N <adapter name>:<port>,total
default dstat --ib is the same as
dstat --ib -N total
... | 3,140 | Python | .py | 75 | 30.826667 | 122 | 0.543016 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,264 | dstat_md_status.py | dstat-real_dstat/plugins/dstat_md_status.py | ### Author: Bert de Bruijn <bert+dstat@debruijn.be>
class dstat_plugin(dstat):
"""
Recovery state of software RAID rebuild.
Prints completed recovery percentage and rebuild speed of the md device
that is actively being recovered or resynced.
If no devices are being rebuilt, it displays 100%, 0B. ... | 1,314 | Python | .py | 37 | 26.972973 | 91 | 0.548819 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,265 | dstat_rpcd.py | dstat-real_dstat/plugins/dstat_rpcd.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'rpc server'
self.nick = ('call', 'erca', 'erau', 'ercl', 'xdrc')
self.vars = ('calls', 'badcalls', 'badauth', 'badclnt', 'xdrcall')
self.type = 'd'
self.width = 5
self... | 780 | Python | .py | 20 | 30.15 | 80 | 0.539073 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,266 | dstat_top_io.py | dstat-real_dstat/plugins/dstat_top_io.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
"""
Top most expensive I/O process
Displays the name of the most expensive I/O process
"""
def __init__(self):
self.name = 'most expensive'
self.vars = ('i/o process',)
self.type = 's'
self.width = 2... | 2,759 | Python | .py | 58 | 36.206897 | 204 | 0.512649 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,267 | dstat_nfsd3.py | dstat-real_dstat/plugins/dstat_nfsd3.py | ### Author: Dag Wieers <dag@wieers.com>
class dstat_plugin(dstat):
def __init__(self):
self.name = 'nfs3 server'
self.nick = ('read', 'writ', 'rdir', 'inod', 'fs', 'cmmt')
self.vars = ('read', 'write', 'readdir', 'inode', 'filesystem', 'commit')
self.type = 'd'
self.width = ... | 1,250 | Python | .py | 26 | 38.846154 | 194 | 0.51642 | dstat-real/dstat | 1,340 | 330 | 1 | GPL-2.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,268 | setup.py | gpodder_gpodder/setup.py | #!/usr/bin/env python3
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 6,881 | Python | .py | 158 | 34.417722 | 78 | 0.620473 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,269 | test-auth-server.py | gpodder_gpodder/tools/test-auth-server.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Simple HTTP web server for testing HTTP Authentication (see bug 1539)
# from our crappy-but-does-the-job department
# Thomas Perl <thp.io/about>; 2012-01-20
import base64
import datetime
import hashlib
import http.server
import re
import sys
import threading
import time... | 7,432 | Python | .py | 181 | 33.298343 | 88 | 0.593054 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,270 | github_release.py | gpodder_gpodder/tools/github_release.py | #!/usr/bin/env python3
"""
Prepare release and upload Windows and macOS artifacts
"""
import argparse
import hashlib
import os
import re
import sys
import magic # use python-magic (not compatible with filemagic)
import requests
from github3 import login
from jinja2 import Template
def debug_requests():
""" turn... | 9,173 | Python | .py | 202 | 38.965347 | 140 | 0.643673 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,271 | getversion.py | gpodder_gpodder/tools/getversion.py | import os
import re
here = os.path.dirname(__file__) or '.'
main_module = open(os.path.join(here, '../src/gpodder/__init__.py')).read()
metadata = dict(re.findall(r"__([a-z_]+)__\s*=\s*'([^']+)'", main_module))
print(metadata['version'])
| 239 | Python | .py | 6 | 38.666667 | 75 | 0.616379 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,272 | create-desktop-icon.py | gpodder_gpodder/tools/create-desktop-icon.py | #!/usr/bin/env python3
# create-desktop-icon.py: Create a Desktop icon
# 2016-12-22 Thomas Perl <m@thp.io>
import os
import sys
from gi.repository import GLib
BASE = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
TEMPLATE = """# Created by %(__file__)s
[Desktop Entry]
Name=gPodder ... | 958 | Python | .py | 27 | 33.37037 | 87 | 0.744843 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,273 | progressbar_icon_tester.py | gpodder_gpodder/tools/progressbar_icon_tester.py | #!/usr/bin/env python3
# Progressbar icon tester
# Thomas Perl <thp.io/about>; 2012-02-05
#
# based on: Simple script to test gPodder's "pill" pixbuf implementation
# Thomas Perl <thp.io/about>; 2009-09-13
import sys
from gi.repository import Gtk
from gpodder.gtkui.draw import draw_cake_pixbuf
sys.path.in... | 732 | Python | .py | 27 | 24.481481 | 72 | 0.697274 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,274 | make_cert_pem.py | gpodder_gpodder/tools/mac-osx/make_cert_pem.py | # -*- coding: utf-8 -*-
""" A script to initialize our bundled openssl CA trust store
based on your System's keychain
Released under the same licence as gPodder (GPL3 or later)
Copyright (c) 2016 Eric Le Lay
"""
import argparse
import re
import subprocess
import sys
import traceback
from subprocess import... | 2,837 | Python | .py | 69 | 33.855072 | 75 | 0.621818 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,275 | launcher.py | gpodder_gpodder/tools/mac-osx/launcher.py | import os
import os.path
import platform
import re
import runpy
import subprocess
import sys
import time
import traceback
from os.path import join
from subprocess import PIPE, CalledProcessError, Popen
class MakeCertPem:
""" create openssl cert bundle from system certificates """
def __init__(self, openssl):... | 6,864 | Python | .py | 159 | 37.176101 | 101 | 0.649304 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,276 | depcheck.py | gpodder_gpodder/tools/win_installer/misc/depcheck.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2016,2017 Christoph Reiter
#
# 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... | 4,232 | Python | .py | 120 | 27.891667 | 78 | 0.611356 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,277 | create-launcher.py | gpodder_gpodder/tools/win_installer/misc/create-launcher.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2016 Christoph Reiter
#
# 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 late... | 5,631 | Python | .py | 157 | 29.624204 | 79 | 0.632131 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,278 | __init__.py | gpodder_gpodder/tools/fake-dbus-module/dbus/__init__.py | import dbus.exceptions # noqa: F401
class SessionBus(object):
def __init__(self, *args, **kwargs):
self.fake = True
def add_signal_receiver(self, *args, **kwargs):
pass
def name_has_owner(self, *args, **kwargs):
return False
SystemBus = SessionBus
| 291 | Python | .py | 9 | 26.666667 | 51 | 0.648551 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,279 | service.py | gpodder_gpodder/tools/fake-dbus-module/dbus/service.py |
def method(*args, **kwargs):
return lambda x: x
class BusName(object):
def __init__(self, *args, **kwargs):
pass
class Object:
def __init__(self, *args, **kwargs):
pass
| 202 | Python | .py | 8 | 20.125 | 40 | 0.592593 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,280 | my.py | gpodder_gpodder/src/gpodder/my.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 24,149 | Python | .py | 515 | 36.019417 | 94 | 0.622136 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,281 | vimeo.py | gpodder_gpodder/src/gpodder/vimeo.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 3,574 | Python | .py | 84 | 37.928571 | 97 | 0.702085 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,282 | download.py | gpodder_gpodder/src/gpodder/download.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 40,424 | Python | .py | 862 | 35.87703 | 135 | 0.607268 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,283 | util.py | gpodder_gpodder/src/gpodder/util.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
# Copyright (c) 2011 Neal H. Walfield
#
# gPodder 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 Foun... | 78,253 | Python | .py | 1,967 | 32.684291 | 137 | 0.626828 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,284 | extensions.py | gpodder_gpodder/src/gpodder/extensions.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2009 Thomas Perl and the gPodder Team
#
# gPodder 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... | 22,237 | Python | .py | 488 | 35.915984 | 97 | 0.636835 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,285 | sync.py | gpodder_gpodder/src/gpodder/sync.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 32,594 | Python | .py | 705 | 35.991489 | 138 | 0.623226 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,286 | config.py | gpodder_gpodder/src/gpodder/config.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 14,973 | Python | .py | 391 | 27.856777 | 110 | 0.547135 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,287 | dbsqlite.py | gpodder_gpodder/src/gpodder/dbsqlite.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 9,198 | Python | .py | 222 | 30.725225 | 113 | 0.571156 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,288 | coverart.py | gpodder_gpodder/src/gpodder/coverart.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 5,630 | Python | .py | 123 | 34.642276 | 90 | 0.59686 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,289 | utilwin32ctypes.py | gpodder_gpodder/src/gpodder/utilwin32ctypes.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
# Copyright (c) 2018 Eric Le Lay
#
# gPodder 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 Foundatio... | 5,113 | Python | .py | 126 | 35.539683 | 130 | 0.722906 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,290 | jsonconfig.py | gpodder_gpodder/src/gpodder/jsonconfig.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 7,442 | Python | .py | 184 | 30.858696 | 79 | 0.567905 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,291 | minidb.py | gpodder_gpodder/src/gpodder/minidb.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 ... | 7,550 | Python | .py | 184 | 30.711957 | 81 | 0.543357 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,292 | deviceplaylist.py | gpodder_gpodder/src/gpodder/deviceplaylist.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2011 Thomas Perl and the gPodder Team
#
# gPodder 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,117 | Python | .py | 123 | 40.357724 | 128 | 0.641111 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,293 | libgpod_ctypes.py | gpodder_gpodder/src/gpodder/libgpod_ctypes.py | #
# -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2022 The gPodder Team
#
# gPodder 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 of the Lice... | 16,218 | Python | .py | 357 | 38.809524 | 118 | 0.657308 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,294 | __init__.py | gpodder_gpodder/src/gpodder/__init__.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 8,275 | Python | .py | 203 | 36.044335 | 111 | 0.690966 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,295 | log.py | gpodder_gpodder/src/gpodder/log.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 3,362 | Python | .py | 76 | 37.447368 | 92 | 0.664832 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,296 | core.py | gpodder_gpodder/src/gpodder/core.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 1,953 | Python | .py | 44 | 38.886364 | 71 | 0.717071 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,297 | query.py | gpodder_gpodder/src/gpodder/query.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 8,267 | Python | .py | 199 | 32.261307 | 119 | 0.596183 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,298 | player.py | gpodder_gpodder/src/gpodder/player.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 3,188 | Python | .py | 75 | 36.186667 | 78 | 0.673436 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |
8,299 | youtube.py | gpodder_gpodder/src/gpodder/youtube.py | # -*- coding: utf-8 -*-
#
# gPodder - A media aggregator and podcast client
# Copyright (c) 2005-2018 The gPodder Team
#
# gPodder 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 of the Licens... | 26,966 | Python | .py | 539 | 40.623377 | 139 | 0.591175 | gpodder/gpodder | 1,268 | 204 | 307 | GPL-3.0 | 9/5/2024, 5:10:30 PM (Europe/Amsterdam) |