blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
e6a351cca118db0b1b7aa38308e588865881e958
bc441bb06b8948288f110af63feda4e798f30225
/cmdb_sdk/api/instance/import_instance_with_csv_pb2.py
61e3fc2fbb658d75940052b5048131ef784e637a
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
9,094
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: import_instance_with_csv.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from go...
[ "service@easyops.cn" ]
service@easyops.cn
dd03af2f2b2778d14ce5ca23fb6fc7b5dedf9c94
83f722b360c19d5d42000e85f541f7419881e465
/test.py
c70f4ff6c5f6d0d41567a1214807c98ac74382c2
[]
no_license
nickstoian/LanguageModeling
60bf2759d807a7f6517a94358cf78bab09d37d09
c8d92542804c72053554962987aab20f96fa7c97
refs/heads/master
2021-07-22T10:30:56.432102
2017-11-02T16:02:03
2017-11-02T16:02:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,466
py
import math textFile = open('brown-train-processed.txt', 'r') unigramDict = dict() #numTokens = 0 for line in textFile: for word in line.split(): #numTokens += 1 if word not in unigramDict: unigramDict[word] = 1 else: unigramDict[word] += 1 values = uni...
[ "noreply@github.com" ]
nickstoian.noreply@github.com
a3f36b55bc4575ccd724132e9aeefe969b122520
6c56478ff19ab9bc2c61307f34b4f63e7c34fa07
/spoof_check.py
a546caec85e7c9e99fba80ffbff6c48174613588
[]
no_license
javarob/arp_spoof_check
afe5972e94171f8da24713812c7767c304c5a82e
f290cd754bc8837c49016e5def9ee5472f0c6804
refs/heads/master
2023-07-13T23:25:49.371627
2021-08-24T15:37:22
2021-08-24T15:37:22
399,519,644
0
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
import os import time from datetime import datetime # Access arp table and extract entries def arp_table_extraction(): # Read arp talbe and save in list arp_table = os.popen("arp -a").read() arp_table_lines = arp_table.splitlines() #print(arp_table) addresses = {} #dict for addresses & mac addr...
[ "robchess66@gmail.com" ]
robchess66@gmail.com
9f811d0e5fca8f23ad4e3fe6e2188485c4722a37
7ee8a3bc4fbe8e094a4acf0bc7dd58899a5f4d3e
/src/djnext_example/artist/migrations/0001_initial.py
47c807a90b452b75770bc42c2fff12d3e484a197
[]
no_license
yourlabs/djnext
95798acf66fb3b507ea701cce31e40f1bcdf2b1d
76516e2d76495300385223265878b5d30641c965
refs/heads/master
2023-02-09T06:40:07.051724
2018-05-13T21:37:24
2018-05-13T21:37:24
133,148,115
36
5
null
2023-01-26T03:23:41
2018-05-12T13:20:29
Python
UTF-8
Python
false
false
561
py
# Generated by Django 2.0.4 on 2018-05-12 17:14 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Artist', fields=[ ('id', models.AutoField(a...
[ "jamespic@gmail.com" ]
jamespic@gmail.com
c37074e163a92b497ee918868f6930d8848c243b
bea29115563bb08e5f15590c05f5c2070f364307
/string_formatting.py
ebf0941090d62106fb0cb8508197f2787336b766
[]
no_license
PARASVARMA/100-days-of-code-challenge
da711a697e3dcb486b76b4941f9b0fbe73d0cbd2
2bef94d6949e8756b33de422ff3844d41e8c0f0a
refs/heads/master
2021-08-16T18:39:55.972549
2018-10-29T16:52:09
2018-10-29T16:52:09
143,279,942
1
0
null
null
null
null
UTF-8
Python
false
false
180
py
# string formatting nums = [4, 5, 6] msg = "Numbers: {0} {1} {2}". format(nums[0], nums[1], nums[2]) print(msg) #other one example a = "{x}, {y}".format(x=5, y=12) print(a)
[ "noreply@github.com" ]
PARASVARMA.noreply@github.com
8c29bfa4851629107417dc5c3c0058c8bb82563f
205637f630cc1602daeb6943fe1e8d5f4f41b3ad
/Res2NetModels.py
4434c189f5aa057e75b82e39f652b27a14893d16
[]
no_license
junfeizhuang/ModelZoo
d9ac856337f65aa7bbe1d086eb976ccd7dd1fb89
0761c2233f1f7fb162bc9e2e1d716657b776c7e2
refs/heads/master
2020-11-27T10:53:09.402470
2019-12-21T11:31:36
2019-12-21T11:31:36
229,411,423
0
0
null
null
null
null
UTF-8
Python
false
false
5,872
py
import torch.nn as nn import math import torch.utils.model_zoo as model_zoo import torch import torch.nn.functional as F __all__ = ['res2net50','res2net101','res2net152'] def conv3x3(in_planes, out_planes, stride=1, groups=1): """3x3 convolution with padding""" return nn.Conv2d(in_planes, out_planes, kernel_s...
[ "zhuangjunfei@outlook.com" ]
zhuangjunfei@outlook.com
d18e2379a17065358449a26a8ab5dc785ec556cd
472b0b97b4cc1a45a4386be6e770c0227fce931b
/modules32/lib_1self.py
f8d87ec166ece54b41de9c7f07f1bbf734c72919
[]
no_license
1self/1self-sensor-station
9a5ab61655bdb0ad3c84cf188ae84a3aeb1f4dde
f014117593fd3ed405ba32550e15063c4465b9a0
refs/heads/master
2016-09-06T13:03:17.749801
2015-04-30T10:46:46
2015-04-30T10:46:46
33,550,226
0
0
null
null
null
null
UTF-8
Python
false
false
2,981
py
from datetime import datetime import requests, json class lib_1self: # Private vars app_name = None app_version = None api_url = None app_id = None app_secret = None stream = None # Constructor def __init__(self, app_name, app_version, api_url, app_id, app_secret): self.app...
[ "martinstrotton+github@gmail.com" ]
martinstrotton+github@gmail.com
6ceb4bb1f2955a23c3438b3eb20fb1a9a0b60bf5
87955ec8a20c3d3ee98ebce458956d57c972ed31
/contrib/gitian-build.py
d18d2f83cd050bc165eb734c11cfc02d219af96c
[ "MIT" ]
permissive
FullStackDeveloper2020/Hashshare
e7d8cdcff778ee127e01d092231c5080515ae4c2
e4e5893183994382c1490356d158ee3dfc9f200e
refs/heads/master
2020-12-26T12:06:11.529510
2020-01-31T19:48:36
2020-01-31T19:48:36
237,503,888
0
0
null
null
null
null
UTF-8
Python
false
false
14,514
py
#!/usr/bin/env python3 import argparse import os import subprocess import sys def setup(): global args, workdir programs = ['ruby', 'git', 'make', 'wget'] if args.lxc: programs += ['apt-cacher-ng', 'lxc', 'debootstrap'] elif args.kvm: programs += ['apt-cacher-ng', 'python-vm-builder', ...
[ "59161578+hashshare@users.noreply.github.com" ]
59161578+hashshare@users.noreply.github.com
34b64673ff08d394dce6f7563327c1fdc93549b7
256746f29f9995accd4fee35b9b8981264ca2e37
/Ch06/2017-9-25.py
7d2a5f71b389e7ec916d60249be31ee662dff0f2
[]
no_license
Vagacoder/Python_for_everyone
adadd55561b2200d461afbc1752157ad7326698e
b2a1d1dcbc3cce5499ecc68447e1a04a8e59dc66
refs/heads/master
2021-06-22T00:26:02.169461
2019-05-25T16:06:04
2019-05-25T16:06:04
114,508,951
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
##Ch06 R6.5 from random import * count = 0 value = [] while count<10: randomNumber = randint(1,10) while randomNumber in value: randomNumber = randint(1, 10) value.append(randomNumber) count += 1 print (value) ##Ch06 R6.6 from random import * count = 0 value = [] while count<1...
[ "noreply@github.com" ]
Vagacoder.noreply@github.com
57e6299d4c59ae36b3a95d328a5793886a62834a
d6f7ac9541ec803db6f3b528030f6dd94bf2c1fe
/bootcamp_module09/core/tests/test_student_59.py
9836fc05f38771dec8e001f19bb7483049077493
[ "BSD-3-Clause" ]
permissive
poloxu/bisb-bootcamp-2021-module09
c6182abf2b04621e79cec21102da23aabd4fb307
46c146e2ffdeebf3b95abcd8fe382f982ce67cb6
refs/heads/master
2023-07-29T23:22:22.874853
2021-09-17T16:59:55
2021-09-17T16:59:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
from bootcamp_module09.core.student_59 import count_substring # noqa def test_count_substring_single(): test_string = "CGCTAGCGT" test_substring = "TAG" expected_count = 1 observed_count = count_substring(test_string, test_substring) assert expected_count == observed_count def test_count_subst...
[ "garmstrong@colgate.edu" ]
garmstrong@colgate.edu
55aa9c58d0a1a73e47ee027843f80e3ed7b5956a
e33ff9876f6e5713e3f1942edb8d9f2e93f1a012
/HOD.py
eef4110a8cb411985ff78151a7c253b580eca142
[]
no_license
damonge/proton_g
a5f522b52361542fc8807976cab797418efea620
b4a9c3b9f8a33e05ce297c0527b3ad378e9fbc18
refs/heads/master
2021-04-08T02:37:02.088501
2020-05-21T10:34:35
2020-05-21T10:34:35
248,730,806
0
0
null
null
null
null
UTF-8
Python
false
false
3,018
py
import numpy as np import pyccl as ccl from scipy.special import erf, sici class HaloProfileHOD(ccl.halos.HaloProfileNFW): def __init__(self, c_M_relation, lMmin=11.87, lM0=11.87, lM1=11.97, bg=0.72, bmax=6.4, sigmaLogM=0.15, alpha=0.855): self.Mmin = 10...
[ "dam.phys@gmail.com" ]
dam.phys@gmail.com
fa08ee6b997bffc0064a7fae36400a3d89f91f5d
6ad6798c4d6ddb4f931ff9421226c8081da5c46d
/rmf/rmf_traffic_editor/building_map_tools/building_map/level.py
be1c6af5d0af4b0413f72d27569817ffca1c5648
[]
no_license
AI806/RMF-AMRs
de785bfdee710c0236195eae49b1f05a3b9f291a
326fc85e70bc37e66b3ce87c93e1381038c7dc79
refs/heads/main
2023-07-02T15:43:13.761791
2021-08-03T14:35:52
2021-08-03T14:35:52
392,345,583
1
0
null
null
null
null
UTF-8
Python
false
false
17,285
py
import copy import math import os import shutil import numpy as np from xml.etree.ElementTree import ElementTree, Element, SubElement from .etree_utils import indent_etree from ament_index_python.packages import get_package_share_directory from .edge import Edge from .fiducial import Fiducial from .floor import Floor...
[ "myguan0050@gmail.com" ]
myguan0050@gmail.com
1c87a0e2825e26309b4244af6a2ee779071d0f2c
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba3962.pngMap.py
48a92f7f1c037ff2bf416b51ebe1915236974ca6
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba3962.pngMap = [ '11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111', '1111111111111111111111111111111111111...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
41bec5255a46baae8126bc2e5cf3e5f09183651d
60774aab79522d4d68157c9f2107839a14be4e16
/good_image_copy.py
15760efb5000d4aed36255ed7aa97d5cdac318c9
[ "Apache-2.0" ]
permissive
XuHg-zjcn/Spectrum-Transform
e665a33a126b36351273b71602bf1aa213dae9e0
7d93a499503686b3acb7c1906f1fdb76bfd0681b
refs/heads/master
2021-06-03T15:25:31.045478
2020-01-31T08:19:37
2020-01-31T08:19:37
145,997,615
4
0
Apache-2.0
2018-11-17T13:34:48
2018-08-24T13:51:58
Python
UTF-8
Python
false
false
1,252
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Copyright 2018 Xu Ruijun 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 req...
[ "noreply@github.com" ]
XuHg-zjcn.noreply@github.com
4a26ca131605defa43fe136aa42f997eb8302ac7
998dc7c403126f584a69b415d464a595a53f8ef2
/mars/remote/run_script.py
76b485cf3e7f5f4e4db5041ee258a495a867f1d6
[ "BSD-3-Clause", "MIT", "CC0-1.0", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
FANGOD/mars
870bf8bcc72dd40e4741c0df09b9ce5ff91bca03
ec9a85415450615e2f6f2cabf7f55082427188c7
refs/heads/master
2023-07-11T16:41:38.155053
2021-08-18T01:50:12
2021-08-18T01:50:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,254
py
# Copyright 1999-2021 Alibaba Group Holding Ltd. # # 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...
[ "noreply@github.com" ]
FANGOD.noreply@github.com
6fbe229ed3d5744f823f1bbc1ab31c3932cba4b1
53b522367c4e3416142afacac580058d32581d8e
/test1/test1/gallery/migrations/0002_auto_20180626_1747.py
c9ee27cd129c83c842b3f490f2f9edc33a60957c
[]
no_license
Poreykin/test_project
52131345979f621aca1a722f5646593be42c96df
cd8005e523cd9dbfe31c6042abff7edbae370f75
refs/heads/master
2020-03-21T07:00:35.616514
2018-07-04T08:51:04
2018-07-04T08:51:04
138,254,796
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
# Generated by Django 2.0.6 on 2018-06-26 12:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gallery', '0001_initial'), ] operations = [ migrations.AlterField( model_name='photo', name='image_file', ...
[ "gliwick@gmail.com" ]
gliwick@gmail.com
095bb81e528cbbf2b3e3a55fac413f5fbdffa9a0
5305fd93269b5f04d000766860a9d4819ff2f10a
/Final_Project/Code/Old/final_project_clean.py
74c1f26447c4d6fb2e7dfcee341d4d31e0ee8bac
[]
no_license
stubeef/GA-Data-Science
c6a84da1b98742a26d4903c0298fedf66e012437
a7a9c6d35414fc3995177e1bcbbf66c633673f5b
refs/heads/master
2021-08-17T11:15:12.370693
2017-11-21T04:20:05
2017-11-21T04:20:05
104,293,226
0
0
null
null
null
null
UTF-8
Python
false
false
4,256
py
# -*- coding: utf-8 -*- """ Created on Sat Nov 11 16:29:09 2017 @author: slai """ """ Created on Wed Oct 18 11:01:17 2017 @author: slai """ #Does demand for green taxi's increase or decrease by season? Can we predict demand (initiated rides) based on season? #Can we predict ride distance based on season? #Import p...
[ "slai@rei.com" ]
slai@rei.com
d66be7329a7ade0418739d6f8c7ff6fc63c6c6df
d95eef13052f91d033bb08dc5260977027adb870
/data_practice_ch3.py
fadfb7d6dfe97787869baf6eaeb53d911af69590
[]
no_license
fenghuanghao1986/data_structure
0a39e71431381eb5f7da61f21a321af540c7f2a0
71b389208aca2b7539a54574145e78a022172782
refs/heads/master
2020-03-17T05:26:33.870954
2018-11-16T06:05:13
2018-11-16T06:05:13
133,316,778
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
# -*- coding: utf-8 -*- """ Created on Tue May 15 12:40:49 2018 @author: fengh """ # queue practice class Queue: def __init__(self): self.items = [] # it gives me Queue object has no attribute 'items' # no matter if the object I created is empty or not. def isEmpty(self): return self....
[ "hfeng7@du.edu" ]
hfeng7@du.edu
82abbe3df49140777f292a9b5f9b6e5099b3466e
2c31ff3d70c507d59b6fa828e83f1f8b53f444b1
/xueshengguanlixitong/xueshengguanlixitong/grade1.py
df5b991d2e175ff2454250418c64f8ee6d86379c
[]
no_license
ligvxi/student_houtai
0736c3beecc5185b192a985457c0739807fbefc2
a5e71f5d6fc5fafca8b14f7b4ba59a02554451d0
refs/heads/master
2021-09-20T13:53:08.080533
2018-08-10T07:17:54
2018-08-10T07:17:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,807
py
from django.views import View from django.shortcuts import HttpResponse,render,redirect import pymysql import json import math from .view import getpages db = pymysql.connect("localhost","root","root",database="db_minestu",cursorclass=pymysql.cursors.DictCursor) class one(View): def get(self,request): page ...
[ "1325754756@qq.com" ]
1325754756@qq.com
ab4333bfa88f967b63e993cf40d323f401ecf236
daaedf5760c81a43b85b4d43c16d04dec3091405
/mysite/polls/migrations/0001_initial.py
bdcdbc7f114c3922b7753eba9a2d5b939035e3bc
[]
no_license
nuwagabadnm/Mylist
51e05c3dc012f8ae45f39b11a7cd6fdce0d2d863
4f30c6ece097ab21ce2d3386524583cb499a2cb0
refs/heads/main
2022-12-30T17:13:47.300646
2020-10-19T19:55:02
2020-10-19T19:55:02
305,488,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# Generated by Django 3.1.2 on 2020-10-04 20:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "numlod1@gmail.com" ]
numlod1@gmail.com
4a1d6bf2ad0501abe44630ea764ba4fb0f30dd56
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_pragma227.py
2ebfa1038e0dd1e6ab87822f17605f3c0fadb833
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=14 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np class Opty(cirq.PointOptimizer): def optimization_at( ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
e7dd7163634a0bbdb9a9cad543458590b2bb5119
955f9d3fb34af54de2f046d17bbac11c1474819e
/abc174/c.py
8d677e68c2c1a02bfe30bd9fe642311a51a3f835
[]
no_license
shimewtr/AtCoderPracticePython
5bb4c28119fced2d111bd1810e0e290f25b6a191
f3c22ec1f7a36a27848070c5c6ca4e1717b04ac6
refs/heads/master
2023-01-12T17:28:44.770138
2020-11-19T22:50:22
2020-11-19T22:50:22
204,830,292
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
import sys from io import StringIO import unittest import logging logging.basicConfig(level=logging.DEBUG) def resolve(): k = int(input()) if k % 2 == 0: print(-1) else: ans = 1 check = True while (check): tmp = 0 for i in range(ans): ...
[ "wawawatataru@gmail.com" ]
wawawatataru@gmail.com
cf1ff17d311c431d54ef62ae298f0f29020af568
5333649845c6c6dbee1be2cea7250ac97f1c4d91
/spider/nur_news/send_iamges/send_image.py
d018fbf8074f530fee39fdbb7a9df87b8b51253d
[]
no_license
shy-shhy/Top5
8c9ef21cb7bc73f245cbcfa47156f9fcb5e3aaff
e3b542b7867fc59084a845ff6206f091239e1797
refs/heads/master
2022-11-12T10:09:10.483114
2020-07-02T10:54:49
2020-07-02T10:54:49
276,609,425
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
import requests import json import pymysql import datetime import csv dbparams = { 'host': '39.100.245.203', 'port': 3306, 'user': "root", 'password': "asus123836.", 'database': "scrapy", 'charset': 'utf8mb4' } conn = pymysql.connect(**dbparams) cursur = conn.cursor() fin = open('Top_1.jpg'...
[ "3244567262@qq.com" ]
3244567262@qq.com
cffde233952ac8c1f42ba7d8b7080cf5d570dd33
fa67e34b44fb2c9000c2924a9803962b2c72c166
/update_i2i_mapper_for_multiple_subjects.py
9ba4688cb0f91674cb234c7be75cc068df0ae591
[]
no_license
wahyurahmaniar/test-time-adaptable-neural-networks-for-domain-generalization
f642e02a672310f6d593cd785b7f83a8578eb5a6
5233011169935314690e30b94f6d49ac1d21e721
refs/heads/master
2023-08-09T22:13:13.649807
2020-06-18T10:14:01
2020-06-18T10:14:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
import subprocess for subject_id in range(20): subprocess.call(['python', '/usr/bmicnas01/data-biwi-01/nkarani/projects/generative_segmentation/code/brain/v2.0/update_i2i_mapper.py', str(subject_id)])
[ "noreply@github.com" ]
wahyurahmaniar.noreply@github.com
c2dd80e47037f42e020283b05364c8b5c100bef5
2b2003a191dd9ad770dad0d2b0d1583a9dd716a0
/Day5/Day-5-1.py
db29af333b7bd247ffa76f32f23b41ccc2c1ef1a
[]
no_license
ak2hr/AdventOfCode2020
f1142e65cd5f1c879fc8953dc0a977a732235c0b
a190fae88991ed0bc4b0fd93a54ec21a23a75dc0
refs/heads/main
2023-02-02T20:01:49.749638
2020-12-25T05:26:03
2020-12-25T05:26:03
317,290,221
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
def main(): file = open("Day5/input.txt", "r") curMax = 0 for line in file: interval = 64 row = 0 for x in line[:7]: if(x == 'B'): row += interval interval /= 2 interval = 4 column = 0 for x in line[7:]: if(x...
[ "ak2hr@virginia.edu" ]
ak2hr@virginia.edu
7514ed0273a4afae603ccb3ae3b785698968013c
86387da522761b6a92db2e54b706435c9861f41d
/api/api/urls.py
4b26f61d4f09b5cea565b8f4c6dd16cd687ba7f0
[]
no_license
waynetian/cjxd_cloud_api
80089cc1baebc4ec78986a6c710ef5311e692a27
b65f0991742d88658475ee56971cb8524fc21e9f
refs/heads/master
2021-01-17T12:10:09.123165
2015-05-25T08:06:12
2015-05-25T08:06:12
34,828,101
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
from django.conf.urls import include, url from django.contrib import admin from account import views from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'user', views.UserViewSet) router.register(r'organization', views.OrganizationViewSet) router.register(r'organization_info', ...
[ "tianwei@vip.qq.com" ]
tianwei@vip.qq.com
1ea03400ca87f6315d33824b3426b6fb0d74d1c5
4589a9ea76e458793ad78059839b81d365f433de
/athena_automation/athenataf/tests/configuration/system/admin/delete_test_scenarios/DeleteTestScenarios.py
8914ef5a124a3da9001bacaf87ea36bba1885e95
[]
no_license
cash2one/reautomation_handoff
5e2c4c432d8f658d1b57211782744bd0b56c52f6
7ef83572d659db35036189eb394f99de1369db5a
refs/heads/master
2020-05-22T17:56:33.214080
2015-07-13T07:51:18
2015-07-13T07:51:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
import logging logger = logging.getLogger('athenataf') from athenataf.lib.functionality.test.ConfigurationTest import ConfigurationTest class DeleteTestScenarios(ConfigurationTest): ''' Test class for System Admin DeleteTestScenarios. ''' def test_ath_11329_delete_view_only_guest_registration_only_non_default...
[ "raju_set@testmile.com" ]
raju_set@testmile.com
cabc62d1085ad1354b298be24d582bf4fbac30f0
9e1993270cb9cf714fc102647861557d0e859b62
/200. Number of Islands.py
e3ff86c5535ad53573f7dfa92b13cf3f6080413a
[]
no_license
hhelibeb/leetcode
06adb57bad9e2ef3e0140c7e364788b534441370
dc02ea889ec3b53415dc1c5f9e7444c2b46fcd06
refs/heads/master
2021-01-20T18:28:05.125275
2020-04-30T14:13:36
2020-04-30T14:13:36
59,983,962
1
1
null
null
null
null
UTF-8
Python
false
false
735
py
from typing import List from collections import deque class Solution: def numIslands(self, grid: List[List[str]]) -> int: if not grid: return 0 count = 0 for i in range(len(grid)): for j in range(len(grid[i])): if grid[i][j] == '1': ...
[ "noreply@github.com" ]
hhelibeb.noreply@github.com
4f63f0e70336900053f8363cfde813d1353ef225
6edf405caded933b0556f95cce32e6a1cddca37e
/paddle_game/utils/button.py
61cc42ef57f8b41e1df20902c1b28a3e8b05c479
[]
no_license
bensengupta/brick-breaker
505a161b1e9b6fe6dd14ca8b83501aca22e8f71e
6f07b27e0d8e212897d0f7b6fefc5948b5f1b272
refs/heads/master
2023-08-31T11:55:20.681224
2021-11-05T22:43:44
2021-11-05T22:43:44
425,102,054
0
0
null
null
null
null
UTF-8
Python
false
false
2,803
py
# coding=utf-8 from paddle_game.globals import Dimensions class Button: """ Classe pour faciliter l'affichage des boutons et la detection de clicks sur le bouton. """ def __init__( self, x, y, text=None, width=Dimensions.WIDTH / 6, height=Dimension...
[ "benjaminsengupta@gmail.com" ]
benjaminsengupta@gmail.com
a6ede5069256c5fbbd80da724fed0f60060753cc
1983e3500bfc3e0c09fe9f338a39f1ae1dbc352c
/AutoBuildTool/src/cgi-bin/main.py
46481dfcbf061ff93d4f84e57842fa329209e633
[]
no_license
mydipcom/engineeringtools
733ccabc299b99ca4d0d96e712a3d20e71837fa5
4db55d53f0ef55fc52d6313775ccce0d5723b56a
refs/heads/master
2020-05-03T23:13:23.297962
2015-03-26T06:00:26
2015-03-26T06:00:26
23,652,021
0
0
null
null
null
null
GB18030
Python
false
false
14,336
py
# coding=GB2312 ''' Created on 2014-5-4 @author: Alvin ''' import cgi, cgitb import commands from subprocess import PIPE import subprocess import sys, os, shutil import time from Lib import XmlLib htmlContent = """ <html xmlns="http://www.w3.org/1999/xhtml" lang="zh-cn"> <head></head> <body> <center><h1>Build ...
[ "alivn.yao@campray.com" ]
alivn.yao@campray.com
0a79c1a8b555944426eaf8ea54baba198f4da81f
4f80c4cad2fe233b247f48862a5daa485c207125
/personal_portfolio/personal_portfolio/settings.py
bd692705a70be49f5b8433e54cd1c039d27d0e03
[]
no_license
zunkiflee/Django_learn
4f20b8beabd02b573606eb50f42869387d71ce14
426c36bf3d74a00cc429f1bdc01430cba6bb718d
refs/heads/master
2022-10-28T23:30:30.921930
2020-01-07T05:44:50
2020-01-07T05:44:50
232,250,492
0
1
null
2022-10-05T05:16:15
2020-01-07T05:37:22
Python
UTF-8
Python
false
false
3,466
py
""" Django settings for personal_portfolio project. Generated by 'django-admin startproject' using Django 3.0.1. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ i...
[ "zunkiflee_waesani@outlook.co.th" ]
zunkiflee_waesani@outlook.co.th
fd2b4017602792ace836e55c845558ba791a3588
8afb5afd38548c631f6f9536846039ef6cb297b9
/_PYTHON/DATA_STRUC_PYTHON_NOTES/python-prac/mini-scripts/python_Generate_Random_Number.txt.py
98b69a5707be5d3b566f616421eb1f62442fefe9
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
60
py
from numpy import random x = random.randint(100) print(x)
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
3917b2f5d983b0f6c464d8520a94d5013935836e
f30794407d2d95934416c5e152e318e6d6e253cb
/tracker/io/script.py
4fada93396434f51942330a37658340476df37c8
[ "LicenseRef-scancode-unknown-license-reference", "Unlicense" ]
permissive
MATHUSLA/tracker
94dc20314e6f5a80d9f6f55f1659d2414083a3a7
0383b2d15d1cc714ff2ff40631d2040017ce2bb8
refs/heads/master
2020-03-08T02:18:08.367231
2019-10-29T05:41:02
2019-10-29T05:41:02
127,855,581
3
4
NOASSERTION
2019-05-30T14:45:37
2018-04-03T05:29:14
C++
UTF-8
Python
false
false
3,259
py
# -*- coding: utf-8 -*- # # # tracker/io/script.py # # # MIT License # # Copyright (c) 2018-2019 Brandon Gomes # # 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...
[ "bhgomes.github@gmail.com" ]
bhgomes.github@gmail.com
5a9aecd99cefa3e9ebb2be9c27986a167b0becfc
8e8638afd16aff0202dde1f70cdcfb45629f2207
/server/test/test_nan_rest.py
a9ba4dd76a90c7ebfb03e62f3df49ec8454d9d85
[ "MIT" ]
permissive
hy395/cellxgene
0ea1fb59fef0fb6504fab594f9b5939524c45d0a
9d92fd724fb3ed3df2aaa99b655c8b34aa96f68f
refs/heads/master
2020-11-24T01:56:09.923434
2019-12-13T22:14:51
2019-12-13T22:14:51
227,914,596
0
0
MIT
2019-12-13T20:12:09
2019-12-13T20:12:08
null
UTF-8
Python
false
false
2,389
py
from http import HTTPStatus from subprocess import Popen import unittest import time import math import decode_fbs import requests LOCAL_URL = "http://127.0.0.1:5006/" VERSION = "v0.2" URL_BASE = f"{LOCAL_URL}api/{VERSION}/" BAD_FILTER = {"filter": {"obs": {"annotation_value": [{"name": "xyz"}]}}} class WithNaNs(...
[ "noreply@github.com" ]
hy395.noreply@github.com
8ab3069b9a328363bbbfd0ad67638a4ac549183c
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_116/770.py
c1b36eac52d21c7e378886958c50e72ea92b665e
[]
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
1,196
py
# Solver for Tic-Tac-Toe-Tomek game import numpy as np fin = open('A-large.in') fout = open('testout_large.txt', 'w') def CheckWinner(A, player_char, not_player_char): # Check if X wins Acopy = A Acopy = np.where(Acopy=='.', 0, Acopy) Acopy = np.where(Acopy==not_player_char,0,Acopy) Acopy = np.where(Acopy==...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
07f4ea1ffb6e6d8aad10794ff9343ce9d3838a9f
e83b15975cd05087cc26c5302e1b12ba7139976a
/scrape_script.spec
11a344d98e43817a88f1f500aa54431e9fd59771
[]
no_license
ahmmkh/scrape_anime
2bd7ab3961d6888df26e798c791f4caf3796d96f
1e803728a56ec5eb4107eacc3917b008a213edf6
refs/heads/master
2020-03-18T08:11:09.648702
2018-05-23T01:45:41
2018-05-23T01:45:41
134,495,165
0
0
null
null
null
null
UTF-8
Python
false
false
745
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['scrape_script.py'], pathex=['/home/ahmmkh/Desktop/oma_cartoon'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_...
[ "b-b@dr.com" ]
b-b@dr.com
6264a0b4aebc98ab2fd8d75d31f9861aece0fde2
59de7788673ade984b9c9fbc33664a7cbdba67d3
/res/scripts/client/gui/scaleform/daapi/view/meta/fortchoicedivisionwindowmeta.py
12eb657baafa06583d6ac8fb7bce9fbd90dcdb1c
[]
no_license
webiumsk/WOT-0.9.15-CT
3fa24ab37a6c91b7073034afb2f355efa5b7fe36
fbd194fbaa6bdece51c7a68fc35bbb5257948341
refs/heads/master
2020-12-24T21:27:23.175774
2016-05-01T13:47:44
2016-05-01T13:47:44
57,600,180
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,202
py
# 2016.05.01 15:22:42 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/FortChoiceDivisionWindowMeta.py from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class FortChoiceDivisionWindowMeta(AbstractWindowView): """ DO NOT MODI...
[ "info@webium.sk" ]
info@webium.sk
00bd92226ad01170f9d53b5433d788ac6ca752c1
0fda71e75d767fd00f77d6841a63b0873b985d58
/django_bolts/forms/fields.py
dd168776617d049d9cb2ffe89bd2cc660d706c3f
[ "MIT" ]
permissive
vivek2010/django_bolts
374212ea4e9c7b754375a62f1270558c257dc6ae
b9e23eba39ff96e66b932581d4d7320d567408a8
refs/heads/master
2021-01-22T13:37:52.034041
2013-08-04T15:26:33
2013-08-04T15:26:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,794
py
from django import forms from django.contrib.auth.models import User from django.forms.extras.widgets import SelectDateWidget from datetime import date from django.core import validators import re from django.utils.encoding import force_unicode from itertools import chain __all__ = [ 'UniqueEmailField','U...
[ "codeprophecy1@gmail.com" ]
codeprophecy1@gmail.com
285a2caa90b61ae628ae8b0c2b62c3ae736ac74f
aace5cbeeb567b017984898297192ea6b5c5993f
/文件操作/csv/03pd按照列写入csv文件.py
67d0d5a2673a07fd7481e0836c2853236a6457af
[ "MIT" ]
permissive
Litao439420999/Spider
4eb27fc332b9a97c9917c236c3653809c2229ac3
47d70ec92936b8bea87c641df47ea30e5dde86a1
refs/heads/master
2023-03-24T19:02:22.857250
2021-03-14T02:07:59
2021-03-14T02:07:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
''' Description: 参考:https://blog.csdn.net/weixin_43245453/article/details/90054820?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.control Author: HCQ Company(School): UCAS Email: 175626...
[ "1756260160@qq.com" ]
1756260160@qq.com
0846ce23d72a96dd3abeb6c06cb588f10a9f6824
24dabf63ba445fa4df205b5c9bbe89f9d7230527
/transfer_learning/tools/double_iterator.py
244733768081f4b153ad922e06ce30643145c6df
[]
no_license
marco-willi/hco-experiments
e51ea5581eefb4fc3b46fb4337b9f04eb52640fb
7f3076b476e3311ed22d2db37c6d075e43d0d61f
refs/heads/master
2021-01-22T04:09:37.706108
2018-01-03T20:44:46
2018-01-03T20:44:46
92,433,439
1
0
null
2017-08-21T03:49:27
2017-05-25T18:40:03
Python
UTF-8
Python
false
false
2,987
py
""" Double Iterator - Outer (slower) ImageGenerator that serves large batches of data that just fit into memory - Inner (numpy) ImageGenerator that serves smaller batches of data """ # import modules from keras.preprocessing.image import ImageDataGenerator from keras.preprocessing.image import Iterator class Doubl...
[ "will5448@umn.edu" ]
will5448@umn.edu
72209a7d51dd61282a91ad7bc9a643c55c085fb5
d65f07087798e86be7e0525776168d6737115c79
/inlineForm/urls.py
2b79a96746a7108ad63e2edcd20b5e8de43a9982
[]
no_license
mohmed98/databaseEditView
ea55200016e8ed2dcfff55fa412dd873086fd747
4c6c8bd3718817da3208e4aefc4071e0231e6d77
refs/heads/master
2020-09-06T06:03:59.551647
2019-10-29T23:21:00
2019-10-29T23:21:00
220,345,648
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from django.urls import path from inlineForm import views urlpatterns = [ path("", views.home, name="home"), ]
[ "mohamedatta447@gmail.com" ]
mohamedatta447@gmail.com
12a67d68ad83159d233c5216c68b26983e134104
9301d7fc5fdabf9c367e3e8bdf6c5c9fa904a088
/aCRUDApi/student/models.py
9fcdbf47e691da21b14137c7f10247f42d48910e
[]
no_license
Kaushalkhokhar/django-modules
96b6a7f7e65166bd5eab08ba63a57f950d3a289c
2550cc03fff09a35d24d8b712040a445bbd198e8
refs/heads/main
2023-07-17T21:10:28.022443
2021-09-03T12:09:23
2021-09-03T12:09:23
395,297,620
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
from django.db import models # Create your models here. class Student(models.Model): name = models.CharField(max_length=50) roll_no = models.IntegerField() city = models.CharField(max_length=50) def __str__(self): return self.name
[ "kaushal2413@gmail.com" ]
kaushal2413@gmail.com
c1044df2c479045413f7c72d46d91da38e9a72e4
7f044a076a89300e667618ca88efde3988434329
/test.py
e6596887b5041affefa508d5a7bf1c1b3999e2a8
[]
no_license
zaher-aa/Python-Projects
0eb2f6bff68eeb91b172b267a8e95fbaec6b8f37
bff2fd204987c4d31ee1d077c7f8353233359c1f
refs/heads/main
2023-08-18T00:48:14.007440
2021-09-10T06:54:43
2021-09-10T06:54:43
350,227,850
1
0
null
null
null
null
UTF-8
Python
false
false
5,306
py
import sqlite3 db = sqlite3.connect("university.db") cr = db.cursor() cr.execute(""" CREATE TABLE IF NOT EXISTS `lecturers`( Name TEXT, ID INTEGER, Specializatin Text )""" ) cr.execute(""" CREATE TABLE IF NOT EXISTS `courses`( Name TEXT, ID TEXT, Credit_Hours INTEGER, Level I...
[ "zaherabuamro@gmail.com" ]
zaherabuamro@gmail.com
c3246d174ee20187d22eecaf8f36a3ff7f92acec
a61c0c7c57f0f2d0866b1cb265f55992d39efc76
/api_proj_Positions.py
8f25cc5ef7f8ef7bdc7dfc94f1a5c83c6d2ab320
[]
no_license
Shelby86/PythonApiProject1
b1c77c083f78bc09bf06eb6a230f272326930f93
8bf15f05237d018636e71dbefdbee322d6d19be2
refs/heads/master
2022-12-26T21:38:12.693116
2020-10-08T22:00:26
2020-10-08T22:00:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,726
py
from api_proj.Base import Base class Positions(Base): def add_position(self): headers = self.headers url = "http://skryabin.com/recruit/api/v1/positions" with open ("post_position_info.json", "r") as file: position_info = file.read() response = self.sess.post(url=url...
[ "noreply@github.com" ]
Shelby86.noreply@github.com
3740db83441171a2bf635073bf5561da0660a684
9102d35e953327db73c4d3159b2ba8c45262da1f
/code/filter_main.py
914f1f016390a54a055f77b76d56740dce6d8a50
[]
no_license
pocketman/15889
2d547db29c117c64f560ce8e54c46d483fc35398
9aede9ea2c9d9a67647b264a54b764218d239592
refs/heads/master
2021-01-10T06:15:26.854732
2015-12-18T06:06:43
2015-12-18T06:06:43
46,253,493
1
0
null
null
null
null
UTF-8
Python
false
false
445
py
import filter_data as fd from importance_sampler import * PATH = "C:\\Users\\REX\\Dropbox\\cmu\\fall2015\\15889\\project\\lectures\\feats.csv" OUT_PATH = "C:\\Users\\REX\\Dropbox\\cmu\\fall2015\\15889\\project\\lectures\\filtered_feats.csv" labels_path = 'C:\\Users\\REX\\Dropbox\\cmu\\fall2015\\15889\\project\\lecture...
[ "ruixin.li.1994@gmail.com" ]
ruixin.li.1994@gmail.com
34378d26dbeb168b9f660be82846df83cdc2b37f
812ab43e25985b22cedd3b75b0259bde2fc95e71
/WD_LanguagesLandscape.py
5be849597b118db1044751611a170c8894f8f385
[]
no_license
GoranMilovanovic/analytics-wmde-WD-WD_languagesLandscape
320771e41a839a6b0dbb30c4ace5eb8ef07ede70
99350bd6e75edd56112f86bc0bac45bd2615a3e6
refs/heads/master
2021-02-05T22:58:46.550499
2020-02-28T20:06:49
2020-02-28T20:06:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,088
py
### --------------------------------------------------------------------------- ### --- wd_LanguagesLandscape.py ### --- Author: Goran S. Milovanovic, Data Scientist, WMDE ### --- Developed under the contract between Goran Milovanovic PR Data Kolektiv ### --- and WMDE. ### --- Contact: goran.milovanovic_ext@wikimedia....
[ "goran.s.milovanovic@gmail.com" ]
goran.s.milovanovic@gmail.com
21685352ae4713da59e43a602a27caa9ec4f0281
821336d11bc88c336e086be4479fee8e4960a46a
/main.py
990e840193dca778759dbe79bf1e962acc1b900e
[]
no_license
skapisth/fixationanalyzer
b73d48cdbb53cdd040926f18d48e9f2516b588d3
6301229fbf4c5bc7b4adaf6790aa6f36fceede29
refs/heads/master
2020-04-01T08:15:37.169969
2018-11-01T12:23:45
2018-11-01T12:23:45
153,023,355
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
import yaml from collections import OrderedDict import itertools import fixationanalyzer as fa def main(): with open('config.yaml','r') as f: CONFIGS = yaml.load(f) sorted_keys = sorted( CONFIGS.keys() ) ordered_configs = OrderedDict() for key in sorted_keys: ordered_configs[key] = CO...
[ "sxk9196@rit.edu" ]
sxk9196@rit.edu
f46483143cee2b1cfa802c56d800dd7312457b50
14e19bcaaf917924e7bb78e4f7e6b42662ff5164
/fancy_month01/day17_fancy/day17_teacher/demo05.py
5e119a78d204ea68d697a808609411ce80758693
[]
no_license
Lzffancy/Aid_study
5b3538443ca0ad1107a83ef237459b035fef70d0
4ba5e5045371490d68459edd1f0a94963e0295b1
refs/heads/master
2023-02-22T19:11:00.867446
2021-01-25T13:01:35
2021-01-25T13:01:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
""" 闭包 三大要素: 有外有内 内使用外 外返回内 字面思想: 封闭内存空间 作用: 外部函数栈帧执行后,不释放. 等待内部函数重复使用 """ def func01(): a = 100 def func02(): print(a) return func02 # 返回但没有执行内部函数. # 调用外部函数,得到内部函数 res = func01() res() res()
[ "731566721@qq.com" ]
731566721@qq.com
dd45f7a26030e512d2faf0ae930e9a48f98e4f9b
7733f6133fa5900d4103baf2b8351a53d7b47154
/hello_world.py
f21f1b4df095f58186d80aec675a273f8b309970
[]
no_license
ErikHys/Remote_network_executor
bb06a9e8ec9885a9674e86a3d0834c108ca099da
d47870d520e12a2b66cd8c3041864d1d2dc3ed5a
refs/heads/main
2023-01-31T00:45:44.491570
2020-12-17T09:45:59
2020-12-17T09:45:59
322,076,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,620
py
import tensorflow as tf import pandas as pd from sklearn import model_selection from tensorflow.python.keras.utils.np_utils import to_categorical def get_model(): """ Convolutional neural network, SDG optimizer, relu activation, using 3 layers of convolutional layers and 2 max pooling for categorising handwri...
[ "E.Hystad@student.uib.no" ]
E.Hystad@student.uib.no
085afec9431a23a96930cbd2882aa8e7de949818
7509bf2b66184968064f3799f3cb59480c5059ad
/conflate/202005_mobius/out.py
e382024e9ae41b16d9d0ca58f89c054b63bc87db
[ "MIT" ]
permissive
nlehuby/OSM_snippets
aa22850620213df07145abe02a4d169baf11315c
c52398797f2525192bf7062062819c998e367292
refs/heads/master
2023-01-27T19:56:02.516872
2023-01-13T18:21:58
2023-01-13T18:21:58
19,834,126
6
3
MIT
2020-06-02T06:36:31
2014-05-15T20:27:22
Jupyter Notebook
UTF-8
Python
false
false
633
py
import json with open('results.json', 'r') as input: results = json.load(input) output_create = [] output_delete = [] for elem in results['features']: if elem['properties']['action'] == "create": output_create.append(elem) if elem['properties']['action'] == "delete": ...
[ "noemie.lehuby@zaclys.net" ]
noemie.lehuby@zaclys.net
2e49bb76f3ef1c3087b0e852595eeb8f60a66a4d
d45e7c0c2cffc01837f7dbe482da344e8fc31f28
/tvmaze/tests.py
4d1b290ddfbc26d1d18b5b2a8403be93f57a1ab8
[ "MIT" ]
permissive
LairdStreak/MyPyPlayGround
546183b7a8acb2bcb146b73fb519886adc797ef3
e999cfd179d457a6d17c81bf1bacaa7c90e3e1dc
refs/heads/master
2020-12-02T19:44:44.863328
2018-06-11T10:59:41
2018-06-11T10:59:41
96,383,918
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
import unittest from tvmazereader import main class TestMethods(unittest.TestCase): def test_readerMain(self): data = main() self.assertEqual(len(data),2) if __name__ == '__main__': unittest.main() #python -m unittest discover -v
[ "lairdstreak@gmail.com" ]
lairdstreak@gmail.com
1b27404890578f0825be503f2993baf0c12833ae
b79e780df5f677e406784bcaf31986d718810fa9
/wichacks/alertSettings.py
8f8333cfac5ea26bd3c623cd27e5c92652dd2af7
[]
no_license
kar5326/MOMAppBackend
adb41cb3c0ed65de3e7b6b9fa0d052186070105b
a08f2f9baabd730b5a94aa931072bfb5ab6a0961
refs/heads/master
2020-04-26T11:12:18.336195
2019-03-02T23:52:35
2019-03-02T23:52:35
173,508,906
0
0
null
null
null
null
UTF-8
Python
false
false
1,790
py
from dataclasses import dataclass from wichacks import alertType @dataclass class Settings: name: str # name of alert alert_type: alertType.Type # type fo alert e.g. health, hygiene alert_time: int # alert time enabled: bool # whether the alert is enabled def create_alert(name, type, time, enable...
[ "kar5326@rit.edu" ]
kar5326@rit.edu
24f5122b082e128872167f188db59934a13299af
100682bc28b31dbdf0174062ca3a6f141c4f26f8
/controlr/asgi.py
1f053a5f76d55a8098418e201a0e6902b95128d0
[]
no_license
Albrin-Richard/django-backend
0dd0b26791dc822cb338f79371f9d01d9d4d3c7b
77be74916e978d55cdfa907a5a5028f203f2304c
refs/heads/master
2023-01-11T06:14:41.275673
2020-11-02T15:18:24
2020-11-02T15:18:24
309,408,406
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" ASGI config for controlr project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "nxsiddiq@gmail.com" ]
nxsiddiq@gmail.com
511a610b4208faf06340813b7dc036f4cefe122c
67971c2c66bce8e9746810592f71a33fcbbeb260
/tests/test_database/test_playlist.py
cd1653bbcdf1c25933f2071b41dce51c388a761b
[ "MIT" ]
permissive
holing/LinDouFm
78ade890c974b967ba3102cf93c31dee1bfcde09
463618599e2f3111c7fc2dd251940e9c4981b40b
refs/heads/master
2021-01-17T03:39:53.758021
2015-01-18T14:13:36
2015-01-18T14:13:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,809
py
# coding:utf-8 from database.playlist import playlist from database.music import music_model from database.channel import channel_model from tests.test_database.test_music import get_test_music def test_playlist(): #添加测试频道 channel_name = u"test_channel_name" channel_uuid = u"mk_tes...
[ "root@ubuntu.(none)" ]
root@ubuntu.(none)
63463a703612e5da4d3698590f690f700b1e48e0
7f57c12349eb4046c40c48acb35b0f0a51a344f6
/2015/RotateList_v0.py
cc1c94e88855fbce957c86bc6277c56718a5008b
[]
no_license
everbird/leetcode-py
0a1135952a93b93c02dcb9766a45e481337f1131
b093920748012cddb77258b1900c6c177579bff8
refs/heads/master
2022-12-13T07:53:31.895212
2022-12-10T00:48:39
2022-12-10T00:48:39
11,116,752
2
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
#!/usr/bin/env python # encoding: utf-8 # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None def print_l(head): if head: print head.val if head.next: print_l(head.next) class Solution: # @param {ListNode}...
[ "stephen.zhuang@gmail.com" ]
stephen.zhuang@gmail.com
8a7a2e55befff55fa7322db16f944dccb8bddcb3
f33b30743110532ddae286ba1b34993e61669ab7
/Optimal Division.py
171cb2effb649a0cb56f16ae0f104dba31b07f47
[]
no_license
c940606/leetcode
fe9dcee7a5daa4d52999d5f53253dd6dd33c348b
631df2ce6892a6fbb3e435f57e90d85f8200d125
refs/heads/master
2021-07-10T14:01:26.164966
2020-08-16T10:46:16
2020-08-16T10:46:16
186,588,449
3
0
null
null
null
null
UTF-8
Python
false
false
430
py
class Solution(object): def optimalDivision(self, nums): """ :type nums: List[int] :rtype: str """ n = len(nums) if n == 0: return if n == 1: return nums[0] if n == 2: return str(nums[0]) + "/" + str(nums[1]) res = str(nums[0]) res += "/" res += "(" + str(nums[1]) for i in range(2,n): ...
[ "762307667@qq.com" ]
762307667@qq.com
321fd7181733a8ab6e5e8e00f0a89396e96b7c9e
3fe0d59f8f0cf8efa003c04df215304c10dbf323
/simulation.py
1b97f390a99571b119c257414be7146331939b2e
[ "BSD-2-Clause" ]
permissive
revanthky/ECE183DB
9bff212f3b7f299bd7e3b4b94b5db5aa310529a6
11a5c22a13f29d95e03ff993c0dd47d1d829e0ed
refs/heads/main
2023-05-31T14:40:00.787383
2021-06-10T01:17:25
2021-06-10T01:17:25
358,349,121
0
0
null
null
null
null
UTF-8
Python
false
false
13,407
py
import numpy as np import math import random from mpl_toolkits import mplot3d import matplotlib.pyplot as plt # grid formulation (100x100) x_max = 100 y_max = 100 # diameter of wheel wheel_d = 5 # north vector north = [0, 1] # delta t for continuous discretization dt = 0.01 # mass of robot (an arbitrary value in unit...
[ "niyant.narang@gmail.com" ]
niyant.narang@gmail.com
7b2653c28ca84b62142d0978452bfbd4823f4d88
e28fad299c396ff153e5df666443e335a033b657
/mms/stories/views.py
183a6686c66e73e2b676c20eb9843e75bcd8bf7c
[]
no_license
easherma/mms_django
387b179ab74bf4447fa7acefa6ac84f0423edb1f
1ae30ae8bc30550dce19e288ae43759a8155f8ad
refs/heads/master
2021-01-10T18:08:01.586356
2017-01-12T20:44:09
2017-01-12T20:44:09
71,917,502
0
0
null
2017-02-20T19:08:29
2016-10-25T16:36:14
HTML
UTF-8
Python
false
false
2,896
py
from django.contrib.auth.models import User from stories.models import Story, Submission, Waypoint from stories.serializers import StorySerializer, UserSerializer, SubmissionSerializer, WaypointSerializer from rest_framework import viewsets from rest_framework.renderers import TemplateHTMLRenderer from rest_framework.r...
[ "ericandrewsherman@gmail.com" ]
ericandrewsherman@gmail.com
d39c7fb78ac2d32f16918615fb0f8dadb4a8b9d1
7af9841dfdeb7192cee9f5bc5ae24ebabeeebdcc
/project/admin.py
06b0a54f6791eeb4a8343c0af355c73e99ad51a5
[]
no_license
dimansion/bepy
513d1d6b8c6f679ce97f46741b50b73dabf20484
dd92999b9fb0d65e9479372718409785a8d26d26
refs/heads/master
2020-06-28T11:27:02.204255
2016-11-14T11:26:32
2016-11-14T11:26:32
67,694,755
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
from django.contrib import admin from project.models import Page, Content class ContentInline(admin.TabularInline): model = Content prepopulated_fields = {'slug':('name',)} class PageAdmin(admin.ModelAdmin): list_display = ('title', 'published_date',) prepopulated_fields = {'slug':('title',)} in...
[ "dimansional@gmail.com" ]
dimansional@gmail.com
29e015b0f372a05ff0e468d8c45dcbb9a93b663b
02a95e7ca44ffa5d15c6211f34d4ff2ded3f51aa
/base/power_of_three.py
ae10f00e9a2a2ad8320d1e5e43986c0f865ee76f
[]
no_license
Safintim/Hexlet-Python
66c07efc8ebeaa11c116e6c9f14da627557486eb
169e9f8700985410978c539a90e58ee27d6d3095
refs/heads/master
2021-01-01T22:44:21.353000
2020-02-23T11:02:23
2020-02-23T11:02:23
239,376,242
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
def is_power_of_three(number: int) -> bool: for degree in range(number): if 3 ** degree == number: return True return False
[ "timur@getgain.ru" ]
timur@getgain.ru
fff2bfe18f1b291da38dbff3169d4921dcd0a86a
dd6c910575941befa65e92b9d069aa77df5a5054
/jirareport/story/migrations/0031_auto_20151002_2045.py
770dcf359367de30cf662f227f98578a6fde5a1f
[]
no_license
cattias/jirareport
b48a8e663c49635a78a4cc7df8dd8fc927bc1603
ef0d7d32efdc984e0a863b3a311d7e68817f8917
refs/heads/master
2021-01-19T21:28:35.192168
2015-10-06T12:59:07
2015-10-06T12:59:07
42,905,830
0
0
null
null
null
null
UTF-8
Python
false
false
65,482
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from datetime import datetime from story.models import Story, Epic def import_history(apps, schema_editor): date = datetime.strptime("2015-10-02", "%Y-%m-%d") Epic.CreateEpicFromExcel('SRMF-1', 'Creat...
[ "christophe.attias@amadeus.com" ]
christophe.attias@amadeus.com
16363a4a11e1cb97d0e557c5ff52f35f01a24676
26cafce49722480e491ad4a601b729046bc74fa1
/account/serializers.py
1113453003eedeaea83f37e2ab9e85b2e49bf122
[]
no_license
IskenderMazhitov/blogapi
85296a6b670e61e58e0628f47134c4debc09756d
2ef7afb8fe762b028c8c9c1efc92d3b43d4a9978
refs/heads/main
2023-07-12T19:50:51.490082
2021-08-24T09:46:43
2021-08-24T09:46:43
399,410,038
0
0
null
null
null
null
UTF-8
Python
false
false
2,711
py
from rest_framework import serializers from account.models import CustomUser from account.utils import send_activation_code class RegisterSerializer(serializers.ModelSerializer): password = serializers.CharField(min_length=8, required=True, write_only=True) password_confirmation = serializers.CharField(min_l...
[ "iskendermazitov@Iskenders-MacBook-Pro.local" ]
iskendermazitov@Iskenders-MacBook-Pro.local
8810e20c0d4928a9c3b0dbf23ef6590ec448b754
128d593efd591dc83a3aef2d4bfad39e73ee637e
/python_code/complete/no128
a8958da736adcb09069e0cf51a44cd9584ed2446
[]
no_license
jwan/ProjectEuler
93be87d89cc58516d503dd5ed53bdbd706748cda
65aec4f87b8899db6bad94a36412a28a4b4527e9
refs/heads/master
2021-01-17T08:21:46.654529
2011-05-02T23:11:35
2011-05-02T23:11:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,574
#!/usr/bin/env python # 1 --> (2,3,4,5,6,7) # [1] 1 # [2,...,7] 6 # [8,...,19] 12 # [20,...,37] 18 # [38,...,61] 24 # f(k) = 3k^2 - 3k + 1 # f(k) = elements before layer k if k > 0 #Layer 0 # 1 -- (1,1) -- (2,1),(2,2),(2,3),(2,4),(2,5),(2,6) # Layer 1 # 2 -- (2,1) -- (1,1), (2,2),(2,6), (3,1),(3,2),(3,12) C # 3 ...
[ "dan@counsyl.com" ]
dan@counsyl.com
1c0718148e9e9ebb9bdd52de8a5d00b60b6504b5
29c58b3bec6ac0fcdb3070efc118600ee92004da
/test/test_email_html_dto.py
92e5827bb8e4596c35ee57d8c9ef29da4ca517f5
[ "MIT" ]
permissive
mailslurp/mailslurp-client-python
a2b5a0545206714bd4462ae517f242852b52aaf9
5c9a7cfdd5ea8bf671928023e7263847353d92c4
refs/heads/master
2023-06-23T00:41:36.257212
2023-06-14T10:10:14
2023-06-14T10:10:14
204,662,133
8
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
# coding: utf-8 """ MailSlurp API MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://ww...
[ "contact@mailslurp.dev" ]
contact@mailslurp.dev
eb0eef4d4c0ef4af39e998fe4679633070c96e0a
3a1c57024732dc295ecbc8d105380f82eabd7835
/Code/RPi/build/rosserial/rosserial_client/catkin_generated/pkg.installspace.context.pc.py
2cc7a2a9ae811b599b26c65424108d4cbedacc1f
[]
no_license
hydromines/P17
b8688a11124faef74df6c4e4386d34c7c6a84e20
5007c46f0cdc2a92d5846069fa83ffa598501832
refs/heads/master
2020-06-13T05:43:41.178195
2019-09-22T18:52:37
2019-09-22T18:52:37
194,557,631
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rosserial_client" PROJECT_SPACE_DIR =...
[ "samoht.drassog@gmail.com" ]
samoht.drassog@gmail.com
33335df400ee1fff9b3c306f0eb1a73637755dee
8a98e2c2025bbf4f047ba6e0c8be5f88dd474a78
/Lec5:Sequence_models/week2:NLP_and_Word Embedding/Word Vector Representation/w2v_utils.py
2d4ff24b9c5090be1850ab9325cb43c0683af915
[ "MIT" ]
permissive
824zzy/Deeplearning_Homework
9c9527480975e6cc19b07cdb7916d1e7b036b8a2
0b93ae29c64228e2ce311f0e6e20fe8c27911e32
refs/heads/master
2020-03-25T04:20:10.916233
2018-08-19T11:56:44
2018-08-19T11:56:44
143,389,719
1
0
null
null
null
null
UTF-8
Python
false
false
5,244
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from keras.models import Model from keras.layers import Input, Dense, Reshape, merge from keras.layers.embeddings import Embedding from keras.preprocessing.sequence import skipgrams from keras.preprocessing import sequence # todo: version error(import urllib.request->impor...
[ "614594368@qq.com" ]
614594368@qq.com
c1109ffccf830f2635bccd7c83130cb16966455e
01f2216f94adaa263590b71d3f42c7778fe064c2
/logistics/migrations/0006_auto_20210311_1418.py
78c744dc5615eab87f01649e29dca70edb8b5308
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Artis-Physis/utopia-crm
a30fb6508b55dbf65aca42c2c1de9ba61c22c5d8
6d648971c427ca9f380b15ed0ceaf5767b88e8b9
refs/heads/main
2023-08-29T20:38:33.319962
2021-10-30T22:01:50
2021-10-30T22:01:50
422,999,589
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2021-03-11 14:18 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('logistics', '0005_auto_20210309_1500'), ] operations = [ migrations.AlterF...
[ "apacheco.uy@gmail.com" ]
apacheco.uy@gmail.com
c1baf04ba6d3edc3d0fdf39fac17782e0f36b7d4
3d04a58455f44c15d3bfbb482ee47f0f8bfe3811
/0604/7.requests简单设置代理IP.py
97ee9197a9d35a5603b60e5b5bef9facd912a6e0
[]
no_license
pbs526443/python190204
0e250d4307f12496c6c2d66dc33c3d57c0268f48
e1f78c7e602b6f0b6538884886e1d3050838244f
refs/heads/master
2020-05-30T19:45:02.864298
2019-06-05T07:29:42
2019-06-05T07:29:42
189,931,934
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
import requests url = 'http://ip.27399.com/' proxies = {"http":"1.198.73.157:9999"} html = requests.get(url,proxies=proxies).content.decode() print(html)
[ "1768804958@qq.com" ]
1768804958@qq.com
21aeba6e51f853912196d59f30b0b3de61599ec4
92ae0ab4d34e3e70796200cd7c48dca91c16661f
/RedditConnector.py
6c2a37c6e332dbde9519150e3704db0a021d1aa5
[ "Apache-2.0" ]
permissive
joubin/Reddit2PDF
a2f62db09b06fcd4f87b3c7a213b9b4cb9cecc26
3ebd21c58b3bae4930e8891cace3ceb7a87a0beb
refs/heads/master
2021-01-22T22:50:04.472105
2017-01-11T06:28:00
2017-01-11T06:28:00
39,468,386
1
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
import praw import imghdr, urllib, cStringIO import uuid import urllib2 import os, sys from imgurpython import ImgurClient from subprocess import call import time class RedditConnection(object): """provides a connection to reddit""" def __init__(self, client_tag,client_id, client_secret, redirect_uri, username...
[ "joubin.j@gmail.com" ]
joubin.j@gmail.com
f1ac5067511b203a558fbe93256e5fc8aff9f08f
bfa9f10711b2b70abbcc983adc806f5f7963ee83
/fileout.py
b33dbf6a04299bf1eebc67505f18e93e6e798f41
[]
no_license
ChristinaLK/git-project
fb3d4a53a8c39ac57edb89d2f914fb137646c3e0
6f459b7a4d4147ada47e852db4fd1ce22f2e32f1
refs/heads/master
2020-12-25T13:13:08.721316
2013-06-08T07:24:17
2013-06-08T07:24:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
def appendToFiles(filenames): for filename in filenames: out = open(filename, 'a') # 'a' opens in "append" mode print >> out, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' out.close() def overwriteFiles(filenames): for filename in filenames: out = open(filename, 'w') # 'w' opens in "write" mode,...
[ "williams.lynne99@gmail.com" ]
williams.lynne99@gmail.com
6d04d8977bbb04374efd4d17378fdc14d5da1a84
a721e4ca65b79ce725c7b5b43539c963a3b55290
/Halloween_Sale.py
ce32b629161728b86e99fa33e4cc4101e5a4e754
[]
no_license
joydas65/Hackerrank-Problems
0832d7cfd1de7e5df4dba76326ede735edc9afea
a16b3b0ebb65e7597f8f6417047da4d415a818c7
refs/heads/master
2022-06-21T12:47:55.241409
2022-06-18T18:21:08
2022-06-18T18:21:08
159,071,834
9
0
null
null
null
null
UTF-8
Python
false
false
254
py
p,d,m,s = map(int, input().split()) ans = 0 while s >= p: ans += 1 if p <= m: s -= p elif p > m: s -= p p -= d if p <= m: p = m print(ans)
[ "noreply@github.com" ]
joydas65.noreply@github.com
2d954ed9bd159718d015f5806982d08fea4c02f7
337e4ef8ff9e85f03c2af7cf800db3dd88db16b6
/electricityLoadForecasting/forecasting/models/afm/lbfgs/lbfgs.py
a3d1e5e8c992d1160f7274915cb4b67323cc93b9
[ "MIT" ]
permissive
BCD65/electricityLoadForecasting
91d80d2e7ad2bca9fdbad4b6208a7415dbb23943
07a6ed060afaf7cc2906c0389b5c9e9b0fede193
refs/heads/master
2021-01-01T08:08:02.348478
2020-08-04T12:00:50
2020-08-04T12:00:50
239,189,541
0
0
null
null
null
null
UTF-8
Python
false
false
42,771
py
import numpy as np import pandas as pd import scipy as sp from termcolor import colored # from .lbfgs_tools import bfgs_regularization, grad_bfgs_regularization, cat_bound, optimize_coef EXTRA_CHECK = 0 """ This script contains different functions used for optimization with the function sp.optimize.fmin_l_bfgs_b in ...
[ "[bcd6591@gmail.com]" ]
[bcd6591@gmail.com]
d06f68298b85070352f8aed0d2e30edf7ed61d84
4a5caabe31670ab44fe5097df3971d434fc9ca3f
/kgpy/optics/coordinate/decenter.py
d5438c129063ab4f46b7d9b63e6badcb0be0e0d5
[]
no_license
ngoldsworth/kgpy
c61d64d39a4da011ad7a42566dbeb6ef88266dea
d751fca7f6cc6e762fdc954113f55d407055349d
refs/heads/master
2022-11-27T14:25:01.972415
2020-07-30T23:24:10
2020-07-30T23:24:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
import dataclasses import numpy as np from astropy import units as u import kgpy.mixin __all__ = ['Decenter'] @dataclasses.dataclass class Decenter(kgpy.mixin.Broadcastable): x: u.Quantity = 0 * u.mm y: u.Quantity = 0 * u.mm @classmethod def promote(cls, value: 'Decenter'): return cls(value...
[ "roytsmart@gmail.com" ]
roytsmart@gmail.com
c013acd6d87bd081c34f24466aa41760f314c4d8
c9c557f2aac7d183f118a0aaa8fdd3912a997508
/triangles.py
16fa046ec47f074abdc5d9a6dc4b22b1fd1d441f
[]
no_license
tbonino/pythonassignments
3cef4bb30b94e09280f7641a75a2b5068f2cb0b4
757dad18f0e80bcbb5cc32a2b01849275b044e39
refs/heads/main
2023-05-27T05:40:30.202354
2021-05-30T15:58:28
2021-05-30T15:58:28
372,228,528
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
#variables number = int() size = int() triangle = str() #inputs number = int(input("Number:")) size = int(input("Size:")) #outer loop for number in range (number): #inner loop for i in range (size): print("*" * i, end=" ") print(" ") #end inner loop print(" ") #end outer loop
[ "84874836+tbonino@users.noreply.github.com" ]
84874836+tbonino@users.noreply.github.com
b0542b11a9fc588a5c6a0fd736731eda85f8ae99
27f60b9c269187cd48d43e8dfcd26e45a4a0b353
/html/scripts/create_system
479d5ff74060f1f0dfaa846433e0a7341f931490
[]
no_license
OpenAquaponics/OAServer
24ab8494a4eabaa2d60241bc824446af41cfd8df
f543627a2acfdba9ced151a73a7da7d2129713c6
refs/heads/master
2016-09-05T09:42:52.959019
2013-03-01T05:14:19
2013-03-01T05:14:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,225
#!/usr/bin/env python import os; import getpass; import subprocess; import argparse; import random; def main(**kwargs): # Process the command line arguements if(kwargs['u']): username = kwargs['u']; else: username = str(raw_input(" Enter MySQL username: ")); if(kwargs['p']): password = kwargs['p']; els...
[ "fedora@localhost.localdomain" ]
fedora@localhost.localdomain
efacad244c5ae011bae81166d0c9355ca56c784c
430a146307fd1f64781a91ab60e79b45a231da28
/l10n/admin.py
347fd6f73abc0b496fa0697dde92dcc90646fdff
[ "BSD-2-Clause", "MIT" ]
permissive
rsalmaso/django-fluo-l10n
61455df2154538db665a9414285a85b7538c81c6
e7b298748a4461407cffe4987a4453db6722c53a
refs/heads/master
2021-01-18T23:56:46.507679
2016-01-03T14:34:37
2016-01-03T14:34:37
48,949,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
# -*- coding: utf-8 -*- # Copyright (C) 2007-2016, Raffaele Salmaso <raffaele@salmaso.org> # # 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...
[ "raffaele@salmaso.org" ]
raffaele@salmaso.org
22b1981d9dbb8fc5e7d74a44875c62d736c86d04
6899f55b07bd6d49da2d331dfce217f92673ed34
/Accounts/migrations/0004_auto_20201216_1956.py
58f0d4b4debaa17a408f010c8bc6bcd04488d7d5
[ "MIT" ]
permissive
Khushiraikar1/sudhaksha_maxo
e72945f2d2e6ec985b27a67f2db4465cf3a72ce2
ccaba5426b8fcac0d6772bdb78916cb0cd0c09e7
refs/heads/main
2023-02-11T12:09:35.046523
2021-01-15T16:37:55
2021-01-15T16:37:55
317,636,328
2
6
MIT
2021-01-15T15:40:49
2020-12-01T18:46:39
HTML
UTF-8
Python
false
false
426
py
# Generated by Django 3.1.3 on 2020-12-16 14:26 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('Accounts', '0003_clasroom'), ] operations = [ mi...
[ "anandajith911@gmail.com" ]
anandajith911@gmail.com
e2ff82125ca55f866ce113b6933b903002731bc8
70280955a5382d73e58395eba78c119a400f4ce7
/asakatsu/0609/4.py
9f554c1b35208567493334073d67e3034afea623
[]
no_license
cohock13/atcoder
a7d0e26a10a4e58690347a2e36839c2f503a79ba
d268aa68fc96203eab94d021bd158cf84bdb00bc
refs/heads/master
2021-01-03T00:41:31.055553
2020-10-27T12:28:06
2020-10-27T12:28:06
239,839,477
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
H,W = map(int,input().split()) m = [list(map(int,input().split())) for _ in range(H)] ans = [] for i in range(H): if i%2 == 0:##左->右 for j in range(W): if m[i][j]%2: if j == W-1: if i != H-1: ans.append((i+1,j+1,i+2,j+1))...
[ "callout2690@gmail.com" ]
callout2690@gmail.com
76dea297ed9137e442997eb9ab7a890747ca3906
bf076ab3f9dd5c1860474665be646f89937f1a7f
/settings.py
9acef3e24318d42f1f56f72b921037982218e7f2
[ "MIT" ]
permissive
telminov/sonm-cdn-dns
f66f16fed0c67ed6f862410777f0c0fc3c87b27f
960395f2e7f8d79b5dd2623919ccf89e964fe4ac
refs/heads/master
2020-03-26T21:12:38.279423
2018-09-04T07:58:01
2018-09-04T07:58:01
145,374,340
0
0
MIT
2018-09-04T07:58:02
2018-08-20T06:16:27
Python
UTF-8
Python
false
false
156
py
NODE_MANAGER_URL = 'http://node-manager.cdn.sonm.soft-way.biz' NODE_MANAGER_TOKEN = '123' CDN_DOMAIN = 'cdn-sonm.soft-way.biz.' IP_STACK_ACCESS_KEY = '123'
[ "sergey@telminov.ru" ]
sergey@telminov.ru
9d1a524b75038bb3a86d28e1286f82d32f5fdd9c
3bc38b6fc9570217143d056762be4bf52db2eb1f
/leetcode_practice/200.py
3d571b18c6c2eba264d8d471e717dd3e254c378e
[]
no_license
yangyuebfsu/ds_study
6638c260dfdb4a94365c2007d302833b455a4a59
883f9bab2dbce4f80f362c30b8564a942f66fb1e
refs/heads/master
2021-02-07T13:20:54.773840
2021-01-21T05:55:09
2021-01-21T05:55:09
244,031,249
0
0
null
null
null
null
UTF-8
Python
false
false
1,088
py
*** 200. Number of Islands Medium 5284 192 Add to List Share Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surround...
[ "yueyang@yuedeMacBook-Pro.local" ]
yueyang@yuedeMacBook-Pro.local
95a97b314fa3be53e57ef8a19fd26d31e7c07888
183963a487fa7658a1f54ef496662643b4dd42c7
/venv/Scripts/easy_install-script.py
1c4c5791fb2000aa93d90d6209009b390ba7beb2
[]
no_license
Gabrity/FirstPythonProject
2b8c86f8e907b2b9ad2921e54188e671fe0f801a
ac0aa0dce9ef33d0654a0957450c1587d2e00510
refs/heads/master
2022-11-21T13:40:01.524069
2020-07-30T10:56:19
2020-07-30T10:56:19
179,356,505
1
0
null
null
null
null
UTF-8
Python
false
false
453
py
#!C:\Work\Other_Projects\FirstPythonProject\venv\Scripts\python.exe # 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?...
[ "mp26od@INSIM.BIZ" ]
mp26od@INSIM.BIZ
bb8beece1eb31c7fcf2a81add182d9d526544776
5e0145c5bb83880648e8804a0d769d49d9693e06
/error_VARI_bar_plot.py
5252da3e178a74ce0aa2d5b71f80a31cbd01cd13
[]
no_license
PabloMaj/Problem-oriented-Indicators-for-Semantic-Segmentation-and-Determining-Number-of-Plants
505db9f2cf71e489bbffda20d19018bf1043dbaa
b9e67a90fc7f673ac91a362cb6950c78e0988d5c
refs/heads/master
2023-04-11T12:09:25.500039
2021-04-21T16:45:53
2021-04-21T16:45:53
338,617,069
0
1
null
null
null
null
UTF-8
Python
false
false
1,042
py
import matplotlib.pyplot as plt import numpy as np plt.rcParams.update({'font.size': 14}) fig, ax = plt.subplots(figsize=(10, 5)) VI_names = ["ExG", "Optimised\nlinear", "VDVI", "Optimised\nfraction", "Mask R-CNN"] y_values = dict() y_values["flowering"] = [1.21, 2.93, 7.55, 6.98, 3.95] y_values["mature"] = ...
[ "noreply@github.com" ]
PabloMaj.noreply@github.com
ed8971e2218caea9e25d1d713f2f26676d439af4
672b6ac4700056d6f648ae52b6e58590ea1944b7
/ch8code/equal.py
36ff9125ab4400b04a58d3afdbf37ee5580673f9
[]
no_license
CodedQuen/NumPy-Beginner-s-Guide
1715de85dae1aea856a613462b132eb2e463170e
8946c33ac02d61d310bd4b9095cd814add75d7d1
refs/heads/master
2022-11-06T10:37:23.821207
2020-06-27T03:19:19
2020-06-27T03:19:19
275,289,940
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
import numpy as np print "Equal?", np.testing.assert_equal((1, 2), (1, 3))
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
20d0368ac8cbfbff2bd5fb04603008994795b7ad
721406d87f5086cfa0ab8335a936ece839ab2451
/.venv/lib/python3.8/site-packages/opencensus/metrics/export/metric.py
658a27e45125376833965c07c6c3db599f5498f8
[ "MIT" ]
permissive
MarkusMeyer13/graph-teams-presence
661296b763fe9e204fe1e057e8bd6ff215ab3936
c302b79248f31623a1b209e098afc4f85d96228d
refs/heads/main
2023-07-09T03:34:57.344692
2021-07-29T07:16:45
2021-07-29T07:16:45
389,268,821
0
0
MIT
2021-07-29T07:16:46
2021-07-25T05:23:08
Python
UTF-8
Python
false
false
3,224
py
# Copyright 2018, OpenCensus Authors # # 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...
[ "meyer_markus@gmx.de" ]
meyer_markus@gmx.de
50d7389abc739e1eced966e2378413a4377cf57a
b57b6ad0ae53193b62676c1b9bab6e1c505deaf0
/worldstorage/fruittree.py
5cd792cf4e356e88bc02dcb23df3183212a66142
[]
no_license
RyanRemer/Survival-of-the-Fittest
cc9d7fc482b88fc140b0494f1b84b285a5e0d25f
b53bc6daee0cf5dd082e3435a9c7104a0452ecdf
refs/heads/master
2021-01-07T18:14:50.880666
2020-02-20T03:03:48
2020-02-20T03:03:48
241,779,677
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
#Made by Brian Robinson from pygame import gfxdraw as gfx import sys sys.path.insert(0, '..') from landfeature import LandFeature class FruitTree(LandFeature): def __init__(position, can_walk, can_swim, can_climb, walk_speed_mod, swim_speed_mod, climb_speed_mod, ...
[ "ryandremer@gmail.com" ]
ryandremer@gmail.com
dea8529b2857b268b43b97008302392c88a6f157
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/GtkSource/StyleSchemeChooserButtonClass.py
ee48a3e369d5c26602de032c6f2bf718a121d7bc
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,893
py
# encoding: utf-8 # module gi.repository.GtkSource # from /usr/lib64/girepository-1.0/GtkSource-3.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
d43ad1a7c9b72e7309f79e56d0421c0a3468acbb
c65e338893d9bce7c27424c20db733104b0eb721
/tools/scripts/graph_cdf.py
0c521bf81d5ef158bc2341b2751bc22c20f78d49
[]
no_license
syre/inferring-social-networks-from-geographic-coincidences
64712d99f94e265d4268dba5f7434f8c17ade1c6
be2f94e46f71ad8c5e60132cc0eec98a72d3444f
refs/heads/master
2021-01-19T08:39:50.949387
2016-07-01T14:15:13
2016-07-01T14:15:13
50,114,803
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
#!/usr/bin/env python3 import os import sys sys.path.insert(1, os.path.join(sys.path[0], '..')) import networkx as nx import seaborn as sns import matplotlib.pyplot as plt import numpy as np directory = os.path.join("..", "data", "sweden.graphml") sweden_graph = nx.read_graphml(directory) degrees = list(sweden_graph....
[ "syrelyre@gmail.com" ]
syrelyre@gmail.com
da3068da182bbc9d1a9ec8366a8303fd7549dfa9
14ae3ba51f74ea9583cfa14d2798a87e0d18f509
/kitti_foundation.py
efd4ff9de92f12c32a34eb62ab10b65236d06aa4
[]
no_license
priyankanagaraj1494/Lidar_to_imageprojection
bf8bd00d9be6327824bfdab2b61d53d8e88635ca
2ec497956255b9ae570d4dc43c1ba40af0ad018c
refs/heads/master
2021-10-25T06:38:18.732141
2019-04-02T12:34:40
2019-04-02T12:34:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
29,561
py
import numpy as np import glob import cv2 from src import parseTrackletXML as pt_XML class Kitti: """ frame : specific frame number or 'all' for whole dataset. default = 'all' velo_path : velodyne bin file path. default = None camera_path : left-camera image file path. default = None img_type : im...
[ "priyankanis94@gmail.com" ]
priyankanis94@gmail.com
483aa1f686a169efaa90a7f545260805aeb9fb9f
5117855fdbae83523746b0d64b0f673e5388705f
/venv/Scripts/django-admin.py
95cff422cbcb438beaeb46ebf042c3b5a7bae22e
[]
no_license
ernestokseniuk/BramHart
236623e208313476b2dd41b05b01fd37a6675e3c
f2208464734a98e11fa2d0c7874db19f34d3faea
refs/heads/master
2022-11-20T14:32:04.518877
2020-07-26T18:23:33
2020-07-26T18:23:33
282,521,544
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
#!C:\Users\Mój fajny pecet\PycharmProject\bramhurt\venv\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "emistrz19@gmail.com" ]
emistrz19@gmail.com
b3ecec1c7e7bfcddc683e056d2ecf89dcd90914b
39383c5c32075058c54b11ca49e029b1a9dfdf7a
/home/testPassword.py
da3812d886405b30dbc784ac82d3c352ade5f8c5
[]
no_license
bobbyc/checkio
3e1fc22a04efc8221c086aa7c03b2b5d971a3fcb
692865136e979d73c7d3cb9e382212967b174fe4
refs/heads/master
2021-01-21T13:34:59.310445
2015-03-06T02:28:10
2015-03-06T02:28:10
31,748,777
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
import unittest def checkio(data): import re #replace this for solution return True if re.search(r'[A-Z]',data) and re.search(r'[a-z]',data) and re.search(r'[0-9]',data) and len(data) >= 10 else False class CheckIo(unittest.TestCase): def test(self): self.assertEqual( checkio(u'A1213pokl'),...
[ "bobby.chien@gmail.com" ]
bobby.chien@gmail.com
979c07a99a4de6deead71a30be7e764a1d398bd8
f900a9f48fe24c6a581bcb28ad1885cfe5743f80
/Chapter_11/test_name_function.py
1f6c6b10bf1eed5b8cf64f797faded06b16b0b93
[]
no_license
Anjali-225/PythonCrashCourse
76e63415e789f38cee019cd3ea155261ae2e8398
f9b9649fe0b758c04861dad4d88058d48837a365
refs/heads/master
2022-12-03T21:35:07.428613
2020-08-18T11:42:58
2020-08-18T11:42:58
288,430,981
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
import unittest from name_function import get_formatted_name class NamesTestCase(unittest.TestCase): """Tests for 'name_function.py'.""" def test_first_last_name(self): """Do names like 'Janis Joplin' work?""" formatted_name = get_formatted_name('janis', 'joplin') self.assertEqual(formatted_name, 'Ja...
[ "noreply@github.com" ]
Anjali-225.noreply@github.com
96176f3592b1b31411230d0f65f147b972871e07
0adde66b22be4f8eaeaeba734e464127ed7c893a
/ws_example.py
bde46b7eefec92401d5cc75af062e15ed677b26f
[ "MIT" ]
permissive
crianzy/python_ws
6dc99843f7bd6829b5756c0e0ce49f1abe900d01
c9e227b61d26414c3ec285b1430af6c83582c333
refs/heads/master
2020-05-15T18:04:44.191360
2019-04-23T13:42:32
2019-04-23T13:42:32
182,416,704
0
0
null
null
null
null
UTF-8
Python
false
false
2,565
py
# -*- coding: utf-8 -*- import sys import time import traceback from simple_ws import WebSocket # import socket # # def set_keepalive_linux(sock, after_idle_sec=1, interval_sec=3, max_fails=5): # """Set TCP keepalive on an open socket. # # It activates after 1 second (after_idle_sec) of idleness, # then ...
[ "chenzhiyong@bytedance.com" ]
chenzhiyong@bytedance.com
89c9c6045ab7061b0f2b863710f26ab719613582
382c3368b5a8a13d57bcff7951334e57f919d964
/remote-scripts/samples/Launchpad95/NoteEditorComponent.py
1d3eff75e3a03911973869d4749a041676398d33
[ "Apache-2.0" ]
permissive
jim-cooley/abletonremotescripts
c60a22956773253584ffce9bc210c0804bb153e1
a652c1cbe496548f16a79bb7f81ce3ea3545649c
refs/heads/master
2021-01-22T02:48:04.820586
2017-04-06T09:58:58
2017-04-06T09:58:58
28,599,515
2
1
null
null
null
null
UTF-8
Python
false
false
17,286
py
from consts import * # noqa from _Framework.ControlSurfaceComponent import ControlSurfaceComponent from _Framework.ButtonElement import ButtonElement from _Framework.ButtonMatrixElement import ButtonMatrixElement import time class NoteEditorComponent(ControlSurfaceComponent): def __init__(self, parent, matrix): ...
[ "jim@ubixlabs.com" ]
jim@ubixlabs.com
30aa0b75ea44a10f51dd60276cf823decdb81e4c
4879cc5661ef1832d2c4985b2dce6507e7c6e1d1
/chess/rook.py
23b0e01403839f2066472bd0b16e3ed774a92041
[]
no_license
pomel0v/ascii-chess
b3169d258eb631dff559341db71c36e60c3ff189
11ec7ad705a8581bc1fb48f053aa6bd322159962
refs/heads/main
2023-02-21T02:05:45.694328
2021-01-24T12:30:46
2021-01-24T12:30:46
330,375,501
0
0
null
null
null
null
UTF-8
Python
false
false
1,050
py
from chess.colors import Color from chess.figure import AbstractChessFigure class Rook(AbstractChessFigure): def char(self): if self.color == Color.WHITE: return '♖' else: return '♜' def can_move(self, row, col): if self.row != row and self.col != col:...
[ "roman.pomelov@skillbox.ru" ]
roman.pomelov@skillbox.ru
19ba47a9afe28e15ef274b0a1dba3c07ea8d6672
ad7dc850e7734216a918cf1202434e3fa4bca9a4
/checkio/black_white.py
fadabd03219b005abcfb22b1acb969b64ac8a7a1
[]
no_license
scb-am/Fractals
93d824008231ac482a0bc6446742422d04b4817d
33aae4a2d7675c29a6a866a3c1fbb08b24c17bf6
refs/heads/master
2023-05-02T03:38:48.919897
2023-04-25T06:39:44
2023-04-25T06:39:44
218,145,133
0
0
null
2021-04-20T20:06:15
2019-10-28T21:05:29
Python
UTF-8
Python
false
false
834
py
def count_b_w(string): string_a, string_b = list(string), list(string) string_a[string.find('b')], string_b[string.rfind('w')] = 'w', 'b' return string.count('b') / len(string), ''.join(string_a), string.count('w') / len(string), ''.join(string_b) def checkio(string, num): if num > 1 or string == 'w':...
[ "scb-am@ukr.net" ]
scb-am@ukr.net
df3287e337b27feb9ec0bb40be295e9b74ceef18
56243d3bf67d8bc7770ab5d12e2ef812e69196de
/setup.py
2b0c2bbc8e7dd85974ea6e4e24c97eba9dac99fd
[ "MIT" ]
permissive
William-Lake/comparing_lists
a48542bb9c2d8a0de701d2d01b049664ff02e7c0
d9d53c89d4a36b1843bc536655cf8831afd4a2d4
refs/heads/master
2020-04-02T15:40:44.574432
2019-01-30T18:34:56
2019-01-30T18:34:56
154,578,261
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ ] setup_requirements = [ ] test_re...
[ "noreply" ]
noreply
3d8bdb7f444b5c22462c4786a9fc88e63af591c6
f06e24e81d4ec23e658000d0f2e078e94a2cefc3
/python/python面向对象/封装 继承 多态/super继承.py
4e3191d097f95b18ad03911ddbee351d1b310618
[]
no_license
1798317135/note
ec64061671ec76fff1b95c58e082e247dd2986e0
f0097241a19b437fd24695d20f006c38514be9ca
refs/heads/master
2022-04-10T21:23:04.532601
2020-03-22T23:53:48
2020-03-22T23:53:48
174,942,743
0
0
null
null
null
null
UTF-8
Python
false
false
1,799
py
# 1.0 super()本身也是一个类, # 2.0 super()只在新式类里面有效,在经典类无效 # 3.0 super()起着代理作用 代理指定的类,执行MRO链条的下一级节点 ,不是一定是父类 # 那么出现三个问题 # --- 1.0 沿着谁的MRO链条 # --- 2.0 执行谁的下一级节点 # --- 3.0 如何如何应对类方法,实例方法,和静态方法的参数传递问题 # 4.0 super语法原理 super(type,obj) 第一个是指定 执行 谁的 下一级节点 # 第二个参数,执行给方法 传递的参数 如果调用的是 实例方法 就穿实例 如果是 类就传类 # ...
[ "760008395@qq.com" ]
760008395@qq.com
81a0ff6b6138eb0bb1b09e74836c55d602e32063
f8cf98c8cecb23304b2a7befe39da9071e2d1f6a
/data process/getall_new_b.py
85ca861906bae339f7f07974054f8facf92c5c56
[]
no_license
crzzy010/ALFF
a816617ca8970bbf8ca0724d74932fc9c38e17c7
26eec1b869d36f243d417bf6664654d931032e94
refs/heads/main
2023-03-02T16:54:47.144269
2021-02-14T10:55:31
2021-02-14T10:55:31
337,686,465
0
0
null
null
null
null
UTF-8
Python
false
false
8,719
py
from bs4 import BeautifulSoup import requests import sys import time import random import datetime # import httplib # httplib.HTTPConnection._http_vsn = 10 # httplib.HTTPConnection._http_vsn_str = 'HTTP/1.0' try: import xml.etree.cElementTree as ET except ImportError: import xml.etree.ElementTree as ET sys.se...
[ "921255775@qq.com" ]
921255775@qq.com
fd099692b5ebe5d28f86e408603bbd7391baa600
eea5cbd14515d96903ef49e7fdbb793ee3704f3d
/actoon/models/effectmodel.py
fc1b6681e7c1a3869d371989da5d69b73813c4a8
[ "MIT" ]
permissive
ACTOON-ACD2019/backend_django
590111125bca476d9130ea307cba4c5b1b518057
04cd62a5ccedc0bc65baeca89c5630c7cef9edba
refs/heads/master
2022-12-10T05:51:48.063867
2019-12-13T05:10:43
2019-12-13T05:10:43
223,929,799
0
0
MIT
2022-12-08T03:16:31
2019-11-25T11:12:36
Python
UTF-8
Python
false
false
161
py
from django.db import models class Effect(models.Model): name = models.CharField(max_length=50) required_parameters = models.CharField(max_length=255)
[ "k3nuku@gmail.com" ]
k3nuku@gmail.com
c4fc7d17966410ea3c5e7829dd9ae2d432069c21
0c71be3633a6e2344c33ba434ef60329affb7a21
/ZipFolder/MetadataURLCheckerVer03172022.py
21fa2b15b650829eda78d3e3550c5b36479799bb
[ "MIT" ]
permissive
mattCensus/PerlScripts
8047c3d7bf548bc7ff6610cd19bbc6e725f38a3e
d2643d99abc3f0647ebfbd41f7e5faa704da3e91
refs/heads/master
2022-05-01T03:59:28.953011
2022-04-11T14:26:25
2022-04-11T14:26:25
129,251,463
0
0
null
null
null
null
UTF-8
Python
false
false
24,505
py
# importing necessary modules import requests, zipfile from io import BytesIO print('Downloading started') import time import sys import os import fnmatch import shutil import re import time import datetime import time #import StringIO import pickle def url_checker(url): get = requests.get(url) ...
[ "noreply@github.com" ]
mattCensus.noreply@github.com