blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
ed300d832f21d2b1ca417433c51beec124ce0dbc
c4f8c57eee685be6f58e774956545a0e33850936
/freqopttest/tst.py
5de5c596c56c230ad5af0fb6dfcda6e83f2d5a87
[ "MIT" ]
permissive
0r/TFS-MDL-FWF
1decf352312f6b584f986b19c46706099e683e21
3bc50ede719bf2e35c8c5edf976284be660c4ee1
refs/heads/master
2022-04-17T22:08:06.795190
2020-04-12T11:25:14
2020-04-12T11:25:14
478,068,660
1
0
MIT
2022-04-05T09:58:12
2022-04-05T09:58:12
null
UTF-8
Python
false
false
71,852
py
"""Module containing many types of two sample test algorithms""" from __future__ import print_function from __future__ import division from builtins import str from builtins import range from past.utils import old_div from builtins import object from future.utils import with_metaclass __author__ = "wittawat" from abc...
[ "anjin.liu@uts.edu.au" ]
anjin.liu@uts.edu.au
4f7d33984f4de1a2db5ca3fc534dcc10909e1f06
30ab9750e6ca334941934d1727c85ad59e6b9c8a
/server/base/middlewares.py
84d8a5ba83d986202b5a9503d755dfa61cee8a94
[ "Apache-2.0" ]
permissive
ankurvaishley/zentral
57e7961db65278a0e614975e484927f0391eeadd
a54769f18305c3fc71bae678ed823524aaa8bb06
refs/heads/main
2023-05-31T02:56:40.309854
2021-07-01T07:51:31
2021-07-01T14:15:34
382,346,360
1
0
Apache-2.0
2021-07-02T12:55:47
2021-07-02T12:55:47
null
UTF-8
Python
false
false
2,103
py
# adapted from https://github.com/mozilla/django-csp from functools import partial from django.conf import settings from django.utils.crypto import get_random_string from django.utils.functional import SimpleLazyObject from http.client import INTERNAL_SERVER_ERROR, NOT_FOUND CSP_HEADER = 'Content-Security-Policy' D...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
f40bbf4c4d4b9ef848cac097b67b4e5a643be55e
67b7e6d2c08f08403ec086c510622be48b8d26d8
/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/basebackup/test_switch_xlog.py
4d94b2c153d66678d75b70e85c154d9050cca17c
[ "Apache-2.0", "PostgreSQL", "LicenseRef-scancode-rsa-md4", "OLDAP-2.8", "HPND-sell-variant", "BSD-4-Clause-UC", "BSD-3-Clause", "Zlib", "LicenseRef-scancode-zeusbench", "LicenseRef-scancode-mit-modification-obligations", "OpenSSL", "MIT", "LicenseRef-scancode-other-copyleft", "bzip2-1.0.6"...
permissive
sshyran/gpdb
41012411d22b0294204dfb0fe67a1f4c8d1ecaf6
2d065ecdd2b5535cb42474f17a0ee6592b4e6837
refs/heads/master
2023-04-09T14:05:44.030212
2016-11-12T08:33:33
2016-11-12T08:34:36
73,544,159
0
0
Apache-2.0
2023-04-04T00:30:10
2016-11-12T09:43:54
PLpgSQL
UTF-8
Python
false
false
1,977
py
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
[ "jyih@pivotal.io" ]
jyih@pivotal.io
1ecbb8e831336074d1ce5c6d07b4e34745935ae4
ce722f35f63d7e7af3e9890cbea50b05d32c34c7
/crawler/dspider/myspider.py
a1a34d3e4640e21a35516c59c8e9c2d1892770cd
[]
no_license
tfangz888/smart_deal_tool
bc6645047e2c3ff36af0baed62e31d1c6cec4a15
0f0e4edfec582e93146b30273621a28c36a5d6ca
refs/heads/master
2020-05-17T03:12:16.720526
2019-04-23T14:11:10
2019-04-23T14:11:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
# -*- coding: utf-8 -*- import time import calendar import datetime from scrapy import Spider from datetime import datetime, timedelta class BasicSpider(Spider): def get_nday_ago(self, mdate, num, dformat = "%Y.%m.%d"): t = time.strptime(mdate, dformat) y, m, d = t[0:3] _date = datetime(y, m...
[ "hellobiek@gmail.com" ]
hellobiek@gmail.com
b5c2ebfa1bf8a425b6ee488a60b1efc1a3720789
16070a001cd1b05eb3236b7abebb71c49d4e6eb9
/homework3/venv/bin/easy_install
758b1552486b4b731c1771556000c20250486975
[]
no_license
ima919/201844897fangguimei
ddd0988a3dc6f867e86d60af32ba80da0bf307cf
ac332d83db419b399f3c66857362a3fbf49d6513
refs/heads/master
2020-04-01T04:02:35.070285
2018-12-19T02:15:07
2018-12-19T02:15:07
152,847,634
0
0
null
null
null
null
UTF-8
Python
false
false
440
#!/Users/ima/PycharmProjects/homework3/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '...
[ "ima@fangguimeideiMac.local" ]
ima@fangguimeideiMac.local
4c7fc2087752f5ec99eada22bbe63d9ea0eb5a29
9b32e4f0364d7299d44dde82dae2c785cea4accd
/python/q32.py
64834752e62d19fe6684d3ea5fa03627d88bfdd6
[]
no_license
kyamaguchi/nlp100
59dc92b1f8900fb335565d7e37713995e3e78dd9
4b91454f5c20d3eef11ba48e4bf3a66cdcc7bf9a
refs/heads/master
2020-05-25T07:06:58.531070
2019-06-05T07:29:47
2019-06-05T08:20:07
187,678,700
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
#!/usr/bin/env python def question(): print("32. 動詞の原形") print("動詞の原形をすべて抽出せよ.") import common groups = common.extract_groups_from_mecab('neko.txt.mecab') items = set() for group in groups: for e in group: if e['pos'] == '動詞': items.add(e['base']) def main(): print(sorted(list(it...
[ "kzh.yap@gmail.com" ]
kzh.yap@gmail.com
90d8d869fc8f16e185d015112875789166658815
aeba64588c629c2f8a39fc054c48e34ae5b1bc76
/Урок 3. Практическое задание/geekshop/authapp/admin.py
e09e35a8b3ae6d15fc2797fcbbe9025ffe678c9c
[]
no_license
ZF-1000/12_Django_Framework_Optimization_tools
a600caa2739824011251003a58f016ad1aa4d9e7
664224a22711d071fc63a33acedf430571d795e8
refs/heads/master
2022-12-17T22:59:46.581864
2020-09-24T18:34:00
2020-09-24T18:34:00
289,723,244
0
0
null
2020-09-24T18:34:01
2020-08-23T16:22:46
Python
UTF-8
Python
false
false
184
py
from django.contrib import admin from authapp.models import ShopUser, ShopUserProfile # Register your models here. admin.site.register(ShopUser) admin.site.register(ShopUserProfile)
[ "n.shanin@mail.ru" ]
n.shanin@mail.ru
f9291f1a6af751a26ba13be48da38a42209934e0
dba64f73e5e07a25ab1a8e87f8e7cf6700ee3c90
/symphony/cli/pyinventory/graphql/survey_question_type_enum.py
3a96d2dd169d65106806d858248ca73f1354a8ec
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
saaib/magma
6410d161cf1538be450f341dae8bc6f159999338
679cd9622eab49a859a4fa9f84f657023e22adb8
refs/heads/master
2021-02-07T15:53:21.047308
2020-02-29T14:09:27
2020-02-29T14:12:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from enum import Enum class SurveyQuestionType(Enum): BOOL = "BOOL" EMAIL = "EMAIL" COORDS = "COORDS" PHONE = "PHONE" TEXT = "TEXT" TEXTAREA = "TEXTAREA" PHOTO = "PHOTO" WIFI = "WIFI" CELLULAR = "CELLULAR" F...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
36602fdb00348f04be6f1f77b384c11eb93676fa
6bf336bc8d6ba061e0c707bdd8595368dee4d27b
/sherlock_and_anagrams.py
d1cc84aa3edc108d72c16638bb4c7edcd539760a
[ "MIT" ]
permissive
avenet/hackerrank
aa536214dbccf5a822a30ea226e1dbaac9afb243
e522030a023af4ff50d5fc64bd3eba30144e006c
refs/heads/master
2021-01-01T20:15:06.647873
2017-11-24T23:59:19
2017-11-24T23:59:19
98,801,566
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
testcases = int(raw_input()) def is_equal(d1, d2): if len(d1) != len(d2): return False for k, v in d1.items(): if k != 'last': if d1[k] != d2.get(k): return False return True def next_level(dict_items): next_level_result = [] for i in ...
[ "andy.venet@gmail.com" ]
andy.venet@gmail.com
ecbd429887ac6d5abc32c05fd1f43073737f37c7
2a89cc4472bd6251a16a4369f13cdc3c40d28d86
/data_processing/nx_test.py
4fb70316922faecc8f18b7c0693cd4403c43642c
[]
no_license
wpower12/CIS5524-FinalProject
5a51a4b3dd91b92a27023c4317c2e167d06ab9bc
5f5104c6a8369b9939399258b6686b612cb22ffb
refs/heads/master
2020-05-05T00:20:59.188552
2019-04-30T17:49:04
2019-04-30T17:49:04
179,571,275
0
0
null
null
null
null
UTF-8
Python
false
false
1,902
py
import pickle import networkx as nx from networkx.algorithms import community from networkx.algorithms import bipartite as bp DATA_PFN = "pol_300_year_00_20_new.p" DEBUG = "" edge_list = pickle.load(open("data/{}".format(DATA_PFN), "rb")) graph = nx.Graph() for user in edge_list: # print(user) for sub in user[1]: ...
[ "willpowe@gmail.com" ]
willpowe@gmail.com
10597335d72b0849eac2eb3df7d87974a685466c
d0710427245a6f7ee275d852019432c92d33b396
/backend/api/urls.py
8a6109bd4383112a591c543523a8197a800129e0
[ "MIT" ]
permissive
paulocsarlins/coleta-inteligente-seletiva
bda3a54cb23de67c22cdfd983ffaf0356ded3a5c
0696197e8bfb917786a8fa010cd060cc9b16d9d4
refs/heads/main
2023-07-01T08:50:41.356521
2021-07-28T11:28:37
2021-07-28T11:28:37
382,993,739
0
0
null
null
null
null
UTF-8
Python
false
false
143
py
from django.urls import include, path from . import views urlpatterns = [ path('welcome', views.welcome), path('users', views.users) ]
[ "paulocsar91@gmail.com" ]
paulocsar91@gmail.com
729682773f001c122e37e7254fe4d3d4f23be11a
af7839970afa69728c539baad59055e19be6412d
/python/tests/test_listener_common_http_protocol_options.py
52dfe38aad06575036fec6389bdbe05396a425a0
[ "Apache-2.0" ]
permissive
prelipceang/ambassador
9f77b810c7343a0d50385ef5954ccb60b6dd4a70
669529fcb606d60822e51b3bed872596935f4e35
refs/heads/master
2023-03-29T02:30:37.214964
2021-03-31T20:12:08
2021-03-31T20:12:08
353,754,828
0
0
Apache-2.0
2021-04-01T17:46:31
2021-04-01T16:04:22
null
UTF-8
Python
false
false
1,739
py
from utils import econf_compile, econf_foreach_hcm, module_and_mapping_manifests import pytest def _test_listener_common_http_protocol_options(yaml, expectations={}): # Compile an envoy config econf = econf_compile(yaml) # Make sure expectations pass for each HCM in the compiled config def check(ty...
[ "krausenoah@gmail.com" ]
krausenoah@gmail.com
35b04254829c219407297add0b75e3e5f4483e9d
66213c48da0b752dc6c350789935fe2b2b9ef5ca
/abc/174/e.py
ffc0d5bd9d8bbac094b0625c24ec7ed291cb8d7d
[]
no_license
taketakeyyy/atcoder
28c58ae52606ba85852687f9e726581ab2539b91
a57067be27b27db3fee008cbcfe639f5309103cc
refs/heads/master
2023-09-04T16:53:55.172945
2023-09-04T07:25:59
2023-09-04T07:25:59
123,848,306
0
0
null
2019-04-21T07:39:45
2018-03-05T01:37:20
Python
UTF-8
Python
false
false
1,100
py
# -*- coding:utf-8 -*- def solve(): """ 「丸太の長さをX以下にする」を各丸太について行い、カット回数を計算していく方針。 カット回数の計算は丸太一本あたりO(1)で計算できるので、全丸太でO(N)かかる。 Xは二分探索で範囲を狭めていけば、Xの探索はO(logN)で済む。 全体の計算量は、O(Nlog(N)) """ import math N, K = list(map(int, input().split())) As = list(map(int, input().split())) left, r...
[ "taketakeyyy@gmail.com" ]
taketakeyyy@gmail.com
9d11c8a40fdd41a1c3515914b26621fd46887287
7648330b4d89f301c161a2b78ec57acfd5408804
/9 09 2020 задачки.py
e4f12dfdf7e9226a517a336c8931ec5c6600dacc
[]
no_license
dyakobka/pop
a07a5e8efe10cb68afa3712d0de0827df916353f
3bd558ca775c582270aff18c3a17864cbb28fc15
refs/heads/master
2023-01-03T14:55:45.028002
2020-10-28T03:06:20
2020-10-28T03:06:20
307,889,928
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
x=float(input("Цена конфеты:")) y=float(input("Цена печенья:")) c=3*(2*y+1.8*x) print("Итого:",c)
[ "dyakobka@mail.ru" ]
dyakobka@mail.ru
692c094c861b7baa37a481f2c88db2464a83db29
bb3454d7e0864e20ce1c468e9654691e7a66fd3a
/bow.py
6610882de6ff764c829c302e428f72f94080fb8a
[ "MIT" ]
permissive
cplm98/SEC-Data-Analysis
0b797c24737265c401e60cf47886f3b5bd32da56
43de491a8b0f36f558d922fd0056a0a0a8455df7
refs/heads/main
2023-03-31T06:05:43.547441
2021-04-12T18:45:23
2021-04-12T18:45:23
343,216,571
0
0
null
null
null
null
UTF-8
Python
false
false
2,595
py
import string, os, re import numpy as np import pandas as pd from nltk.stem import PorterStemmer # Tokenize function from tf-idf.py file for consistency def tokenize(document): stemmer = PorterStemmer() document = document.translate(str.maketrans('', '', string.punctuation)) #remove punctuation arr = doc...
[ "connorwinters8@gmail.com" ]
connorwinters8@gmail.com
039da469cdae0d4920a264a9b340ad3b542f28fa
772d8e42822e7ba9796a6241348ded12b902f8e2
/pythoncode/python_mysql/opupdate.py
0f9676ed1e27338f57badc02c5f054bd4d0cc612
[]
no_license
dagf113225/python_thzm2
8f4dc424a4d167d7964adaa8d025d16e16e0a7f6
1295208572995202eac981d32ce790000485e3a4
refs/heads/master
2020-04-07T12:06:38.442721
2018-12-21T03:35:20
2018-12-21T03:35:20
158,354,796
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
import pymysql conn=pymysql.connect(host="127.0.0.1",port=3306,database="thzmdb2", user="root",password="123456",charset="utf8") dbcursor=conn.cursor() sql='UPDATE t_emp SET epwd=%s WHERE eid=%s' dbcursor.execute(sql,('123456',6)) conn.commit()
[ "512444862@qq.com" ]
512444862@qq.com
2710a12be3d2224637433dfeb7ee9636d696664a
e6d6da1adc96d79a3116e3d73a7d58dd61cc6a33
/Data_Collector/database_sql.py
c98c5307f1e0add864564adf49fb80eda8db8606
[]
no_license
anirban2304/Python
14c8a9c36013522e87868f7382d8f0ee9456156b
888e3a9f2e9deddf3afc5933c268442563d86d3f
refs/heads/master
2022-05-29T00:06:36.668467
2020-05-04T06:30:39
2020-05-04T06:30:39
257,178,541
0
1
null
null
null
null
UTF-8
Python
false
false
862
py
import pyodbc from sqlalchemy import create_engine import urllib server = 'python-project.database.windows.net' database = 'height_data' username = 'admin-python' password = 'Kolkata@23' driver= '{ODBC Driver 17 for SQL Server}' params = urllib.parse.quote_plus\ (r'DRIVER='+driver+';SERVER='+server+';PORT=1433;DAT...
[ "anirbanrcciit@gmail.com" ]
anirbanrcciit@gmail.com
3ec8b7c4c1384e248817c897c83f0cb53b4e0ac9
46b3a68c12d4659ba7d2ebfc8284e74931749e6d
/jdit/parallel/__init__.py
08b14f00707495ef87536fa8f6242a544d630f15
[ "Apache-2.0" ]
permissive
dingguanglei/jdit
db258bc05b71a5547a6d6d93fbe04501bbad5958
ef878e696c9e2fad5069f106496289d4e4cc6154
refs/heads/master
2021-06-09T13:55:51.499538
2021-04-27T12:32:55
2021-04-27T12:32:55
148,609,753
28
8
Apache-2.0
2019-01-11T02:10:52
2018-09-13T08:49:16
Python
UTF-8
Python
false
false
82
py
from .parallel_trainer import SupParallelTrainer __all__ = ["SupParallelTrainer"]
[ "32232377+dingguanglei@users.noreply.github.com" ]
32232377+dingguanglei@users.noreply.github.com
999caaf9cb5d361ac17ac4f54ff8402c749c2de9
dc0f7a8ccb09dd5ef745db3b25c725b42d4a31c8
/Projects/checkmypass.py
fedcde61acf89cb2b8e519086a5bb21677192567
[]
no_license
AdrianBaluta/Portfolio
ca31661d7d495b025bbb0026c35e126dec50417b
4369de535621e3fe577de74cfb4a585ea1c80bf8
refs/heads/master
2023-02-05T23:28:13.506394
2020-12-28T14:54:37
2020-12-28T14:54:37
299,284,232
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
import requests import hashlib import sys def request_api_data(query_char): url = 'https://api.pwnedpasswords.com/range/' + query_char res = requests.get(url) if res.status_code !=200: raise RuntimeError(f'Error fetching: {res.status_code}, check the api and try again') return res d...
[ "noreply@github.com" ]
noreply@github.com
d6c6b643bd659e3f9cfac6cae96011a6dca0c086
45a00518abed3ef4796655d8d2a0677f29961aa3
/example 46/python_venv/lib/python3.8/site-packages/joblib/test/test_cloudpickle_wrapper.py
733f51c7239467da0f967b2aa790a2df76cfa185
[]
no_license
ruiwu1990/CSCI_4710_6710
07b92e456d6cda3e63a5b5d078c1718110317555
6e32c89ef70fbe4b4a5db14682dc94b13bab6d9e
refs/heads/master
2023-05-03T21:50:54.943702
2023-04-18T21:48:43
2023-04-18T21:48:43
174,882,138
9
17
null
2023-05-01T20:53:06
2019-03-10T21:18:01
Python
UTF-8
Python
false
false
749
py
""" Test that our implementation of wrap_non_picklable_objects mimics properly the loky implementation. """ from .._cloudpickle_wrapper import wrap_non_picklable_objects from .._cloudpickle_wrapper import my_wrap_non_picklable_objects def a_function(x): return x class AClass(object): def __call__(self, x)...
[ "raywu1990@nevada.unr.edu" ]
raywu1990@nevada.unr.edu
04532cf16097153208bd333ec37a206290a499c0
de77a51bf27f6fb5d7fce32ee9950d3244dcc1ef
/pilot_points_tkreg_example/pest/pest_input.py
c1d49aeb57d5528de4b2407bb677b2ee86edecb9
[]
no_license
andrewtbanks/PEST_examples
a42963c88dd7c00ea40dcbeb3cc587e13ce05808
dce93ad9cb2a19f3b900dc2f8ab03071cb0574bd
refs/heads/master
2020-05-17T10:49:43.896245
2019-06-12T20:01:11
2019-06-12T20:01:11
183,667,421
0
0
null
null
null
null
UTF-8
Python
false
false
17,554
py
import matplotlib.pyplot as plt import os import numpy as np import flopy import flopy.utils.binaryfile as bf import flopy.utils.formattedfile as ff import flopy.utils.reference as srf import shutil fmain ='C:\PEST_examples\pilot_points_tkreg_example' # main directory for all files # specify modflow model...
[ "noreply@github.com" ]
noreply@github.com
2cb9d5245679de6770d36e3cc6bf42aec76d0213
4babbcaa971a091d519e24f3db9c982487d2f3b5
/rename.py
a497efccd6fc34d73af36916c1694b951d27e3b2
[ "MIT" ]
permissive
Anandsure/auto-py-to-exe
3f9fc46f5ff3974042cf3e417c4805aef30e8d21
45155ac0263694927ad89b822de0dd30ea4c44dc
refs/heads/master
2020-06-15T02:55:59.434562
2019-07-04T07:09:20
2019-07-04T07:09:20
195,187,953
0
0
null
2019-07-04T07:08:29
2019-07-04T07:08:28
null
UTF-8
Python
false
false
512
py
from glob import glob from os import rename for fname in glob('*.jpeg'): t='' for i in fname: if i !='.': t+=i else: break rename(fname, t+'.anand') for fname in glob('*.png'): t='' for i in fname: if i !='.': t+=i else: ...
[ "noreply@github.com" ]
noreply@github.com
a7b02076b0d0d441315b2c36449132205b58a979
3efd828646ffe869d0b0266e62fad6e3719fa30b
/idaapi/stack_calc.py
c749fa66f56e37f9fbb5299b3b993c4d772f699c
[]
no_license
harmonizedMachines/grey-hat-python-exploits
73bb7492691f62b6e55e82c2d7ea376d69ce8dde
edeca7149b59a3dc143c9c98809bfee6fc5aa121
refs/heads/master
2023-08-18T14:33:06.381641
2019-07-04T10:06:59
2019-07-04T10:06:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
from idaapi import * var_size_threshold = 16 current_address = ScreenEA() for function in Functions(SegStart(current_address), SetEnd(current_address)): stack_frame = GetFrame(function) frame_counter = 0 prev_count = -1 frame_size = GetStrucSize(stack_frame) while frame_counter < fra...
[ "harmonyyap@gmail.com" ]
harmonyyap@gmail.com
b70bfd52706a63448ead0757c227114d9ab018fd
f1af14f716ebbec39320a1b47ea966bd8a132095
/ProjectPart4/tests/literalFail.py
71b673f161ae1d7dee60b214cfa87224eee1c7e0
[]
no_license
agarwalm/Compilers
ce115fb7f70511b6173600beb12effca9e545f75
bee3b01be6ad7667c3bbc71ae9ca5120106b9978
refs/heads/master
2021-01-01T18:29:02.763047
2013-12-20T23:06:42
2013-12-20T23:06:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
#Mrigya Agarwal, Christine Graff, Giuseppe Mendola "hello" 1.2
[ "christinegraff@Christines-MacBook-Pro.local" ]
christinegraff@Christines-MacBook-Pro.local
b5f70c3dc6b4b1c3197a94cff2bcf3cea020f5b6
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Simulation/G4Utilities/G4DebuggingTools/python/G4DebuggingToolsConfig.py
f52b57fe2059fda006a2cf456c9959bd184320f5
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
3,737
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration from AthenaCommon import CfgMgr, Logging from G4AtlasServices import G4AtlasServicesConfig def getVerboseSelectorTool(name="G4UA::VerboseSelectorTool", **kwargs): from G4AtlasApps.SimFlags import simFlags # example custom configuration ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
64612b9c2435744a2cdb72e21120ca270c1675e4
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/tree-big-2939.py
12303d1902d870a55260fe2b6bcdbb323417c476
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
23,290
py
# Binary-search trees class TreeNode(object): value:int = 0 left:"TreeNode" = None right:"TreeNode" = None def insert(self:"TreeNode", x:int) -> bool: if x < self.value: if self.left is None: self.left = makeNode(x) return True else: ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
6a1ba511e9bc3561506c8183621883418f588446
1a5b6f1e8167c1a422e2b4d60a33623f9ce39ab1
/FashionRecognisation.py
7efc170ec66f41964b8545039f1d9b13d5489f91
[]
no_license
nikhita666/Machine-Learning
b3bd6063793f68a56447ffd71d9b7aab28d5ae1e
a0a6ae17b5b8a2b48bf4ecaeafb31a479db6b5d4
refs/heads/master
2022-11-06T01:43:41.617441
2020-06-22T19:43:00
2020-06-22T19:43:00
266,606,528
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
#!/usr/bin/env python # coding: utf-8 # In[53]: import tensorflow as tf print(tf.__version__) # In[54]: class myCallback(tf.keras.callbacks.Callback): def on_epoch_end(self, epoch, logs={}): if(logs.get('loss')<0.4): print("\nReached 60% accuracy so cancelling training!") self.model.stop_traini...
[ "noreply@github.com" ]
noreply@github.com
db7b780986be5b7e0a67d493b8c6607b8daa689e
7c4ace8aa9d3f878af86ba51005583d79e2b1bba
/social/posts/migrations/0003_comment.py
9ef38ef7234b8c0c6b6cd8f4574026e0b0f4ca88
[]
no_license
AhmedYounis20/socialmedia
565c6d23f5b0e465fc825983092ad31ce21fb2f3
80ad2ba26427d2cc6b3a48d1f2cfc3ff7fd71c03
refs/heads/main
2023-07-19T05:29:49.088962
2021-09-12T00:32:27
2021-09-12T00:32:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
# Generated by Django 3.2.5 on 2021-09-06 21:18 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0005_rename_t_account_groups'), ('posts', '0002_post_group'), ] operations = [ migratio...
[ "amy2532001@gmail.com" ]
amy2532001@gmail.com
caac7979517944578339d541ee6ed90eebb47efd
149ec82758d9e22dd5518c7e0d00e20e7e7386ee
/mnist/tf_mnist_log_reg.py
9e28da0116febdeb2a874df662bd11cff3eccc51
[]
no_license
m-elgemaiey/play
9662c306348c23d7796910733324a947f98f828f
d6eac0972158c7374858adeb269f7d066521609f
refs/heads/master
2020-03-18T00:31:26.983548
2019-11-17T15:02:24
2019-11-17T15:02:24
134,098,974
0
0
null
null
null
null
UTF-8
Python
false
false
1,863
py
# Logistic Regression from tensorflow.examples.tutorials.mnist import input_data import tensorflow as tf import time import numpy as np mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) #print(mnist.train) # define the model x = tf.placeholder(tf.float32, [None, 784]) W = tf.Variable(tf.zeros([784, 10]))...
[ "m.elgemaiey@gmail.com" ]
m.elgemaiey@gmail.com
a241ffe70f8a7c525e02b9e12ea998e9efecacc2
6d917e6cdb5bd0c81f98f5bacbf4e7cdd84c72fd
/venv/Lib/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/html5lib/treebuilders/etree.py
60cf2c3e4edfb0643ebf5505302eabbf3cc611cc
[]
no_license
nickpatten04/changelog_exercise
f9b5093780f1e46007ef1595fdb34835672df705
debf271ac77a85f1d017bc319c40ff744ee7f72e
refs/heads/master
2023-03-20T12:23:55.019643
2021-03-15T00:40:23
2021-03-15T00:40:23
347,788,656
0
0
null
null
null
null
UTF-8
Python
false
false
12,771
py
from __future__ import absolute_import, division, unicode_literals # pylint:disable=protected-access from pip._vendor.six import text_type import re from . import base from .. import _ihatexml from .. import constants from ..constants import namespaces from .._utils import moduleFactoryFactory tag_regexp = re.comp...
[ "np164s@corp.wayfair.com" ]
np164s@corp.wayfair.com
0d558a04a974c96413e34fc82e039b476a0ba4bd
a392bb476779cbfde6c4863e6039af9a57c288be
/S1_Foundation/C2_GettingStarted/selection_sort.py
966df2f7c6568266bfc89861df06db3b9452b246
[ "MIT" ]
permissive
JasonVann/CLRS
49e25d021718156a732455a117331dace1fe501c
d9dcdc7ea9230d03d97d72857f9345ea995e5986
refs/heads/master
2021-05-04T10:03:06.999922
2017-10-21T07:43:54
2017-10-21T07:43:54
53,999,274
1
0
null
null
null
null
UTF-8
Python
false
false
722
py
from test_sort import * def selection_sort(data): n = len(data) for i in range(0, n-1): # Find the i-th minimum number and swap with data[i] min_i = None for j in range(i, n): if min_i is None or data[j] < min_i: min_i = data[j] idx = j ...
[ "jasonvanet@gmail.com" ]
jasonvanet@gmail.com
c11d13c153d0d2960f4ab91f24fa4850ad1dfac5
32d94996ec115f01f5c4cf2e5d3bb1e1a72dcac1
/env/bin/pip-2.7
77a640881b9293b41cdc568133c3a7e12b724f44
[]
no_license
jasvir99/Transport-System
bb1d5e298994701f73b0b8ad3bf818e28b708d71
e7daba19c2e8762aad66e23fb080b460c86ff3e6
refs/heads/master
2020-05-05T01:57:01.736998
2013-12-22T18:17:23
2013-12-22T18:17:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
7
#!/home/jass/Automation/env/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.4.1','console_scripts','pip-2.7' __requires__ = 'pip==1.4.1' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('pip==1.4.1', 'console_scripts', 'pip-2.7')() )
[ "jassigrewal91@gmail.com" ]
jassigrewal91@gmail.com
37b48f5467a559bc92a85b25f809768097691872
14d535a6693a69f5cc23f422038e7a39e6e88f69
/admissions/migrations/0003_auto_20170308_0413.py
2666b0e4ae9be87378d09fa1155d73d2146aa3bf
[]
no_license
gayathrisnair/customized-web-search
489683d9e55c047f7c99235f3a2be787c9048659
24cd152793cbf7b571ca7e4d71d4cbf91c7e8105
refs/heads/master
2021-01-18T11:37:10.262662
2017-03-08T14:48:37
2017-03-08T14:48:37
84,326,746
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-03-08 04:13 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('admissions', '0002_admission_temp'), ] operations = [ migrations.RemoveField( ...
[ "gayathrisnair.mec@gmail.com" ]
gayathrisnair.mec@gmail.com
51332f9819b3c64b6840a00c7ae5e4b9dc6a2d05
76f224ada78fbacb0e6c932a2425adf12022a554
/src/menus.py
a969483e188c225b0389547a46f28c8d51e5b519
[]
no_license
solongtony/kaiserain
6345734bd4139b78cf019df4e94b5bb286c251b9
090ef0c16e11e8e6b33c2f7565f082050422397c
refs/heads/master
2021-06-15T12:17:52.199112
2021-02-14T02:19:05
2021-02-14T02:19:05
132,205,947
0
0
null
null
null
null
UTF-8
Python
false
false
4,235
py
import libtcodpy as libtcod def menu(con, header, options, width, screen_width, screen_height): if len(options) > 26: raise ValueError('Cannot have a menu with more than 26 options.') # calculate total height for the header (after auto-wrap) and one line per option header_height = libtcod.console_get_hei...
[ "solongtony@gmail.com" ]
solongtony@gmail.com
24661f2a13608381b8b19624b1bae4b7be28ddcc
50d21789e718356f57f738ec9d05b51ddc727883
/code/sketches/test_instruments.py
420040da87212ad9b556db22b329b193964fed88
[]
no_license
ilzxc/thirst
fba6943759e97590e8f0a0c06115195e40a36935
a722e04830ae3636140f87e4371aa20420bd319c
refs/heads/master
2021-01-10T09:44:31.079250
2015-12-04T08:08:35
2015-12-04T08:08:35
45,520,767
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
from instruments import SAMPLES as samp for i in samp: print(i + ":") instrument = samp[i] for c in instrument: print(" " + c + ":") cat = instrument[c] names = [] for d in cat: names.append(d) l = len(cat[names[0]]) for i in range(1, len(names)): assert len(cat[names[i]]) == l print(" " ...
[ "ilyaforpresident@gmail.com" ]
ilyaforpresident@gmail.com
3e816a9b0d04ae0536ff9b4dff5876b89b48e2f8
c678668e8c553ee2b1611174fab51ffbe4aef313
/stream.py
c821dc858c7ed5f64b96ab1943fe355b30f06333
[ "Apache-2.0" ]
permissive
PeacefulLearner/Twitter-Sentiment-Analysis
66e532fb5633af486108668a8b4c837597bad465
fc7e711e74a5f57d0b5159def2158a6a1f9aec04
refs/heads/main
2023-03-11T13:02:24.501658
2021-03-06T04:43:42
2021-03-06T04:43:42
344,226,441
0
0
null
null
null
null
UTF-8
Python
false
false
4,304
py
import tweepy import socket import re #Here to preprocess the tweet for emoji removal import preprocessor as p import sys import googlemaps import pandas as pd import time import threading access_token="ACCESS_TOKEN" access_secret="ACCESS_SECRET" consumer_key="CONSUMER_KEY" consumer_secret="CONSUMER_SECRET" auth =...
[ "noreply@github.com" ]
noreply@github.com
b5cf03d58de1480c41c54e2fe20bc6385cda0878
5a98d0d6fe1562cb9ae11974a1a47e60c916a34e
/chapter6/python/6-5/test.py
9513a30d07e4be9d5d25eb5d1b22e092a3a039b2
[]
no_license
ABigDoge/Network_Experiments
defb9e8a9674c0ecb5cbc5859b8b8b89e6424cd0
51fe880403d6ce7b091614c8d32da5d9354020ba
refs/heads/master
2022-10-10T05:08:45.818998
2020-06-09T10:41:58
2020-06-09T10:41:58
270,970,125
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
import socket import argparse def checksum(header: bytes)-> int: cs = [] for i in range(0,len(header),2): cs.append(int.from_bytes(header[i:i+2], "big")) cs = sum([i for i in cs]) while cs > 0xffff: cs = (cs & 0xffff) + (cs >> 16); cs = cs ^ 0xffff return cs def tc...
[ "delirio579@163.com" ]
delirio579@163.com
8c6e76ba135b2dd858bd7597857cd6d050fbb80f
6a61e468230ccd22bfde0bbb544503218ab2c496
/autoload/leaderf/python/leaderf/helpExpl.py
0d8c7de09015eaee8cb41c8d87fd5ce6f375f569
[ "Apache-2.0" ]
permissive
thomasding/LeaderF
46b7676d0e639e8caa534ef7acb7392e5a05aa2c
7eada2057cb2cae4f50e6b7bc4b342ee96b730b9
refs/heads/master
2020-03-17T08:12:46.889081
2018-05-13T14:00:33
2018-05-13T14:00:33
133,429,057
0
0
Apache-2.0
2018-05-14T22:37:10
2018-05-14T22:37:10
null
UTF-8
Python
false
false
4,179
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import vim import os import re import os.path from leaderf.utils import * from leaderf.explorer import * from leaderf.manager import * #***************************************************** # HelpExplorer #***************************************************** class HelpE...
[ "archofortune@gmail.com" ]
archofortune@gmail.com
fa9292697ded287e085f6630a2fc511052425b28
add952bc00d3f276f48d9f9aa36a42db882e6bbf
/python/2020/13.py
5a6dd125b1f5e07a6134df4051eebb001381dbee
[]
no_license
jgilchrist/advent-of-code
8e0853b2634a60d49acb1cf372c166cfcf66c3ba
fdd5d8dd4c482f9f12e86c0761511f6139b202e3
refs/heads/master
2022-12-14T15:51:37.891537
2022-12-14T14:30:02
2022-12-14T14:30:02
73,195,896
2
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
from utils import * def all_multipliers(num): curr = num while True: yield curr curr += num def first_departure_time(bus, departure_time): return next(n for n in all_multipliers(bus) if n >= departure_time) @check(333) def part1(i): departure_time, buses = i buses = [bus for bus ...
[ "jonnygilchrist@gmail.com" ]
jonnygilchrist@gmail.com
f564ff5ce4d903748be3a5760cca6385ee93192e
7b892688c91552c5f2d3d86efd1a93a87b97b0a8
/archive/test_stepperH.py
58e0e2d9ef37602081fd5547dbd39e0374d5dd5e
[ "MIT" ]
permissive
NPadrutt/PREN_Gruppe11
46a86159cfcf73e3b14ed457a8cccef73e218531
e9fbe48ee969e5a029ccc2ecfdb5da035206650b
refs/heads/master
2021-09-16T23:31:06.430557
2018-06-26T05:37:16
2018-06-26T05:37:16
107,522,437
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
from src.StepperH import StepperH import time # starts horizontal stepper as thread if __name__ == '__main__': stepper = StepperH() try: stepper.start() while True: print('stepper running') time.sleep(2) except(KeyboardInterrupt, SystemExit): stepper.running = False stepper.join() print('stepper of...
[ "christopher.christensen@live.com" ]
christopher.christensen@live.com
4d58f045f2dc239a3427227d9cd114f3cb7518e3
9be2131f70538acb99c97cace5a581b128b8ddc9
/myapp/views.py
b7ef9e281257b31f0bbe272f3b4c2129f172606a
[]
no_license
chasinginfinity/myfirstproject
5a74e40c7b615b9db8b79c69d4c97c0914820b8c
3285712f5ff2144a4e549a1a173f4e49e353dd30
refs/heads/master
2020-03-09T13:03:14.618719
2018-04-09T07:13:45
2018-04-09T07:13:45
128,800,496
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
from django.shortcuts import render, HttpResponse # Create your views here. def index(request): return HttpResponse("<h1>Hello World!</h1>")
[ "adarsh1021@gmail.com" ]
adarsh1021@gmail.com
202413f8bed169d63c0e062e5db80f4c7ab19053
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/smart_document_recognizer_layout_result.py
880edef4f9e5268fec0c2a94a79f45be803ebb0a
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,891
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class SmartDocumentRecognizerLayoutResult: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
2e82dda024ab4a33f1b9bed8df21f3eba760a255
9a8cd23d137e78c146941cf078fcdb025b094dd3
/problems/p1337.py
dc01e42083410149ed107a7c7360207330b0ee29
[]
no_license
e1630m/leetcode
fda92b4086ebd16057dfe053d1a3665e3976ea03
d57390aec3af555768f547b8fb668b8814ff63e9
refs/heads/main
2023-08-22T06:48:17.786891
2021-10-30T08:24:45
2021-10-30T08:24:45
409,690,695
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
class Solution: def kWeakestRows(self, mat: List[List[int]], k: int) -> List[int]: return sorted(range(len(mat)), key=lambda x: (sum(mat[x]), x))[:k]
[ "e1630m@gmail.com" ]
e1630m@gmail.com
c76b501578d503fb8fa7b2ca448f9a32035a151d
e936bd30ddd45d803d98abad4e365975b1e56092
/01-Core Python/04-Applications/CRUD.py
d5d2d88927f654328b63bbf0e0a091dba04b77bc
[]
no_license
apekshar5/Core-Python
a4a86258b10ffa43b5be57b20a4f102525287bc8
472b1bdb8d6e71d6f25cea8ae67099fa6792e61b
refs/heads/master
2022-02-11T07:49:52.450684
2019-05-22T18:22:48
2019-05-22T18:22:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,868
py
studentList = [] students = {} def create(): print("Create Student Record...") studentId = int(input("Enter ID : ")) studentName = input("Enter name : ") studentCourse = input("Enter course : ") studentNo = int(input("Enter number : ")) students["Id"] = studentId students["Nam...
[ "noreply@github.com" ]
noreply@github.com
e6f1b96db5d9345827192ab86054867886a29061
0a93001bbe06e01919305de262ee5bedf60c2cb7
/manage.py
6bc66324b7c3c7fd89c1c3902a523a5f4614b5db
[]
no_license
15036695351/cn_blog
da97bc15f8f380eb78b9b816a8f1c5d9200150f5
3916e0d0f392c4d5e72cab72444a7a75975d8f66
refs/heads/master
2020-03-23T06:33:45.149875
2018-07-17T02:10:36
2018-07-17T02:10:36
141,216,010
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cn_blog.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are ...
[ "893920610@qq.com" ]
893920610@qq.com
b7d303e873eeb3dea80fa7814f0f292cd099834f
fd35dc8510909f9d38567a770a20b727a0938166
/I0320068_Soal1_Tugas6.py
1890ee8f2a5c744c5c8949baab138bd6b13ec37c
[]
no_license
ahmedwicaksono/Muhammad-Nurwicaksana_I0320068_Abyan_Tugas6
7c306519e1875f1e55c20de70023de76bcf30866
fe3cff438208421536613dcb0a965836c6f947f4
refs/heads/main
2023-04-01T21:51:53.959286
2021-04-09T19:06:19
2021-04-09T19:06:19
356,360,751
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
i = 1 while i<=10: print(" %d: Hello World" % i) i = i + 1
[ "ahmed.wicaksono16@gmail.com" ]
ahmed.wicaksono16@gmail.com
d8fbc63265d45dcfa112766c30cd098be32c0069
a953650f40f15e8008339b6e7a669c50444755b3
/isofit/rt_libradtran.py
46f0a7576ff9d80d78e51b144b7514c6de263c34
[ "Apache-2.0" ]
permissive
dsmbgu8/isofit
2d12582ab7648216771ae086134e5f9d5b88bdfe
f6365f044b9726776f28f4fd5abb03330a8e9d39
refs/heads/master
2020-03-30T22:08:02.080389
2019-04-19T00:21:56
2019-04-19T00:21:56
151,655,654
7
3
Apache-2.0
2018-10-05T01:12:20
2018-10-05T01:12:20
null
UTF-8
Python
false
false
8,693
py
# # Copyright 2018 California Institute of Technology # # 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 applicabl...
[ "david.r.thompson@jpl.nasa.gov" ]
david.r.thompson@jpl.nasa.gov
8b8f0128149d079ea402eaa39dd0849511d6ac94
52b7be5bcae6a391e92e46adee6e50f0ddb632f8
/app/src/main/python/bmrCalculations.py
2017c4c120c5809694ac9d380cc1e86c33005bbd
[ "MIT" ]
permissive
DilakshanChamikara/MVNutritionist
c73eb5c2219598884b72a12c1cc1ce4cb6d2c076
1b9637330cb441f0139c98d8e992e5a8719a4512
refs/heads/master
2023-09-02T01:23:00.698985
2021-09-18T13:31:37
2021-09-18T13:31:37
363,077,409
1
0
null
null
null
null
UTF-8
Python
false
false
1,101
py
def mifflinEq(ageValue, gender, heightCMValue, weightKGValue): age = int(ageValue) sex = str(gender) heightCM = int(heightCMValue) weightKG = int(weightKGValue) if sex == "Male": bmr = ((10 * weightKG) + (6.25 * heightCM) - (5 * age) + 5) elif sex == "Female": bmr = ((10 * weigh...
[ "wvdilakshanchamikara@gmail.com" ]
wvdilakshanchamikara@gmail.com
5303ca1ae822afef9627e13ab5a57607e897579f
831a23e731a2e9afcd7469e80cd8145c03ed8ddb
/[GJM]/Completed/Kaguya-sama - Love is War S3/Gooya3_03.py
5e7c5f32634e8e20b7568659e8514a8ef97aa8e3
[ "MIT" ]
permissive
LightArrowsEXE/Encoding-Projects
d1edf910de8ded679a1874dc7aba7bac7c75c3f5
fc9ea0d15bffa5a53719ad587b5591cbd28812ce
refs/heads/master
2023-04-06T08:11:37.210381
2023-03-28T17:44:19
2023-03-28T17:44:19
167,544,468
77
14
MIT
2022-06-26T14:21:15
2019-01-25T12:31:36
Python
UTF-8
Python
false
false
5,980
py
from __future__ import annotations import ntpath from glob import glob from typing import Any, Dict, List, SupportsFloat, Tuple import vapoursynth as vs import vsencode as vse from lvsfunc.types import Range from vardefunc import initialise_input ini = vse.generate.init_project('x265') core = vse.util.get_vs_core(r...
[ "noreply@github.com" ]
noreply@github.com
6ef7b3ea4fb066170209ac7d588f2ecea7d3de42
18e2e9102c192ec60fbf6b29c96b3211dacda86f
/Homework5/node_modules/chokidar/node_modules/fsevents/build/config.gypi
dae7970a9ede30340dbf7d083a2908479809316c
[ "MIT" ]
permissive
DALI-mini-webdev/personal-react-website-marktao23
d39c9ee6f2d2fe037f177e26cb2a7ebda854418a
d505728f644914943fba9cfe61a633a575fbe9ee
refs/heads/main
2023-03-10T06:08:08.697299
2021-02-22T02:20:36
2021-02-22T02:20:36
333,216,995
0
0
null
2021-01-26T21:04:56
2021-01-26T21:04:50
null
UTF-8
Python
false
false
2,952
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "dcheck_always_on": 0, "debug_nghttp2":...
[ "mark.s.tao.23@dartmouth.edu" ]
mark.s.tao.23@dartmouth.edu
1269ec37a14795d04833ef26c19ca25ac9209675
61fd735fda784dfc817b51a53c933ecdc4d47177
/PythonLearningFiles/小甲鱼Python基础课程笔记/python基础教程/07分支和循环.py
185365fc588c50fb18dc07e45a2d6eb0de12ccb4
[]
no_license
github653224/GitProjects_PythonLearning
bfe4610bf8f944d9a51889a30cf7b20e5ab219b7
ac975efbb336846a3f145821cf47431d39b30ac1
refs/heads/master
2021-05-08T01:03:04.150717
2017-10-21T09:52:02
2017-10-21T09:52:02
107,763,607
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
""" 打飞机方案: 加载北京音乐 播放北京音乐(设置单曲循环) 我飞机诞生 interval=0 while true: if 用户是否点击了关闭按钮: 退出程序 interval+=1 if interval==50: 小飞机诞生 小飞机移动一个位置 刷新屏幕 if 用户鼠标产生移动: 我方飞机中心位置=用户鼠标位置 刷新屏幕 if 我方飞机与小飞机发生肢体冲突: 我方挂,播放音乐停止 修改我方飞机图案 打印"game over" 停止音乐...
[ "944851899@qq.com" ]
944851899@qq.com
b65f0f0c726ee11b17d9b0d8915eaf9d6055e843
5c3654410a306a3c8383161bdf76d548c8ef430f
/ros_system/build/planning/leadgen_msgs/cmake/leadgen_msgs-genmsg-context.py
0d208afbce2726d829c73d975cdb45a6fa8ba086
[]
no_license
NII-o9i2/ROS_HDmap_Decision_L4SelfDriving
7d884fc56a75eb56d5179111f1cc8c57313f956e
b2756312fbd5ff362f87a9c6e9c1fab36b419d82
refs/heads/master
2022-12-16T11:53:19.587344
2020-09-24T02:47:23
2020-09-24T02:47:23
291,922,080
7
6
null
null
null
null
UTF-8
Python
false
false
1,632
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/xiaotongfeng/Desktop/ROS_HDmap_Decision_L4/ros_system/src/planning/leadgen_msgs/.//LeadgenHMI.msg;/home/xiaotongfeng/Desktop/ROS_HDmap_Decision_L4/ros_system/src/planning/leadgen_msgs/.//LeadgenWaypoint.msg;/home/xiaotongfeng/Desktop/ROS_HDmap_D...
[ "791071897@qq.com" ]
791071897@qq.com
561a1515aec45c05a6f692c454547c35b601299c
fc7cad490cb774d769c1b463ac6d1d9a8ea97024
/accounts/migrations/0004_auto_20200612_0259.py
ec0685ecf8d345c0e4a3fed233fe2258dc000cec
[]
no_license
Aviemusca/curriculum-dev
c301915532353836cb085130fd12e2734da4b956
691a6536718ef496ac603b1c8daee7508b3e8ff2
refs/heads/master
2022-12-26T20:56:55.031344
2020-10-01T08:11:49
2020-10-01T08:11:49
297,643,769
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
# Generated by Django 3.0.5 on 2020-06-12 02:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_auto_20200519_1800'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ...
[ "yvan@metatech.ie" ]
yvan@metatech.ie
7c017c86811609caf4cc76a48d2fade2753983ec
bb42d1372365be7e3ee718a332f15c12eb742c74
/server/captionmash/services/genres.py
8e8d7f45a5c6e5be43735804e906cf4385d07ae0
[]
no_license
uvbs/captionmash
2c49ed2749e197c05539cf0d30770badd3822328
618ce527404178a2f36ca963928e981f360ffb59
refs/heads/master
2020-12-11T03:32:24.985696
2010-12-06T14:12:15
2010-12-06T14:12:15
43,040,714
1
0
null
2015-09-24T02:45:53
2015-09-24T02:45:53
null
UTF-8
Python
false
false
1,895
py
''' * http://www.captionmash.com * Developed by O. Can Bascil | ocanbascil at gmail.com * * License: GPL version 3. * * 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 restricti...
[ "ocanbascil@gmail.com" ]
ocanbascil@gmail.com
68dd46a0f9f060b60554ee409185bc17f3b0eecb
484f2b6ed2a51a78978a4b6450f97a3cbefcd087
/ugc/migrations/0005_auto_20170214_1413.py
845ec474ff677ca19957848ca9652760ee9e3645
[]
no_license
ivan371/technotrack-web2-spring-2017
31d0a937f1b6342bd70432cbebd37bb68c1dd8df
92e9fd9040984eef66b6bab45bb4d6918e178d41
refs/heads/master
2021-01-11T14:27:04.717314
2017-05-22T18:55:22
2017-05-22T18:55:22
81,424,353
0
0
null
2017-02-09T07:54:27
2017-02-09T07:54:27
null
UTF-8
Python
false
false
477
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-14 14:13 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ugc', '0004_auto_20170214_1402'), ] operations = [ migrations.AlterField( ...
[ "nagaiko.ivan@gmail.com" ]
nagaiko.ivan@gmail.com
03729745974b276cbc75cf69603f0d5d735fe5b1
f5255d05165aa6721ee8f7a60ed9ad23f9805103
/autotest/bug/migrations/0001_initial.py
203b416ee0b160b8bc7fee8a79f4fedd989a0a7c
[]
no_license
ren937247825/autotest
e9c5dc046d44e956c5f587c81468f1f4ec0d94de
9b1e34aaf21818c208269415e33a1627914370b9
refs/heads/master
2020-07-12T15:45:52.512634
2019-09-01T02:36:06
2019-09-01T02:36:06
204,855,738
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
# Generated by Django 2.2.4 on 2019-08-30 08:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('product', '0001_initial'), ] operations = [ migrations.CreateModel( name='B...
[ "937247825@qq.com" ]
937247825@qq.com
a88f598b7bf08e6083106dbe44f2ca8df1bfc8b0
15c124ef75ee3974af8c5d0f97a35d13f3673378
/dump_committees.py
12f686c76fb41ebb3e6318e3fc5c50558f54520f
[]
no_license
datamade/war-chest
e9e2eaddb4c5dec584fdaa3806ce760757f0dfae
6b4eb021d46b3db0e5409e54a496b8823a4aff2b
refs/heads/master
2021-01-15T23:06:30.602126
2014-06-06T15:41:30
2014-06-06T15:41:30
13,306,945
1
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
from app import Candidate, Report, Person import csv from collections import OrderedDict from operator import itemgetter from sqlalchemy import or_ if __name__ == "__main__": dump = [] for person in Person.query.all(): for cand in person.candidacies.all(): for comm in cand.committees: ...
[ "eric.vanzanten@gmail.com" ]
eric.vanzanten@gmail.com
f3000acdb34834f11a2e14f776bff18e36592a11
a4b09069186307a9e8b346bb706281bce61ae899
/examples/passive_disconnect.py
e357a72a7d5f2a8847fe441c58eed167aa66dae7
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
robhogan/pygattlib
a236bf15f37f6c40a2e8f8d0577373a54cf7185b
a9aa70d9270e72bfafedeaf39c8177b516b49fb2
refs/heads/master
2022-05-12T12:36:17.303704
2015-03-05T07:25:25
2015-03-05T07:25:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
#!/usr/bin/python # -*- mode: python; coding: utf-8 -*- # Copyright (C) 2014, Oscar Acena <oscaracena@gmail.com> # This software is under the terms of GPLv3 or later. from __future__ import print_function import sys import time from gattlib import GATTRequester class PassiveDisconnect(object): def __init__(sel...
[ "oscaracena@gmail.com" ]
oscaracena@gmail.com
d08a54f09176dfbc5d8a42bd5183d3efa5dd5b7e
e84956629dac8c47feaa76fe6f91f8f0d3ecae83
/swap.py
c95181820e8f9f0638818632c0a372ac811ce633
[]
no_license
AhmadMaroofKarimi/algorithm
277e89488771a4c3f3880c68cebf828eb85a7b32
cb840d948762b54d1858bbd24399249dffd2f1b9
refs/heads/master
2021-04-12T03:52:49.536170
2018-03-21T19:33:05
2018-03-21T19:33:05
125,932,175
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
def swap(given_array,i,j): """ given_array: Array in which swapping is to be done. i: one of the index to be swaped j: other index to be swaped with i """ if len(given_array) >= i and len(given_array) >= j: temp = given_array[i] given_array[i] = given_array[j] given_array...
[ "axk962@case.edu" ]
axk962@case.edu
94af50a7588a33beaf44018e93f5021759cf1b7c
1a80eb0ca9769df1e0a72d2b5175f2b1c2435c70
/eDBS/__init__.py
865f9d13b36fd2c579f80ad8ab50b21af422d422
[]
no_license
hussain-devpro/Flask-Demo
d3e549f1b90e835b912e26fb1c7377770a00fe4a
a4bfbbda8c4fa6b3f2657ed7034751a0c44e0322
refs/heads/master
2022-11-07T20:28:37.171844
2020-06-30T11:28:27
2020-06-30T11:28:27
276,042,370
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from importlib import import_module from hvac import Client as VaultClient db = SQLAlchemy(session_options={"expire_on_commit": False}) def register_blueprints(app): blueprints = ( 'basic', 'employees' ) for blueprint in blu...
[ "66720888+hussain-devpro@users.noreply.github.com" ]
66720888+hussain-devpro@users.noreply.github.com
8d4b54d7cbba3633daa8e3c3ea93364d13ed7566
6a61795d9e687c4f56ef3a758d1963a57285fa92
/Tarea5-AFD/afd.py
0d2058032a5e5a9fc355e95885f57c09668e8e1e
[]
no_license
jmfcc/201709020_TareasLFP
75586dbc906928f62456ae292d582ee9787d507a
736f6a166842ca0f900724b8d8d85c1f021a62a7
refs/heads/master
2022-12-14T08:21:28.827254
2020-09-06T22:03:26
2020-09-06T22:03:26
285,980,900
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
elementos = { "letra" : ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "ñ", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"], "numero" : ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], "simbolo" : ["_"] } transiciones = [ ["0", "simbolo", "1"], ["1", "simbolo...
[ "jaimefrain08@gmail.com" ]
jaimefrain08@gmail.com
e67ab100320808e96acca4305798d9551fc7c1a6
ccc55c7a05cd115e029f04cd577b11b70d0d3fdc
/Chapter 3/D4 TI B/M. Farhan Fadlurrahman (1184072)/src/n4.py
c4231a25cc4e5c6efd653d176b18650e7abf26fe
[]
no_license
ariqrafikusumah/Tugas
6019be8c3219c930730d29076efd4494a3c70c79
6903117a91ad3002033c6d0297b4d1d06903088d
refs/heads/master
2020-09-15T19:51:29.066553
2020-02-29T12:08:36
2020-02-29T12:08:36
216,065,279
0
0
null
2019-10-18T16:28:46
2019-10-18T16:28:45
null
UTF-8
Python
false
false
29
py
from kotak_pensil import pena
[ "noreply@github.com" ]
noreply@github.com
177db48652d402f97d576e0f6523800c48df1c68
5cde60183d67eb92aad31d0bfa03a8e2ebddad0c
/setup.py
12ac376cecfc5442d07485725892e2397462b032
[ "MIT" ]
permissive
FedeClaudi/fcutils
7379615f2eec7d152aab5c89ec70afee79e76964
2ef6f037303fc426d5c5b2851d2c99f17efa4002
refs/heads/master
2021-09-25T15:35:32.348620
2021-09-21T15:44:37
2021-09-21T15:44:37
236,294,597
5
0
MIT
2021-01-31T17:34:22
2020-01-26T10:05:55
Python
UTF-8
Python
false
false
579
py
from setuptools import setup, find_namespace_packages requirements = [ "numpy", "opencv-python", "pandas", "matplotlib", "seaborn", "scipy", "pyyaml", "statsmodels", "loguru", ] setup( name="fcutils", version="1.1.2.7", author_email="federicoclaudi@protonmail.com", ...
[ "federicoclaudi@protonmail.com" ]
federicoclaudi@protonmail.com
09138439e66b3768bc025a96f223687027bdfc97
47eafdc5b6abdced4a29301a2d26faad3cd1dc21
/isaw/images/tests/test_package.py
fd06dcdbf56e3c7c5243e45ac06d29ac5da84ffc
[ "CC-BY-4.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
isawnyu/isaw.images
1c458bbe65b1b3ad069656dbe87d61a992007935
951f8841280a300fbe01cc6d3f5b23726ac973b1
refs/heads/master
2016-09-06T17:46:37.740507
2015-05-16T15:37:31
2015-05-16T15:37:31
24,117,212
0
0
null
2015-05-16T15:37:32
2014-09-16T20:49:27
Python
UTF-8
Python
false
false
13,389
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ nose tests for code in isaw.images/isaw/images/package.py """ from io import BytesIO from isaw.images import package import logging from nose.tools import * import os from PIL import Image from PIL.ImageCms import getOpenProfile, getProfileName import re import shutil ...
[ "tom.elliott@nyu.edu" ]
tom.elliott@nyu.edu
1f49226de6a937a2446a672f978dfcee50e12379
dea198896f679e577a3fd0923e3fa4470da4b9cc
/journal/pyfakefs_mutants/LCR_BoolOp_mutant_1507055465.py
26bd0cf441af76594af236ad2c0fa0dba0140aaf
[]
no_license
naustarg/cbmcmutate
f138ab2b04b4be70d735de90815ac670ae6042ce
a6ee6fd395338bb2dfd6bdffabb2dc484cb303f1
refs/heads/master
2020-04-04T08:10:15.913309
2018-05-21T18:23:58
2018-05-21T18:23:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
219,332
py
# line: 91 'A fake filesystem implementation for unit testing.\n\n:Includes:\n * FakeFile: Provides the appearance of a real file.\n * FakeDirectory: Provides the appearance of a real directory.\n * FakeFilesystem: Provides the appearance of a real directory hierarchy.\n * FakeOsModule: Uses FakeFilesystem to pr...
[ "agroce@gmail.com" ]
agroce@gmail.com
a64bb1807505a2ed94f6dae03805a20c63d76bd1
413125277311510b40ca481b12ab82d379f5df62
/factorial number of trailing zeros in factorial.py
11ce6c912e5196f14256726dc5f9adc771d0a39c
[]
no_license
Aakashbansal837/python
98d85ce1e88c73f0e5180b1b1af80714f3e45097
4de2a3d6a482fdba8809ceb81e94f201b776b00e
refs/heads/master
2021-04-06T00:16:24.884830
2018-05-30T17:42:20
2018-05-30T17:42:20
124,778,551
2
0
null
null
null
null
UTF-8
Python
false
false
349
py
import sys sys.setrecursionlimit(10000) def factorial(n): if n == 0: return 1 if n == 1: return 1 else: return n*factorial(n-1) num = list((str(factorial(int(input()))))) l = len(num)-1 count = 0 while l: if num[l] == '0': count+=1 else: br...
[ "noreply@github.com" ]
noreply@github.com
41266a5fc2b86a0253ea3f1f33032e2e767308a4
a98d7fcf4fae9660ce2e1fa9b3b704d9dd691754
/animation.py
e41a40b0fbb841b577ab2cfeada64f85aed8ad2e
[]
no_license
Nikolas-Dmitrovic/A-Skyrim-night-game
505fd6d6ce70aee5a4fbae4632ee664713e493db
c6644d1558ef2644ac0d79dff14fd826ed90e559
refs/heads/master
2023-08-07T22:15:50.340778
2021-09-23T02:22:56
2021-09-23T02:22:56
365,644,039
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
class animation(): '''general class for static methods for testing and general animation stuff''' pass class playerAnimation(): def __init__(self): pass def getnpcobject(self) -> object: pass def getPosone(self): pass def getPosTwo(self): pass ...
[ "nikolasdmitrovic687@gmail.com" ]
nikolasdmitrovic687@gmail.com
3e54685a3c00c94c458f8d49bd94753c32d1f008
397a31a41b0af2757f161a17817eef6ff500b805
/testMain/mango.py
d17157c5620e07a88f0006dea9a0ea32596c3773
[]
no_license
abhinavsv3/testhub
04d977a1f96e968d298509f60260426bdddafca0
fb27ccf2beed275a0f1490bd16f28587f5bb8c8c
refs/heads/master
2020-12-25T13:44:38.644238
2016-07-26T05:27:41
2016-07-26T05:27:41
64,192,223
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
import webbrowser print "Hi Buddy!" print "Who are you?" st = raw_input(">>") url = "http://abhinavsv3.github.io/" print "Hey "+st new=2 while 1==1 : st = raw_input(">>") print st if st == "g": url = "https://www.google.co.in/" webbrowser.open(url,new=new)
[ "abhinavsv3@gmail.com" ]
abhinavsv3@gmail.com
4296d7b668714864edb0f5fb0475bb38a52726af
53f63d6fcbf7f756e44de3759e1ef8d81815e50b
/basic knowledge/GUI/gui1.py
dd3e3ed9a50caff7ed22ba1ae718843f33b8f865
[]
no_license
k-bigboss99/Python-AI
c94cd4d12abafe493def4c03eec139cceffa8b4e
13df4f75fbfa67085ce79b1205623caeb4f46b29
refs/heads/master
2023-03-06T07:53:56.108405
2021-02-23T07:32:03
2021-02-23T07:32:03
335,615,842
0
0
null
null
null
null
UTF-8
Python
false
false
697
py
import tkinter win = tkinter.Tk() # 建立Windows視窗物件 win.title("HelloWorld") # 設定視窗標題 win.geometry("200x200") label = tkinter.Label(win, text="hello, python") label.pack() # 將Label元件增加到視窗中顯示 button1 = tkinter.Button(win...
[ "bigboss99@mail.fcu.edu.tw" ]
bigboss99@mail.fcu.edu.tw
c2c110f67b41e55476870566db38dc4b35959fa6
2df48a5a36a7d541950efb0189b2bc76f0cc8816
/test.py
c4863301cc497e65f23f2e0a2f242ceff8b3905c
[]
no_license
outk/graduate_thesis
b33048aaeca2052dd09d9698745a3ee01e6a545b
aad9b1068dc512ef7a16923bfd47c6fc380a25d7
refs/heads/master
2020-12-13T20:08:24.246030
2020-03-11T05:40:44
2020-03-11T05:40:44
234,516,110
0
0
null
null
null
null
UTF-8
Python
false
false
14,145
py
import numpy as np from numpy import array, kron, trace, identity, conj, transpose from scipy.linalg import sqrtm, funm, inv from numpy.linalg import cholesky import scipy from datetime import datetime, timedelta from scipy.optimize import minimize, minimize_scalar # root2 = np.roots(2) # b0 = array([[1,0],[0,0]])...
[ "outk1023@gmail.com" ]
outk1023@gmail.com
e586d7a3c000d224849a27dbaddfc190dffd0029
0d413c078c0dd7f1f68083750022441f091736f5
/addons/source-python/plugins/gungame/plugins/included/gg_dissolver/gg_dissolver.py
736d55841d464a5e19a21a4b3a3e088ef32fe82a
[]
no_license
Hackmastr/GunGame-SP
7eac4c031e5e6f4624a8cacfea8d3d5df85a2dfb
dd76d1f581a1a8aff18c2194834665fa66a82aab
refs/heads/master
2020-12-26T04:56:12.309910
2016-12-29T23:15:53
2016-12-29T23:15:53
67,629,767
0
0
null
2016-09-07T17:40:57
2016-09-07T17:40:56
null
UTF-8
Python
false
false
3,166
py
# ../gungame/plugins/included/gg_dissolver/gg_dissolver.py """Plugin that dissolves player ragdolls on death.""" # ============================================================================= # >> IMPORTS # ============================================================================= # Python from random import rand...
[ "satoon101@gmail.com" ]
satoon101@gmail.com
7e9eea8049ba2e3708bcf418198273e97c0c7c99
b94b8255d3aeda3b5a761003172d59cbab43e1e6
/src/swexplorer/apps/characters/admin.py
e73d5a193e72a5e4f25e7aed104e419d6b3b88e4
[ "BSD-3-Clause" ]
permissive
keimlink/swexplorer
1c0a729a0ea9aed82e35f2830e23cd42aad5670d
65b36a5afc652fbbdde06f959eea21dc939446cc
refs/heads/main
2023-01-01T07:46:33.217435
2020-10-19T06:08:50
2020-10-19T06:08:50
304,691,877
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
from django.contrib import admin from .models import Dataset class DatasetAdmin(admin.ModelAdmin): date_hierarchy = "created_at" list_display = ("__str__", "created_at") search_fields = ["path"] admin.site.register(Dataset, DatasetAdmin)
[ "markus@keimlink.de" ]
markus@keimlink.de
2a9948a9fa15cfc738111ee698e8284117c2f0ab
5c6c165cdbdc4fd538f4aed7d0fede76fc480444
/asphalt/feedreader/__init__.py
a990cce8accc3f529540060c6c57896c512d464d
[ "Apache-2.0" ]
permissive
asphalt-framework/asphalt-feedreader
b4b5e693a65dd51dd3fdbe1234a691c7de769bfb
096df835408ecfcfde593950c9c80d130f62cc5e
refs/heads/master
2021-01-18T19:53:06.455455
2017-11-26T17:33:13
2017-11-26T17:34:46
86,918,924
1
0
null
null
null
null
UTF-8
Python
false
false
273
py
from .api import FeedReader, FeedStateStore # noqa from .component import create_feed, FeedReaderComponent # noqa from .events import EntryEvent, MetadataEvent # noqa from .metadata import FeedEntry, FeedMetadata # noqa from .readers.base import BaseFeedReader # noqa
[ "alex.gronholm@nextday.fi" ]
alex.gronholm@nextday.fi
24142d4c2a33a996379767649b0977df3235e5fe
230786aedf8cd471b508408af004f8ef621ae9f1
/game_tile.py
24c438f0ac8a7e8877a24ba8a7e3475a4691cbee
[]
no_license
z-van-baars/savana2
62fd9f4a5f447d0ff8680bf18b380030e4e06832
ffd7c5d62c3f2e67517e6827dbf32217974c0262
refs/heads/master
2020-05-27T04:16:18.836900
2019-05-24T19:58:32
2019-05-24T19:58:32
188,479,764
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
class GameTile(object): def __init__(self, column, row, biome): self.column = column # X self.row = row # Y self.biome = biome self.terrain = None def __lt__(self, other): return False
[ "zvanbaars@gmail.com" ]
zvanbaars@gmail.com
60c14aabe366b9786d30a34292d62127b9a07913
c2a892b2ab87897e648d141500d04d4024a89252
/mlpipe/dsl_interpreter/interpreter.py
bceb7172f9de30b369a63c480c8acaa60d445475
[]
no_license
robie2011/mlpipe
52e01002ecdb8553e83dc54d582df2bdefd42892
d6b0c803535c07afc389749c5833e43f58e9deeb
refs/heads/master
2021-07-13T04:19:42.618649
2020-03-30T16:09:14
2020-03-30T16:09:14
247,807,021
1
0
null
2021-06-02T01:13:03
2020-03-16T20:09:12
Python
UTF-8
Python
false
false
2,408
py
import logging from typing import Dict from mlpipe.dsl_interpreter.analyze_interpreter import _create_workflow_analyze from mlpipe.dsl_interpreter.descriptions import \ AbstractDescription, FileDescription, YamlStringDescription, ObjectDescription, ExecutionModes from mlpipe.dsl_interpreter.evaluate_interpreter im...
[ "robert.rajakone@fhnw.ch" ]
robert.rajakone@fhnw.ch
7c503a38c4c24bb46c87ec8de4a166e2e9c178ba
b78fe5de1b32baf5dca8e51c8d71ff6f0470d85b
/kjpage/views.py
fa63160357cfafcb3ede09f398e97dbe376545fe
[]
no_license
codinglivez/kjcode
ddedcedb6479d12cd8bf4c9ca37708abe02fc9e4
cb5b6049034f7f70beb400dcea693ba902b926f8
refs/heads/master
2022-10-11T21:36:57.439047
2020-06-11T08:39:29
2020-06-11T08:39:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,397
py
from django.shortcuts import render,redirect from django.http import HttpResponse,JsonResponse import requests import json import datetime from operator import itemgetter from django.contrib import messages import re from django.contrib.auth.decorators import login_required from django.contrib.auth import get_user_mode...
[ "saad.shaikh0@gmail.com" ]
saad.shaikh0@gmail.com
eb123384e7a34d637bfb9c1aaaf39225a1e3b377
b2fd4225730e67cb2c99df742ac4a9be997886b7
/app01/views.py
90dacf820ec8f690e0a00994ef5b4c9a3db4c385
[]
no_license
HelloWorldHui/redis-session
25ebbe374900a2e2e70244dcd40601f4d2953b10
7ad4fac18841287be7ef74ac4f9e5e52b5327973
refs/heads/master
2020-06-01T18:30:18.241296
2019-06-08T12:13:37
2019-06-08T12:13:37
190,883,995
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from django.shortcuts import render,HttpResponse # Create your views here. def set_session(request): request.session["username"] = "123" request.session["password"] = "456" return HttpResponse("保存session数据成功") # jkg4wduptrnjm8rulkfe1o2y7cvqqnjv # jkg4wduptrnjm8rulkfe1o2y7cvqqnjv # jkg4wduptrnjm8rulkfe1o2y7...
[ "1493455610@qq.com" ]
1493455610@qq.com
06e0553e77bb80801eef8d994c476d58e4a37b0a
90c815977667056247809f8b9140360de1b4de30
/easy/strings/reverse_integer.py
d3d19ee24d6c9f093751ee306bdc6775f15cd90b
[]
no_license
wpine215/leetcode20
b775409b148e6b6c5cce2e0c64fb452c9630f570
67b7bf27cc041748350a1e861fcb9d574095a9f7
refs/heads/master
2023-03-31T00:04:37.767570
2021-04-05T09:21:10
2021-04-05T09:21:10
281,016,937
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
""" https://leetcode.com/problems/reverse-integer/ Given a 32-bit signed integer, reverse digits of an integer. If reversed integer exceeds 2^31, return 0. Lessons learned: - You can't use .reversed() on a string, use [::-1] instead! """ class Solution: def reverse(self, x: int) -> int: s_x = str(x)...
[ "noreply@github.com" ]
noreply@github.com
80a86a4d9b91b17fd95732baac8e603551a3be69
a0d922bc4ea5192eab31e8e3cbdd98e60572d96d
/apps/guiltypleasure/migrations/0004_productmanager.py
dc82fa0a018aa183037306c7c3967d35853b128b
[]
no_license
Gypsybel/guilty
d8af717c877c8b97e50bf5f395b8ed21810ab8d3
e9e1c60f156b2ee4b9eea377063050ad7d8e994b
refs/heads/master
2020-06-29T20:59:33.883937
2016-08-26T17:41:38
2016-08-26T17:41:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-08-24 19:16 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('guiltypleasure', '0003_auto_20160823_1529'), ] operations = [ migrations.Crea...
[ "crystabelrangel@gmail.com" ]
crystabelrangel@gmail.com
4b808309303b99c7558fac571d29b36948c3982d
b48a5cc105fc7ee982bb8a2c1e42dbbdbf5adc6b
/TM-GCN-master/experiment_reddit_our.py
3d80f84de69fea9bf36a7fc4db351036c7826f78
[ "Apache-2.0" ]
permissive
killianrwood/TM-GCN
6ecd5169f15367faf012eac44a1b59e8cec16ab9
31b19a538f264f6c30b5503ecefb497ee865b4d7
refs/heads/main
2023-06-01T23:11:43.864995
2021-06-16T21:03:45
2021-06-16T21:03:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,370
py
# This version of bitcoin experiment imports data preprocessed in Matlab, and uses our TensorGCN # Imports and aliases import pickle import torch as t import torch.nn as nn import torch.nn.functional as F import torchvision import torchvision.datasets as datasets import numpy as np import matplotlib.pyplot as plt impo...
[ "noreply@github.com" ]
noreply@github.com
13172338e2b3b809b24e226c08c0ef2490d3b706
4162a15175dade7ff9503ccd739683076add1f26
/src/functs/stabFuncts.py
d21b1a324696e0f4b1ae64344dab9790c57c9783
[]
no_license
aryana761227/VideoStabilizer
89475fc10d5b1f72a546f233bd7281765c2a839e
ebc652bb482b5dc63fe30ae7ccf58df3af48fc50
refs/heads/master
2020-04-19T15:05:17.627190
2019-01-30T02:40:53
2019-01-30T02:40:53
168,264,184
2
1
null
null
null
null
UTF-8
Python
false
false
1,561
py
import numpy as np import cv2 def getVideoArray (videoPath): # video in info video = cv2.VideoCapture(videoPath) N_FRAMES = int(video.get(cv2.CAP_PROP_FRAME_COUNT)) VID_WIDTH = video.get(cv2.CAP_PROP_FRAME_WIDTH) VID_HEIGHT = video.get(cv2.CAP_PROP_FRAME_HEIGHT) print "N_FRAMES: " + str(N_FRAME...
[ "aryana761227@gmail.com" ]
aryana761227@gmail.com
2d234c71ae3401e3c476c0145a739da0e171802a
646ad63fc2274b85a219094b216b807c0bed1ede
/tests/core/commands/test_cmd_quota.py
6c8784ea4c37a59ce12a55111ffffa52913c5f59
[ "MIT" ]
permissive
Starz0r/pytuber
9b252582b4ae296aee87faaf10a2eed9f541b7b0
5bb53edde6a39cedec48c4a8f41ba22db21d4727
refs/heads/master
2020-08-23T16:28:12.783690
2019-04-29T21:53:29
2019-04-29T21:53:29
216,662,810
0
0
MIT
2019-10-21T20:48:32
2019-10-21T20:48:31
null
UTF-8
Python
false
false
914
py
from datetime import datetime from unittest import mock from pytuber import cli from pytuber.core.services import YouService from tests.utils import CommandTestCase, ConfigFixture class CommandQuotaTests(CommandTestCase): @mock.patch.object(YouService, "get_quota_usage") @mock.patch.object(YouService, "quota...
[ "chris@komposta.net" ]
chris@komposta.net
fade5770d0d1f831c23cc2358f0489cb1ba70604
26e2f32669424f0e48a1206aa3b398c5404c43a3
/col/codegen.py
9e00e44bf286066ede2cdd0ea0484ebf2146ab3c
[]
no_license
d2verb/col
7ec104c8a78f70503821d01feee3d73a73956219
49deb9c098e8e56365c7a4bd68a2cc8b519011ed
refs/heads/master
2020-03-26T17:05:19.919058
2018-08-18T16:29:48
2018-08-18T16:29:48
145,140,899
0
0
null
null
null
null
UTF-8
Python
false
false
5,504
py
class CodeGenerator: def emit_expression(self, n): expr_type = n[0] if expr_type == "binop": self.emit_binop(n[1:]) elif expr_type == "num": print("push {}".format(n[1])) elif expr_type == "lcl": lcl_no = n[1] print("mov rax, qword ptr ...
[ "licprog73@gmail.com" ]
licprog73@gmail.com
87b61ab79ea2e0d19563e98bd2c50283f6e2da98
6c44aa08cdac167f150fa5e08aa3a2d0efd22fbd
/clearbyte/urls.py
40735a8fec3c632267a9474a85807e6c02d9f487
[]
no_license
sumansai14/clearbyte
acaca0d194dfbca0a542301a622f44dbc122a325
f960a1a898ccbc79ed5cdc4cf213f09232f94921
refs/heads/master
2022-12-11T18:10:38.239032
2017-07-31T06:42:13
2017-07-31T06:42:13
98,814,570
1
0
null
2022-11-22T01:47:56
2017-07-30T17:44:43
JavaScript
UTF-8
Python
false
false
571
py
from django.conf.urls import include, url from django.contrib import admin from clearbyte.web.home import HomeView from clearbyte.api.views.company import CompanyViewSet from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'api/company', CompanyViewSet) urlpatterns = [ # Exam...
[ "suman.sai14@gmail.com" ]
suman.sai14@gmail.com
a7d44dbc3172c0b18482cbe972cbced3d85a9b38
66a9c0e23af1fab7f3c0b2f0cd6b8c6ac060b1d7
/models/image_segmentation/tensorflow/3d_unet/inference/fp32/unet3d/prediction.py
0810e632e699bbe4be9e3f11c215749c1247f453
[ "MIT", "Apache-2.0" ]
permissive
hekaplex/resnet_dl
ea289864b330bfa74996444d0325f1a062feae59
fc8d4dcc0adffbe22d01d333e6cf5db955f2f011
refs/heads/master
2023-04-15T06:03:18.696578
2021-05-05T14:18:13
2021-05-05T14:18:13
364,602,036
0
0
null
null
null
null
UTF-8
Python
false
false
16,846
py
import os import nibabel as nib import numpy as np import tables import time import math from .training import load_old_model from .utils import pickle_load from .utils.patches import reconstruct_from_patches, get_patch_from_3d_data, compute_patch_indices from .augment import permute_data, generate_permuta...
[ "archaeus@hekaplex.com" ]
archaeus@hekaplex.com
5ac6f457fbea4f21049f88ebb23c042bab80df18
0401cca613fdc4e081ea652db96a141736a4a6f0
/module1/imbasics.py
9ce2f1f84a58b4e5ae781dc5d48ca72420f99456
[]
no_license
jerryderry/pyimagesearchstudy
8e115bfde89d3a191e481a3229ea0b55eea65b25
c1589c5f3a3e693e61aeb538b4173dc3f981877e
refs/heads/master
2020-03-22T08:07:31.947482
2018-07-04T16:57:38
2018-07-04T16:57:38
139,746,292
2
0
null
null
null
null
UTF-8
Python
false
false
2,323
py
import numpy as np import cv2 def translate(image: np.ndarray, x: float, y: float) -> np.ndarray: """Translate an image with x pixels horizontally and y pixels vertically. """ # Construct the translation matrix M = np.array([[1, 0, x], [0, 1, y]], np.float32) shifted = cv2.warpAffine(image, M,...
[ "dongwenru.aaron.shenyang@gmail.com" ]
dongwenru.aaron.shenyang@gmail.com
eb3fcb5b6dc03640793c9cfd06e08435cf4164fa
1f26dc9f4fd76bdf8b684727a6160703b3fff75f
/taxi,cab booking by Abhijeet/files/python/customer_update.py
476bc07072972b34757d503241a070f660a9cd84
[]
no_license
abhizit98/taxi
c6a44b0d7f6b25f9aae5d27be1002a18c45b7302
54333c71fd17e8048724fcfbe195eca6692611b7
refs/heads/main
2023-04-18T14:30:35.250878
2021-05-06T06:45:48
2021-05-06T06:45:48
364,810,587
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
#!C:\Python34\python.exe import cgi import cx_Oracle print('Content-type: application/json\r\n\r\n') con=cx_Oracle.connect('cbs/apss@localhost/xe') cur=con.cursor() data=cgi.FieldStorage() sts=-1 cid=data.getvalue('cid') name=data.getvalue('name') gender=data.getvalue('gender') dob=data.getvalue('dob')...
[ "noreply@github.com" ]
noreply@github.com
e2c8bbd3422f404804ca4a5b2183623bd2d0fc02
bbe7d6d59ef6d7364ff06377df9658367a19c425
/coghq/DistributedBattleFactory.py
9cbf5b835ad112cda6c82c2ab13e8a87022244ce
[ "Apache-2.0" ]
permissive
DedMemez/ODS-August-2017
1b45c912ad52ba81419c1596644d8db2a879bd9b
5d6214732e3245f63bfa250e3e9c881cc2dc28ad
refs/heads/master
2021-01-22T18:37:51.626942
2017-08-19T02:04:51
2017-08-19T02:04:51
100,762,513
0
8
null
null
null
null
UTF-8
Python
false
false
2,513
py
# Fuck you Disyer. Stealing my fucking paypal. GET FUCKED: toontown.coghq.DistributedBattleFactory from panda3d.core import Filename from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * from toontown.coghq import DistributedLevelBattle from direct.directnotify import DirectNotifyGl...
[ "noreply@github.com" ]
noreply@github.com
b58d66a8d2f1d7ef2c13d88d6f0077b8ee4fb966
a7d9c0e2d3e853fc8a3543b5e81047fb61bb5ec3
/UI/UI.py
30098232865049afa6fe1322a34aa41c5b57481f
[]
no_license
alecrisan/Planes
ea445e5bec372bc8d14bb765f808a49c6c83d131
8d4def0e77a882f29883bf8c935b29b798358977
refs/heads/master
2020-04-29T04:46:06.327216
2019-03-15T16:46:56
2019-03-15T16:46:56
175,858,079
0
0
null
null
null
null
UTF-8
Python
false
false
4,769
py
''' Created on Jan 5, 2018 @author: Ale ''' from domain.GamePlay import * class UI: def __init__(self): self.game = GamePlay() def start(self): turn = "user" userBoard = self.game.userBoard userHitsBoard = self.game.userHitsBoard computerBoard = self.game....
[ "Ale@Crisans-MacBook-Air.local" ]
Ale@Crisans-MacBook-Air.local
6bd3295d27f377bb3ae91cf7f7f0ad42b8a46e60
bd498cbbb28e33370298a84b693f93a3058d3138
/Inspur/benchmarks/dlrm/implementations/implementation_closed/tests/buckle_embedding_test.py
6f8033a42903ebcd748ea9664764bac2d035a03e
[ "Apache-2.0" ]
permissive
piyushghai/training_results_v0.7
afb303446e75e3e9789b0f6c40ce330b6b83a70c
e017c9359f66e2d814c6990d1ffa56654a73f5b0
refs/heads/master
2022-12-19T16:50:17.372320
2020-09-24T01:02:00
2020-09-24T18:01:01
298,127,245
0
1
Apache-2.0
2020-09-24T00:27:21
2020-09-24T00:27:21
null
UTF-8
Python
false
false
2,042
py
"""Tests for buckle embedding""" from absl.testing import absltest import torch from torch import nn from dlrm.nn import BuckleEmbedding # pylint:disable=missing-docstring, no-self-use class DistEmbeddingBagTest(absltest.TestCase): def test_smoke(self): test_buckle_embedding = BuckleEmbedding([3, 5, 7,...
[ "vbittorf@google.com" ]
vbittorf@google.com
aee1d74c8217a3cca60270e7502379436c873ee6
e2a604ed80159970df34f4349b539b0a4ca8647e
/6_User/user/urls.py
8d51e4f150b3f2e6c2b2833ec48c79f6d86d6dc3
[]
no_license
likelion-kookmin/Django-tutorial
1ae04203283c10b9525fc05c4b5e9c762f5705a1
216bb0ccde5a5fd21832ded9ff8ea5fc063e0e7d
refs/heads/master
2022-04-11T22:32:12.414883
2020-03-29T10:25:32
2020-03-29T10:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from django.urls import path from . import views urlpatterns = [ path('signup/', views.sign_up, name='sign_up'), path('login/', views.log_in, name='log_in'), path('logout/', views.log_out, name='log_out'), ]
[ "inth8204@gmail.com" ]
inth8204@gmail.com
d2284ad337eae9f26fc7964e3abf7ba0fc94a57b
c66e9277898da27d9d56fab1ac5fcdc772f57f4a
/tests/generation/test_tf_utils.py
d6a4d5280ab8922ec612df0e441231f368f7d60b
[ "Apache-2.0" ]
permissive
vumichien/transformers
47901c895cd3ce8a7c30f691dcb40bdfe7fc4030
75a208ef66c0176fc12a4c98922728ced5befbf9
refs/heads/main
2023-02-26T03:57:52.930111
2023-02-10T22:28:24
2023-02-10T22:28:24
238,600,337
1
0
Apache-2.0
2020-02-06T03:34:11
2020-02-06T03:34:10
null
UTF-8
Python
false
false
9,274
py
# coding=utf-8 # Copyright 2022 The HuggingFace Team Inc. # # 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 clone of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "noreply@github.com" ]
noreply@github.com
1d84fed8cae614abde6966182b150258151729fa
a74613ecd2ed4f486a246c04c51b45049ccb3b1b
/socket-programming/tcp_client_server/client.py
75bc2c4aa92d2e24fedca641d4f696bc2b30c481
[]
no_license
tezp/Python-projects
b490503ebcfc95fc376b16f254c0d59635e9db51
d506da360c523d89fbb3a706a35e9f066da3e644
refs/heads/master
2020-04-05T22:04:21.549474
2019-12-13T16:15:05
2019-12-13T16:15:05
157,243,794
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
import socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.connect((socket.gethostbyname("127.0.0.1"), 1133)) while True: sock.send("Tejprakash".encode()) print(sock.recv(1024).decode())
[ "noreply@github.com" ]
noreply@github.com
5758334cca051ae5c6fa93e6d0507606d9d5ce9a
74b5f75aa456150dc9cb47b8f39a35f101d62a29
/figure_13_1.py
423c017c9ef40c37f18c4f3e2157bc859ba5b337
[]
no_license
freyreeste/chapter_13_figures
dba2d7c0451c370d8c60b31f1acafaa6665c0732
ea1ea2d516911ef7ad848459b0a6bdda4fb5780e
refs/heads/master
2022-04-14T11:26:02.360253
2020-03-28T03:52:31
2020-03-28T03:52:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,380
py
''' This script requires Python 3.7.0 and the following packages: numpy==1.16.3 matplotlib==3.0.3 (for plotting results) joblib==0.13.2 (for running experiments in parallel) scipy==1.3.1 (for computing error bars) ''' import argparse import os.path import numpy as np import scipy.stats as st import matplotlib.pyplot ...
[ "graves@ualberta.ca" ]
graves@ualberta.ca
584a453fdffce2504b2091c3145eef7a59b09c11
0f60c90f34a47962ba2fe1b454bb69e6d502253c
/notebook/pylinac/kv_phantom/pylinac/__init__.py
3572044767f45e8b6415868807bda51ac948d890
[ "MIT" ]
permissive
1059444127/Jupyter
dd501e84fe5ae9cf423c3809f7335ee5a8259256
50aa22d6a1c478be05a335e8c6cebb2d2f1015a4
refs/heads/master
2023-08-16T14:47:26.100937
2021-10-26T19:53:14
2021-10-26T19:53:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import sys __version__ = '2.3.2' __version_info__ = (2, 3, 2) # check python version if sys.version_info[0] < 3 or sys.version_info[1] < 6: raise ValueError("Pylinac is only supported on Python 3.6+. Please update your environment.") # import shortcuts from pylinac.ct import CatPhan504, CatPhan600, CatPhan503, ...
[ "carlosqueiroz@live.com" ]
carlosqueiroz@live.com
11b5ad683134ad8b05c87abf40a8a09968e574ae
bf0aa689b92be1df24100e8581caab59a74e31db
/src/GTCv3/equilibrium.py
b7b44d3cb1e7b03643192de3efb5baa4b70e4d3c
[ "MIT" ]
permissive
shmilee/gdpy3
d7c689a70557534baa98595092cee0d737ea93cc
cdebb80dbb4a4d84ffa7115d8f18b5589fd40fb2
refs/heads/master
2023-08-19T22:42:40.305085
2023-08-15T02:11:15
2023-08-15T03:11:04
88,051,033
9
3
null
null
null
null
UTF-8
Python
false
false
12,669
py
# -*- coding: utf-8 -*- # Copyright (c) 2019-2020 shmilee ''' Source fortran code: eqplot.F90, subroutine eqplot 1. first part, 1D radial plots, datap(lsp),data1d(lsp) write(ieq,101)nplot,nrad write(ieq,102)datap !!! 1 write(ieq,102)data1d ... !!! 29 write(ieq,102)data1d 2. second part, 2D contour pl...
[ "shmilee.zju@gmail.com" ]
shmilee.zju@gmail.com
21f90cf761ed27de60b2f3a5a059e88edb7562ee
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_hatchet.py
3ee3633a64a58ccd19ae48252680d868a128cd59
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
#calss header class _HATCHET(): def __init__(self,): self.name = "HATCHET" self.definitions = [u'a small axe (= tool with a blade that cuts when you hit things with it)'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = [], ob...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a8aa23bdab8f192dd86a7c7115adc91521b3a4d5
365609eab603486008b7eef9b2ede77adcac0d0c
/dataset/__init__.py
05eefa22eb4c0ddb6b3f89e73ae9c2175d04729c
[]
no_license
dangchenyu/break_light-recognition
8e78c0dd0ec332c3cf617caf679cdfa685cee3de
293e8538df046acf684237caf7dd9611ebe79fb1
refs/heads/master
2020-08-03T12:59:09.296324
2019-09-30T02:34:02
2019-09-30T02:34:02
211,760,204
0
0
null
null
null
null
UTF-8
Python
false
false
19
py
from .tail import *
[ "dcy0921@outlook.com" ]
dcy0921@outlook.com
f9b2fd0e0bafe30b58659dc529d13bf70ff50426
b3ebe2a3869ab1b580d293d97f58340f8bd4a496
/algorithms/SumRecursive.py
0140f620441c994acf96deba892e983ae3f24a65
[]
no_license
GhostOsipen/pyRep
53ba2e0d2cd67fcd40983d49e5e4a9c071ff1cd7
6f02346962985d9681933a1bf02a21f41c1a2e6e
refs/heads/main
2023-05-14T03:29:24.622368
2021-06-04T06:42:46
2021-06-04T06:42:46
343,307,088
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
def sum_recursive(nums: list) -> int: return nums[0] if len(nums) == 1 else nums[0] + sum_recursive(nums[1:])
[ "59918711+GhostOsipen@users.noreply.github.com" ]
59918711+GhostOsipen@users.noreply.github.com
46fa3d6d352187a6ff318e34f9a8fe672f033c25
a0d16eb0bc4e90663b5128e8347b468e45250d1c
/tests/core/endpoints/test_eth_block_number.py
398fce3c774725f7d6e1eecdc1fcd52ac21b236f
[ "MIT" ]
permissive
voith/eth-tester-rpc
e3fc2d81354a0d2d1c2e0df56ac56ac49f4f3a1c
080ec9afe6995940538311c3e28398afd568b7ad
refs/heads/master
2021-06-09T03:55:15.349057
2020-11-26T21:11:56
2020-11-26T21:11:56
144,027,884
3
5
MIT
2020-11-26T21:08:39
2018-08-08T14:46:17
Python
UTF-8
Python
false
false
162
py
from tests.utils import ( hex_to_int, ) def test_eth_blockNumber(rpc_client): result = rpc_client('eth_blockNumber') assert hex_to_int(result) == 0
[ "voithjm1@gmail.com" ]
voithjm1@gmail.com