blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 69 | license_type stringclasses 2
values | repo_name stringlengths 5 118 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 63 | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 2.91k 686M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 213
values | src_encoding stringclasses 30
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 2 10.3M | extension stringclasses 246
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6b9a1e5837577c0b9ee09f0991941d0b6c85a2b7 | b436ac4d46fb9a8019948fde91c2590d49c86c4d | /protein-translation/protein_translation.py | 7c33c784516594e08fe6a888fb97756968ba1c45 | [] | no_license | SirObi/exercism-python | c3fa4a3a3b28d6e1bd342101603515bb233eebfc | 02b1b6e46e08211d6885a2b192f05bec27ac3605 | refs/heads/master | 2021-06-11T01:38:44.365160 | 2019-07-06T18:56:27 | 2019-07-06T18:56:27 | 167,589,338 | 0 | 0 | null | 2021-04-20T17:56:27 | 2019-01-25T17:52:21 | Python | UTF-8 | Python | false | false | 854 | py |
# Codons are related - this is best represented as a tree/graph (simplified here)
MAP = {
"AU": "Methionine",
"UA": "Tyrosine",
"UC": "Serine",
"UG": {
"G": "Tryptophan",
"U": "Cysteine",
"C": "Cysteine"
},
"UU": {
"U": "Phenylalanine",
"C": "Phenylalanin... | [
"obi.orciuch@onfido.com"
] | obi.orciuch@onfido.com |
c2ac30e4850c35d33c5fa9e7dce9116a572785b8 | 4a638dcdd81396dd699296d0202f199504bcd8c6 | /overpass.py | 22213c204bf8422de83862ac459a994e3427a337 | [] | no_license | lydiaxing/bwsi2017 | a7c2285dbb5bedccd40837ba575dcf30e365dc43 | 317a6ebf523e40f0e3138d669057d40239903e63 | refs/heads/master | 2021-01-22T01:43:38.836633 | 2017-09-03T00:46:27 | 2017-09-03T00:46:27 | 102,231,888 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 4,835 | py | #!/usr/bin/python
import rospy
from std_msgs.msg import Bool
from sensor_msgs.msg import LaserScan
from ackermann_msgs.msg import AckermannDriveStamped
from nav_msgs.msg import Odometry
import numpy as np
import math
class OverPass_Node:
def __init__(self):
#threshold distance where the robot i... | [
"xinglydia@gmail.com"
] | xinglydia@gmail.com |
c42a78a810297a0b2065cc571e5e48246c02022b | 318c76cec15ebbcd382eab914d3ae6bb4c4d3b74 | /Choropleth-Map.py | fe0a54bafc13e2a38361eb2919e6992f0cd2d623 | [] | no_license | Sneha46749/Webmaps-using-Python-and-Folium | c6c47da6a376484b65924adbe28b0552ec942de7 | 3a0c0d6889c529bd3d54eb6a28d0d1cd42d55bfc | refs/heads/master | 2022-11-29T16:02:06.255232 | 2020-08-08T16:00:44 | 2020-08-08T16:00:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,116 | py | import folium
import pandas
data = pandas.read_csv("Volcanoes.txt")
lat = list(data["LAT"]) #converting the data from dataframe list to python list
lon = list(data["LON"])
elev = list(data["ELEV"])
map2 = folium.Map(location=[36.58, -99.09], zoom_start=6, tiles="Stamen Terrain")
fg=folium.FeatureGroup(name="... | [
"sneha46749@gmail.com"
] | sneha46749@gmail.com |
0e477dbc10cac89afc1d95e800229c48b8241efd | d86c9efc218512c45ab5e07da9fa956bd2a1aa88 | /gpcconstants.py | c1610071c1a3a84fb86a1336ae692ad467926dca | [] | no_license | qtxbryan/FYPJDownloader | 0f886a59a1913339230668378ad92537393692e0 | b77e0707119dca09b7def868d3f7d2113be98173 | refs/heads/master | 2020-04-06T17:33:44.452786 | 2018-11-15T07:12:09 | 2018-11-15T07:12:09 | 157,664,964 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,208 | py | # categories retrieved from Google Play Store
CATEGORY = {
'ANDROID_WEAR': 'ANDROID_WEAR',
'ART_AND_DESIGN': 'ART_AND_DESIGN',
'AUTO_AND_VEHICLES': 'AUTO_AND_VEHICLES',
'BEAUTY': 'BEAUTY',
'BOOKS_AND_REFERENCE': 'BOOKS_AND_REFERENCE',
'BUSINESS': 'BUSINESS',
'COMICS': 'COMICS',
'COMMUNICATION': 'COMMUNI... | [
"qtxbryan@gmail.com"
] | qtxbryan@gmail.com |
369617deec4aeef5623b3948ced0bd4485769dd6 | 3b69a93cccdd3116744e074ef9821df34cbc1dd1 | /DataStorer.py | 7bc75b99b07d4d2b3a851221c2e6a695b067df73 | [] | no_license | muirt/bbqbadass_server | 46feceeb83abc8941c2d3e450d32bfdaad700715 | 2de69ce30bd267c1e94fd6db19fcbe0d51ada367 | refs/heads/master | 2021-01-10T06:52:17.828220 | 2016-03-17T23:45:53 | 2016-03-17T23:45:53 | 52,071,255 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 578 | py | import time
import configuration
import CurrentIO
def StoreData():
currentTime = int(time.time())
dbEntry = {'inputs': [], 'time': currentTime }
for input in configuration.InputList:
name = input.Name
state = CurrentIO.getInputState(name)
inputEntry = {'name': name, 'state': state}
#dbEntry['inputs'... | [
"root@a10Lime.(none)"
] | root@a10Lime.(none) |
c15c8e1573fdf0576a1e0922a58fb761e4bf722a | 83684f905274bea5ec0aa81e57abe6d6af5f65c6 | /v8-addon/product_stone_search_ept/py/product_box.py | a99910b56d48ae8dd6527630d8abac5f67878099 | [] | no_license | arpanv/pansuriya | f47064679aa2c98c1e9d3a6f0605c98a685e00cf | b8615b70c33b79d8b2454cef4151d3f83c3bc77f | refs/heads/master | 2020-04-06T06:54:00.271098 | 2014-09-17T14:06:08 | 2014-09-17T14:06:08 | 24,102,473 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 536 | py | import math
import re
from openerp import tools
from openerp.osv import osv, fields
from openerp.tools.translate import _
import openerp.addons.decimal_precision as dp
class product_box_ept(osv.osv):
_name = 'product.box.ept'
_description = 'Product Box'
_columns = {
'name':fields.c... | [
"sohil@sohil.(none)"
] | sohil@sohil.(none) |
a63330c736bf3f049319c6b98f4b620ef70fc6f8 | 0393de557686f3a7c81d1a60bbfb3895d1e18cb1 | /StreamLink/usr/lib/python3.8/site-packages/streamlink/plugins/albavision.py | 6ee7957f8ee4687e5df8a97c396b32b3a77bf92b | [] | no_license | yazidzebiri/eePlugins | e91193b419ab34131a952da00e2f8e1b08cad420 | 36fa3dd9a8d10b4a452a33962add68f1a12d6b58 | refs/heads/master | 2023-06-17T16:02:37.079183 | 2021-07-07T12:44:05 | 2021-07-07T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,926 | py | """
Support for the live streams on Albavision sites
- http://www.tvc.com.ec/envivo
- http://www.rts.com.ec/envivo
- http://www.elnueve.com.ar/en-vivo
- http://www.atv.pe/envivo/ATV
- http://www.atv.pe/envivo/ATVMas
"""
import logging
import re
import time
from streamlink import PluginError
from st... | [
"zdzislaw22@windowslive.com"
] | zdzislaw22@windowslive.com |
b8f7783476de85f6a2b7ad67a79e0767980ce466 | e3afb5c1df8ecaac3555d0318aa111b34cd7724a | /RadixSort.py | ba27c45d3dd88281141d5c7da564e675b96ef24b | [] | no_license | Avinash18046/Sorting-Python | f71683a7af34dca40c06198abd7588fbcb57937d | 5f25adc1d2fbd84f6696e1bce290de625f028723 | refs/heads/main | 2023-08-02T10:43:35.572685 | 2021-10-02T09:42:23 | 2021-10-02T09:42:23 | 412,750,185 | 1 | 0 | null | 2021-10-02T09:28:40 | 2021-10-02T09:28:40 | null | UTF-8 | Python | false | false | 1,202 | py | def countingSort(arr, exp1):
n = len(arr)
# The output array elements that will have sorted arr
output = [0] * (n)
# initialize count array as 0
count = [0] * (10)
# Store count of occurrences in count[]
for i in range(0, n):
index = (arr[i]/exp1)
count[int((index)%10)] += 1
# Change count[i] so t... | [
"noreply@github.com"
] | Avinash18046.noreply@github.com |
1fff82cd038d8994320954689957150347257e93 | 48cbea4784808788e1df99662c2e9d305aa27526 | /AppImageBuilder/app_dir/builder.py | be9ac9ce6583bcd849094c8efb15c3f995677f82 | [
"MIT"
] | permissive | blanksteer/appimage-builder | 5bc0aaecf5db89c3f496c2bd7808cfbf9d9a422c | 377cb8bba7d7972c0bb695b9c7c13ecdf28a83a3 | refs/heads/master | 2022-12-24T17:18:10.265744 | 2020-09-30T18:15:24 | 2020-09-30T18:15:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,750 | py | # Copyright 2020 Alexis Lopez Zubieta
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publi... | [
"contact@azubieta.net"
] | contact@azubieta.net |
877389eadf5431f86cce9536338e7780b5b6f092 | 090324db0c04d8c30ad6688547cfea47858bf3af | /tests/test_sokorule.py | d0e02c22a7085d11f93f4eebbaa8548dce508f8b | [] | no_license | fidlej/sokobot | b82c4c36d73e224d0d0e1635021ca04485da589e | d3d04753a5043e6a22dafd132fa633d8bc66b9ea | refs/heads/master | 2021-01-21T13:14:29.523501 | 2011-06-12T07:34:14 | 2011-06-12T07:34:14 | 32,650,745 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,035 | py |
from nose.tools import assert_equal
from soko.struct.rules.sokorule import PushRule, SokobanGoalRule
from soko.struct import modeling
def test_get_children():
rule = PushRule()
s = (
"# #",
"#@. #",
" $ #",
" #",
"#####",
)
us... | [
"ivo@danihelka.net"
] | ivo@danihelka.net |
12484dd307d23b9f54f7be7010d4772395a2d8c2 | 97118a484b20e188e6469fa8652f2a20f159745d | /haizhicommon/hzlib/api_zhidao_0627.py | cb9f6bf13b44a8fd9bfac2d4cc2e0b67124c4da8 | [] | no_license | Justinyj/ruyiwebcrawl | 7cf7805d2d1b4a6c3fc7341ab47a2aba096a5323 | 6f7205b00f1a105f4505cf4ee571f2c53762dc3e | refs/heads/master | 2020-07-13T07:24:23.531659 | 2016-11-16T02:18:02 | 2016-11-16T02:18:02 | 73,888,981 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 26,576 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import collections
import codecs
import datetime
import json
import re
import time
import random
import urllib
import difflib
#import distance
import libfile
from parsers.zhidao_parser import parse_search_json_v0615
def getTheFile(filename):
retur... | [
"lidingpku@gmail.com"
] | lidingpku@gmail.com |
730187e0dca39b4ce449a65b80b8caee1e53e2d0 | 264b75d3e5862022b4d5a27f062b684e3a85b5be | /car_dealer/serializers.py | 941316cda8f26a97a731d9f69a92ee1158083f69 | [] | no_license | greatday4april/database-project | 9a7c0ad5d6aefd10ecaab78ba8b61a0abadee55f | b449d8de4fd38655fd600888c1aa460b74659940 | refs/heads/master | 2023-04-18T16:11:00.237546 | 2021-05-15T20:05:50 | 2021-05-15T20:05:50 | 367,564,778 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,345 | py | from typing import DefaultDict
from rest_framework import serializers
from car_dealer.models import Customer, PurchaseBill, Service, ServiceAppointment, ServicePackage, ServicePerformed
import datetime
class CustomerSerializer(serializers.ModelSerializer):
class Meta:
model = Customer
fields = '__... | [
"greatday4april@gmail.com"
] | greatday4april@gmail.com |
b2a469d2a6e34aba032faf3f8067fe1c2bbcc24c | 8573030aa0d57dae152041c05dbedc6de0c187c9 | /bluetooth_serial_test.py | 3614100769033bcaad02259bc74f0275a2268d6a | [] | no_license | aradicaldreamer/Singing_Tree | a691ae8b0519761e669710bcea859fb5597282da | d27e04251e455efc4067875db266ad3451d145c9 | refs/heads/master | 2021-09-11T13:31:12.981443 | 2018-04-08T00:02:15 | 2018-04-08T00:02:15 | 112,475,605 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 241 | py | #! /usr/bin/python
import serial
#import pyfirmata
from time import sleep
bluetoothSerial = serial.Serial("/dev/rfcomm0", baudrate=115200)
from pyfirmata import Arduino, util
board = Arduino('/dev/rfcomm0')
board.digital[4].write(255)
| [
"31594961+aradicaldreamer@users.noreply.github.com"
] | 31594961+aradicaldreamer@users.noreply.github.com |
5a71efd94cdeda2ade61ec8e122438f31aa20dbc | db7b7ec5177533020c028b717166d0f446b983ce | /py_lab2/my_pkg/bin_conv.py | 018dabf37cadc5844053544d2bd51ce538d02ef7 | [] | no_license | BREG001/osp_repo_sub | 63c97dc54eac778bd841f163df9bd367df451ed1 | 0588f41ccffc0b2aab0fb0cba79ca87586cef3a9 | refs/heads/master | 2021-05-18T15:08:35.890106 | 2020-04-27T16:07:44 | 2020-04-27T16:07:44 | 251,288,180 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 770 | py | #!/usr/bin/python3
def bin_conv():
bin = int(input("input binary number:"))
bin_ = bin
temp = 0
oct = 0
i = 0
asdf = 0
while (bin_ >= 1):
for j in range(0, 3):
temp += (bin_ % 10) * pow(2, j)
bin_ = int(bin_ / 10)
oct += (temp * pow(10, i))
i += 1
temp = 0
print("=> OCT> %d" % oct)
bin_ = bin... | [
"ws4368@naver.com"
] | ws4368@naver.com |
7518016cfc9c6146f9aeac73199a889b77b08bb5 | cf9ba2393abe81c173dc1b822f03aa9eb05b0a61 | /Topsisz.py | 877ef6592c6ea970b1f70875ab4a92251ea29645 | [
"MIT"
] | permissive | zabhitak/TOPSIS-Abhinav-101803706 | 5b2066b47109608f9ba759713f1e14fa45fdf151 | 08b3a4b9887ba30027284f60ccc134bcbbb28d4f | refs/heads/master | 2023-01-07T01:48:02.911109 | 2020-11-12T05:17:11 | 2020-11-12T05:17:11 | 311,130,216 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,297 | py | import sys
import pandas as pd
import numpy as np
import os
class myexception(Exception):
pass
def normalised_mat(filename,weights,impact):
dataset = pd.read_csv(filename)
column_values = dataset.iloc[:,1:].values
if (dataset.shape[1]<3):
raise myexception("Input file must contain thre... | [
"zabhitak1292000@gmail.com"
] | zabhitak1292000@gmail.com |
cb34ff3cdf7cedcf98d716929411450445415a15 | 6c5757d8d39bf60eb248e2b2a20091270129317d | /custom_functions.py | 66a69ac57b3b194de2f396423e38527f68b4d179 | [] | no_license | juin-hongg/attendance_system | b5f7ef2d582423fa27828d42759ec9b14a626f15 | f8ea0e621a0955ec8d226973bf0675c1caf8950f | refs/heads/master | 2023-01-28T04:47:26.228831 | 2020-12-09T13:13:44 | 2020-12-09T13:13:44 | 319,960,628 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,896 | py | import pyowm
from datetime import datetime, timedelta
def get_elapsed_time(cst):
"""
This function gets the time elapsed since the current class start time
:param cst: current class start time
:return: 0 if the current time is EARLIER than the current class start time else the total time elapsed in ... | [
"juinhong4@gmail.com"
] | juinhong4@gmail.com |
27ab1bab32d6bdc3f021bf7ca29e7d2821c32dac | 4dc4f06a2c3bdff4dabb8e27434dcd42479f1b4a | /coursera/functions.py | 6f9f8a99cabe50208f6a2cfacc4f46492a15cd57 | [] | no_license | fgokdata/exercises-python | 4a259eab02e8b64ee5a2ef3382f33a111a3fbcaf | 51689a89829f37c6a6646d009df32fde7f80ab9b | refs/heads/master | 2023-03-16T04:48:35.734158 | 2021-03-07T20:59:14 | 2021-03-07T20:59:14 | 325,111,794 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 515 | py | def printAll(*args): # All the arguments are 'packed' into args which can be treated like a tuple
print("No of arguments:", len(args))
for argument in args:
print(argument)
#printAll with 3 arguments
printAll('Horsefeather','Adonis','Bone')
#printAll with 4 arguments
printAll('Sidecar','Long Island','M... | [
"fgokdata@gmail.com"
] | fgokdata@gmail.com |
c94a6cceb87bc3039ad2a7bc7a6bb86363be9e9f | 29e43a0ff67fff987bfe9fb51b85ab0f60cf0ff9 | /inward/apps.py | 165441933d1ec467ddd331f06c172fe449c6f92c | [
"MIT"
] | permissive | kwabena-aboah/dms-efile | 5c42b9016d4416f7af6c701272e1bee59c093fcf | 0e9fe6b059dcb441dac29d7b2710f66e8f4d855c | refs/heads/master | 2022-12-10T05:12:56.038469 | 2022-02-19T18:37:10 | 2022-02-19T18:37:10 | 179,473,534 | 0 | 0 | MIT | 2022-12-08T01:43:42 | 2019-04-04T10:12:20 | Python | UTF-8 | Python | false | false | 87 | py | from django.apps import AppConfig
class InwardConfig(AppConfig):
name = 'inward'
| [
"obed30mintah@yahoo.com"
] | obed30mintah@yahoo.com |
f370e68f5f151f81a8bdc822000422bb3a00eb2f | 20f951bd927e4e5cde8ef7781813fcf0d51cc3ea | /fossir/modules/events/payment/testing/fixtures.py | cd8ec800a3c8878de5cf225e634d8c0ddd435ece | [] | no_license | HodardCodeclub/SoftwareDevelopment | 60a0fbab045cb1802925d4dd5012d5b030c272e0 | 6300f2fae830c0c2c73fe0afd9c684383bce63e5 | refs/heads/master | 2021-01-20T00:30:02.800383 | 2018-04-27T09:28:25 | 2018-04-27T09:28:25 | 101,277,325 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 714 | py |
import pytest
from fossir.modules.events.payment.models.transactions import PaymentTransaction, TransactionStatus
@pytest.fixture
def create_transaction():
"""Returns a callable which lets you create transactions"""
def _create_transaction(status, **params):
params.setdefault('amount', 10)
... | [
"hodardhazwinayo@gmail.com"
] | hodardhazwinayo@gmail.com |
24cf381ade836b3bbdf9c48d26ed4710c70d97f3 | 1d4a0cf3d970d9e1c81f9395a59088768e1b179e | /LeanEuler/CleanTaxParser/CleanTaxParser.py | 03dd4e93b1057f210280af61507905b64cebe98f | [
"Apache-2.0"
] | permissive | idaks/LeanEuler | a3577bceab736ccc1f105f4c29b432b77ea0a379 | a8fba6c08e25b1cd293dac9013256354cd8a95e2 | refs/heads/master | 2021-07-01T17:59:08.227590 | 2019-04-23T15:14:06 | 2019-04-23T15:14:06 | 118,785,114 | 1 | 0 | Apache-2.0 | 2019-03-13T07:09:56 | 2018-01-24T15:38:16 | Python | UTF-8 | Python | false | false | 19,224 | py | # Generated from CleanTax.g4 by ANTLR 4.7.1
# encoding: utf-8
from antlr4 import *
from io import StringIO
from typing.io import TextIO
import sys
def serializedATN():
with StringIO() as buf:
buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3\16")
buf.write("N\4\2\t\2\4\3\t\3\4\4\t\4\4... | [
"sahil1105@hotmail.com"
] | sahil1105@hotmail.com |
85670d26e24b6401659b0d9ff893326cd87d1fd6 | fd8024aa9d0995caf60b05ee8249340dda49479e | /dynamite-remote/dynamite_remote/utilities.py | 3d87506adedf349009df9400e77e7f9f09be2746 | [] | no_license | DynamiteAI/utilities | d8c5088aeea8d6e4cbc5f1656b1374362f6bd571 | 5cbfebd92b6376db20708d1363079d0974f6a029 | refs/heads/master | 2023-08-11T17:17:28.453094 | 2021-10-01T20:25:09 | 2021-10-01T20:25:09 | 358,475,746 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,615 | py | import os
import tarfile
import subprocess
from typing import Optional, Tuple, Union
USER_HOME = os.environ.get("HOME")
LOCK_PATH = f'{USER_HOME}/.dynamite_remote/locks'
REMOTE_SSH_USER = 'dynamite-remote'
class NodeLocked(Exception):
"""
Thrown a remote node is already running a command
"""
def __... | [
"jamin@dynamite.ai"
] | jamin@dynamite.ai |
a8f79e485a62acd559aacca26284916a6d7816cc | 30575ea2c63b40f5c578acc3dd3aa306c539f0b8 | /dialog/schema/factories/conditions/results_count.py | e13a9bbe9dd13e2689486c3cb6a17fd639f0ae58 | [] | no_license | robdefeo/dialog | 87b8cff9b48fd6980ab7ad167823de38a40c91bb | 1db84ca439d226e9d9222d76d825b6c92f56edd8 | refs/heads/master | 2021-05-30T11:39:58.053586 | 2016-02-07T22:22:55 | 2016-02-07T22:22:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 512 | py | from dialog.elements import Condition
from dialog.schema.factories.variables import NAME_RESULTS_COUNT
class ResultsCountConditions:
@staticmethod
def equals_zero():
return Condition(name=NAME_RESULTS_COUNT, operator="EQUALS", root_text="0")
@staticmethod
def less_than(value):
return ... | [
"robertodefeo@hotmail.com"
] | robertodefeo@hotmail.com |
8b4a81d4fc267ceeff9bff7fb3ff4286888a5000 | c5c7542a3b532740e20495aed22b91d58a66e576 | /hbaselines/goal_conditioned/sac.py | 342b00f6a291b006d697ef5e1df87914b7c73b52 | [
"MIT"
] | permissive | jesbu1/h-baselines | 964c80d1bb54bcd070de8ba55f940bc836078df1 | f6f775bb18de22527f2d01d73bd733ed2e435ba3 | refs/heads/master | 2022-12-07T03:18:37.077556 | 2020-09-03T06:41:49 | 2020-09-03T06:41:49 | 282,724,302 | 0 | 0 | MIT | 2020-07-26T20:04:03 | 2020-07-26T20:04:03 | null | UTF-8 | Python | false | false | 12,889 | py | """SAC-compatible goal-conditioned hierarchical policy."""
import numpy as np
from hbaselines.goal_conditioned.base import GoalConditionedPolicy as \
BaseGoalConditionedPolicy
from hbaselines.fcnet.sac import FeedForwardPolicy
class GoalConditionedPolicy(BaseGoalConditionedPolicy):
"""SAC-compatible goal-con... | [
"noreply@github.com"
] | jesbu1.noreply@github.com |
bcd0cf676cbc9d4bdeeca3cf67c6ecefb10024d2 | 4f12100a5f1d99a67e2119724b4f23bd54e4df3b | /sistemaDePersonasWS/sistemaDePersonasWS/sistemaDePersonasWS/wsgi.py | 06543e622952e5c6f424bb3010f5f01e611bf982 | [] | no_license | javierperini/SistemaDePersonas | d6adc21528fd057a1a6580008589b146f27446f0 | 65537e03dd088117901eb470e7a1dbf3046c2bcf | refs/heads/master | 2020-03-16T13:06:46.727122 | 2018-05-10T03:37:16 | 2018-05-13T23:41:57 | 132,681,642 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 416 | py | """
WSGI config for sistemaDePersonasWS project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault(... | [
"javierperini90@gmail.com"
] | javierperini90@gmail.com |
c94623fa4a303341d2a14bd2502ddbb12809ef67 | 75fa11b13ddab8fd987428376f5d9c42dff0ba44 | /metadata-ingestion/tests/integration/ldap/test_ldap.py | 3e76f13fc823d2cba27669df218aeac46589492f | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause",
"MIT"
] | permissive | RyanHolstien/datahub | 163d0ff6b4636919ed223ee63a27cba6db2d0156 | 8cf299aeb43fa95afb22fefbc7728117c727f0b3 | refs/heads/master | 2023-09-04T10:59:12.931758 | 2023-08-21T18:33:10 | 2023-08-21T18:33:10 | 246,685,891 | 0 | 0 | Apache-2.0 | 2021-02-16T23:48:05 | 2020-03-11T21:43:58 | TypeScript | UTF-8 | Python | false | false | 5,662 | py | import time
import pytest
from datahub.ingestion.run.pipeline import Pipeline
from tests.test_helpers import mce_helpers
from tests.test_helpers.docker_helpers import wait_for_port
@pytest.mark.integration
def test_ldap_ingest(docker_compose_runner, pytestconfig, tmp_path, mock_time):
test_resources_dir = pytes... | [
"noreply@github.com"
] | RyanHolstien.noreply@github.com |
15de457978364d20c77a1b440c0744b05fc37897 | 79c2638dba0f7efe1530a08be0abd9ccc86de14a | /leagues/views.py | ce4bba6f5a98690911dbc3278fe9aebc4601045f | [] | no_license | cristianrdev/BD_teams_leagues_players | 06d0e505a264cc1492d87e61b362031baa0427f2 | 49868c90e5cf5437009c2fbe012efdcfaae83866 | refs/heads/main | 2023-04-14T20:31:52.968883 | 2021-04-30T04:51:10 | 2021-04-30T04:51:10 | 363,029,550 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,405 | py | from django.shortcuts import render, redirect
from .models import League, Team, Player
from . import team_maker
def index(request):
if request.method == 'GET':
print('------------es un GET-----------------')
context = {
"leagues": League.objects.all(),
"teams": Team.objects.all(),
"players": Player.obje... | [
"crrojasserrano@gmail.com"
] | crrojasserrano@gmail.com |
63bfbaf1cc2e5f3abf32344a9ebfe404aa6104e6 | 5bf4a43469b8f8ddeb924a1a7a1073a804151fef | /InputGUI/VideoPlayer.py | 8b4c11b2c13e174d2e23ae68bf7e7e89f2d82eb9 | [] | no_license | MSauerM/CVFouldetection | b52eee085a12630a8f32452edf6f6d86ec48b7d3 | 15d4fcbb1826d7fb9bb640b10981599fef627903 | refs/heads/master | 2023-07-25T14:41:00.179637 | 2021-09-01T20:53:56 | 2021-09-01T20:53:56 | 357,150,396 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,436 | py | import sys
from PyQt5.QtCore import QDir, Qt, QUrl
from PyQt5.QtMultimedia import QMediaPlayer, QMediaContent
from PyQt5.QtMultimediaWidgets import QVideoWidget
from PyQt5.QtWidgets import QMainWindow, QStyle, QPushButton, QSlider, QWidget, QHBoxLayout, QVBoxLayout
'''angelehnt an https://pythonprogramminglanguage.co... | [
"matthias.sauer97@gmx.net"
] | matthias.sauer97@gmx.net |
e0fab741660cd79a9bb39662c41807ef1d654d98 | 168978c0d4e33f9a2e614c51e77a75cd6393def8 | /blog/migrations/0002_comment.py | 153650079fc199576b2a749ee91fe89c86e6be33 | [] | no_license | Faisal-Zamir/Online_Course | cbb548a9c98ba24c907be584dd2aa418235bd8a2 | 73a3c5f84af68acafc85d6762f28858900c688ef | refs/heads/master | 2022-12-06T08:32:45.940898 | 2020-08-24T03:15:19 | 2020-08-24T03:15:19 | 289,815,942 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 991 | py | # Generated by Django 3.0.7 on 2020-08-23 08:25
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('blog', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Comment',
fi... | [
"Jafriweb@gmail.com"
] | Jafriweb@gmail.com |
68d9ab65613c09fa8f9fb2cc9c777da8f5849f98 | bea556733142d4a41562f4c9e0d26418780f244e | /tools/cef_parser.py | d624358ad9ecb90298be67f31df591c9d7a548fa | [
"BSD-3-Clause"
] | permissive | EricTop3/cef | fd48f706b27a51951b830a6673be10a9e63030c5 | e83d8d6a131ad39b98c97c945ccf77bcd723378f | refs/heads/master | 2023-09-04T00:11:52.720554 | 2021-11-09T19:21:58 | 2021-11-09T19:21:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 66,664 | py | # Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights
# reserved. Use of this source code is governed by a BSD-style license that
# can be found in the LICENSE file.
from __future__ import absolute_import
from date_util import *
from file_util import *
import os
import re
import shutil
import string... | [
"magreenblatt@gmail.com"
] | magreenblatt@gmail.com |
8dc18ef2f8c1b9adeb021bbd1cc39ef1d13084b3 | 85ab4cc5e16e2e51fee8488f47f4ed1ecd043c61 | /examples/tracing/kvm_hypercall.py | 322bb8e50098e60cc6f8e678268741876e74d888 | [
"Apache-2.0"
] | permissive | polycube-network/bcc | 8fa018358f03fc2a3444910fade338de6933babf | b8158f43ceb884a9eef456d30f4f413604397a6a | refs/heads/master | 2022-06-25T14:00:23.852780 | 2020-01-27T11:16:21 | 2020-01-27T11:16:21 | 161,410,720 | 2 | 4 | Apache-2.0 | 2020-06-25T13:38:04 | 2018-12-12T00:26:32 | Python | UTF-8 | Python | false | false | 1,524 | py | #!/usr/bin/env python
#
# kvm_hypercall.py
#
# Demonstrates stateful kvm_entry and kvm_exit recording along with the
# associated hypercall when exit_reason is VMCALL. See kvm_hypercall.txt
# for usage
#
# REQUIRES: Linux 4.7+ (BPF_PROG_TYPE_TRACEPOINT support)
#
# Copyright (c) 2017 ShiftLeft Inc.
#
# Author(s):
# S... | [
"goldshtn@gmail.com"
] | goldshtn@gmail.com |
6c84ccddbbd2a6110e5b60242adf271558d404ee | 83ed8b754703a1c9e661c90f0763bfebbc0f2606 | /爬虫/抓取动态Ajax请求的数据.py | 872e0b1c73089f5de87f161395db0e8837b3d7ad | [] | no_license | zbh123/hobby | 4ce267a20e1af7f2accd2bde8d39af269efa319b | 2215c406fe7700bf150fd536dd56823a2e4733d1 | refs/heads/master | 2021-08-02T10:31:34.683391 | 2021-07-26T07:26:16 | 2021-07-26T07:26:16 | 150,555,879 | 4 | 0 | null | 2021-07-27T07:34:28 | 2018-09-27T08:41:44 | Python | UTF-8 | Python | false | false | 1,199 | py | import urllib.request
import ssl
import json
import re
def ajaxCrawler(url):
headers = {
"User-Agent": "User-Agent:Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0"
}
req = urllib.request.Request(url, headers=headers)
#使用ssl创建未验证的版本
context = ssl._create_unverifie... | [
"noreply@github.com"
] | zbh123.noreply@github.com |
fd03335e59e081fdbdaab6e2a3b46cb34f7afd28 | 0903058aeac42ae40371f5a31978df8fdc838162 | /feature_engine/creation/mathematical_combination.py | fda42a6dc8c184102a96825077b8f9d93a5e2a87 | [
"BSD-3-Clause"
] | permissive | vasusuren/feature_engine | 5f852c229153dc6a5a2e4f7787152b1aa4c2ae6f | 24b8cbdc0aea1e8c266b805947f38e9f02369d69 | refs/heads/master | 2023-04-10T03:09:47.328514 | 2021-04-12T16:16:47 | 2021-04-12T16:16:47 | 358,562,154 | 0 | 0 | BSD-3-Clause | 2021-06-10T13:14:48 | 2021-04-16T10:28:45 | null | UTF-8 | Python | false | false | 10,885 | py | from typing import List, Optional, Union
import pandas as pd
from sklearn.base import BaseEstimator, TransformerMixin
from sklearn.utils.validation import check_is_fitted
from feature_engine.dataframe_checks import (
_check_contains_na,
_check_input_matches_training_df,
_is_dataframe,
)
from feature_engin... | [
"noreply@github.com"
] | vasusuren.noreply@github.com |
c710a8f96c892727fa5bba29bf8a3a2db1cff76c | 9a07514a9942303d96031b002b4f28ef248fe689 | /app/page/main.py | 392ae1d6191abb895cd03f46c59ac479abb3ae25 | [] | no_license | zhousk/hogwarts | 58a257c162331b7e262db88fe308312e2d390101 | 93d38d33fb5b4cfa52649c5101d1a325c56d64ca | refs/heads/master | 2023-02-14T00:26:32.820142 | 2021-01-04T17:09:01 | 2021-01-04T17:09:01 | 307,015,406 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 472 | py | from appium.webdriver.common.mobileby import MobileBy
from app.page.contact_page import ContactPage
from app.page.base_page import BasePage
class Main(BasePage):
_contact_list = (MobileBy.XPATH, "//*[@text='通讯录']")
def goto_contact_page(self):
'''
进入到通讯录
'''
# 点击【通讯录】
#... | [
"980692186@qq.com"
] | 980692186@qq.com |
e1655716d0d948d2cb64544b273a2246f9206b96 | a239382d2752cb9d04979c1eebfbfb46bd11329a | /face_detection_project_.py | 996ac0c233f83db38ccc52cd44fec7b76207c98f | [] | no_license | Gurwinder-Kaur98/facial-recognition-system-project | c15988257ffbb563f18e50f0ec2bc6886a452c89 | fa660ab7dea2cb8162a1485d98c7aef2c9fb6378 | refs/heads/main | 2023-03-23T15:29:11.755162 | 2021-03-19T09:20:53 | 2021-03-19T09:20:53 | 349,356,497 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,459 | py | '''SINCE DATABASE IS GIVING US QUICK ACCESS TO PICTURES AND GETTING DATA IS MUCH EASIER IN DATABASE THAN LISTS
THAT'S WHY WE ARE USING MYSQL DATABSE TO STORE USERS DATA LIKE IMAGES,NAME,ID AND ATTENDENCE DATA'''
import mysql.connector as sql
import os
import cv2
import numpy as np
from datetime import da... | [
"noreply@github.com"
] | Gurwinder-Kaur98.noreply@github.com |
e2ec8e1807b2ada32487f68445c59d81a1985ee4 | ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3 | /python/baiduads-sdk-auto/test/test_update_material_bind_response_wrapper_body.py | 0b1aeca6da72b0508699b95f4a1b46ff5039dc1e | [
"Apache-2.0"
] | permissive | baidu/baiduads-sdk | 24c36b5cf3da9362ec5c8ecd417ff280421198ff | 176363de5e8a4e98aaca039e4300703c3964c1c7 | refs/heads/main | 2023-06-08T15:40:24.787863 | 2023-05-20T03:40:51 | 2023-05-20T03:40:51 | 446,718,177 | 16 | 11 | Apache-2.0 | 2023-06-02T05:19:40 | 2022-01-11T07:23:17 | Python | UTF-8 | Python | false | false | 996 | py | """
dev2 api schema
'dev2.baidu.com' api schema # noqa: E501
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import baiduads
from baiduads.materialbindmod.model.material_bind_update_response import MaterialBindUpdateResponse
globals()['MaterialBindUpdateResponse'] = MaterialBin... | [
"v_wangzichen02@baidu.com"
] | v_wangzichen02@baidu.com |
b24113a5aef60eee13af9475c0f32a9ad3eb8856 | e9b0a4cbd4757a598fbc8b3973f69dfd76b2020d | /app_system/migrations/0002_userssconfig_user.py | 2062f4dd7f79ecb1b1bcae0300611f6e00bfc068 | [
"Apache-2.0"
] | permissive | visoon0012/plover.cloud | fa58cdc8b241183670a229ccf4db64f78ed023d1 | 04542628758d969085eb6172928165fddb5d2677 | refs/heads/master | 2022-12-14T08:08:10.099953 | 2018-08-01T10:08:14 | 2018-08-01T10:08:14 | 129,711,956 | 1 | 0 | Apache-2.0 | 2022-11-22T02:28:49 | 2018-04-16T08:41:44 | Python | UTF-8 | Python | false | false | 593 | py | # Generated by Django 2.0.2 on 2018-05-31 10:49
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('app_system', '0001_initial'),
migrations.swappable_dependency(s... | [
"visoon0012@hotmail.com"
] | visoon0012@hotmail.com |
400ac17153480a63df98dda5dac0d88bf318c97e | 508321d683975b2339e5292202f3b7a51bfbe22d | /Userset.vim/ftplugin/python/CompletePack/PySide2/QtWidgets/QGraphicsPixmapItem.py | 0b913af111c321403b7dbad1da4f899c98fdb78f | [] | no_license | cundesi/vimSetSa | 4947d97bcfe89e27fd2727423112bb37aac402e2 | 0d3f9e5724b471ab21aa1199cc3b4676e30f8aab | refs/heads/master | 2020-03-28T05:54:44.721896 | 2018-08-31T07:23:41 | 2018-08-31T07:23:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,254 | py | # encoding: utf-8
# module PySide2.QtWidgets
# from C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\PySide2\QtWidgets.pyd
# by generator 1.145
# no doc
# imports
import PySide2.QtCore as __PySide2_QtCore
import PySide2.QtGui as __PySide2_QtGui
import Shiboken as __Shiboken
from QGraphicsItem ... | [
"noreply@github.com"
] | cundesi.noreply@github.com |
03159707aa89c1ada2d4e3e3109c8a8cff6de8ff | 9b3df22a5352484d7cab3f3d32b2404a951b9d53 | /server/test_python_client.py | e2cebaaca06ecb4ed7a2e851e729a6b4332d487b | [] | no_license | nickmoop/untitled_messenger | 24694b41f623ca42abab790d6569108cc3dba46b | 089c5c06f94aee9bf7273e8c56c35b0872e63f83 | refs/heads/master | 2021-08-06T10:00:45.859278 | 2017-11-04T21:55:04 | 2017-11-04T21:55:04 | 109,385,597 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,083 | py | from socket import *
SERVER_HOSTNAME = 'localhost'
SERVER_PORT = 50007
def send(socket_object, message=None):
if message:
print('Encode message: {}'.format(message))
message = [message.encode()]
print('Send message')
for line in message:
socket_object.send(line)
el... | [
"nicolay.chirik@gmail.com"
] | nicolay.chirik@gmail.com |
4c45f08b05b3d7602a124435f0b016247808ffc6 | 2ec75e8b2fce5b21f8df8944eb2c792b78743552 | /server.py | 4b334f45597809d3e274e5b4f73eb0593cce7e46 | [] | no_license | smilefufu/tornado-s | 6ea541bdf3795913c3df070cda38d70665997f90 | 19bd56b33e70e36c9cc0c1d9b4f253b657caaed0 | refs/heads/master | 2020-05-20T16:45:25.109800 | 2015-11-19T14:38:43 | 2015-11-19T14:38:43 | 42,692,516 | 5 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,529 | py | #!/usr/bin/env python
# encoding: utf-8
from tornado.ioloop import IOLoop
from tornado.web import Application, url
from tornado.options import options, define, parse_command_line
from lib.core import HTTPServer, config_settings, RequestHandler, RestfulApiHandler, ModuleRouter, ProviderManager
import logging
import sys
... | [
"fufu.bluesand@gmail.com"
] | fufu.bluesand@gmail.com |
c15e0849f76eff4678bd60d201ed33b6738de563 | 3a0deef4feb62d9b0cee5c581cbc57233d356f9d | /ParkEasy/migrations/0001_initial.py | 4ab181853091171dd6fb4a862bbce2da2d69d75f | [] | no_license | sirwill98/William_Rodgers_Graded_Unit | d1d24edf2d78b7eb421e1f2307fd424e4a1c8426 | 94ce68bc97773a93c4c2b963b0252ea5c0830d2a | refs/heads/master | 2021-06-05T10:29:27.070287 | 2020-11-12T13:32:30 | 2020-11-12T13:32:30 | 131,712,484 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,506 | py | # Generated by Django 2.0.3 on 2018-05-24 12:40
import ParkEasy.models
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
('auth', '0009_alter_... | [
"billyboy2410@hotmail.co.uk"
] | billyboy2410@hotmail.co.uk |
6cb2260307d2f7c6cbf7b028abac70e25d96e6fd | 972322a06d74e90be88b32204d5a777b24c95a3c | /weatherVenv/lib/python3.8/site-packages/twilio/rest/preview/__init__.py | 667c76b23bd2cd834e13bb10628482bad99f6515 | [] | no_license | Ktailor34/weatherBot | 5ae95f0635d658ba7d8792afe882c01518bc7025 | ca6029b19e085d301b1358a38c70186d864215b5 | refs/heads/master | 2022-12-15T14:02:33.400798 | 2020-09-10T21:38:51 | 2020-09-10T21:38:51 | 240,813,256 | 2 | 0 | null | 2022-12-08T03:37:21 | 2020-02-16T01:27:21 | Python | UTF-8 | Python | false | false | 7,099 | py | # coding=utf-8
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base.domain import Domain
from twilio.rest.preview.bulk_exports import BulkExports
from twilio.rest.preview.deployed_devices import DeployedDevices
from twilio.rest.preview.hosted_numbers... | [
"ktailor@Kishans-MacBook-Air.local"
] | ktailor@Kishans-MacBook-Air.local |
db2a2a1a31115c20f2aa9461c575fc65b4918eef | 9838d1b978bf34926c2f881b8e06ace732869997 | /assignment2/counter.py | 9a61e7e5efc846d762d3f0e7ae1ff8a8c7a9a3be | [] | no_license | thinkocapo/big-data-processing | 57678e9cca144c3e310aae82283062d95fe99147 | 5e417c08c7cd3cada732963b32624b6faa8a8d8d | refs/heads/master | 2023-04-15T12:27:08.028286 | 2019-11-12T04:27:41 | 2019-11-12T04:27:41 | 207,067,630 | 1 | 0 | null | 2023-03-31T14:51:22 | 2019-09-08T05:43:50 | Python | UTF-8 | Python | false | false | 7,330 | py | import argparse
import csv
import datetime
import json
import multiprocessing
from multiprocessing import Process, Value, Lock
import os
import pprint
import time
import threading
from random import randint
# Capture any exceptions and send to Sentry.io :)
if 'DSN_DATA_PIPELINE' in os.environ:
import sentry_sdk
... | [
"thinkocapo@gmail.com"
] | thinkocapo@gmail.com |
1bab096720a3d1db7ea403b4988e1744b8ee3cd9 | 541523537649b48a96eef475d6b66e8e8270978d | /fenci/web/test/test.py | 554e8d9c53702256b8d8ed584dbcc758e7f9ac4b | [] | no_license | HNU-MSC/fenci | 03720288e29b3dbf05eb408d8af164d1e3ed7813 | dc9218eae7e58bafda5d659a01b473eb57b63861 | refs/heads/master | 2020-12-27T04:31:25.202604 | 2020-02-02T12:28:11 | 2020-02-02T12:28:11 | 237,766,024 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 130 | py | import json
with open('force_directed.json', 'r') as f:
res = f.read()
res = json.loads(res)
print(res['nodes']) | [
"noreply@github.com"
] | HNU-MSC.noreply@github.com |
3d03ee4b346bb937bb87a78407998a3a3294ea25 | 83aa8b54f55eeeca3c58eb7cc59219fb2c9f6307 | /tests/test_preprocessing.py | 6f8f76c60bd5e75d5dbec29723d48b9ca37d1a36 | [
"MIT"
] | permissive | vftens/RocAlphaGo-aug25-keras2-py35 | 650e8321dfc82b0cfa922afa78e3dc0e92017e49 | 67ad5242ea7a8cdda60b9e10590f7bc9e91447c6 | refs/heads/master | 2023-01-04T07:10:31.509986 | 2020-10-24T18:17:50 | 2020-10-24T18:17:50 | 306,944,918 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,207 | py | import unittest
from . import parseboard
import numpy as np
import AlphaGo.go as go
from AlphaGo.go import GameState
from AlphaGo.preprocessing.preprocessing import Preprocess
def simple_board():
"""
"""
gs = GameState(size=7)
# make a tiny board for the sake of testing and hand-coding expected res... | [
"aico@ya.ru"
] | aico@ya.ru |
b0208119966e1fdb6ebb2df463fa9d87fbde71c4 | e479cf6650db5766ca8435c5a1165e8cb43de0b7 | /evaluate.py | 9cfef8c4942f289387614d90d2854c750e40f0aa | [] | no_license | WangGewu/2020-ai-road-segmentation | 531b9eaaa0a6038b77a5a5fe886748a1ccda42c3 | 5e5c0a161b1bc3424dd351738641c4a367a8c1cf | refs/heads/main | 2023-03-29T05:00:12.529475 | 2021-04-08T13:22:23 | 2021-04-08T13:22:23 | 355,915,734 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,237 | py | import numpy as np
class Evaluator(object):
def __init__(self, num_class):
self.num_class = num_class
self.confusion_matrix = np.zeros((self.num_class,)*2)
def Pixel_Accuracy(self):
Acc = np.diag(self.confusion_matrix).sum() / self.confusion_matrix.sum()
return Acc
... | [
"noreply@github.com"
] | WangGewu.noreply@github.com |
1ed4eb824895a8efbf8b5abcf633e22583dae17e | 802a34c7452f7035b3f3441169fb2e3c1743b2e9 | /Modelling/logistic_regression_pipeline.py | 3e07b150de7d5fe35ca90a48dc2fb65f9e5f1ee9 | [] | no_license | XingLLiu/ED_code | 6756a945c213df4676a7278aa89de0675afb87c9 | 79f6d680354a944a538a3d1983fbc898b0d1c097 | refs/heads/master | 2020-06-15T09:05:59.861517 | 2019-08-27T20:32:55 | 2019-08-27T20:32:55 | 195,255,510 | 0 | 0 | null | 2019-08-26T00:40:25 | 2019-07-04T14:22:05 | Python | UTF-8 | Python | false | false | 6,888 | py | # ----------------------------------------------------
# To run:
# 1. customize hyper-parameters and DATA_PATH in Section 0
# 2. in Terminal:
# python logistic_regression_pipeline.py
# ----------------------------------------------------
from ED_support_module import *
from ED_support_module import EPICPreprocess... | [
"liuxing971015@outlook.com"
] | liuxing971015@outlook.com |
da01705f525324f663168eb74c1a77e66c4cc174 | 417b516b7c15779a8f93511a09ca213017d22415 | /app/members/models.py | 86ca7fd32e3082d6975e7a69d35f8d72a7ef0fc5 | [
"MIT"
] | permissive | krakiun/chargeflask | 453f631cb5ba5a05ebeb1d318cce1b84e9637b18 | dabca234a07550889927dd308c7d4ef8923da943 | refs/heads/master | 2021-08-14T06:55:56.017209 | 2017-11-13T20:39:18 | 2017-11-13T20:39:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 493 | py | """
filename: members.py
description: Model for Members in Committees.
created by: Omar De La Hoz (oed7416@rit.edu)
created on: 08/31/17
"""
from app import db
from itsdangerous import (TimedJSONWebSignatureSerializer
as Serializer, BadSignature, SignatureExpired)
members_table = db.Table('m... | [
"omar.dlhz@hotmail.com"
] | omar.dlhz@hotmail.com |
ee7907386d75d7bd896092d36804b4b05cab52d4 | b04b52614b31a5d77239d19b4259f84abb2cbea5 | /adminpanel/migrations/0023_album.py | 03b00f2f23fc6b2ecfeaed66b54429ce8761ca75 | [] | no_license | nawed-xigmapro/vibanote | ae348561d7c6b8b208a1b6a8f46db2c928e3df91 | 03f2f23497203e4dbfde43c5bb8898a5e77492fa | refs/heads/master | 2021-01-19T19:01:59.108160 | 2017-08-23T13:38:30 | 2017-08-23T13:38:30 | 101,181,066 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,700 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-07-03 14:11
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
... | [
"nawed@xigmapro.com"
] | nawed@xigmapro.com |
62f85c84ce0341424f10db40157445ebc85a70e9 | 6b2af072847d22c17344856636054497d1f4f632 | /leetcode/448.find-all-numbers-disappeared-in-an-array.py | ecee2f006429567a5e6fc41126e55ec157ebeef3 | [] | no_license | iplay16/vscode | 2a2dde14550164cc36d76dee4a5bdba6e998f026 | 542626143c4eab527f6bc7143e8778619c8e4857 | refs/heads/master | 2020-04-25T01:55:23.972221 | 2019-10-05T08:40:31 | 2019-10-05T08:40:31 | 172,422,491 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 385 | py | #
# @lc app=leetcode id=448 lang=python3
#
# [448] Find All Numbers Disappeared in an Array
#
class Solution:
def findDisappearedNumbers(self, nums: List[int]) -> List[int]:
for n in nums:
nums[abs(n)-1]=-abs(nums[abs(n)-1])
res=[]
for i in range(len(nums)):
if(nums[i... | [
"iplay16@163.com"
] | iplay16@163.com |
21c7744fe9bf965805efcb90210e003fbc603dfe | f4ea512b8a156abfaef83f25e044b94c37b6dedb | /questions/ABC194/C.py | fe4fe5952d374d1f02b2c0ed3a53e5bd84cd5e11 | [] | no_license | HubHikari/CompetitiveProgramming | 9d1483e0a964508e84ae233aba9cb4ade7ff88e3 | b7c471a80378183b2ed5fe86fa829ee89d26709f | refs/heads/main | 2023-04-13T07:00:13.812800 | 2021-04-24T13:51:27 | 2021-04-24T13:51:27 | 308,897,533 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 446 | py | from itertools import permutations
DEBUG_MODE = 0
MAX_NUM=2**63-1
def DBG(s):
if DEBUG_MODE == 1:
print("DEBUG: ")
print(s)
#入力変数の数がN個の場合
N=int(input())
A = list(map(int, input().split()))
s1=sum(A)
A2=[]
for i in range(0,N):
A2.append(A[i]*A[i])
s2=sum(A2)
Ai=(N-1)*s2
DBG(Ai)
kake... | [
"donhanya0321@gmail.com"
] | donhanya0321@gmail.com |
23d781e34d8d2f3ae61620fd43b6f47b75e59a5b | 5b0ff689a3e14f42bdf688864cae40c931a5f685 | /msa/core/armve/tests/test_multi_write.py | b2424dcb0537e0251c93404cf4c3107e15a472cd | [] | no_license | prometheus-ar/vot.ar | cd7012f2792a2504fb7f0ee43796a197fc82bd28 | 72d8fa1ea08fe417b64340b98dff68df8364afdf | refs/heads/2017-ago-salta | 2021-01-02T22:19:41.591077 | 2017-08-25T11:55:49 | 2017-08-25T11:55:49 | 37,735,555 | 171 | 110 | null | 2020-06-30T13:33:49 | 2015-06-19T17:15:52 | JavaScript | UTF-8 | Python | false | false | 1,712 | py | #!/usr/bin/env python
# coding: utf-8
from __future__ import division
from serial import Serial
from msa.core.armve.constants import DEV_PRINTER, CMD_PRINTER_PAPER_START, \
CMD_PRINTER_MOVE, EVT_PRINTER_PAPER_INSERTED, CMD_PRINTER_PRINT, \
CMD_PRINTER_PAPER_REMOVE, DEV_RFID, EVT_RFID_NEW_TAG,\
CMD_PRINTE... | [
"prometheus@olympus.org"
] | prometheus@olympus.org |
bbd3db53b09bf960e6e995204e2771897492d6dc | 599d569b586cb1414886b1a2454cf3c59c4362bd | /master_classifyNewcase.py | 1e11353691c3a1709fc3f692cee4905ea5ed08fd | [] | no_license | cgallego/master | 77511ff3330882f0c5456beaedd81468d7a99bb1 | 2a04d66ac783f5729413aecf9c66037fc8501c78 | refs/heads/master | 2016-09-07T19:02:40.537285 | 2014-07-28T16:05:01 | 2014-07-28T16:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,972 | py | # -*- coding: utf-8 -*-
"""
Master python script to run each module in sequence
Arguments:
============
sys.argv[1] = input text file with one case per line in the following format:
BenignNMaligNAnt StudyNumber DicomExamNumber LesionID StudyDate SeriesID BreastSide PathReportID PathoBreastSide
Created on Tu... | [
"admin@webdsdesign.com"
] | admin@webdsdesign.com |
fb3123fc3cc659b25547cf2182f90805f6614142 | 9412f4ba84f6b54f67c0d6534ab3804fa621bee8 | /order/migrations/0011_auto__add_field_order_carrier.py | d7dad8989e163e5ead999ccf8f111e992c583e0f | [] | no_license | ruspython/adler-m | 5fbeb44d1a5187d481391e49d6cca86b69d14b7a | c9b27ee7c1794c4632742887599545893621a58d | refs/heads/master | 2020-12-24T14:45:16.535606 | 2014-12-01T10:55:34 | 2014-12-01T10:55:34 | 31,331,474 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,055 | py | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Order.carrier'
db.add_column(u'order_order', 'carrier',
... | [
"vlad0058@gmail.com"
] | vlad0058@gmail.com |
d57958a6781674de72dcaadbfbe121da93e285e6 | b9499f3f235e5da9c3e83782d114ad41586e7bcd | /data_utils.py | 4b8623b9df9bd5b974c4a8d17e921d339690cdc7 | [
"MIT"
] | permissive | maremita/-fork-Phylo_structural_EM | 9e3e57e6bd5406996d52e77d01b69ff2c7340d61 | 609fdd94874e02b02101649033390335e34c43cb | refs/heads/master | 2023-08-30T04:55:49.227399 | 2020-03-19T10:44:58 | 2020-03-19T10:44:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,253 | py | import numpy as np
import re
import networkx as nx
# define parameters
nuc_names = ['A', 'C', 'G', 'T']
transform = {'A': 0, 'C': 1, 'G': 2, 'T': 3}
regex = re.compile('[ACGT]')
def get_char_data(name='infile'):
"""
Returns numerical representation of dna sequences, number of sequences (N), length of sequen... | [
"okviman@kth.se"
] | okviman@kth.se |
e0a10d5037f48480969cd86d793755f6b876565a | b2654c3003c7de93b24c84d6acce9bcdb2cad826 | /07_function_objects.py | 384c804218176b869e4385cd2bf0caf45d48041d | [] | no_license | sonicbrcm/dive-into-cpython | eef9ab16bb10aa82555c0221a17b28c578b34afd | 1e17fbaacdfb0d546fda1bbc6d79361de417caf0 | refs/heads/master | 2021-12-22T04:13:05.784313 | 2017-10-10T08:34:09 | 2017-10-10T08:34:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 144 | py | PyCodeObject
cpython/Include/code.h
cpython/Objects/codeobject.c
PyFunctionObject
cpython/Include/funcobject.h
cpython/Objects/funcobject.c
| [
"hexiaowei91@163.com"
] | hexiaowei91@163.com |
83888354f0b783bb8f6c9e830474067926de5f17 | 7d4667ee455337014760a7e23b9556c30d358b25 | /Web2_0course/buyagrade/cardValidate.py | c0cc154f6d1542837d2e0826f1b482ece02bd129 | [] | no_license | joyeecheung/WebHWs | 786d6bfcfd3b0a0822a73f7b94b7d6673fd89568 | 9f9725187ef7ce6d496e3368a9c7acbd512f27f2 | refs/heads/master | 2020-12-25T17:05:30.659229 | 2015-02-11T19:17:41 | 2015-02-11T19:17:41 | 13,560,924 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 1,316 | py | """ Functions for validating credit card numbers. """
import re
def IsValidChecksum(number):
""" Checks if the card number passes a luhn mod-10 checksum. """
numlist = [int(x) for x in reversed(str(number)) if x.isdigit()]
# digits that count once
count = sum(x for i, x in enumerate(numlist) if i % 2... | [
"joyeecheung@joyeecheung-virtual-machine.(none)"
] | joyeecheung@joyeecheung-virtual-machine.(none) |
ca64375f7c116ff02f021ac13a54ca325742e802 | 56f9208443ae7f3dc6b06ee840e58b2edc74b627 | /ll_env/bin/django-admin.py | a6d719b9040c4d62203d5a90b9b2b9a4a5c4978e | [] | no_license | haruyamu/learing_log | d3891f2f66ff634feb36b52eaa04f251c4fdb571 | be85bff1ccb59f46c7ef332e8a0e4fd9c1530678 | refs/heads/main | 2023-02-24T18:53:40.675780 | 2021-01-27T02:34:23 | 2021-01-27T02:34:23 | 332,979,285 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 690 | py | #!/Users/haruya/projects/learing_log/ll_env/bin/python3
# When the django-admin.py deprecation ends, remove this script.
import warnings
from django.core import management
try:
from django.utils.deprecation import RemovedInDjango40Warning
except ImportError:
raise ImportError(
'django-admin.py was dep... | [
"haruya.20020331@icloud.com"
] | haruya.20020331@icloud.com |
dd5fbc68c39d3c24641b9f746e2812d44fa78e62 | e6d4a87dcf98e93bab92faa03f1b16253b728ac9 | /algorithms/python/destinationCity/destinationCity.py | 1b55d8c23b19986d5f6d1359d7af30216a4080a4 | [] | no_license | MichelleZ/leetcode | b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f | a390adeeb71e997b3c1a56c479825d4adda07ef9 | refs/heads/main | 2023-03-06T08:16:54.891699 | 2023-02-26T07:17:47 | 2023-02-26T07:17:47 | 326,904,500 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 510 | py | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
# Source: https://leetcode.com/problems/destination-city/
# Author: Miao Zhang
# Date: 2021-05-06
class Solution:
def destCity(self, paths: List[List[str]]) -> str:
ind = collections.defaultdict(int)
out = collections.defaultdict(int)
for u... | [
"zhangdaxiaomiao@163.com"
] | zhangdaxiaomiao@163.com |
7c9c32d90f97ed66f476c030951ca39cf376ba56 | dd5d54eb45b8993769310a679c14b20600005793 | /data/process_data.py | 338c21443b179bace0b3b4d1f8e2e8cada447d81 | [
"MIT"
] | permissive | amalpm-rog/Disaster-Response-Pipeline | b5d3653ac9741ea841b67c9f94486afb30766cf3 | 47688decc1d8d0daa2be3ab9edb8bb391a1d1661 | refs/heads/master | 2022-11-15T12:10:20.539038 | 2020-07-06T05:36:20 | 2020-07-06T05:36:20 | 277,448,793 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 3,284 | py | #! /usr/bin/env python3
# coding=utf-8
# The Data processing module
import sys
import pandas as pd
from sqlalchemy import create_engine
def load_data(messages_filepath, categories_filepath):
"""Load two csv files into pandas dataframes and
merge them into one.
Parameters
----------
messages_f... | [
"noreply@github.com"
] | amalpm-rog.noreply@github.com |
72c6b5820ec2373fc5c053015b127eae12ba7b5d | 74fb05c7b5eddf2b368e181f38b9423a711bf2e0 | /real_python_tutorails/iterators/iterators_example.py | ae43af08beec8d63c2765d453574e4ff98b5c5cb | [] | no_license | musram/python_progs | 426dcd4786e89b985e43284ab5a5b1ba79cb285e | ad1f7f2b87568ba653f839fe8fa45e90cbde5a63 | refs/heads/master | 2022-11-10T09:53:29.993436 | 2020-06-21T00:21:23 | 2020-06-21T00:21:23 | 264,607,509 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,387 | py |
if __name__ == "__main__":
names = ['sai', 'asi', 'isa']
for name in names:
print(name)
#what actuall happens internally is this:
it = names.__iter__()
print(next(it))
#similalry
f = open('/etc/passwd', 'r')
it = f.__iter__()
print(next(it))
#writing genera... | [
"musram@gmail.com"
] | musram@gmail.com |
ea6e913cfb0bfbdeae407ef6826a14197f46c3c5 | 805a795ea81ca8b5cee1dec638585011da3aa12f | /MAIN/2.79/python/lib/site-packages/OpenGL/GLES2/EXT/float_blend.py | b15df56ee4bf4fa5dd71042d1b67ad8dbacc6e7d | [
"Apache-2.0"
] | permissive | josipamrsa/Interactive3DAnimation | 5b3837382eb0cc2ebdee9ee69adcee632054c00a | a4b7be78514b38fb096ced5601f25486d2a1d3a4 | refs/heads/master | 2022-10-12T05:48:20.572061 | 2019-09-26T09:50:49 | 2019-09-26T09:50:49 | 210,919,746 | 0 | 1 | Apache-2.0 | 2022-10-11T01:53:36 | 2019-09-25T19:03:51 | Python | UTF-8 | Python | false | false | 750 | py | '''OpenGL extension EXT.float_blend
This module customises the behaviour of the
OpenGL.raw.GLES2.EXT.float_blend to provide a more
Python-friendly API
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/EXT/float_blend.txt
'''
from OpenGL import platform, constant, arra... | [
"jmrsa21@gmail.com"
] | jmrsa21@gmail.com |
23ea96da8e03e7b4983c3084a4f0f423d4cca8a5 | 18f5c71436a22da1c3835b562f1538722114f2af | /backend/api/urls.py | a587b3e16148b0d73e2da279b169f27c4f01b4e0 | [
"MIT"
] | permissive | timakaryo/antrean | 54968fd960e8d886a6224d5d5a6f21c212f6acad | 8eab42a0a17092355adc9b56d2f29dbf53fa2a54 | refs/heads/master | 2021-01-20T21:09:17.098029 | 2017-10-23T13:00:42 | 2017-10-23T13:00:42 | 101,754,612 | 0 | 0 | null | 2017-10-23T13:00:43 | 2017-08-29T11:39:50 | Python | UTF-8 | Python | false | false | 144 | py | from django.conf.urls import url
from rest_framework_jwt.views import obtain_jwt_token
urlpatterns = [
url(r'^token/', obtain_jwt_token)
]
| [
"chiputera@gmail.com"
] | chiputera@gmail.com |
a516a1d9d6566da6c0e8403dbfd46b44eaa1bf43 | 5b3e4b9263c2fcbec1fc5890e4a6035aeb9637f7 | /case/test_cate_gory_second.py | ad6bc35d090a77b8d6c162699efc3033bd566863 | [] | no_license | cheng2020-G/fastapp | 68216bcba5860a51a765c64989b5e99dc53b2e3e | d55d7d3a53337a2bd1792093c39169b0e31f1cf8 | refs/heads/master | 2023-04-21T11:39:22.590349 | 2021-05-27T05:40:15 | 2021-05-27T05:40:15 | 365,464,032 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,746 | py | import re
from basecase.basecase import BaseCase
class TestCateGorySecond(BaseCase):
def test_cate_gory_second(self):
res = self.cate_gory_second.cate_gory_second()
print('请求url:' + res.url)
print('requestId:' + res.headers['requestId'])
print(res.json())
# print(res.json(... | [
"1007884377@qq.com"
] | 1007884377@qq.com |
bbb6ba991cd66865d214bb9394d18bf5215976cd | 7bb1c8cabeda75bd7db913e2396da383a4e7ba83 | /smtpapi/send.py | 3299ba75e99343761e54794f47893946e7bb390d | [] | no_license | dlinsg/test | 273945d72a2d210e96ac441c1c8a60ab0bd5d7a0 | 4804381299797c4ff61bc23aa95b0cd306f93f5f | refs/heads/master | 2021-01-17T10:06:44.653743 | 2016-04-10T23:00:32 | 2016-04-10T23:00:32 | 23,331,814 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 660 | py | #!/usr/bin/python
# coding: utf-8
import datetime
today = str(datetime.date.today().strftime('%m/%d/%Y'))
import sendgrid
sg = sendgrid.SendGridClient('dlintestapi', 'testingapi123')
message = sendgrid.Mail()
message.set_from('Dave Lin <david.lin@sendgrid.com>')
message.add_to('David Lin <david.lin@sendgrid.com>')
m... | [
"david.lin@sendgrid.com"
] | david.lin@sendgrid.com |
5fa12fe4e4a40d5f551f4cbcfc107b8a901841e6 | db774c9a29620e8374740f7a30bd27df40cd8da3 | /pars/bin/easy_install | 2f05c1d74e3ab9b64838db9f13794f43ed9943bd | [] | no_license | Rakhimzhan312/Part2Task19Parsinglalafo | 7330b79912d96c05f9b32a8adf08a628df587378 | 1f7edf5ce3e65164799f0f2dfcc137e33a1b0c7d | refs/heads/master | 2020-09-15T22:54:34.115603 | 2019-11-23T11:17:30 | 2019-11-23T11:17:30 | 223,576,375 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 292 | #!/home/rakhimzhan/Desktop/Tasks/Chapterparsing/parsingtest/pars/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"rakhimzhan312@gmail.com git config --global user.name Rakhimzhangit push -u origin mastergit statusgit push origin mastergit config --global user.email rakhimzhan312@gmail.com"
] | rakhimzhan312@gmail.com git config --global user.name Rakhimzhangit push -u origin mastergit statusgit push origin mastergit config --global user.email rakhimzhan312@gmail.com | |
f927f5c141a4938dceb50e383256385903c97b7d | 7e74dae3390c0dd2751c9353c6051350ab4f1d86 | /blog_python/blog/migrations/0014_auto_20201015_2350.py | 30bf6597ab55111815756e299f6211904d794eb1 | [] | no_license | Eugin-Paul/Blog | 70c327198fb93ef569246a02f9a56f2d57d0b53e | 7f562b3cd17f477e5ea97ba04132554262c3f9b5 | refs/heads/master | 2023-01-01T09:02:41.702171 | 2020-10-22T07:15:38 | 2020-10-22T07:15:38 | 305,793,469 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 363 | py | # Generated by Django 3.0.7 on 2020-10-15 18:20
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('blog', '0013_auto_20201015_2341'),
]
operations = [
migrations.RenameField(
model_name='comment',
old_name='content',
... | [
"euginpaul1717@gmail.com"
] | euginpaul1717@gmail.com |
3ca302784c9b639fe76172e986949f7b16c5f686 | b5df9e66d292ed332d2164ad6e454e6c5b333968 | /fetch-text-gui.py | e816fd2902cd17b2da960c64d21cb6455f033786 | [] | no_license | ronandoolan2/python-gui | c3be55d34b9ca9e95451419acfa4cdda70bfdc90 | 84e935c1c06a22616224b1bab42a0c550502b467 | refs/heads/master | 2021-01-20T06:52:33.290336 | 2017-05-01T16:09:14 | 2017-05-01T16:09:14 | 89,939,334 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 348 | py | from Tkinter import *
root = Tk()
svalue = StringVar() # defines the widget state as string
w = Entry(root,textvariable=svalue) # adds a textarea widget
w.textbox.grid(column=0,row=0)
def act():
print("you entered")
print('%s' % svalue.get())
foo = Button(root,text="Press Me", command=act)
foo.textbox.grid(colu... | [
"ronandoolan@gmail.com"
] | ronandoolan@gmail.com |
46bbf9daf0b61574b23a2631b6a78bc7caa69495 | e5e2b7da41fda915cb849f031a0223e2ac354066 | /sdk/python/pulumi_azure_native/documentdb/v20210515/sql_resource_sql_trigger.py | 61599bbe3cb634dfa2ed1f8cf1d6c22dcfb144dd | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | johnbirdau/pulumi-azure-native | b7d3bdddeb7c4b319a7e43a892ddc6e25e3bfb25 | d676cc331caa0694d8be99cb90b93fa231e3c705 | refs/heads/master | 2023-05-06T06:48:05.040357 | 2021-06-01T20:42:38 | 2021-06-01T20:42:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,020 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
fro... | [
"noreply@github.com"
] | johnbirdau.noreply@github.com |
8aa6225c10b41ae45a7dcca40c4dab0d5f1bbe27 | 8652ad554a5fc6076ddae6a869576b6360438a0f | /boilerplate.py | f8d7b3708ef6a230941929700669295cddc6d494 | [] | no_license | dipamsen/Pygame-Intro-Code | b79bb2c554332275c5042efc44cffc32e1711da3 | f4316677d965f140c1ba38b6af26620bf2ddeae0 | refs/heads/main | 2023-06-17T11:01:34.632924 | 2021-07-16T07:17:19 | 2021-07-16T07:17:19 | 386,546,596 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 866 | py | from colors import *
import pygame
# unnecessary imports for vscode intellisense
import pygame.display
import pygame.time
import pygame.draw
import pygame.mouse
import pygame.event
import pygame.image
import pygame.transform
import math
pygame.init()
FPS = 60
WIDTH = 400
HEIGHT = 400
pygame.display.set_caption("P... | [
"dipamdiptam@gmail.com"
] | dipamdiptam@gmail.com |
639425d836fa30470f16437a549f853bba95ed67 | b92d4895baa78683e328a32295114e70e47b7ff2 | /genetics/phasing/make_readbackPhasing_samplesheet.py | 6937323194973c13ce7b72758dc851164d21273d | [] | no_license | npklein/random_scripts | dcd367b465b6c32da90f7390372eee1da1d78c41 | 11eda8a4889ab533be7eff19e493fd66938ba3a3 | refs/heads/master | 2021-01-19T22:49:32.887873 | 2018-05-28T13:35:08 | 2018-05-28T13:35:08 | 88,863,994 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,528 | py | import os
seen = []
with open('sample_individual_idLink.txt') as input_file, open('individual_bam_link.txt','w') as out:
out.write('individualID,sampleName,bam\n')
input_file.readline()
for line in input_file:
sample_id = line.split('\t')[0]
individual_id = line.strip().split('\t')[1]
... | [
"niekdeklein@gmail.com"
] | niekdeklein@gmail.com |
441e3e75fd6b5ef8cc403e0b4b73843eb432393c | 62c6e50d148f1ccd51001abedbfe748fda94427e | /backend/cookieapp/views.py | 65b7b4217bfa0991bcd696807104284c0951ead4 | [] | no_license | i7-Ryzen/django-jwt-httponly-cookie | be27936d0d7111688a0b2d5811edd891c2b5c925 | bb21ae75b05f7b42e98da6a69f9280c51a1171fd | refs/heads/main | 2023-05-06T15:30:01.870387 | 2021-05-24T05:35:10 | 2021-05-24T05:35:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,870 | py | from rest_framework_simplejwt.tokens import RefreshToken
from django.middleware import csrf
from rest_framework.views import APIView
from rest_framework.response import Response
from django.contrib.auth import authenticate
from django.conf import settings
from rest_framework import status
def get_tokens_for_user(user... | [
"abhishekk580@gmail.com"
] | abhishekk580@gmail.com |
01e60493883cfefce15b71a07e7676b42da9e91e | aedded4974138c7e510337cd5dd99144a2a388a6 | /Sentimental Analysis using Elastic Search and Python/load_elasticsearch.py | 3913516136c143abc375b1f7e2cfd0c768ee99b8 | [] | no_license | dalalbhargav07/Data-Warehousing-to-Data-Analytics | a1304b4e606d776a48b7b815b945f615c5571ef9 | 96ed04416e3db9012cbb3e9a1a2cf591bbb4a7c8 | refs/heads/master | 2020-04-02T16:07:23.922297 | 2018-10-25T03:06:15 | 2018-10-25T03:06:15 | 154,599,043 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,354 | py | # -*- coding: utf-8 -*-
"""
Created on Wed Jun 06 15:13:45 2018
@author: Hardik Galiawala, Bhargav Dalal
"""
import csv
from datetime import datetime
from elasticsearch_dsl import DocType, Date, Integer, Keyword, Text, connections
connections.create_connection(hosts=['team1.canadaeast.cloudapp.azure.com'])
class Tw... | [
"dalal.bhargav07@gmail.com"
] | dalal.bhargav07@gmail.com |
afa792b926c2ea3c9563b1ca60d34e69bc4fc2bc | b2ba78fb1e53f92efdc3b6e0be50c81e5dd036ed | /plot_f/plot_offline_mbl_5M_all.py | ef16bbcfd8943228d88a28c336263fa8c582ed91 | [
"MIT"
] | permissive | ShuoZ9379/Integration_SIL_and_MBL | 2dcfae10cb5929c4121a3a8bfceebae8c0b6ba08 | d7df6501a665d65eb791f7fd9b8e85fd660e6320 | refs/heads/master | 2020-07-23T20:04:17.304302 | 2019-09-23T18:58:57 | 2019-09-23T18:58:57 | 207,690,584 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,634 | py | import os, argparse, subprocess
import matplotlib.pyplot as plt
import numpy as np
from baselines.common import plot_util as pu
def arg_parser():
return argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
def filt(results,name,name_2=''):
ls=[r for r in results if name in r.dirname a... | [
"zhangshuo19930709@gmail.com"
] | zhangshuo19930709@gmail.com |
6b91829cc22bc82d5f07ab40c654250f7a903fbb | dea24559930c75ed7fd6016464e6844644e7bf06 | /plot_kolmogorov.py | ad925c613472e1f535acd0edfc6a4c1ffb2a3f2f | [] | no_license | sheyma/fitzefatze | 45f8da30f9bf4403c27feac6529da2367c9a391b | 11c6839c86fe131ab803f9e39d4fe738b75e8b54 | refs/heads/master | 2021-01-11T22:19:01.351693 | 2017-01-26T14:56:18 | 2017-01-26T14:56:18 | 78,947,686 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,834 | py | import numpy as np
import matplotlib as mpl
mpl.use('TkAgg')
import matplotlib.pyplot as pl
import sys, glob, os
from scipy import stats
import collections
from math import factorial, sqrt, ceil
# check the loaded matrix if it is symmetric
def load_matrix(file):
A = np.loadtxt(file, unpack=True)
AT = np.transpose... | [
"sheymaba@gmail.com"
] | sheymaba@gmail.com |
bd373d5d4ad4b354c760abc092fd061bfaab15e3 | 777fa9edef9c1a88423762c85adaf6716244bcd5 | /app/api/v2/views/user_views.py | bf6b3b4d81eeea36ab3f84041b9bc1eeefa157af | [] | no_license | ansarisan/vigilant-spoon | 1f12c05a408ee36ab8c2371d595f48f4ec3f27ce | 50eaeac7e3f1748a8cbc2ae8fa0e4e4619a851aa | refs/heads/master | 2020-04-16T12:43:42.428369 | 2019-01-14T05:21:00 | 2019-01-14T05:21:00 | 165,593,902 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,025 | py | from flask import Flask, request, jsonify
from .. import version2
from .. models.user_model import UserModels
from werkzeug.security import check_password_hash
from werkzeug.exceptions import BadRequest
@version2.route("/users", methods=["GET"])
def hello():
""" List of all registered users """
resp = UserMod... | [
"Leewelkarani@gmail.com"
] | Leewelkarani@gmail.com |
307ab6fcace65005c39968f593e93497733e5f09 | caaf7723580684886559dedba9a0cfa19036243d | /autofocus.py | 6372eb067440d35876fbc6f9048db2bbfc5c9398 | [] | no_license | mike-fang/led_micro | 27214b5d9e67abd3dbc85c2962be13bb82c83723 | c08105b1cd84836fed2dea11074e1d47d13f099a | refs/heads/master | 2022-11-28T10:46:09.647242 | 2020-08-02T19:44:22 | 2020-08-02T19:44:22 | 275,946,959 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,174 | py | from elp_usb_cam import ELP_Camera
from capture_msi import init_rb, STD_EXPOSURE
import numpy as np
from asi_controller import AsiController
from time import time, sleep
from get_sharpness import grad_sharp
import cv2
import matplotlib.pylab as plt
def get_sharpness(img):
gy, gx = np.gradient(img)
gnorm =... | [
"1michaelfang@gmail.com"
] | 1michaelfang@gmail.com |
1cd6b2cde90dae2214ce5243b597fbe6393438cf | 15da36fb301d51425ce38e7af6e77a64e05e62d5 | /test_iterator.py | b0ef7cea978b72ad37b7c2383065723f86ad077b | [] | no_license | bassemhossam/Video-Summarization | 7375681d5d875d2644ad1f05d5ab66936db5a019 | 321cfb659e742a96407c57c6bcac101062c3cff0 | refs/heads/master | 2020-12-05T11:14:08.537642 | 2020-07-19T09:57:57 | 2020-07-19T09:57:57 | 232,091,949 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 358 | py | # Helper code used for testing and seeing the outputs from the iterator.
from data_iterator import *
import torch
device = torch.device("cpu")
iterator = SSIterator(64, 15, 20,"test", device,max_videos=200)
iterator.start()
batch = iterator.next()
counter = 0
while batch != None:
counter+=1
batch = iterator.nex... | [
"noreply@github.com"
] | bassemhossam.noreply@github.com |
0daaa4c643fd769852f1d89126fea5c9a7ff5325 | e4d441f9d9e743e685650b3aee1f09d09d7e4681 | /zad 1.py | d3e16f68a9089f76375a361dc0d1d5d4da03e0cd | [] | no_license | pstatkiewicz/lista-3 | b9f56f462365713dd49a908579f0315f31c49ee7 | d7133d7222928bcb35d7cfde1c004cc94d798ed7 | refs/heads/main | 2023-06-07T20:47:53.101174 | 2021-01-18T14:46:47 | 2021-01-18T14:46:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 752 | py | import matplotlib.pyplot as plt
def how_many_letters(string):
string.lower()
counter=[0]*26
letters=[]
list1=[]
for i in range(26):
letters.append(chr(97+i))
for i in range(len(string)):
if ord(string[i])<123 and ord(string[i])>96:
counter[ord(string[i])-97]+=1
fo... | [
"patrykstatkiewicz1012@gmail.com"
] | patrykstatkiewicz1012@gmail.com |
0b459f2956f8b32f62c231644e0df079e662cadd | 5a82795c3860745112b7410d9060c5ef671adba0 | /leetcode/Network Delay Time.py | 0ead9c6fd14d36b87d1e6aaa9d1e5ac0d91d18eb | [] | no_license | ashishvista/geeks | 8e09d0f3a422c1c9a1c1b19d879ebafa31b62f44 | 1677a304fc7857a3054b574e8702491f5ce01a04 | refs/heads/master | 2023-03-05T12:01:03.911096 | 2021-02-15T03:00:56 | 2021-02-15T03:00:56 | 336,996,558 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,335 | py | class Graph:
v = None
def __init__(self, V):
self.V = V
self.adj = [[] for i in range(V)]
self.weights = {}
def addEdge(self, u, v, w):
self.adj[u].append(v)
self.weights[str(u) + "-" + str(v)] = w
class Solution:
def networkDelayTime(self, times: List[List[in... | [
"ashish@groomefy.com"
] | ashish@groomefy.com |
32d28d9915732158ab3594e0d09aa170fcda9791 | 8127f4197870cda55bdb064deef6412415844a10 | /manage.py | cc31fe6a73af46a194a920f177b85ce51bb70a2f | [] | no_license | mbaiye/django | a5480d529ef4e8abcd43e90587dcd1bb96d143e6 | ec665b577635285724c0ce5dca5f92ea344994a1 | refs/heads/main | 2023-08-12T23:50:03.200932 | 2021-09-13T20:30:42 | 2021-09-13T20:30:42 | 357,112,092 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 663 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DjangoP.settings')
try:
from django.core.management import execute_from_command_line
except Impo... | [
"moyosorebaiye@gmail.com"
] | moyosorebaiye@gmail.com |
e04c0bf21ef6ef4a8ce6e6a89f934139e335a5d8 | f098c361ee79bb8b7a8402fcf20b37f17fb36983 | /Back-End/Python/Basics/Part -1 - Functional/04 - First-Class-Functions/send_email_partial.py | f536c40a3c3798957ca6c45af1bfb96feb7036ee | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | rnsdoodi/Programming-CookBook | 4d619537a6875ffbcb42cbdaf01d80db1feba9b4 | 9bd9c105fdd823aea1c3f391f5018fd1f8f37182 | refs/heads/master | 2023-09-05T22:09:08.282385 | 2021-10-31T11:57:40 | 2021-10-31T11:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,291 | py | from functools import partial
def sendmail(to, subject, body):
# code to send email
print('To:{0}, Subject:{1}, Body:{2}'.format(to, subject, body))
email_admin = 'palin@python.edu'
email_devteam = 'idle@python.edu;cleese@python.edu'
# Now when we want to send emails we would have to write things like:
# Em... | [
"58447627+Koubae@users.noreply.github.com"
] | 58447627+Koubae@users.noreply.github.com |
e1d4c5491ac53c61a1a27e3e470c44305f3885f3 | 56bcef6090d53b43afb60240079d6c71ed01f808 | /kalakriti/customer_block/views.py | 1bdd9cf807b7f6d63fd9e418f0f3a454f3d6a9c3 | [] | no_license | hrs2203/soad_project_2020 | 1091da3b167c863a28229ddc95859fdd9396f637 | 067853dd52676062358b5841fdcca0feefaabfc4 | refs/heads/main | 2023-02-04T20:44:23.771516 | 2020-12-22T06:50:11 | 2020-12-22T06:50:11 | 308,274,362 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,119 | py | from django.shortcuts import render, redirect
from django.http import JsonResponse
from django.contrib.auth import login, logout, authenticate
from django.contrib.auth.models import User, AnonymousUser
from customer_block.forms import (
user_login_form,
business_login_form,
user_signup_form,
business_si... | [
"hrishabh2203@gmail.com"
] | hrishabh2203@gmail.com |
d698a20dedf519aa173880d68d7f6e8ed00066a9 | 87e424de1cb55b221b2b5f7c239850ae81db1e5e | /venv/bin/pip | 1ae730144a641a60e28ae5ee1596bd9f20af2f23 | [] | no_license | aliu917/NetworkDesign | ac6029c6dd4a1843d946ed7f9636bf5f41aaff54 | 75441ffa27a6aab1ce5a8d20469d059dac8709c0 | refs/heads/master | 2022-11-23T10:36:35.036412 | 2020-05-02T21:19:02 | 2020-05-02T21:19:30 | 281,579,227 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 439 | #!/Users/angelaliu/PycharmProjects/Angela-s-Friends-Become-Network-Designers/venv/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip'
__requires__ = 'pip==19.0.3'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.py... | [
"aliu917@berkeley.edu"
] | aliu917@berkeley.edu | |
35901516fe1969c53a2c4655c745d03c2b532bdb | 36aea5790cc01c652326f6f5a5722f13ee9d498b | /minihack/capname.py | 86b963c86d8403610ea7a9da222fde26542bfa71 | [] | no_license | kev158/NguyenTrongDuc-c4t | 2d9162a69dfa87e8ee24b93e4a72dc8811031cff | e1fba30f06c77bb7ab3271475d7ba6da9771ae09 | refs/heads/master | 2020-04-18T22:04:00.041524 | 2019-04-20T14:59:10 | 2019-04-20T14:59:10 | 167,783,372 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 57 | py | x=input("Ho:")
y=input("Ten:")
print("ho va ten:", x,y)
| [
"trongduc811@gmail.com"
] | trongduc811@gmail.com |
5be4e98dfe3ad8ffc97705d8d5603a2acd95de51 | 81b384655e970623333971ed063d85ebfe940ed5 | /hallo/test/modules/random/test_eight_ball.py | 09873ea43e78dbc223dba1ce75f8e3d48e17082f | [] | no_license | wirenic/Hallo | c3c8a3f11dd1f03729385f2761e0a6b216c6e1d2 | 68595816fd146c4af35e3f1bc91c58cdc6fa741c | refs/heads/master | 2023-03-18T06:50:14.111226 | 2021-02-26T07:59:33 | 2021-02-26T07:59:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,988 | py | import unittest
from hallo.events import EventMessage
from hallo.inc.commons import Commons
from hallo.modules.random.eight_ball import EightBall
from hallo.test.test_base import TestBase
from hallo.test.modules.random.mock_chooser import MockChooser
class EightBallTest(TestBase, unittest.TestCase):
def setUp(se... | [
"joshua@coales.co.uk"
] | joshua@coales.co.uk |
8864c5625cee7be5cd7ac66b57768f555f562984 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/resources/PRESUBMIT.py | e7a3e430986f0a2d2062a15497b6b5e3e4784501 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | Python | false | false | 5,423 | py | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Presubmit script for files in chrome/browser/resources.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details abou... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
9a4f50681591049e468dde5df12c8247abf21f49 | 2e6cc4c6f5e3d532a83bc4ad2960b9ed6d9c6e5a | /releasenotes/source/conf.py | 4c6a1c415f03062d5860803d58bc5c5aef064c71 | [
"Apache-2.0"
] | permissive | Nexenta/manila | dba8cc9f18bf4ed54f2671fe8dc747bb4b7c2e38 | c7a044733b0be8b4aafd962f04a1a781b16a580b | refs/heads/master | 2023-07-22T09:14:13.728972 | 2023-07-10T16:14:47 | 2023-07-10T16:14:47 | 50,369,420 | 1 | 3 | Apache-2.0 | 2023-07-10T16:14:48 | 2016-01-25T17:55:21 | Python | UTF-8 | Python | false | false | 9,080 | py | # -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software... | [
"tbechtold@suse.com"
] | tbechtold@suse.com |
35501df946cd308d781d7730ff743efd5f3dc66a | fbb16a594e43cf57690c2ada793e8a8a9386caa7 | /okane.py | d18ccb6d6d37df30b2e5e262be14172fb0b0faff | [] | no_license | voyager42/okane | 20315a8bdb1ce923bd0a547d095b6b11d4e6913d | 7472399d2ab66f0962e8faf4d6768fb810727d61 | HEAD | 2016-09-01T16:54:51.881820 | 2014-01-12T16:11:37 | 2014-01-12T16:11:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,248 | py | '''
Created on Feb 8, 2012
@author: johan
'''
import sys
import os
import transaction
import wx
import random
import wx.html
import Controller
import Model
import View
import TransactionView
import TotalsView
import csv
import Shapes
import logging
import logging.config
import math
logging.basicConfig(level=logging.... | [
"johan.kohler@gmail.com"
] | johan.kohler@gmail.com |
3f01613eeb26d292392466fcaaaf61554c04e567 | 2b488c48c2d5a6996ead7ba34c99d8cd24c25052 | /api/getCreatedDate.py | 98d071724bae6717ba5239699d2de9bfcb9248ab | [
"MIT"
] | permissive | yashrastogi16/steemapi-django | 84f527ea918a48e7e7b6de2cd17d0b2e43109659 | 716455da839686e0305461e735119da9560e0a2d | refs/heads/master | 2020-03-17T13:38:36.653144 | 2018-05-05T17:51:05 | 2018-05-05T17:51:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 679 | py | from django.http import HttpResponse
from steem import Steem
def index(request):
try:
s = Steem(nodes=["https://api.steemit.com"])
try:
created = s.get_account(request.GET['a'])['created']
except:
created = None
return HttpResponse(created, content_type='text... | [
"moises@moises-studios.com"
] | moises@moises-studios.com |
e9f959214d9f66ad9770deeda8fcf6daf9801267 | 11c3dc3f51ec2cab15ce0b8a3be8e8aa06f4686c | /backend/api/product/migrations/0008_auto_20200418_1644.py | bd446b559c6e9eead0c451222bd95f86e3b53465 | [
"MIT"
] | permissive | 0mri/GStore | b3797986473a211ab0581cd80948cfbec4a8a0f3 | 232cf03a6deab15ae4178933210a7431496d9dd0 | refs/heads/master | 2022-11-26T11:47:58.825764 | 2020-08-01T10:01:01 | 2020-08-01T10:01:01 | 259,165,977 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 404 | py | # Generated by Django 2.2 on 2020-04-18 13:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('product', '0007_auto_20200410_1743'),
]
operations = [
migrations.AlterField(
model_name='product',
name='price',
... | [
"omri@efra.im"
] | omri@efra.im |
54d30e07523c4b8a72948a31db878f4c25809cfc | 7b48cfecdf478bfffbf1cc9cb20c62100898eb6a | /mordred/mordred.py | b1a214096714b6e219f614269a6e2b424fbaef4c | [] | no_license | albertinisg/mordred | cc2cd17806cac208857f3e04b48b1cd13095e9b6 | e141e1c6ad09ea89f194c410285903542b6b557e | refs/heads/master | 2021-01-13T15:50:36.193316 | 2017-02-05T15:08:32 | 2017-02-05T15:08:32 | 76,866,269 | 0 | 0 | null | 2016-12-19T13:52:35 | 2016-12-19T13:52:35 | null | UTF-8 | Python | false | false | 12,992 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2016 Bitergia
#
# 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 of the License, or
# (at your option) any later ... | [
"acs@bitergia.com"
] | acs@bitergia.com |
300682d48f2cb716193d184532e5d3018b6188db | 8e69eee9b474587925e22413717eb82e4b024360 | /v2.5.7/toontown/shtiker/HtmlView.py | 6f65c5d143302ce38dc6ebb01cf2b6f26205dff4 | [
"MIT"
] | permissive | TTOFFLINE-LEAK/ttoffline | afaef613c36dc3b70514ccee7030ba73c3b5045b | bb0e91704a755d34983e94288d50288e46b68380 | refs/heads/master | 2020-06-12T15:41:59.411795 | 2020-04-17T08:22:55 | 2020-04-17T08:22:55 | 194,348,185 | 5 | 4 | null | null | null | null | UTF-8 | Python | false | false | 11,473 | py | import array, sys
from direct.showbase.DirectObject import DirectObject
from direct.task.Task import Task
from direct.directnotify import DirectNotifyGlobal
from panda3d.core import Texture
from panda3d.core import CardMaker
from panda3d.core import NodePath
from panda3d.core import Point3, Vec3, Vec4, VBase4D, Point2
... | [
"s0mberdemise@protonmail.com"
] | s0mberdemise@protonmail.com |
1fc2d9f87296f7c77e0b2ba4b7fe8747035f1088 | a032cab55c78de1ca1e5b4a50a24a93b9fd67ceb | /proto/media/yuvfile.py | 572ad0000b1ce55e9b45600de65fc36af1548385 | [] | no_license | xinjuehu/ns3-study | 47a80545dedd4f1e0c663ef57d24ba67dc03574c | 994b80169058f6b14cf0d8659e7e3864274a90fd | refs/heads/master | 2021-08-29T12:27:51.373068 | 2017-12-14T00:57:15 | 2017-12-14T00:57:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,044 | py | #!/usr/bin/env python2.7
# -*- coding:utf-8 -*-
import numpy as np
from PIL import Image
import os
from jmenc import YUVEncode
class VmafComp(object):
def __init__(self, enc):
self._encoder = enc
self._root = os.path.split(os.path.realpath(__file__))[0] + os.sep
self._lib = self._root + '... | [
"zxyqwe_2004@126.com"
] | zxyqwe_2004@126.com |
7539bdceb81f567363b6d422c1297a92195ff9db | a17b81c68b9d6cba745f00aa6b1b26ca7dcd5cbc | /Final/Source Code/NBAstats/manage.py | 73181ca30d8ea012642eaf883fbd8527f97d1775 | [] | no_license | julianbcook/NBAStats | 2cd689a04c09cd66f1f6046bf087fd7721ed581e | 561c7e360fd12a2260f1b56f20bfd1d124550ff6 | refs/heads/master | 2020-04-09T06:14:34.077974 | 2019-08-09T02:36:30 | 2019-08-09T02:36:30 | 160,104,325 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 806 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "NBAstats.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the... | [
"jherrera1497@gmail.com"
] | jherrera1497@gmail.com |
88fd6306ddf23894d2552a4e2bc87e2b89a734df | e489172f6e49e1239db56c047a78a29a6ffc0b36 | /via_code_decode/code_category.py | ab1f0d754b5245b8d99d0e949b26421de5effc09 | [] | no_license | eksotama/prln-via-custom-addons | f05d0059353ae1de89ccc8d1625a896c0215cfc7 | f2b44a8af0e7bee87d52d258fca012bf44ca876f | refs/heads/master | 2020-03-25T19:49:08.117628 | 2015-12-01T07:29:43 | 2015-12-01T07:29:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,052 | py | # -*- encoding: utf-8 -*-
##############################################################################
#
# Vikasa Infinity Anugrah, PT
# Copyright (c) 2011 - 2013 Vikasa Infinity Anugrah <http://www.infi-nity.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the ter... | [
"aero@aero.(none)"
] | aero@aero.(none) |
3ad1be3f4021991b8dff98164ef3af62fb67b912 | d0fe3d0316aa90ef68c9a39f0335d53602d2be44 | /node_modules/socket.io-servicebus/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/build/config.gypi | 11810bdab21d746e4e7e0b083659e41b147c5e81 | [
"MIT",
"Apache-2.0"
] | permissive | bitchwhocodes/photobooth | 98184bc8eb1ed17ad37176ff216b30ee42d471e6 | a8f8182d9d971333899b3c427f9182b607b3992a | refs/heads/master | 2020-12-24T17:17:49.726329 | 2015-04-11T06:46:31 | 2015-04-11T06:46:31 | 33,573,973 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,839 | gypi | # Do not edit. File was generated by node-gyp's "configure" step
{
"target_defaults": {
"cflags": [],
"default_configuration": "Release",
"defines": [],
"include_dirs": [],
"libraries": []
},
"variables": {
"clang": 0,
"host_arch": "x64",
"icu_data_file": "icudt54l.dat",
"icu_d... | [
"stacey.mulcahy@gmail.com"
] | stacey.mulcahy@gmail.com |
7b0d198edd0ab71fba7c49944e970931a0dbc404 | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp/F5-BIGIP-APM-MIB.py | f32fb6c2ec66d59f08f2b797478be0cf5a1eb2d9 | [
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 117,788 | py | #
# PySNMP MIB module F5-BIGIP-APM-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/F5-BIGIP-APM-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:57:38 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar ... | [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
386d526236ceef1e4accd80ace256f69374c7b69 | 266f073facf1754763af372f3b4433337161f91a | /memegen/domain/template.py | 4c61cdbd88b6c6134c5c7f14b2935ed1e4fbc5d5 | [
"MIT"
] | permissive | jkloo/memegen | 7717104eedc0db1cad15673b426f1ebdb5119445 | 9360486066b52ede528f0c45671f81ebb168e3b3 | refs/heads/master | 2020-04-05T18:55:54.182899 | 2015-06-19T13:47:24 | 2015-06-19T13:47:24 | 37,665,345 | 0 | 0 | null | 2015-06-18T14:46:22 | 2015-06-18T14:46:22 | null | UTF-8 | Python | false | false | 950 | py | import os
from .text import Text
class Template:
"""Blank image to generate a meme."""
DEFAULTS = ("default.png", "default.jpg")
def __init__(self, key,
name=None, lines=None, aliases=None, link=None, root=None):
self.key = key
self.name = name or ""
self.lines ... | [
"jacebrowning@gmail.com"
] | jacebrowning@gmail.com |
d0c3ca61479d518272c9503a1c470f4db684357a | b1b45393aefc27f85d3fd3e454929b035c390be6 | /tests/func/test_bucket_it.py | b4351630ed79a6ae9ff4201d4ba9288d5a507d50 | [
"Apache-2.0"
] | permissive | Jiaming1999/baas-sdk-python | c5f579f2ae0ff591ab49af8c167845515f2c0019 | 83b0916af0e4f3167a232ac7eb06b82331adc172 | refs/heads/master | 2022-01-07T19:12:31.184660 | 2019-01-22T09:49:17 | 2019-01-22T09:49:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,954 | py | # -*- coding: utf-8 -*-
import pytest
from requests import HTTPError
import necbaas as baas
from . import util
class TestBucket(object):
service = None
# type: baas.Service
def setup(self):
self.masterService = util.create_service(master=True)
def teardown(self):
for b in self.bucke... | [
"tamura.jn@ncos.nec.co.jp"
] | tamura.jn@ncos.nec.co.jp |
518d0d93c4e09549a7524784f57e483f1929f267 | 59deb6307b1a55a043f944f00d9e929b97ca042c | /softdashdj/wsgi.py | c0672262f57c4bfc068f3db09f1f37cc97083d0a | [] | no_license | abykal/softdashdj | d0be04f4786bf1f72b8ea77e5875da9d104ab503 | e969d348461698f1e45392b3007952732361e9ce | refs/heads/main | 2023-06-17T10:15:19.536349 | 2021-07-09T09:16:55 | 2021-07-09T09:16:55 | 383,747,518 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 397 | py | """
WSGI config for softdashdj project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SE... | [
"abyabrkal@gmail.com"
] | abyabrkal@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.