blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
0002d3163f51a591e082bea0f4df9e81611e7206
34f365117eb1d846fa922c24f3fc650188ce9746
/bin/utils/sequence.py
183102167a5709120afbc0bc54feafb86ea332c7
[ "MIT" ]
permissive
PinarSiyah/NGStoolkit
53ac6d87a572c498414a246ae051785b40fbc80d
b360da965c763de88c9453c4fd3d3eb7a61c935d
refs/heads/master
2021-10-22T04:49:51.153970
2019-03-08T08:03:28
2019-03-08T08:03:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,180
py
import os import re import itertools kDNAcomplementaryDictionary = { 'A':'T', 'T':'A', 'G':'C', 'C':'G', 'a':'t', 't':'a', 'g':'c', 'c':'g', 'n':'n', 'N':'N', 'x':'x', 'X':'X', 'B':'V', 'V':'B', 'D':'H', 'H':'D', 'b':'v', 'v':'b', 'd':'h', 'h':'d' } kDNAmotifDictionary = { 'A': '(A)', 'C': '(C)', 'G': '(G)', ...
[ "adebali@users.noreply.github.com" ]
adebali@users.noreply.github.com
686ed98c0c83aab69d32751a7e1ee432f24cb9c5
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/unsignedByte/Schema+Instance/NISTXML-SV-IV-list-unsignedByte-enumeration-3-3.py
515d542aab62b7726e3fe393ce2aa53cc310e278
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
590
py
from output.models.nist_data.list_pkg.unsigned_byte.schema_instance.nistschema_sv_iv_list_unsigned_byte_enumeration_3_xsd.nistschema_sv_iv_list_unsigned_byte_enumeration_3 import NistschemaSvIvListUnsignedByteEnumeration3 from output.models.nist_data.list_pkg.unsigned_byte.schema_instance.nistschema_sv_iv_list_unsigned...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
a2a1b25a406be4c32f700974bc2e77e29b000f5e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03263/s638044898.py
aca586ad7e995599f181cdca99a5678b4193e6cb
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
#!/usr/bin/env python3 def main(): h, w = map(int, input().split()) a = [] for i in range(h): l = list(map(int, input().split())) a.append(l) hold = False opers = [] for i in range(h): jlist = range(w) if i % 2 == 0 else reversed(range(w)) for j in jlist: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4dd2c8c46704238c877738443ca12e3a552f4e01
19a32440205b2caeec67c73c10d917b5fb30a86a
/isi_sdk/models/node_status_node_powersupplies.py
20b82a1b07043cdccaa31552f8993086664d7cdd
[ "MIT", "Apache-2.0" ]
permissive
marrotte/isilon_sdk_python
480e84312f5924a506aeb09c9c7cae79a2b9b7f4
91039da803ae37ed4abf8d2a3f59c333f3ef1866
refs/heads/master
2020-03-23T07:31:40.376316
2016-06-07T23:44:31
2016-06-07T23:44:31
141,277,076
1
0
MIT
2018-07-17T11:02:08
2018-07-17T11:02:08
null
UTF-8
Python
false
false
7,209
py
# coding: utf-8 """ Copyright 2016 SmartBear Software 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 applica...
[ "Alex.Pecoraro@isilon.com" ]
Alex.Pecoraro@isilon.com
c9a6279abc5bbbe47bfd78e2aaa4472320ded720
cb836bde47c790c7ad990d44d86d60c13f43a2a0
/tests/test_front_matter/test_fixtures.py
753ab84b13543b423619d17cdd0a5044e91f398d
[ "MIT" ]
permissive
iooxa/markdown-it-py
133028a981af715ce244554e26b92b16fc4443ac
21837dfa0ce9be249de372bb10733a534f8e0a50
refs/heads/master
2022-11-19T14:23:23.618106
2020-07-20T15:57:16
2020-07-20T15:57:16
281,160,226
0
0
MIT
2020-07-20T15:57:17
2020-07-20T15:50:02
null
UTF-8
Python
false
false
1,121
py
from pathlib import Path import pytest from markdown_it import MarkdownIt from markdown_it.token import Token from markdown_it.utils import read_fixture_file from markdown_it.extensions.front_matter import front_matter_plugin FIXTURE_PATH = Path(__file__).parent.joinpath("fixtures.md") @pytest.mark.parametrize("li...
[ "chrisj_sewell@hotmail.com" ]
chrisj_sewell@hotmail.com
d70c9b37408427fe4e27a2193e12b0cb024391e7
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/485/usersdata/295/113897/submittedfiles/AvF_Parte2.py
d66e0c7195ff2c6139496eebac9998679d147964
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
# -*- coding: utf-8 -*- x = 0 a = 80000 + 0.03*x b = 200000 + 0.015*x x = 120000000/15 print(int(x))
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
de9d5765233a4292c17484d27337ef030fa50a51
cd486d096d2c92751557f4a97a4ba81a9e6efebd
/16/addons/plugin.video.moviedb/resources/modules/streamlic.py
e44ebd89b27d940d7d634baf9d47613a053953e5
[]
no_license
bopopescu/firestick-loader-kodi-data
2f8cb72b9da67854b64aa76f720bdad6d4112926
e4d7931d8f62c94f586786cd8580108b68d3aa40
refs/heads/master
2022-04-28T11:14:10.452251
2020-05-01T03:12:13
2020-05-01T03:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,846
py
import urllib,urllib2,re,cookielib,string,sys,main import xbmc, xbmcgui, xbmcaddon, xbmcplugin from addon.common.addon import Addon import datetime import time import os from resources.modules import live from addon.common.net import Net net = Net() addon_id = 'plugin.video.moviedb' ADDON=xbmcaddon.Addon(id='plugin.vid...
[ "esc0rtd3w@gmail.com" ]
esc0rtd3w@gmail.com
83fb2472aaf42e8255c4187696d8e3b37424f71f
e40e940d7115319dec45778f36abd96628e178c0
/main.py
ab16a3bdc46e575c46f8559a163129d1c4de8fd6
[]
no_license
mcnigno/CRM5
a270348c978c306ecf5373c322102d2186943d98
3bf3367dd1a21e7765491fedb235dc0b46b492e0
refs/heads/master
2023-03-20T09:07:00.082906
2021-02-18T00:45:06
2021-02-18T00:45:06
339,892,754
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
#from openpyxl import load_workbook import pymysql.cursors import pymysql.connections ''' 'db_user_name' => 'suite_user', 'db_password' => 'lollipop300777', 'db_name' => 'suitecrm', ''' # Open database connection db = pymysql.connect("localhost","suite_user","lollipop300777","suitecrm" ) # prepare a cursor object usin...
[ "mcnigno@gmail.com" ]
mcnigno@gmail.com
e7af8519a02bd7d07e3b75543e71242433d74d8e
b708cf2c5145d68fbc45c736568fe152e7dec27e
/apps/coupon/apps.py
e7fd88df6f24f0f0cf913afe464c463c3439a364
[]
no_license
stillnurs/dropshipper-django-vue
56036ebf705d91aea58492344d57c2d94ee6c368
becad05d44342598b4c1f8fba7d19bc6223d6c57
refs/heads/main
2023-05-03T08:34:35.771909
2021-05-23T12:15:15
2021-05-23T12:15:15
369,894,968
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.apps import AppConfig class CouponConfig(AppConfig): name = 'apps.coupon'
[ "noorsultan.mamataliev@gmail.com" ]
noorsultan.mamataliev@gmail.com
b4f531825f905551f9fcf336c67d0c8dcff83f96
7be8ca6c69a6cdb058622b873a3041c1c3da933d
/tests/testlibraries/process_pool_executor_simulator.py
f5ed1d4d36a4c6ef04dee6e52e46b5a6cad4f131
[ "MIT" ]
permissive
UiSkngs/asyncffmpeg
32eb1bf4ae1bc10545710513e5acc06479bc9531
1980aec3065b19cd9d0fffacf1953327062818b8
refs/heads/main
2023-07-25T06:47:26.769867
2021-08-16T07:59:39
2021-08-16T07:59:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,279
py
""" To collect coverage in except KeyboardInterrupt block. Since coverage.py can't trace asyncio.ProcessPoolExecutor. see: https://github.com/nedbat/coveragepy/issues/481 """ from __future__ import annotations import multiprocessing import os import signal from contextlib import AbstractContextManager from queue impor...
[ "yuk.hik.future@gmail.com" ]
yuk.hik.future@gmail.com
2943b69fd115c5c2593699f786191bb5c63dc248
7a802b124aa2c242106afb58272376fd0eae1830
/telethon/client/uploads.py
cd38d0248aad22b0cc18831386f5621d0757dd03
[ "MIT" ]
permissive
mercuree/Telethon
fe38da623b8d4ea16d2a8cda05f3f9db223b03f7
baedd101104b44c6b11f47d8a1fb48882372e626
refs/heads/master
2020-03-21T22:58:48.567672
2018-06-29T11:20:45
2018-06-29T11:23:56
139,158,952
1
1
null
null
null
null
UTF-8
Python
false
false
21,105
py
import hashlib import io import logging import os import pathlib import re from io import BytesIO from mimetypes import guess_type from .messageparse import MessageParseMethods from .users import UserMethods from .. import utils, helpers from ..tl import types, functions, custom try: import hachoir import hac...
[ "totufals@hotmail.com" ]
totufals@hotmail.com
6309303905f936bb5f3ff1890c831903540095ac
28576c22f2eeecfc67a0919254258737598f77a2
/python/hamcalc/stdio/stairs.py
52296ee3cd42ee1ac9843c0983b25efaeb33792e
[]
no_license
slott56/HamCalc-2.1
5e3b40b302c13569806fe2f18734e639b17a988e
382724dfcad867ed8c4134a93a6bbc1c83dc306b
refs/heads/master
2020-04-25T21:55:51.298097
2013-07-16T13:24:33
2013-07-16T13:24:33
9,798,987
3
0
null
null
null
null
UTF-8
Python
false
false
9,569
py
"""Stairs And Stairways """ import hamcalc.construction.stairs as stairs from hamcalc.lib import AttrDict, convert from hamcalc.stdio import * class Display_Template: """Overall stair design superclass. Each of the six subclasses will extend or modify this in some way to customize it for a specific de...
[ "slott56@gmail.com" ]
slott56@gmail.com
c96fb11bb7390e2178a31eeb5b1f5135bf8a1ced
d076c40c36685a985958c5ba7e14761a966cf333
/2019/binary_tree/all_elements_in_two_binary_search_tree_1305.py
8d4fdf6f7c83f5319dce62f61f0321b6616105ee
[]
no_license
yehongyu/acode
e65eb230210c657b8c5e4d5928cbe9437f77d717
176cc1db3291843fb068f06d0180766dd8c3122c
refs/heads/master
2023-04-20T14:27:45.123969
2021-05-08T04:36:39
2021-05-08T04:36:39
365,412,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
# Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def convert(self, root, arr): if root == None: return if root.left: self.convert(root.left, arr) ...
[ "aodandan@bytedance.com" ]
aodandan@bytedance.com
f20f5f23850b1d93f637e277a17a321aea5d1627
fc04e5a30e765ceba3c804750fd5bf5090727ae4
/tds/base.py
b02b291a88ff62c83cf26a967891c5588ae633c5
[ "MIT" ]
permissive
by46/geek
7514b6b55ae9040553e1f52078dbcd1c7ed29250
04b08d0dff80c524bd471ead3fe524423eebf123
refs/heads/master
2020-04-12T08:01:59.273455
2018-01-26T06:43:54
2018-01-26T06:43:54
32,636,257
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
import struct from io import BytesIO class StreamSerializer(object): TOKEN_TYPE = 0x00 def __init__(self): self.buf = BytesIO() def marshal(self): """ serialize into tds stream bytes stream :return: """ message = self.buf.getvalue() ...
[ "ycs_ctbu_2010@126.com" ]
ycs_ctbu_2010@126.com
1f4eed678bd70a60641130a74b0b24fbcd2ff619
49a167d942f19fc084da2da68fc3881d44cacdd7
/kubernetes_asyncio/test/test_policy_v1beta1_allowed_host_path.py
bcaf7acc3c77dbec2b40785121dddf4f9e3a40c6
[ "Apache-2.0" ]
permissive
olitheolix/kubernetes_asyncio
fdb61323dc7fc1bade5e26e907de0fe6e0e42396
344426793e4e4b653bcd8e4a29c6fa4766e1fff7
refs/heads/master
2020-03-19T12:52:27.025399
2018-06-24T23:34:03
2018-06-24T23:34:03
136,546,270
1
0
Apache-2.0
2018-06-24T23:52:47
2018-06-08T00:39:52
Python
UTF-8
Python
false
false
1,096
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: v1.10.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import u...
[ "tomasz.prus@gmail.com" ]
tomasz.prus@gmail.com
77ffaa46ea3e89974a181785ff5d5ef786d01608
04803c70bb97012b7d500a177ac0240fb2ddbe38
/blend4_pdep/pdep/network391_1.py
6d8f40939ab7d1c16e909886698a88809cff45a2
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
97,639
py
species( label = 'S(801)(800)', structure = SMILES('C1C=CC2C=C(C=1)O2'), E0 = (8.87563,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([2750,2830,2910,2990,3070,3150,900,940,980,1020,1060,1100,300,800,800,800,800,800,800,800,800,800,800,800,1600,1600,1600,1600,1600,1600,1600,1600,1600,1600,...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
1b6d8c9f6f90221f92ee1ea783c4a5f853f20ffa
be55991401aef504c42625c5201c8a9f14ca7c3b
/python全栈3期/线程/生产者消费者模型--通知模式.py
d31d5c8e3edb34c576b559376b743f8c09647b48
[ "Apache-2.0" ]
permissive
BillionsRichard/pycharmWorkspace
adc1f8bb15b58ded489fc8dec0df397601823d2c
709e2681fc6d85ff52fb25717215a365f51073aa
refs/heads/master
2021-09-14T21:12:59.839963
2021-08-08T09:05:37
2021-08-08T09:05:37
143,610,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,040
py
# encoding: utf-8 """ @version: v1.0 @author: Richard @license: Apache Licence @contact: billions.richard@qq.com @site: @software: PyCharm @file: 生产者消费者模型.py @time: 2018/5/27 17:05 """ from pprint import pprint as P import time,threading,queue,random q = queue.Queue() def producer(name): count = 0 ...
[ "295292802@qq.com" ]
295292802@qq.com
aa3a80d6e3956e20fb433b2065c5517375a5a2c5
30898d9eae9eb20c418209df29d5b06cedf7430f
/AnswerIt/Accounts/urls.py
9e0f81523f13c505e3226b4c1dc5526f6107607d
[]
no_license
Siddhant552/answerit
e097ab4f254d66d1f133f07788a4aed894e2298c
388c162b31ea14337c56518368b51f1b0b949c96
refs/heads/master
2023-07-03T20:30:51.234966
2021-08-03T09:16:36
2021-08-03T09:16:36
392,255,836
0
0
null
null
null
null
UTF-8
Python
false
false
1,764
py
from django.urls import path from Accounts import views app_name = 'Accounts' urlpatterns = [path('register/', views.register, name = "register"), path('user_login/', views.user_login, name = "user_login"), path('user_logout/', views.user_logout, name = "user_logout"), pat...
[ "abc@gmail.com" ]
abc@gmail.com
74393e47f4c70270604d0b2804fd8c64d1c7cbe1
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2373/60870/289838.py
cc6cbb6f281332204eb9b7b11a6527cac3d13385
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
682
py
def maxMoney(array, res1, res2): res1_list = [] res1 = res1 + array[0] res1_list.append(res1) for i in range(2, len(array)): res1_res = res1 + maxMoney(array[i:], 0, 0) res1_list.append(res1_res) for i in range(1, len(array)): res2_res = res2 + maxMoney(array[i:], 0, 0) ...
[ "1069583789@qq.com" ]
1069583789@qq.com
908ded34b70a62801246fa0ff3f74993dd2164e5
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Gonal-f_WC500023748.1.py
5f763ab3e2c228113155b165b896e0341738a7b5
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,794
py
{'_data': [['Very common', [['Nervous system', u'Huvudv\xe4rk'], ['Reproductive system', u'Ovariella cystor'], ['General', u'Reaktioner p\xe5 injektionsst\xe4llet (t.ex. sm\xe4rta, rodnad, bl\xe5m\xe4rke, svullnad och/eller irritation p\xe5 injektionsst\xe4llet) Behan...
[ "daro@daro-ThinkPad-X220.(none)" ]
daro@daro-ThinkPad-X220.(none)
0505efb0c9652fb90f5fec96eecdfda7131d7340
6f7485ddf9c9ee0924f9bad02e856711cb2bf779
/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/standard_source_test.py
0236ae0544ebe2e5a347a7a59183f964836c1393
[ "MIT" ]
permissive
MinjaMiladinovic/airbyte
dd524441bbf04d99c783a7936719a53cca3ac95e
0326c427207af3c4b6d4e182ecf6385d8d4ba856
refs/heads/master
2023-04-06T09:43:53.835592
2023-03-16T08:52:36
2023-03-16T08:52:36
333,698,758
0
1
MIT
2023-03-02T09:29:55
2021-01-28T08:48:01
Java
UTF-8
Python
false
false
1,209
py
""" MIT License Copyright (c) 2020 Airbyte 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, publish, distr...
[ "noreply@github.com" ]
MinjaMiladinovic.noreply@github.com
0044fb956edf0cf947f049534a15ad4a1c323b81
20a3cc1106fa86fc2d45cd1728cc87d5db97e1f7
/dbm/inpaint/learn_norb_prepro_global.py
e4824e74cfd183fe21e1a3c06f1123854bf1087b
[]
no_license
sarahboufelja54/galatea
f5664f0b3117629b2c5bbe078a1bd52bb5e359e6
002a9f2905868be25b71770190fb2d5eda11c861
refs/heads/master
2020-12-04T13:45:07.697189
2018-12-12T16:27:09
2018-12-12T16:27:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from pylearn2.datasets.norb_small import FoveatedNORB dataset = FoveatedNORB(which_set='train') from pylearn2.datasets.preprocessing import Standardize standardize = Standardize(global_mean=True, global_std=True) standardize.apply(dataset, can_fit=True) from pylearn2.utils import serial serial.save("norb_prepro_gl...
[ "goodfellow.ian@gmail.com" ]
goodfellow.ian@gmail.com
0fb4532f039ae00664eb4f94bd3b49dbccc27ebb
a97db7d2f2e6de010db9bb70e4f85b76637ccfe6
/leetcode/1026-Maximum-Difference-Between-Node-and-Ancestor.py
1f17f991cd8183b4cf271da43f2a57b44d621330
[]
no_license
dongxiaohe/Algorithm-DataStructure
34547ea0d474464676ffffadda26a92c50bff29f
a9881ac5b35642760ae78233973b1608686730d0
refs/heads/master
2020-05-24T20:53:45.689748
2019-07-19T03:46:35
2019-07-19T03:46:35
187,463,938
0
1
null
null
null
null
UTF-8
Python
false
false
382
py
class Solution(object): def maxAncestorDiff(self, root): def dfs(node, low, high): if not node: return high - low else: high = max(high, node.val) low = min(low, node.val) return max(dfs(node.left, low, high), dfs(node.right, low, high)...
[ "ddong@zendesk.com" ]
ddong@zendesk.com
796f4fcf8af8983edc54026cfabf15df0349b79f
7fdb54681f4d83bd1135f0da20d6f858f755b971
/Tutorial/p0_Shapes_parametric.py
b7c9e1b4374ee61ab4d30c00a1beb491eb60c0f6
[ "MIT" ]
permissive
miriamhille/manim
385da4ef0fdf828690ae8c54c4c59f873cedaf42
af3a8d5809b0f8ac579dbfa02b223efd16987e06
refs/heads/master
2020-04-30T23:56:43.328357
2019-03-22T14:26:33
2019-03-22T14:26:33
177,155,840
0
0
null
2019-03-22T14:33:25
2019-03-22T14:33:25
null
UTF-8
Python
false
false
856
py
from big_ol_pile_of_manim_imports import * class Shapes(Scene): CONFIG ={ "color": BLUE, "run_time" :6 } def construct(self): print("Start") dot = Dot() moving_dot= Dot(color=RED) self.add(dot) for order in range(3,4): self.para_func= lamb...
[ "jan-hendrik.mueller@gmx.net" ]
jan-hendrik.mueller@gmx.net
ba0106c4f5d8de2966869cba9e9164485c7a3bfb
4f83471a669772731a7b1781d46be6c4eba7ef33
/脚本化爬虫/SSM/SSM/settings.py
e8c805254727298bb7bfd0922b454870b5e57570
[]
no_license
odtu945/LiuFan_Spider
19a5eb08ebafc5865931bdf96aea2b9dd436a614
848b3aff4754c102491b201684858c3f116ff90b
refs/heads/master
2022-01-05T10:12:32.085245
2019-03-24T02:30:38
2019-03-24T02:30:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,894
py
""" Django settings for SSM project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import...
[ "liufan.dery@gmail.com" ]
liufan.dery@gmail.com
3c7e5df71d445e9ce4f43aaf908a1d1e2f93bcc1
bc28c8d355be102e57a82d5c1d3db86afacd956c
/Examples/TYPETR/Bitcount/scripts-in-progress/ShadowPixels.py
c7d1d466346c01e8dd2dad369d0d401b34b6c0dc
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pathumego/PageBot
3d194f7b68d928e69bc8e7c0e26e1e49fae517d2
88023d21392f41a5c53ca0b8051a917fb592cf7b
refs/heads/master
2021-07-20T15:32:45.723589
2017-10-24T03:02:12
2017-10-24T03:02:12
109,038,879
1
0
null
2017-10-31T18:47:33
2017-10-31T18:47:33
null
UTF-8
Python
false
false
4,345
py
from random import shuffle GLYPHNAMES = ['Instance@Bold_Circle', 'Instance@Bold_Line_Circle', 'Instance@Bold_Line_Square', 'Instance@Bold_Plus', 'Instance@Bold_Square', 'Instance@Book_Circle', 'Instance@Book_Line_Circle', 'Instance@Book_Line_Square', 'Instance@Book_Plus', 'Instance@Book_Square', 'Instance@Light_Circl...
[ "buro@petr.com" ]
buro@petr.com
6d62966fb34a57dd2d6b89f52e77706e8254e9bd
450c27ee64ab60f9cf842eaddda52279012d7885
/0x06-python-classes/6-square.py
3333aa937135b961d4bb60c373ccd0acdd223ffa
[]
no_license
dacorredor11/holbertonschool-higher_level_programming
5a2805d62736021d26c0731085ad251bf58d45f6
85e54b116fbf359909cad39698ca09945cb639e1
refs/heads/master
2022-12-16T19:43:21.508586
2020-09-25T03:48:23
2020-09-25T03:48:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,997
py
#!/usr/bin/python3 """This module creates a Class Square""" class Square: """Class Square with a constuctor method""" def __init__(self, size=0, position=(0, 0)): """ Initializes square Args: size: size for __size attribute position: position for __position at...
[ "vidmore8@gmail.com" ]
vidmore8@gmail.com
4320547ece30478b8861f38aa571eaec9a5eaa1b
7e90a1f8280618b97729d0b49b80c6814d0466e2
/workspace_pc/catkin_ws/cartographer_ws/build_isolated/jackal_msgs/catkin_generated/pkg.installspace.context.pc.py
818d3ef4f214a704a113568191b05977ee87fca1
[]
no_license
IreneYIN7/Map-Tracer
91909f4649a8b65afed56ae3803f0c0602dd89ff
cbbe9acf067757116ec74c3aebdd672fd3df62ed
refs/heads/master
2022-04-02T09:53:15.650365
2019-12-19T07:31:31
2019-12-19T07:31:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/gse5/catkin_ws/cartographer_ws/install_isolated/include".split(';') if "/home/gse5/catkin_ws/cartographer_ws/install_isolated/include" != "" else [] PROJECT_CATKIN_DEPENDS = "std_msgs;message_run...
[ "sh9339@outlook.com" ]
sh9339@outlook.com
20b6a1ba5c9b6d74622a4b343a91d701d1e8c288
2fed297f777ac6a01f21870d74e4259ed0c17dfd
/examples/models/decision_tree/decision_tree__fixed.py
c272831b7795969ce8cc1ac0e6ea77eff8cdf5e0
[ "MIT" ]
permissive
vahndi/probability
1bf4e5e7835d5dc57b5a5a43d76ded2b23975ec5
ff3f5434d3da0d46b127b02cf733699e5a43c904
refs/heads/master
2023-05-24T17:04:00.430326
2023-05-22T13:53:41
2023-05-22T13:53:41
231,456,036
3
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
from mpl_format.axes import AxesFormatter from probability.models.decision_tree import DecisionTree dt = DecisionTree() # level 1 dt.add_decision(name='D1') dt.add_option(name='D1.a', p_success=0.7, amount=50, parent_name='D1') dt.add_option(name='D1.b', p_success=0.5, amount=20, parent_name='D1') # level 2 dt.add_de...
[ "vahndi.minah@frogdesign.com" ]
vahndi.minah@frogdesign.com
90baaf2cc57c6b0daec5b2efb9690bce19160a03
913e24ea110f839c73363bc1aac9673e561fa5f8
/rlkit/examples/skewfit/sawyer_pickup.py
4ae1736af2ba60f6c6a37607a14b72103975494f
[ "MIT" ]
permissive
PierreExeter/WidowX-reacher
24e2b3f72e9aec24a9a61e6a8958c200e0dbe893
560c6779dc91a887191f344c43de24926ba75b4d
refs/heads/master
2023-03-06T13:48:12.810858
2021-02-22T15:36:52
2021-02-22T15:36:52
264,480,232
4
0
MIT
2021-02-22T15:27:44
2020-05-16T16:36:53
Python
UTF-8
Python
false
false
5,778
py
import rlkit.util.hyperparameter as hyp from rlkit.envs.goal_generation.pickup_goal_dataset import ( generate_vae_dataset, get_image_presampled_goals_from_vae_env, ) import rlkit.torch.vae.vae_schedules as vae_schedules from multiworld.envs.mujoco.cameras import ( sawyer_pick_and_place_camera, ) from rlkit...
[ "pierre.aumjaud@gmail.com" ]
pierre.aumjaud@gmail.com
5a807fba56695bf981a1599c6fd490682fe43d9d
cbf654fe5ed16eaa87db572d2dc3773c68308df8
/downloader/utils.py
fe69ce20d656227e4be71b6237e5fc64a151f72f
[ "MIT" ]
permissive
zhongxinghong/LeetCode
75740a91852d9e0c12100af2763734772e90099a
dfb2c9ced49f40937002bd09918057becf02901d
refs/heads/master
2022-11-30T10:25:47.044267
2020-08-08T02:47:33
2020-08-08T02:47:33
285,960,213
5
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # File: utils.py # Created Date: 2020-08-07 # Author: Rabbit # -------------------------------- # Copyright (c) 2020 Rabbit import pickle import gzip def b(s, encoding="utf-8"): """ str/int/float to bytes """ if isinstance(s, bytes): return s if isins...
[ "zxh2017@pku.edu.cn" ]
zxh2017@pku.edu.cn
cc221b5f2ff36927075f1fe5783edbb98ed98c65
366a2e9adaac0466a12b63ff32857c13b311a42f
/05/5.19/method_01.py
77c9e39078f4e2a6a7f6776e6d6375d81ea23d39
[]
no_license
techsharif/python_bangla_tutorial
17f776054354f59a3456edf9169518aef3e150c6
ed421ed87c81a6309292089c30c150ec404de4c2
refs/heads/master
2021-01-22T02:52:58.316564
2020-07-03T11:05:37
2020-07-03T11:05:37
102,254,840
0
2
null
null
null
null
UTF-8
Python
false
false
221
py
str1 = "hEllo WoRLd" str1 = str1.lower() print(str1) str1 = "this is a line. \nthis is another line" str1 = str1.upper() print(str1) str1 = "this is a line. \nthis is another line" str1 = str1.capitalize() print(str1)
[ "sharif.cse.hstu@gmail.com" ]
sharif.cse.hstu@gmail.com
9427bbfa0b0a0e3d58c3eeca21cf05921c41859e
f0c07e4a42aba9b30309f810fb3bc0d8c761b168
/src/elasticsearch_dsl-stubs/__init__.pyi
1e7bab9da461767b9227025ae5203836f707488e
[ "Apache-2.0" ]
permissive
lschmelzeisen/nasty-typeshed
0d498b3c8f2cc6ad2d973c667b2f82dfc54eab18
1f37fa48e9f941ddbf35e4e6c904f7fc91078d90
refs/heads/master
2023-03-22T06:28:41.889328
2021-03-15T18:46:01
2021-03-15T18:46:15
264,028,905
1
0
null
null
null
null
UTF-8
Python
false
false
7,322
pyi
# # Copyright 2019-2021 Lukas Schmelzeisen # # 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 t...
[ "l.schmelzeisen@gmx.de" ]
l.schmelzeisen@gmx.de
70db713d41623b2b5723b550561231097bc936c7
adaf5d5cd4c46db0387f6dfd7de34d38cf3b06d0
/Commands/Uptime.py
090b7da468d1539dd06607326d5e1c83b32dba8f
[ "MIT" ]
permissive
CrushAndRun/PyMoronBot-LugNut
b0f23437a18fb27ee22313469ad2a396ddaa8f13
d695d8f36b23fc584b3c7d795c12a9e4577c806b
refs/heads/master
2020-02-26T13:42:41.197328
2017-12-07T15:36:58
2017-12-07T15:36:58
67,321,948
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
# -*- coding: utf-8 -*- """ Created on Dec 18, 2011 @author: Tyranic-Moron """ from IRCMessage import IRCMessage from IRCResponse import IRCResponse, ResponseType from CommandInterface import CommandInterface import datetime import psutil class Uptime(CommandInterface): triggers = ['uptime'] help = "uptim...
[ "matthewcpcox@gmail.com" ]
matthewcpcox@gmail.com
b095f8e301ef908ba2fc0664edbdc9e0661320fd
264f392530710b287ac54f40ea805638c6348cc3
/tests/run_neural_bayes_dice_test.py
842ab0f847e726dd5b7890e32a760e634479bbdc
[ "Apache-2.0" ]
permissive
google-research/dice_rl
b26dd2231b0a664f11e0ede08d8209a4ace1cd2f
6551950608ad0472ddf6e8f4075f51793c9d2763
refs/heads/master
2023-08-06T21:35:15.690175
2023-01-30T19:26:12
2023-01-30T19:27:38
285,369,787
106
14
Apache-2.0
2023-01-30T19:27:44
2020-08-05T18:15:53
Python
UTF-8
Python
false
false
1,323
py
# Copyright 2020 Google LLC. # # 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, ...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
e06ccc4a9e3286de0d963732848ed78debd8253e
d680560fbb3cc7c31bdac538e43c0d2874974bce
/flask-backend/app.py
253e910e1364731ed2b0781b3a563d942ed2724f
[]
no_license
LukaszMalucha/Js-React
b3cf29deb4d0333e77a0f20b61b80ecc69a3bb3e
887dd3c4d6b82255d706f2b12cddac65c85567d6
refs/heads/master
2020-04-30T07:27:15.132022
2019-03-30T17:33:55
2019-03-30T17:33:55
176,684,458
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
import flask app = flask.Flask("__main__") @app.route("/") def my_index(): return flask.render_template("index.html", token="Hello World") app.run(debug=True)
[ "lucasmalucha@gmail.com" ]
lucasmalucha@gmail.com
7767079ea7bb3d3c332aea460ba08aa6e521d628
7ec04a925d5180e677dd8b4306ccd4a1ea0d96a5
/leetcode/107_Binary_Tree_Level_Order_Traversal_II.py
a0bb7f62eb4944bf6f4b56e2e8e216466f9984bb
[]
no_license
JianxiangWang/python-journey
883e6a9f0b03ce2bd6fd71f272728dfc65c363b0
f2c4f727689567e00ee06560132fca55a6fd9286
refs/heads/master
2020-03-25T22:54:23.462961
2019-02-06T07:55:03
2019-02-06T07:55:03
144,249,290
1
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
# coding=utf-8 # # Copyright (c) 2018 Baidu.com, Inc. All Rights Reserved # """ The 107_Binary_Tree_Level_Order_Traversal_II file. Authors: Wang Jianxiang (wangjianxiang01@baidu.com) """ """ Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level f...
[ "w51141201062@163.com" ]
w51141201062@163.com
9466bee4ea009b28a0a275034e466c7c8cd6c1d4
af93b3909f86ab2d310a8fa81c9357d87fdd8a64
/advanced/cas5/zadatak2.py
73ee62bd5d6a891a995eb2a99344677d288b75d0
[]
no_license
BiljanaPavlovic/pajton-kurs
8cf15d443c9cca38f627e44d764106ef0cc5cd98
93092e6e945b33116ca65796570462edccfcbcb0
refs/heads/master
2021-05-24T14:09:57.536994
2020-08-02T15:00:12
2020-08-02T15:00:12
253,597,402
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
print("Otvaranje datoteke...") datoteka = open(".\\test.txt","w", encoding="utf-8") print("Upisivanje podataka u datoteku") datoteka.write("Biljana Pavlovic\nPajton - napredni nivo") print("Zatvaranje datoteke") datoteka.close() print("Otvaranje datoteke za citanje") fajl = open("test.txt","r",encoding="utf-8") pr...
[ "zabiljanupavlovic@gmail.com" ]
zabiljanupavlovic@gmail.com
26faec4a3f393ca576a9d14e8229e0eb413c36f7
72c7e87d242cf5cb1bf338d22d4f821cc7d4e916
/basics/for_demo.py
125a6509441bea04dc2a0504fc4719c26cf42a67
[]
no_license
srikanthpragada/DEMO_PYTHON_02_DEC_2019
5f7332e1ad2b231769e3dff94c79e79c9df9a58f
5d67c2194bf1905fd8636fdcbb169c9e94b5ad49
refs/heads/master
2020-09-24T14:44:05.048189
2019-12-23T01:34:13
2019-12-23T01:34:13
225,783,571
1
0
null
null
null
null
UTF-8
Python
false
false
145
py
for n in range(1, 11): print(n) for n in range(5): print(n) for n in range(1,11,2): print(n) for n in range(10,0,-1): print(n)
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
9d0ddfc45f2cc9e15aedfa9079d5ef7183313b77
eea8de43f0f97643ed52e7a90ccfa7d5573be2f8
/zooniverse/settings/base.py
b890ea1317fc353d5dda9f24aa957b5a569e0648
[ "MIT" ]
permissive
ADACS-Australia/SS18A-JBanfield
9b2c72a84fdf76c8a5974c4e47dac41aa01cda75
26196091cc83f88f28abdf979276ee439349efa8
refs/heads/master
2021-07-12T11:01:52.250808
2018-11-26T02:31:43
2018-11-26T02:31:43
136,153,818
0
0
null
null
null
null
UTF-8
Python
false
false
4,448
py
""" Distributed under the MIT License. See LICENSE.txt for more info. """ import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangop...
[ "ssaleheen@swin.edu.au" ]
ssaleheen@swin.edu.au
13062492df1782adaf44b68e21ef6d29333934c5
7a004d2b4508004e40fac8981e38f160d7a6f263
/cn.fc/py/T3100.蔡恩拉德酒店.py
3e2fba681e1cf365c3d6e889f8d55979b0ecc161
[]
no_license
LastSongz/SoraVoiceScripts
0cd1dd6a36eccdf00bd772ceb6d1cfd73b7ab8cd
35e465669571e562aa78fe8524b6f69c6f14f000
refs/heads/master
2020-06-16T05:24:11.381802
2019-06-12T11:55:03
2019-06-12T11:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
123,662
py
from ED6ScenarioHelper import * def main(): # 蔡恩拉德酒店 CreateScenaFile( FileName = 'T3100 ._SN', MapName = 'Zeiss', Location = 'T3100.x', MapIndex = 1, MapDefaultBGM = "ed60013", Flags = 0, ...
[ "zj.yang@qq.com" ]
zj.yang@qq.com
1680cce5a89556f0dadb7ac5e3b0338e096e062b
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2857/60623/258155.py
8c3a8aa0edc8a5113d62a6b2f47b283e46e5b5e0
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
674
py
# 给你一个由 n 个整数组成的数组 a。 你的任务是找到数组中所有元素的公约数的数量。 # 例如,如果数组 a 为 [2,4,6,2,10],则 1 和 2 为这个数组的公约数(因此答案为2)。 size=int(input()) tempList=input().split() intList=[] for var in tempList: intList.append(int(var)) intList.sort() cri=intList[0] resultList=[] sign=False for var in intList: if var%2!=0: sign=True break for i in r...
[ "1069583789@qq.com" ]
1069583789@qq.com
25336b9c21bb1ac2d7b3e77c0ba3dfadcdfd468e
7caa438706a423dd9779a81f8345fcf1ec11e921
/terminal_animation/matrix.py
59606f2b0d02a7a27ed9635bc61c17b707449f51
[]
no_license
tamarinvs19/python-learning
5dd2582f5dc504e19a53e9176677adc5170778b0
1e514ad7ca8f3d2e2f785b11b0be4d57696dc1e9
refs/heads/master
2021-07-15T13:23:24.238594
2021-07-08T07:07:21
2021-07-08T07:07:21
120,604,826
3
0
null
null
null
null
UTF-8
Python
false
false
730
py
from random import randint from time import sleep y = 1 def g(x): global y y = (y + 10) % 239 return (y%139)**2 + 2*(x%120)**2 +5 t = 1 def h(x): global y, t y = (y + 10) % t t = (t + 10) % 101+1 return (y%139)**3 + 2*(x%120)**2 +5 def i(x): global y, t y = (y + 10) % t t = (...
[ "slavabarsuk@ya.ru" ]
slavabarsuk@ya.ru
afc8f03b344c5f8e65e92896cbc6e3e047340722
2d27c9b9d8cb7ff621f5db9f15afe6667a361fb8
/Уроки/1/код/без функций/sepia.py
dc4c6c93fa885a6324871a74d7113defab8527ab
[]
no_license
arskhal/AC2016
b736b6dab4653bdc6ed0a3a0fd67c0a0193b031d
789b3af56ba7f7933337064598ee52c288a04640
refs/heads/master
2021-01-21T18:58:22.800348
2016-09-07T20:14:23
2016-09-07T20:14:23
67,506,615
0
0
null
2016-09-06T12:35:05
2016-09-06T12:35:04
null
UTF-8
Python
false
false
540
py
from PIL import Image im = Image.open("../cat.jpg") pixels = im.load() x, y = im.size k = 200 # коэффицент влияющий на глубину сепии for i in range(x): for j in range(y): r, g, b = pixels[i, j] # находим среднее значени нужное для сепии middle_value = (r + g + b) // 3 # формир...
[ "assigdev@gmail.com" ]
assigdev@gmail.com
4c03fac99240422e46aef9b01ff3f39569320944
8ce656578e04369cea75c81b529b977fb1d58d94
/cabinet/signal_handlers.py
e5cb65516b7626b0425f15fb421a007e45373463
[]
no_license
JJvzd/django_exp
f9a08c40a6a7535777a8b5005daafe581d8fe1dc
b1df4681e67aad49a1ce6426682df66b81465cb6
refs/heads/master
2023-05-31T13:21:24.178394
2021-06-22T10:19:43
2021-06-22T10:19:43
379,227,324
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
from django.db.models.expressions import F from django.db.models.signals import post_save from django.dispatch.dispatcher import receiver from cabinet.models import WorkRule @receiver(post_save, sender=WorkRule) def add_work_rule(sender, instance, **kwargs): from clients.models import Agent Agent.objects.all...
[ "javad@MacBook-Pro-Namig.local" ]
javad@MacBook-Pro-Namig.local
b5850eeb8fc15e776b94e58257517b3f74454302
c16d4c86ef1f874b701c707b5a01556d36fa0d4f
/ibcsp_ipamsvc/models/ipamsvc_dhcp_info.py
d6dd3e2cacb44f13039d3284e088db8811f12271
[]
no_license
uuand/ibcsp_ipamsvc
7f9f4c2509ce9049e2ab39d1072e9d1d31a5165c
94a5475b11997551f732ceffcbd627d27ac37b2c
refs/heads/master
2022-11-21T07:22:12.131660
2020-07-24T08:38:55
2020-07-24T08:38:55
281,871,334
1
0
null
null
null
null
UTF-8
Python
false
false
10,922
py
# coding: utf-8 """ IP Address Management API The IPAM/DHCP Application is a BloxOne DDI service providing IP address management and DHCP protocol features. The IPAM component provides visibility into and provisioning tools to manage networking spaces, monitoring and reporting of entire IP address infrastruct...
[ "jens-peter.wand@metrosystems.net" ]
jens-peter.wand@metrosystems.net
cf23276b685cc6df670245ffeb100310529a796a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_recaptures.py
54924b99a81b1d7f3f1b569edda8a473f161286c
[ "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
259
py
from xai.brain.wordbase.verbs._recapture import _RECAPTURE #calss header class _RECAPTURES(_RECAPTURE, ): def __init__(self,): _RECAPTURE.__init__(self) self.name = "RECAPTURES" self.specie = 'verbs' self.basic = "recapture" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
481e2bca6a93e18269301419dc4aa1e62ef00f65
c086a38a366b0724d7339ae94d6bfb489413d2f4
/PythonEnv/Lib/site-packages/kivy/vector.py
e82bfe96fa9a516bd9440e5542df6b3e3488a65e
[]
no_license
FlowkoHinti/Dionysos
2dc06651a4fc9b4c8c90d264b2f820f34d736650
d9f8fbf3bb0713527dc33383a7f3e135b2041638
refs/heads/master
2021-03-02T01:14:18.622703
2020-06-09T08:28:44
2020-06-09T08:28:44
245,826,041
2
1
null
null
null
null
UTF-8
Python
false
false
10,273
py
'''Vector ====== The :class:`Vector` represents a 2D vector (x, y). Our implementation is built on top of a Python list. An example of constructing a Vector:: >>> # Construct a point at 82,34 >>> v = Vector(82, 34) >>> v[0] 82 >>> v.x 82 >>> v[1] 34 >>> v.y 34 >>> # Cons...
[ "=" ]
=
bdd6f72fe085f690aa351b2c0c0f667fb9c83318
f5c6015c3c57b4b8bed95b4f55fc8233c5a5697a
/Django - Kelas Terbuka/11-Static_File_Menambah_Gambar/Django_Project/blog/urls.py
042d51ffcfc486b34888b5d5d7242964e85abff8
[]
no_license
rasyidev/learn_django3
0f8c072dbc7ebd2b92b2fb56de47a564aff163d3
b12041b560eaf4012bb358667ffd26cf6784469a
refs/heads/main
2023-03-15T17:07:20.081457
2021-03-02T06:03:29
2021-03-02T06:03:29
335,824,399
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
from django.urls import path from . import views urlpatterns = [ path('', views.index) ]
[ "habib.rasyid11@gmail.com" ]
habib.rasyid11@gmail.com
763be6eaa82066598b7680929347ba70173d1d9c
691892e8755a15a092d7996e67f86d39f4e968d6
/twkit/utils.py
703eb78707c2132fe786ab5254c332a3da5e32aa
[ "Apache-2.0" ]
permissive
alirezabayatmk/twAwler
208a9fe47d15498a3fb8217fe777467ffa994f2a
15c9d26433979810aa58eff0ea662daef6fa9e23
refs/heads/master
2022-02-15T05:50:47.806934
2019-01-28T17:47:35
2019-01-28T17:47:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,725
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ########################################### # (c) 2016-2018 Polyvios Pratikakis # polyvios@ics.forth.gr ########################################### """ Utility functions used by twAwler """ import sys import os import time import json import twitter from datetime import d...
[ "polyvios@ics.forth.gr" ]
polyvios@ics.forth.gr
267537bc767f26ec1d4f08929f9ccd2730431a12
75fcc941edf40bb337f7aa56fde720ad905083e7
/pyeee/utils/__init__.py
fa2283b91f19505948e06eaacf2d2500bfa10f7c
[ "MIT" ]
permissive
Mazzol/pyeee
133ee0276db6a747220fa83e5af2ade686718abc
d351de2ccc94b309139b54620dcc97bda63f9d13
refs/heads/master
2021-02-26T14:40:23.329131
2020-02-17T22:05:44
2020-02-17T22:05:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,626
py
#!/usr/bin/env python from __future__ import division, absolute_import, print_function """ Purpose ======= Utilities used with and within pyeee. :copyright: Copyright 2019-2020 Matthias Cuntz, see AUTHORS.md for details. :license: MIT License, see LICENSE for details. Subpackages =========== .. autosummary:: fun...
[ "mc@macu.de" ]
mc@macu.de
c8cbd15304463ef274ed0f9ce0fa5258e7057ef9
2885f6041427be22918e7a39378b4b5270c3fa5d
/Python/sudoku/sudokuALG3.py
4b9a113230fadf88719221f42034df5fde423e30
[ "MIT" ]
permissive
lucasosouza/apps
cb6ad89f85c75f637d8db4c23fc557fa4715e9e8
f71146e8cddf78194b4c3313401c03cb5f842323
refs/heads/master
2021-09-01T14:09:13.510885
2017-12-27T11:03:23
2017-12-27T11:03:23
115,465,349
0
0
null
null
null
null
UTF-8
Python
false
false
4,023
py
#arc consistency implementation with backtracking from sys import stdout from util import Queue as queue import copy def solve(string): variables = stringToVariables(string) assignment = {k:v[0] for k,v in variables.items() if len(v)==1 } prettyPrint(backtrackingSearch(variables, assignment)) def initializeArcQueu...
[ "lucasosouza@gmail.com" ]
lucasosouza@gmail.com
2ff9d4171a0d4341d5e48c18c4b84917586c324e
8fdab174252614c3d0eea09a4bd7aa262c087fd1
/python/Python27/config/ConfigParser_populate.py
6639e22d157fd5df6556e3b9576ef3978857a43b
[]
no_license
idreesdb/Tutorials
a5190c72ad9ad25d9e8302c01357939bd62b75d8
754cd20250b7f826caf76a1d3c188826a4babbd3
refs/heads/master
2021-01-17T07:37:01.623156
2016-05-27T14:03:28
2016-05-27T14:03:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
#!/bin/python from ConfigParser import SafeConfigParser parser = SafeConfigParser() parser.add_section('bug_tracker') parser.set('bug_tracker', 'url', 'http://localhost:8800/bugs') parser.set('bug_tracker', 'username', 'dhellman') parser.set('bug_tracker', 'password', 'secret') for section in parser.sections(): pri...
[ "slxecas@gmail.com" ]
slxecas@gmail.com
bb56da2f37d8d2609527c8bf90b1d16809bab9ef
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/46Raiu9C7caNsgjqH_6.py
97916a1032ac00036ce518a026f77cb46e33c0e2
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
""" Create a function that checks if the given arguments are of the same type. Return `True` if they are and `False` if they're not. ### Examples compare_data(1, 6, 5, 3, 7, 9) ➞ True compare_data(1, 6, 5, 3, "7", 9) ➞ False compare_data([]) ➞ True compare_data([1], (1)) ➞ False ###...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
4818e0fdc4e25f8c5f8a72b27df950b9f185f7c7
fcef3602a044a82b75eb1bdee87a5eb347a56769
/recolo/virtual_fields/__init__.py
238b5ce41ab4f4dba058ace96bc3d65967737593
[ "MIT" ]
permissive
PolymerGuy/recolo
5cb9c6b01d7eeb4108710606341518aa13efc1d1
05b14f0834fa675579eabdf43fac046259df19bb
refs/heads/master
2023-04-12T00:17:50.150126
2022-03-11T12:42:44
2022-03-11T12:42:44
343,329,602
4
1
MIT
2022-03-05T08:04:49
2021-03-01T07:39:40
Python
UTF-8
Python
false
false
24
py
from .hermite16 import *
[ "sindre.n.olufsen@ntnu.no" ]
sindre.n.olufsen@ntnu.no
2e810e15a22ddf39f725d8fbaa9cb36f13dac046
a66fb57c94d0831d94fef067f4dcdee8885d0c33
/desktop/mate/base/mate-settings-daemon/actions.py
fc654bb177800a299f22f0db1a26f461e44428fa
[]
no_license
mathias-freire/PisiLinux
926001be5764580fa91c43dec1fcc16f29d94a8d
73d06b73c6238945b39077d91cca69df42f2c4a0
refs/heads/master
2020-04-06T06:26:20.379745
2014-02-21T19:51:39
2014-02-21T19:51:39
17,067,805
1
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get def setup(): autotools.configure("--disable-pulse ...
[ "namso-01@hotmail.it" ]
namso-01@hotmail.it
18e19dea4dc9ca50b0ebd07824d257dc7c83bb0d
c4e9b3e5686ed8c6e885aa9f6a72a571f4b33db6
/4_chapter/ex4_5.py
6e258eaf54b85401ebed9a4927a325dbb8b11fe6
[]
no_license
WhiteCri/learn-advanced-python
c2a081db0f901bb76e470341497014b4384ba803
8111cb12e8b05a9168a0236e05f4a6a1cda255eb
refs/heads/master
2023-04-13T22:55:49.060522
2021-04-28T05:00:49
2021-04-28T05:00:49
345,628,312
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
for codec in ['latin_1', 'utf_8', 'utf_16']: print(codec, 'El Niño'.encode(codec), sep='\t')
[ "sjrnfu12@naver.com" ]
sjrnfu12@naver.com
61e5c50ba8cdb2b067b6f3bef2c26ebf14a45ca9
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-eps/huaweicloudsdkeps/v1/model/ep_detail.py
c4128bbffb92affb3eb96178c6dd47453c909ed4
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,501
py
# coding: utf-8 import pprint import re import six class EpDetail: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json k...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
6718f520c880546b32d0c7eb3dc12e20fee64416
4dad1495df2f760a145d3de0a5ff5956e66ff4bd
/schoolmanagement/urls.py
2fba88b9ad161a21f1863ac78f2fb4db5856cb30
[]
no_license
MdReyajuddin/school-management
a98bf558e7879cc2c86a5ad6f1087447e939a047
f3aaae466aaaf69f32816ffacd8578353afcff66
refs/heads/master
2021-01-01T12:00:53.685191
2020-02-09T08:24:25
2020-02-09T08:24:25
239,269,397
0
0
null
null
null
null
UTF-8
Python
false
false
2,394
py
"""schoolmanagement URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "md.reyajuddin45@gmail.com" ]
md.reyajuddin45@gmail.com
d52167d7cfda9a462c5f24c02145fc43e91e21c3
7639b91f8f1319a32e57916745b8fd31d00df682
/warehouseProblem.py
fa1421f8aab5359c29d52107c25bff784caceb70
[]
no_license
kartsridhar/Problem-Solving
4a391a6ffe3d672d223949491e3cda20f776ef16
09f4018dc47e5175b03718942a41553527a0463a
refs/heads/master
2021-07-08T11:09:55.694614
2020-10-15T16:15:13
2020-10-15T16:15:13
200,101,607
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
from collections import defaultdict ids = list(map(int, input().split())) vals = list(map(int, input().split())) def solve(ids, vals): info = defaultdict(int) for i in range(len(ids)): if vals[i] > info[ids[i]]: info[ids[i]] = vals[i] return sum(info.values()) print(solve(ids,va...
[ "contactkarthik34@gmail.com" ]
contactkarthik34@gmail.com
1a4851ba1330686123bdb8c5429ce0b326abf603
1b48b3980abbe11691310a7f35efef62bc0ae831
/maya/_mGear/_dir/core.applyop.py
06e644a453cbdbeb006463049e95e545646958b2
[]
no_license
FXTD-ODYSSEY/MayaScript
7619b1ebbd664988a553167262c082cd01ab80d5
095d6587d6620469e0f1803d59a506682714da17
refs/heads/master
2022-11-05T08:37:16.417181
2022-10-31T11:50:26
2022-10-31T11:50:26
224,664,871
45
11
null
null
null
null
UTF-8
Python
false
false
491
py
["__builtins__", "__cached__", "__doc__", "__file__", "__loader__", "__name__", "__package__", "__spec__", "aimCns", "curvecns_op", "datatypes", "gear_curvecns_op", "gear_curveslide2_op", "gear_ikfk2bone_op", "gear_intmatrix_op", "gear_inverseRotorder_op", "gear_matrix_cns", "gear_mulmatrix_op", "gear_raycast", "gear_r...
[ "timmyliang@tencent.com" ]
timmyliang@tencent.com
e46b22a0c1586f835ed641d5b6f4b410a769314c
a404f504febdc835b69b72c4ac28b153885fc119
/Mountain/ToilAndTrouble.py
837cbfe0e8ae0ec08a3468fa5ec3420d011ba207
[]
no_license
Chaboi45/CodeCombat
6093a2eae29ef00c0c277653c4ffd075c9e2ac4c
6e008a94e65bb72ca9292e303d391a4142de16f5
refs/heads/master
2021-07-02T23:24:52.050154
2017-09-21T07:42:21
2017-09-21T07:42:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
def moveTo(position, fast=True): if (hero.isReady("jump") and hero.distanceTo > 10 and fast): hero.jumpTo(position) else: hero.move(position) def attack(target): if target: if (hero.distanceTo(target) > 10): moveTo(target.pos) elif (hero.isReady("bash")): ...
[ "vadim-job-hg@yandex.ru" ]
vadim-job-hg@yandex.ru
528a0e50e88f445ecc0b0ac6b181a7546b5c2d6b
71118a61f29eabb21ea96805c99d3de9b9da137b
/ensamble/Adaboost/Adaboost_my.py
918dd23b28d15edc376b21d034382956ff76dc61
[]
no_license
KentTJ/ML
ff13e7dfee29fd3df06a5e3166d466470d39e51d
8d4443cc1d369d49b9b81d4b00dbf8900bd9a413
refs/heads/master
2020-03-19T01:46:07.029512
2018-06-03T08:24:53
2018-06-03T08:24:53
134,884,354
0
0
null
null
null
null
UTF-8
Python
false
false
1,925
py
"""Adaboost adaptive boosting (AdaBoost-SAMME) for classification problems. """ # Authors: Gang Chen from numpy import* '''简单数据集构造''' # def loadSimpleData(): # datMat = matrix([[1.,2.1], # [2.,1.1,], # [1.3,1.], # [1.,1.], # [2.,1....
[ "you@example.com" ]
you@example.com
835c8cf99e54621ff8040bb3afe4d28fd201e12e
40522461dfb966e579c9b08d5432d1eb14e61e75
/struture/bracket_produce.py
d370ddb908900625456aa8283f83ba6fdd329444
[]
no_license
NuclearAck/pythonLearning
f979b7007b036f5beef7bef1276bc3cc45c6c7c4
0043d233956bb02db81f1f889ddec785b0a3a735
refs/heads/master
2022-03-24T20:23:45.592029
2019-12-21T06:05:25
2019-12-21T06:05:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
def generateParenthesis(N): ans = [] def backtrack(S='', left=0, right=0): if len(S) == 2 * N: ans.append(S) return if left < N: backtrack(S + '(', left + 1, right) if right < left: backtrack(S + ')', left, right + 1) backtrack() ...
[ "825644691@qq.com" ]
825644691@qq.com
3155b8e1edcc16a75f32c81ba398a3a024a57ac1
3b69c33297ed578b2edf83e230c74b58585b63bd
/tests/integration/__init__.py
5183c194da3d059c2225112ede33d34ed210a28e
[ "Apache-2.0", "MIT" ]
permissive
Python3pkg/CryptoIM
0f42fcf88385245b9b38f31a812c06402f29c1bc
3dde94225302625600961e0594b807a5d5420d00
refs/heads/master
2021-01-21T17:22:22.964808
2017-05-21T09:15:29
2017-05-21T09:15:29
91,945,455
0
0
null
2017-05-21T09:15:26
2017-05-21T09:15:26
null
UTF-8
Python
false
false
690
py
""" Copyright 2014 CryptoIM Development Team 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 a...
[ "skopekondrej@gmail.com" ]
skopekondrej@gmail.com
0126c59a617707ea27a8e25a90484dca46ecf609
8739db99c7481620790e3bc2269fa72da3daa305
/gameinfo/admin.py
4730ed821c908d78c687200779b7bae78191891d
[]
no_license
kamiwana/redbutton_server
ca57a6fa60187ec3a4ce68331c70c88de402e97f
33135f0173a83cc7f41fa566c7cb9b91c2cf49b6
refs/heads/master
2022-12-16T06:01:50.417307
2020-09-14T16:52:26
2020-09-14T16:52:26
181,593,030
0
0
null
2022-12-07T23:53:33
2019-04-16T01:40:03
Python
UTF-8
Python
false
false
1,840
py
from django.contrib import admin from .models import * from django import forms from game_icon.models import * from django.utils.safestring import mark_safe class Movies_Admin(admin.ModelAdmin): # Post 객체를 보여줄 때 출력할 필드 설정 list_display = ('game_id', 'game_name', 'file_link', ) #search_fields = ('gameinfo.g...
[ "kamiwanan@gmail.com" ]
kamiwanan@gmail.com
a21ddc982c72c8dc93c38f0cb8eaa02bafd4b82a
d2df2313410c73456f5ba5e27b3b38dd161b4708
/preprocessing/video_preprocessing/generate_descriptions_lists.py
cfacd227e1e9c7d90e5ad805f9ecdf4911637ed1
[ "MIT" ]
permissive
DeepaliVerma/interactive-keras-captioning
d3d26b14efae9ee807b95c5b4943ec7f10a2ae61
9791f0e96aeb89c9b4d97f2f3352b50f18f14df9
refs/heads/master
2021-04-18T09:27:57.679293
2019-08-02T10:39:14
2019-08-02T10:39:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,687
py
# -*- coding: utf-8 -*- from __future__ import print_function import numpy as np def main(): base_path = '/media/HDD_2TB/DATASETS/MSVD/' path_files = 'Annotations' # Inputs text = 'captions.id.en' separator = '----' train = 'train_list.txt' val = 'val_list.txt' test = 'test_list.txt...
[ "lvapeab@gmail.com" ]
lvapeab@gmail.com
6f0fc753a5298f4891d7214332a78773dac09b51
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2873/60648/238079.py
cf6f5a4b8985335cacd0e616e69e772281d08b05
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
348
py
n,m=map(int,input().split()) print(n,m) ls=input().split(" ") ls=[int(ls[i]) for i in range(n)] ls1=input().split(" ") ls1=[int(ls1[k]) for k in range(m)] #s="" lsr=[] for i in ls: for j in ls1: if i==j: #s=s+str(i)+" " lsr.append(str(i)) break #s.rstrip() #print(s,end=''...
[ "1069583789@qq.com" ]
1069583789@qq.com
357224d7d8eacfd778e0c98eb462b9d0d451173c
95d0806ce766805beffba8144e4b83076b5f8b91
/thermocouple/caculate/caculate-thermo-10min-singleday.py
c2b383342dca06f666c5ec9c00542f59e0ac459d
[]
no_license
chengw99/dell
1f4d5a2f20f3e61208266dc4a0adc4e18cd44ff8
4f932c3f0d3deb545700a9616456fb0beeb733d0
refs/heads/master
2021-04-15T08:53:49.011550
2019-03-23T14:56:41
2019-03-23T14:56:41
104,961,142
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
# -*- coding: utf-8 -*- """ Created on Sat Mar 17 21:51:56 2018 @author: DELL """ #对热电偶取10分钟平均 import pandas as pd import numpy as np data = pd.read_csv(r'e:\py_data\thermo\A-20170511.csv') a = data.ix[:,32] tem = [] for i in range(144): data_mean = sum(a[10*i:10*i+10])/10. tem.append(data_mean) t...
[ "951849311@qq.com" ]
951849311@qq.com
e1031d5b7da4c56a23be22a11ffcf1ee8a3a6c2b
df7b40e95718ac0f6071a0ba571b42efc81cf6de
/configs/gcnet/gcnet_r101-d8_512x512_40k_voc12aug.py
b17c7a12b547ee4e1cd60d667c575eab06eb071c
[ "Apache-2.0" ]
permissive
shinianzhihou/ChangeDetection
87fa2c498248e6124aeefb8f0ee8154bda36deee
354e71234bef38b6e142b6ba02f23db958582844
refs/heads/master
2023-01-23T20:42:31.017006
2023-01-09T11:37:24
2023-01-09T11:37:24
218,001,748
162
29
Apache-2.0
2022-11-03T04:11:00
2019-10-28T08:41:54
Python
UTF-8
Python
false
false
130
py
_base_ = './gcnet_r50-d8_512x512_40k_voc12aug.py' model = dict(pretrained='open-mmlab://resnet101_v1c', backbone=dict(depth=101))
[ "1178396201@qq.com" ]
1178396201@qq.com
2a400b191ba674c73f6466d15edd77c67643e658
79661312d54643ce9dcfe3474058f514b01bfbe6
/ds1/run.py
b6ae249dbb93e335a9c0752cc52e8196f168220f
[]
no_license
davis-9fv/Project
5c4c8ac03f5bf9db28704e63de9b004f56a52f10
f2bd22b3ac440b91d1d1defc8da9e2ba2e67265e
refs/heads/master
2020-03-20T22:24:07.244521
2019-02-28T16:58:04
2019-02-28T16:58:04
137,796,517
0
0
null
null
null
null
UTF-8
Python
false
false
7,314
py
import ds1.data_creation as dc import config as conf import datetime import ds1.knn as knn import ds1.lasso as lasso import ds1.dummy as dummy import ds1.elasticnet as elasticnet import ds1.sgd as sgd import ds1.mlpregressor as mlpregressor import ds1.results as results import numpy as np def print_results(window_siz...
[ "francisco.vinueza@alterbios.com" ]
francisco.vinueza@alterbios.com
d3cb6d74702554421b5f50f99629fbe01d838e0e
9d734ff697cadaf79ec645a1440a8d690977a97e
/code/py/robbie/fix/seqnum.py
3743ecb521c593b27f49e3a123029713fd6238ff
[]
no_license
karapuz/quad
85ed26f6479e58c3d88b50ac98c51007fcefaf83
e2e436eedfb01212a112e787b483db925b063f96
refs/heads/master
2021-06-05T12:19:35.298605
2016-10-26T12:07:55
2016-10-26T12:07:55
58,860,382
0
0
null
null
null
null
UTF-8
Python
false
false
2,894
py
''' TYPE : lib OWNER : ilya DESCRIPTION : various routines related to sequence number generation ''' import os import quickfix as fix import robbie.fix.config as fixccfg from robbie.util.logging import logger seqNum = None def setSeqNums( client, gateNum ): global seqNum seqNum = ( client, ...
[ "ilya.presman@gmail.com" ]
ilya.presman@gmail.com
5df34f12d45a848d892ed59ae1e8dbef15da4e13
ed865aed525556fd7aa5ac5a024af720de8438e3
/api/client/src/test/test_log_event.py
851ed7901ced60bdefcac7ad0e61db56344e25e2
[ "Python-2.0", "GPL-1.0-or-later", "MPL-2.0", "MIT", "LicenseRef-scancode-python-cwi", "BSD-3-Clause", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-free-unknown", "Apache-2.0", "MIT-0", "BSD-2-Clause" ]
permissive
aws/aws-parallelcluster
7bb33a6e175168f63a1e0acb1a9a7e9cbc405eff
a213978a09ea7fc80855bf55c539861ea95259f9
refs/heads/develop
2023-09-05T15:12:18.533270
2023-09-05T14:38:59
2023-09-05T14:38:59
19,718,034
520
226
Apache-2.0
2023-09-14T15:56:30
2014-05-12T22:42:19
Python
UTF-8
Python
false
false
661
py
""" ParallelCluster ParallelCluster API # noqa: E501 The version of the OpenAPI document: 3.0.0 Generated by: https://openapi-generator.tech """ import sys import unittest import pcluster_client from pcluster_client.model.log_event import LogEvent class TestLogEvent(unittest.TestCase): """Lo...
[ "noreply@github.com" ]
aws.noreply@github.com
1b646554b77ea9e3b2ef8385b127b6695757f01a
cb5230844234ec481bf6c1d9c01f814caea588ac
/尚学堂_大数据_Python视频教程源码/112-192 web框架项目文档源码/sessionadvance/Test/migrations/0001_initial.py
f7f72ce51b331b19710d555b68530dc6917f5bd6
[]
no_license
yaodwwy/videosCode
d1d7ab91081c2b8e29e7187f29c0abab8c1cc568
5c1da3a0c3155c406cc5288bc609cf05e65f702c
refs/heads/master
2022-06-21T14:51:12.326310
2020-09-02T11:30:51
2020-09-02T11:30:51
155,160,565
0
0
null
2021-12-14T21:24:03
2018-10-29T06:10:34
TSQL
UTF-8
Python
false
false
550
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-16 02:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Person...
[ "yaodwwy@gmail.com" ]
yaodwwy@gmail.com
08c6390922fdff0eeb1ec71bfa32ebc1c92318c2
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_45034.py
c6d4e1d6ca020298e0a7c950a1563e0153f14a4a
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,840
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
3e21d3fa32c72f5bb7a966914b6b6f0267686556
1d981bcfff967ae43059e2683aca10aadaec6016
/Assignment 1/Function/answer8.py
dbe5526c822d888c9bdf7467988ce809414549fd
[]
no_license
anupjungkarki/IWAcademy-Assignment
ea3b9bb4bce30e71ab0242da18c8e7dd8aad8cb1
e2f48edbac5606962fa3c314095e0da19cb1dcbf
refs/heads/master
2023-01-28T20:06:25.067748
2020-12-14T10:02:30
2020-12-14T10:02:30
316,900,393
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
# Write a Python function that takes a list and returns a new list with unique elements of the first list. def get_unique_list(list_data): result = [] unique_list = set(list_data) for list_data in unique_list: result.append(list_data) return result print(get_unique_list(list_data=[1, 2, 2, 3,...
[ "anupkarki2012@gmail.com" ]
anupkarki2012@gmail.com
742d79938205065e2efc5d1027e3b05141db35c8
a4c19e1adbfff94fb7d4bbeab8ee899399baa155
/vkontakte_comments/migrations/0002_auto__add_field_comment_attachments.py
ec0a2ba9a57acd37aca14cbd93c1d73cb13ddcc2
[ "BSD-3-Clause" ]
permissive
ramusus/django-vkontakte-comments
716b27a32683432e6fe03c8eb5069d52d3082567
964d121e2be2aa76f2fe35f18bdec8e85b522943
refs/heads/master
2021-01-21T12:26:30.464582
2016-03-14T14:49:52
2016-03-14T14:49:52
28,476,700
0
2
null
2015-06-12T16:36:27
2014-12-25T08:57:27
Python
UTF-8
Python
false
false
13,854
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 'Comment.attachments' db.add_column(u'vkontakte_comments_c...
[ "ramusus@gmail.com" ]
ramusus@gmail.com
fc8b3de97acacd27c2f5bff5c92476b3083f8781
90f26134ccf4f36ebf6ecdf456d4e102d65bf615
/paper_scan_coint.py
288f0084998288d5c473c0631408233d966ec6fd
[]
no_license
hasakura511/ML-TSDP
d3f133df094ede8d6ccea42a98c6b5a2f6a52520
01138b86caf14d8c52350a9031a05a1fc9dde501
refs/heads/master
2023-05-01T20:46:58.459884
2017-12-11T12:46:58
2017-12-11T12:46:58
52,503,676
0
0
null
null
null
null
UTF-8
Python
false
false
4,295
py
import numpy as np import pandas as pd import time from os import listdir from os.path import isfile, join # -*- coding: utf-8 -*- """ Created on Tue Mar 08 20:10:29 2016 3 mins - 2150 dp per request 10 mins - 630 datapoints per request 30 mins - 1025 datapoints per request 1 hour - 500 datapoint per request @author: H...
[ "yuukifushimi@gmail.com" ]
yuukifushimi@gmail.com
022da63ef9f53ae32f1ab4c7a9d9e60d66e7972a
c5148bc364dac753c0872bd5676027a30b260486
/build/lib/biosteam/units/_solids_centrifuge.py
76c6f32915938d7c3f6b219be63f756d874c4b67
[ "MIT", "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ecoent/biosteam
86f47c713a2cae5d6261b6c2c7734ccf7a90fb4e
f1371386d089df3aa8ce041175f210c0318c1fe0
refs/heads/master
2021-02-24T14:10:23.158984
2020-03-05T03:43:17
2020-03-05T03:43:17
245,433,768
1
0
NOASSERTION
2020-03-06T13:59:27
2020-03-06T13:59:26
null
UTF-8
Python
false
false
2,034
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 23 22:18:36 2018 @author: yoelr """ import numpy as np from ..utils.design_warning import lb_warning from .decorators import cost from ._splitter import Splitter __all__ = ('SolidsCentrifuge',) @cost('Solids loading', cost=68040, CE=567, n=0.50, ub=40, BM=2.03, N=...
[ "yoelcortes@gmail.com" ]
yoelcortes@gmail.com
fa3ec2b6b175ccf61ad8d7cc78c27289772c6cbc
8a94de4c3cf8725e7a5a627777d31f43e4ad73f2
/old-leetcode/older/530MinimumAbsoluteDifferenceinBST.py
047ecfc1cf17293d7e0a229ec4084265505c4de6
[]
no_license
zhangzhao156/Basic-Algorithm
a873101fae8e8c750cdab41c60ce4734348bab27
c7f6d176b22cdbd66635d437b4bda8eb36412da3
refs/heads/master
2023-02-10T01:14:12.599898
2021-01-05T14:09:27
2021-01-05T14:09:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
# Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None #中序遍历二叉树,然后求相邻数字的差求最小 class Solution(object): def getMinimumDifference(self, root): """ :type root: TreeNode :rtype: int ...
[ "congyingTech@163.com" ]
congyingTech@163.com
7ef5f61fedaefdaafd595fd886f2ccb6e6010fee
78c3082e9082b5b50435805723ae00a58ca88e30
/03.AI알고리즘 소스코드/venv/Lib/site-packages/caffe2/python/onnx/tests/ssa_test.py
bfb6e37314de38e623c9ee9fbec2ae185aa01ee3
[]
no_license
jinStar-kimmy/algorithm
26c1bc456d5319578110f3d56f8bd19122356603
59ae8afd8d133f59a6b8d8cee76790fd9dfe1ff7
refs/heads/master
2023-08-28T13:16:45.690232
2021-10-20T08:23:46
2021-10-20T08:23:46
419,217,105
0
1
null
null
null
null
UTF-8
Python
false
false
4,150
py
## @package onnx # Module caffe2.python.onnx.tests.ssa_test import copy import numpy as np from caffe2.proto import caffe2_pb2 from caffe2.python import core from onnx import TensorProto import caffe2.python.onnx.frontend as c2_onnx from caffe2.python.onnx.helper import c2_native_run_net from caf...
[ "gudwls3126@gmail.com" ]
gudwls3126@gmail.com
82362590f98be4f3eae2531633b41341bf240d5a
d3efc82dfa61fb82e47c82d52c838b38b076084c
/MoneyFund/moneyfundservice/mfCheckDataPrice.py
9be8f97015e15bc7348e0e7b19bcf58b78174ba9
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/service") import ServiceConfig from log import * sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/MoneyFund/moneyfundmysql/mysql") from...
[ "418033945@qq.com" ]
418033945@qq.com
4e6d1b0e8b44912e080d6e11007551f6e8e126d5
4f0385a90230c0fe808e8672bb5b8abcceb43783
/函数模块库/collections库.py
254a58c949427265be4297afa09cbc4af60521f4
[]
no_license
lincappu/pycharmlearningproject
4084dab7adde01db9fa82a12769a67e8b26b3382
b501523e417b61373688ba12f11b384166baf489
refs/heads/master
2023-07-10T05:21:15.163393
2023-06-29T14:02:35
2023-06-29T14:02:35
113,925,289
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
# !/usr/bin/env python3 # _*_coding:utf-8_*_ # __author__:FLS 见博客
[ "lincappu@163.com" ]
lincappu@163.com
40d7a8b3e7effe595f9a4a4428b014e04805d655
f138be1e8e382c404cfe1ff6a35e90fc77fa9bff
/ABC/python/158/B.py
b835fc5b727644861cad0418787d636615f6b262
[]
no_license
jackfrostwillbeking/atcoder_sample
8547d59ca2f66b34905f292191df6c474010fded
d5b2fe8f628fd56eaf23ee7e92938e8ac1b1fef9
refs/heads/master
2023-07-25T19:16:14.340414
2021-08-26T15:26:08
2021-08-26T15:26:08
273,857,286
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import sys N,A,B = map(int,input().split()) if not ( 1 <= N <= 10**18 and 0 <= A and 0 <= B and 0 < A + B <= 10**18 ): sys.exit() if not ( isinstance(N,int) and isinstance(A,int) and isinstance(B,int) ): sys.exit() count = N // (A+B) remind = N % (A+B) if N % (A+B) <= A else A print(count * A + remind)
[ "jackfrostwillbeking@gmail.com" ]
jackfrostwillbeking@gmail.com
25b2827491b8a725d7cda2a9d4e4d340a2a57734
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/batch_write_f/job-queue_delete.py
82a7bd70429602aad868e3eb0a85f100b199a6bc
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
bcf78f2b43a367552a497f96ed2620cc6b9209b9
f8126e4ee63f871ce80241279e4439b3182d224b
/forms/bMD_forms/patches_2_form.py
b5cfc149f67d7ef5b696533394c5e1c8b94a8323
[]
no_license
DmitryChitalov/stress_analysis_app
2c239895d829e842943e6e7a0102deaad2d12509
ce253a7a454f0fcf8f19356fb1b3be272443f24f
refs/heads/master
2020-04-11T21:16:16.652675
2018-12-17T12:04:31
2018-12-17T12:04:31
162,100,233
3
1
null
null
null
null
UTF-8
Python
false
false
5,339
py
# -*- coding: utf-8 -*- #---------------------------Импорт модулей и внешних форм------------------------- from PyQt5 import QtCore from PyQt5 import QtSql from PyQt5 import QtGui from PyQt5.QtWidgets import QWidget, QFileDialog, QLineEdit, QLabel, \ QHBoxLayout, QLineEdit, QPushButton, QGridLayout, \ QFrame...
[ "cdi9@yandex.ru" ]
cdi9@yandex.ru
77cbef4a62b6419e18b265880a155262e2144e79
d3b77550a40b860970450e702b6bcd28d5f9b3e4
/LeetCode/Arrays/find_number_with_even_number_digits.py
ca4541cb8e59fc953cde2311a363086aba0fe2d9
[]
no_license
CateGitau/Python_programming
47bc9277544814ad853b44a88f129713f1a40697
6ae42b3190134c4588ad785d62e08b0763cf6b3a
refs/heads/master
2023-07-08T03:08:46.236063
2021-08-12T09:38:03
2021-08-12T09:38:03
228,712,021
1
0
null
null
null
null
UTF-8
Python
false
false
277
py
""" Given an array nums of integers, return how many of them contain an even number of digits. """ nums = [12,345,2,6,7896] def Findnumbers(nums): even = 0 for i in nums: if len(str(i)) % 2 == 0: even += 1 return even print(Findnumbers(nums))
[ "catherinegitau94@gmail.com" ]
catherinegitau94@gmail.com
d37fef8379053de51113037d203991513ef6cc6d
00c27793e17ec9eab2ef56c31776a322a8a65625
/algorithm/migrations/0001_initial.py
383ea8d4acef13be0f5a26ca47a114868ad1dc4a
[]
no_license
MehdioKhan/Regular-Languages
9a64d461bf1b6f48da363f0e3a64d0658522c6ea
f9fd08b1a9e096cdd6d442e7341164717eb1de80
refs/heads/master
2020-03-12T10:00:10.599348
2018-07-13T14:04:34
2018-07-13T14:04:34
130,211,472
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Generated by Django 2.0.3 on 2018-04-21 20:52 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('id', m...
[ "mehdiokhan@gmail.com" ]
mehdiokhan@gmail.com
63894ac31e3946a43d8367dcad7eeb52f81ae070
ab0a5f6c799836b06646283867b2454b0238e845
/src/sentry/web/frontend/remove_team.py
757ab540c89c49b1846e004b91284eab89ceef08
[ "BSD-2-Clause" ]
permissive
xiaoge56/sentry
cfc173bd62639b5a2a40b7714018d7af861a3d5f
5e8db7ec93ed06954629e2ba5b7970082913e855
refs/heads/master
2021-01-14T13:16:14.611423
2015-11-13T17:30:12
2015-11-13T17:30:12
46,139,267
1
0
null
2015-11-13T18:18:19
2015-11-13T18:18:19
null
UTF-8
Python
false
false
1,278
py
from __future__ import absolute_import from django import forms from django.contrib import messages from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect from django.utils.translation import ugettext_lazy as _ from sentry.api import client from sentry.web.frontend.base import TeamV...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
499dc3fc6017e14cd04d05276d3338dbca0af9ce
09ce9635b0e74ba178e98efd0d5229a25995713e
/submissions/abc148/e.py
643637658b66f1eabab853b15890756d09275c98
[ "Unlicense" ]
permissive
m-star18/atcoder
7575f1e1f3ee1dfa4a765493eb17b4ef0ad5f1f0
08e475810516602fa088f87daf1eba590b4e07cc
refs/heads/main
2023-07-14T09:16:42.807150
2021-08-22T15:59:48
2021-08-22T15:59:48
364,458,316
1
0
Unlicense
2021-08-22T15:59:49
2021-05-05T04:13:03
Python
UTF-8
Python
false
false
264
py
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) n = int(read()) if n % 2 == 1: print(0) exit() cnt = 0 n //= 2 while n: n //= 5 cnt += n print(cnt)
[ "31807@toyota.kosen-ac.jp" ]
31807@toyota.kosen-ac.jp
2a953cc214da50b6b58e8a4db2308baf3e6904ee
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_34/355.py
8912ff255b5d772dd85a5873c5fc555028b31a62
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,662
py
import sys letters = 'abcdefghijklmnopqrstuvwxyz' def test_cases(FILE): f = open(FILE) total = f.readline() total = total.split() L = int(total[0]) D = int(total[1]) N = int(total[2]) words = [] patterns = [] for i in range(0,D): word = f.readline() w...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5204a4fcc8cc0d916ebed6bede0b5c8ce10d332e
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/api/servicecontrol/v1/google-cloud-servicecontrol-v1-py/google/cloud/servicecontrol_v1/services/service_controller/__init__.py
b944d49ba1ba2c490d17c304cd5893a2c3dbb7d1
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
783
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
b2a458520aebf48834b3a57cd90e8aca42448e1c
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/KeepSafe_aiohttp/aiohttp-master/aiohttp/_ws_impl.py
1fd001c8bc6af165a4af6f5eff66c47b2dead6ed
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
15,811
py
"""WebSocket protocol versions 13 and 8.""" import base64 import binascii import collections import hashlib import json import os import random import sys from enum import IntEnum from struct import Struct from aiohttp import errors, hdrs from aiohttp.helpers import noop from aiohttp.log import ws_logger __all__ = (...
[ "659338505@qq.com" ]
659338505@qq.com
a9dfd0b69e38f7d04a98ee19c74c95f3632e89e7
930309163b930559929323647b8d82238724f392
/arc059_a.py
f0c9807cc6711c91b0cf2dfa947808743ac56156
[]
no_license
GINK03/atcoder-solvers
874251dffc9f23b187faa77c439b445e53f8dfe1
b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7
refs/heads/master
2021-11-07T14:16:52.138894
2021-09-12T13:32:29
2021-09-12T13:32:29
11,724,396
3
1
null
null
null
null
UTF-8
Python
false
false
219
py
import statistics import math N=int(input()) *A,=map(int,input().split()) mean = statistics.mean(A) can0, can1 = math.floor(mean), math.ceil(mean) print(min([sum([(can-a)**2 for a in A]) for can in [can0, can1]]))
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
dd140408caff400b7abbb2888b83359a6123792c
67f1b667084de19d03a1054588efdcd5fc0d1c0b
/voter_guide/votes/urls.py
1e3ad9965937a8ed66a72b6506bff5ebd9501255
[ "CC0-1.0" ]
permissive
ericj/councilor-voter-guide
b100295ba50537a1a0180f7080fc130926e3c644
c9557e62a8003356babe7bbc3bf567b3cbfdcbba
refs/heads/master
2021-01-19T07:24:58.638624
2014-11-24T12:29:49
2014-11-26T07:20:09
26,960,311
1
0
null
null
null
null
UTF-8
Python
false
false
336
py
from django.conf.urls import patterns, url from votes import views urlpatterns = patterns('', url(r'^(?P<county>)/(?P<index>normal|conscience)/$', views.select_county, name='votes'), url(r'^(?P<county>\S+)/(?P<index>normal|conscience)/$', views.votes, name='votes'), url(r'^(?P<vote_id>\S+)/$', views.vote, ...
[ "twly.tw@gmail.com" ]
twly.tw@gmail.com
8d7fb263e22a7fff543494a2cb43a9bef8e60b3b
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/3164289/snippet.py
7c4a55699a0b2cb2fc550f0094b89781be6a366f
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
11,460
py
# -*- coding: utf-8 -*- """ LICENSE: BSD (same as pandas) example use of pandas with oracle mysql postgresql sqlite - updated 9/18/2012 with better column name handling; couple of bug fixes. - used ~20 times for various ETL jobs. Mostly MySQL, but some Oracle. to do: save/restore index (how...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
c1095d908df5af2fbc17a0dc286eb9d33832245b
c873bd4c8daa0db3b2fe5b2957eb119d6ca5ac7f
/adminsite/apps.py
d4f2eedf916dc9adad85aebca6e638f3477f45c7
[]
no_license
PRIVATpython/Online-Shop-Bot
0bec0936217ee83afcb685fb747345700aaaca3c
d191df8cec4d9fb7e3a2dba1792b5758cd9eaf81
refs/heads/master
2023-08-16T13:06:02.784412
2021-09-30T14:42:07
2021-09-30T14:42:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django.apps import AppConfig class AdminsiteConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'adminsite'
[ "you@example.com" ]
you@example.com
1d910f698c19df9226a628d3f1731242977965b8
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/compute/routers/add_bgp_peer.py
118f553152178c7f0ce92fdcdf3e069757801bc3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
10,530
py
# -*- coding: utf-8 -*- # # Copyright 2015 Google LLC. All Rights Reserved. # # 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
c55bdfb97c69c72f270a4e7f5d6885b060c845cc
854202772d2b1c54955d9f800b3df6683217b888
/analyses/median_lengths.py
41e073c8c1768180c19e9f0bb34ae9df4b09d52b
[]
no_license
domspad/text_viz_project
1efa342c3f9f02308e02d4742b9766ecf690df89
344487a6a4578c610b5b3069a1afb1fbdc70f8e7
refs/heads/master
2016-08-05T00:05:19.880117
2015-06-23T23:56:49
2015-06-23T23:56:49
37,825,657
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
""" This script will output med_word_length_syll med_sent_length_word med_word_length_char 9 3 23 3 5 52 3 2 52 .. .. .. FOR ALL TEXTS EXCEPT JULUIS CAESAR AND ROMEO AND JULIET to be copied over to the data file """ import sys sys.path.append('/Users/dominicspadacene/Desktop/school_books/text_viz_project/')...
[ "domspad@umich.edu" ]
domspad@umich.edu
65229ee4a2fbdff204059330c000ac63331a6900
2a67dc681af4c4b9ef7a8e18c2ff75377dc5b44f
/aws.rds.SecurityGroup-python/__main__.py
0b6dc8c29ca9ac51f71986d2d1c7eab89399ad20
[]
no_license
ehubbard/templates-aws
e323b693a18234defe6bd56ffcc64095dc58e3a1
2ae2e7a5d05490078017fed6d132dcdde1f21c63
refs/heads/master
2022-11-17T13:53:14.531872
2020-07-10T21:56:27
2020-07-10T21:56:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
import pulumi import pulumi_aws as aws default = aws.rds.SecurityGroup("default", ingress=[{ "cidr": "10.0.0.0/24", }])
[ "jvp@justinvp.com" ]
jvp@justinvp.com