Dataset Viewer
Auto-converted to Parquet Duplicate
file_path
stringlengths
8
88
content
stringlengths
0
466k
extension
stringclasses
4 values
size_bytes
int64
0
466k
conftest.py
#SPDX-License-Identifier: MIT import pytest import re import logging import sqlalchemy as s import psycopg2 from psycopg2 import sql from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT import uuid from sqlalchemy.pool import StaticPool from augur.application.db.session import DatabaseSession from augur.applica...
py
7,940
metadata.py
#SPDX-License-Identifier: MIT __name__ = "augur" __slug__ = "augur" __url__ = "https://github.com/chaoss/augur" __short_description__ = "Python 3 package for free/libre and open-source software community metrics, models & data collection" __version__ = "0.85.2" __release__ = "v0.85.2 (Eurovision: Fire Saga)" __licen...
py
457
schema-updates.sql
-- DO NOT IMPLEMENT YET .. trying to figure out why this happened. Running again. -- -- 10/1/2022: SPG - Got an error on this login constraint, which actually makes no sense. So, trying this change. /* Traceback (most recent call last): File "/home/sean/github/virtualenv/k12/lib/python3.8/site-packages/celery/app/tr...
sql
4,151
setup.py
#SPDX-License-Identifier: MIT """ SPDX-License-Identifier: MIT Install augur package with pip. """ from setuptools import setup, find_packages from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, "README.md"), encoding="utf-8") as f...
py
3,407
run_http.sh
#!/bin/bash export AUGUR_DEV=1 (nohup augur backend start &)
sh
62
jumpstart/Logging.py
import logging from pathlib import Path def init_logging(logger = logging.Logger("jumpstart") , errlog_file = Path("logs/jumpstart.error"), stdout_file = Path("logs/jumpstart.log")) -> logging.Logger: errlog = logging.FileHandler(errlog_file, "w") stdout = logging.FileHandler(stdout_file, "w") formatter =...
py
851
jumpstart/Server.py
import socket import threading from pathlib import Path from .API import Status from .Logging import console from .Client import JumpstartClient as Client from .utils import synchronized, CallbackCollection class JumpstartServer: def __init__(self, callbacks: CallbackCollection, socketfile = Path...
py
2,569
jumpstart/procman.py
from .API import Status from .API import Component from .Logging import console from .utils import synchronized from .utils import UniversalPlaceholder from .Client import JumpstartClient as Client import signal from time import sleep from typing import Union from pathlib import Path from threading import Lock from s...
py
5,108
jumpstart/Client.py
import json import socket import threading from .Logging import console from .API import spec, Status, Command from .utils import synchronized, CallbackCollection class JumpstartClient: def __init__(self, sock: socket.socket, wake_lock: threading.Lock, ID: int, callbacks: CallbackCollection): self.socket ...
py
2,459
jumpstart/API.py
from enum import Enum, EnumMeta, auto class Component(Enum): all = auto() frontend = auto() api = auto() collection = auto() @staticmethod def from_str(s): if isinstance(s, Component): return s try: return Component[s] except: re...
py
4,444
jumpstart/utils.py
from functools import wraps from threading import RLock def synchronized(func): lock = RLock() @wraps(func) def call_sync(*args, **kwargs): with lock: return func(*args, **kwargs) return call_sync class CallbackCollection: def __init__(self, **cbs) -> None: for name, cb...
py
991
jumpstart/tui.py
import socket as sockets from socket import socket import json import asyncio import logging from sys import argv from pathlib import Path from datetime import datetime from textual import work from textual.app import App, on from textual.binding import Binding from textual.message import Message from textual.events ...
py
13,201
jumpstart/jumpstart.py
import os import sys import time import json import socket import signal import logging import threading from pathlib import Path from subprocess import Popen, PIPE, STDOUT from .API import Status from .API import Component from .Logging import console from .procman import ProcessManager from .Server import Jumpstart...
py
1,485
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
32