blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
f69a5854f33bc30eb43daf851f9e43ceb207ec1a
b7948d60834c4c6fe58d8d665177511cb6db53e2
/Outpass Webapp + Api's - Django/student/migrations/0008_auto_20190815_0023.py
08405388f8bb2400e3756da54e002813b1d1e8b2
[]
no_license
abhinavsharma629/Outpass-Generator
4a2ebc2c7d0fc678b2afd10a36c6cbcbc6583d60
f363d49c47543c70e2c114ab7d48ffaef83b5de4
refs/heads/master
2022-02-24T15:07:58.171462
2019-10-05T16:05:09
2019-10-05T16:05:09
205,933,273
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# Generated by Django 2.2.4 on 2019-08-14 18:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0007_registeredcolleges_logo'), ] operations = [ migrations.AlterField( model_name='student', name='bed_n...
[ "abhinavsharma629@gmail.com" ]
abhinavsharma629@gmail.com
eee62d36b36c4aeebd4a3658b80342f4fe682763
384961849138a6f43679ec0c676ee2d71cefb307
/MyTestAPI/MyTestAPI/wsgi.py
367d0c41acaaf43b55f83e0ae626c5be007cccc2
[]
no_license
emils-b/djangoAPI_learning
d64e8c1e2f2c5940bcdb890c4083a4b6e9110ce9
9383d73fc649486ebae24d056c2c8cc6464b509f
refs/heads/master
2022-11-15T22:12:59.906716
2020-07-06T17:32:31
2020-07-06T17:32:31
272,533,983
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for MyTestAPI project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "emils.baskers@gmail.com" ]
emils.baskers@gmail.com
0e354876c5279164c2576a15409170e757c6785a
c3eb84c722f6ec5d21cae2a8dd840dabd2b5b892
/Programming in Python-311.py
646209e09301c7b6b458f3d5a962403b784e73b2
[]
no_license
AlpeshGo/DataQuest-Data-Analyst-in-Python
ca2266dd062556af5a9bcd9333dff96e99cae1c5
f96250cb99da4c868f4989cf78ccf001bed1bf07
refs/heads/main
2023-06-28T04:51:53.896356
2021-07-28T17:12:20
2021-07-28T17:12:20
386,670,880
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
## 2. Programming in Python ## 23+7 ## 3. The print() Command ## print(40+4) print(200-25) print(14+3) ## 4. Python Syntax ## print(30+10+40) print(4) print(-3) ## 5. Computer Programs ## print(34+16) print(34) print(-34) ## 6. Code Comments ## # INITIAL CODE print(34 + 16) print(34) print(-34) ## 7. Arithmet...
[ "noreply@github.com" ]
noreply@github.com
34705821e8da255de9377392fc63624202cd296b
0d8d97082f7c562f3f24a7a5966066f10299e356
/beerControl.py
67656a1fd0f403cdb70f21f705b1feacca991d0a
[]
no_license
dmoranj/fi-beer
7b4bf066f4c64ecf6bf371c2ad98e6bd6688d9cb
41ff6c6a51c243219305624af33517bd62951bc1
refs/heads/master
2016-09-06T01:57:23.426214
2014-01-28T12:37:18
2014-01-28T12:37:18
16,064,837
7
0
null
null
null
null
UTF-8
Python
false
false
771
py
#!/usr/bin/env python # LED with 560 Ohm resistor on Pin 10 to GND # Tony Goodhew - 10 May 2013 from nanpy import Arduino from nanpy import serial_manager serial_manager.connect('/dev/ttyACM0') # serial connection to Arduino from time import sleep import NGSIClient pins = [0, 1] for pin in pins: Arduino.pinM...
[ "daniel@Aosta.(none)" ]
daniel@Aosta.(none)
5a5e091b0cb0991756eaa7e0c7fdb809951c7cd4
d158e396e083ad6761a1871bd39519d588c461bc
/hw/9dcv/contrib_seq2seq.py
e2a412f09abce6ff8f5b388720e649b2947d8530
[]
no_license
jendelel/npfl114
c7250e6256f556c2e9f134dce2f2148117c43368
44a562e2aae96a9e30f930cfae7985043f172828
refs/heads/master
2021-01-10T18:07:46.310969
2017-01-16T15:10:04
2017-01-16T15:10:04
71,621,825
1
2
null
2017-01-05T09:59:18
2016-10-22T06:42:31
Python
UTF-8
Python
false
false
9,159
py
# Copyright 2016 The TensorFlow Authors. 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 required by applica...
[ "lukas.jendele@gmail.com" ]
lukas.jendele@gmail.com
b899b807968e506eff8c87b6680f93bbba599982
407ba0e97fd7e358b9ac546895778d25ca653198
/mytestsite/mytestsite/settings.py
a53fbc85a55534178d673c72425056277f9dd38e
[]
no_license
LakshayBadlani/DjangoLibrarySite
04b9cb1f00c1b711215ab8e81c4d6f129b95f11f
adc366c98bc088646d6121de3d6b54c980da2507
refs/heads/master
2020-03-19T04:37:38.335466
2018-06-02T20:01:13
2018-06-02T20:01:13
135,847,654
0
0
null
null
null
null
UTF-8
Python
false
false
3,100
py
""" Django settings for mytestsite project. Generated by 'django-admin startproject' using Django 2.0.4. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os...
[ "l.badlani@berkeley.edu" ]
l.badlani@berkeley.edu
37842015585005a9c5c98209b970920d38a474d0
991c0299c9eae4034db672a2c405bafc8f44e1c8
/pyspedas/pyspedas/mms/edi/mms_edi_set_metadata.py
c5ea1670c006a30d978aab0ce337ad344dffe31c
[ "MIT" ]
permissive
nsioulas/MHDTurbPy
650b915cb23f4dd2458d09450e7dc1382c643da2
7ac6615caa737fb89b0314d1d55fcd60537c423c
refs/heads/main
2023-06-01T06:31:58.944174
2023-05-13T05:36:06
2023-05-13T05:36:06
590,799,212
8
1
null
2023-02-01T20:38:49
2023-01-19T08:33:08
Jupyter Notebook
UTF-8
Python
false
false
3,513
py
from pytplot import options from pyspedas import tnames def mms_edi_set_metadata(probe, data_rate, level, suffix=''): """ This function updates the metadata for EDI data products Parameters ---------- probe : str or list of str probe or list of probes, valid values for MMS prob...
[ "nsioulas@g.ucla.edu" ]
nsioulas@g.ucla.edu
c6003fe58dc0e8d77951f5bc6a3d9a76d0811c41
84fbc1625824ba75a02d1777116fe300456842e5
/Engagement_Challenges/Engagement_4/powerbroker_2/proofs/powerbroker/overlogging/comms_client.py
b86bb9c2bfa9e9b6aa4a339c5a3b0e8fa2e6d0f6
[]
no_license
unshorn-forks/STAC
bd41dee06c3ab124177476dcb14a7652c3ddd7b3
6919d7cc84dbe050cef29ccced15676f24bb96de
refs/heads/master
2023-03-18T06:37:11.922606
2018-04-18T17:01:03
2018-04-18T17:01:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,050
py
from Crypto.PublicKey import RSA from Crypto.Util.number import inverse import rsa_gen import comms_connection E = 65537L class CommsClient(object): def __init__(self, name, rsa_prime1_file=None, rsa_prime2_file=None): self.name = name if rsa_prime1_file is None: self.rsa = create_ne...
[ "rborbely@cyberpointllc.com" ]
rborbely@cyberpointllc.com
b32873f6bdc08e24cf8e955a80460c699fad54e4
e8f44980b2db5c77a23e3b50eece1154ea1fb33d
/paddle.py
f98e4db3effb3f682343bd42f64bed701d3b8d93
[]
no_license
CalCharles/SelfBreakout
adb9a96a2356a618e9f530f080a666644c5634c6
742006ef1dc9239f467aac1b9599afe26683f87b
refs/heads/master
2020-07-23T18:58:08.070637
2019-09-10T22:45:07
2019-09-10T22:45:07
207,675,605
0
1
null
2019-09-10T22:53:55
2019-09-10T22:39:36
Python
UTF-8
Python
false
false
2,165
py
import os from SelfBreakout.breakout_screen import Screen from Environments.environment_specification import RawEnvironment from file_management import get_edge class Paddle(RawEnvironment): ''' A fake environment that pretends that the paddle partion has been solved, gives three actions that produce desir...
[ "calebchuck@berkeley.edu" ]
calebchuck@berkeley.edu
e8cd16d642eafb7841ee2000f309a5ac455c14ed
6724031f51d41992deb8fc704b35b6faf3d94715
/prj/machine_learning.py
5a7c4e0aaafdbf287cbc2234f9fdbb00c0a3a17d
[ "MIT" ]
permissive
alenahoopoe/MakeComplaint
e8c2bdbec71cd0a86f2efcccd90a79de4063e7e7
d09dcd9a67414ffae199765b4e6d4b4397769916
refs/heads/master
2022-01-05T02:17:54.851117
2019-06-25T17:55:40
2019-06-25T17:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,765
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed May 1 17:42:58 2019 @author: gayathri """ import pandas as pd import numpy as np import matplotlib.pyplot as plt dataset = pd.read_csv('/home/gayathri/project/MakeComplaint/data.csv') data = pd.read_csv('/home/gayathri/project/MakeComplaint/data.cs...
[ "gaya3vs.0007@gmail.com" ]
gaya3vs.0007@gmail.com
e653fd731ccd9db6f8d81fadcce9fd4d304d5bff
8ba2e630323ebcef7be85a4eff4a5487bcb42252
/repinteractive/InterActiveBase.py
8328bb4043b449580c9ed799c3bd6eebc79337a8
[]
no_license
768001076/python-zouba-usecode
4245b8ccdbf88e5b3879e6006f4cf0a378498a8a
c75ef921d358082d26ae63b5c3775bcd28f8d0f7
refs/heads/master
2020-03-27T02:21:35.169826
2018-08-23T01:37:14
2018-08-23T01:37:16
145,783,879
0
0
null
null
null
null
UTF-8
Python
false
false
5,008
py
import os from paramiko.client import AutoAddPolicy from paramiko.client import SSHClient # from otherTools import OtherTools class MySSHClient: def __init__(self): self.ssh_client = SSHClient() # 连接登录 def connect(self, hostname, port, username, password): try: print('正在远程连接主机:...
[ "shijialei" ]
shijialei
6e22b9181e9dcec7bac28112f25850dd293ce55f
cfca6d26ffc4a2a968a3c851dcd1e78669080789
/DdosNbf.py
7b37129867db145dc528128ab83893225373fc61
[]
no_license
NBFNusantaraBlackHat/DDoS-Attack
18371b2b0d04713d97a21ab801b8fec97ace83ad
3f748a9dc06de12d4e205deb05a971c7d07c5cb8
refs/heads/master
2020-04-08T07:48:24.629008
2018-11-26T10:47:39
2018-11-26T10:47:39
159,152,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
import sys import os import time import socket import random #Code Time from datetime import datetime now = datetime.now() hour = now.hour minute = now.minute day = now.day month = now.month year = now.year ############## sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) bytes = random._urandom(1490) ###########...
[ "noreply@github.com" ]
noreply@github.com
6bcfdaa018b7e760ee67c1fe72ae9bf3302e7b12
f6120ec98e4df5a5de7c1dec9105c3c382c5579e
/other/tbdaspro v0.5/package/addwahana.py
4918099ae472bd3b50e2d694944d1013dd8d4741
[]
no_license
Lock1/IF1210-Daspro
3b63207b74e27bb6442992454b179604db969f1c
289efc5ea7b58bcc7253a6fcec6e34ebd294630d
refs/heads/master
2023-03-25T08:18:47.824967
2020-10-16T16:25:30
2020-10-16T16:25:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
# add wahana # pre defined xinput() and update() def addWahana(): # no restriction, filter admin / non admin at main loop # variables newID = "" newname = "" newcost = 0 newage = "" newheight = "" # Meminta input user print("Masukkan Informasi Wahana yang ditambahkan:") print...
[ "tanurrizaldi@gmail.com" ]
tanurrizaldi@gmail.com
b9c65a3475c55af3ee73b29aea7de9b7bd2db0bd
01ad98b8bc78f894b3fb0fd7342a7588ca4089af
/DAE-SSIM-test.py
52cae6e80d168f83dbe7e6f64bb0a819025585b8
[]
no_license
terrytykuo/cocktail
ed526e3ba320319ecd70556d5bea2bbada870a80
e24f8e121184749b7e7de31c18f706dffc816748
refs/heads/master
2022-11-04T20:17:13.424020
2019-02-10T11:56:47
2019-02-10T11:56:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,900
py
import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.utils.data import Dataset, DataLoader import torch.utils.data as data import torch.nn.init as init import pytorch_ssim import torchvision import torchvision.transforms as transforms from torch.autograd import Vari...
[ "oldiegoodie99@gmail.com" ]
oldiegoodie99@gmail.com
be5ba2c6a82625b16986607b6b57ba1f589692b2
7443274ce4d517ebe5148f47d5495f4653e34c30
/bilstm.py
10a573d33dc1e753e71844186cff43aa04bc6fde
[]
no_license
shirayair/Bilstm-Tagger
d7dd5b4a9bdbb7738883f361ccca49d872c61ee1
d505e7bddf08287ff0038e45e8779a108abb9882
refs/heads/main
2023-07-01T04:49:37.040694
2021-07-13T14:30:37
2021-07-13T14:30:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,042
py
import torch from torch import nn as nn from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence, pad_sequence from train_biLSTM import train_and_eval_model from process_data_3 import process_data EMBEDDING_DIM = 50 HIDDEN_LAYER_LSTM = 100 EPOCHS = 5 LR = 0.01 BATCH_SIZE = 500 DEV_BATCH_SIZE = 50 cla...
[ "noreply@github.com" ]
noreply@github.com
4c7546e287b51fcb292b3b1b17e4cab62b4f0e97
7c5fa7d9722f59fce5e3336f7c0e9edd084c13be
/WorldBankData.py
b03f0305cfa7d2025d227bc40bc03ce356db4d50
[]
no_license
ytnvj2/Python-Practice
d8f19e6d76277a6071c56a635de79ba0bd180d13
591eccf1421b4a1811a113d94e1b059bb696c50f
refs/heads/master
2021-09-08T20:39:33.298643
2018-03-12T03:50:48
2018-03-12T03:50:48
124,785,929
0
0
null
null
null
null
UTF-8
Python
false
false
4,433
py
# Zip lists: zipped_lists zipped_lists = zip(feature_names,row_vals) # Create a dictionary: rs_dict rs_dict = dict(zipped_lists) # Print the dictionary print(rs_dict) # Define lists2dict() def lists2dict(list1, list2): """Return a dictionary where list1 provides the keys and list2 provides the values.""" ...
[ "ytn.vj2@gmail.com" ]
ytn.vj2@gmail.com
f3bb6fb019a485fe0bec264817b74915c0530643
7323b8039f47c0457ae90173c963549b7d1e6823
/sandbox/src1/histdemo.py
a8514133c69af80b7c5f510d812d969b0da96add
[ "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
sniemi/SamPy
abce0fb941f011a3264a8d74c25b522d6732173d
e048756feca67197cf5f995afd7d75d8286e017b
refs/heads/master
2020-05-27T18:04:27.156194
2018-12-13T21:19:55
2018-12-13T21:19:55
31,713,784
5
2
null
null
null
null
UTF-8
Python
false
false
361
py
from matplotlib import rcParams from pylab import * mu, sigma = 100, 15 x = mu + sigma*randn(10000) # the histogram of the data n, bins, patches = hist(x, 100, normed=1) # add a 'best fit' line y = normpdf(bins, mu, sigma) l = plot(bins, y, 'r--', linewidth=2) xlim(40, 160) xlabel('Smarts') ylabel('P') title(r'$\r...
[ "niemi@stsci.edu" ]
niemi@stsci.edu
f54ac71cf009afa94e7ef8de543512fa581e50d4
86999093f510e29d3a301a10115c5516bd41e2db
/eg/models_comment.py
4e33b5e59a83a8a6d806385f9be770febc297ed0
[]
no_license
samuelmartinsa/EG
9dcb00a80bfd7ad1ec5e44567c385736f7576908
33ad4c7aa33d964a1b3133b9a6b178ffd1771717
refs/heads/master
2021-01-21T11:30:55.313976
2017-08-31T13:58:02
2017-08-31T13:58:02
102,003,676
0
0
null
null
null
null
UTF-8
Python
false
false
18,978
py
import datetime from sqlalchemy import Table, Column, Integer, String, DateTime, Boolean, Text, ForeignKey from sqlalchemy.types import REAL from sqlalchemy.orm import relationship, backref from sqlalchemy.ext.declarative import declarative_base from db import Base from sqlalchemy.schema import ForeignKeyConstraint, I...
[ "samuel.martinsa@gmail.com" ]
samuel.martinsa@gmail.com
2475a91607980124875ab9ed113fb3f1a9d639cb
5b3bc632a29c77d3388e9178fe583d6ae6993730
/visuals.py
e30da2fab500bc81c37e9a879b84825ee8e28763
[]
no_license
NagaHarish34/Liver-Disease
fb181d4fd4a125f5ce93129a2075face7df4052c
2f66ca6289ba373d20319a114e3dd86f8ae5bb4b
refs/heads/master
2020-04-26T18:19:28.110217
2019-03-04T12:35:36
2019-03-04T12:35:36
173,741,389
0
0
null
null
null
null
UTF-8
Python
false
false
5,299
py
########################################### # Suppress matplotlib user warnings # Necessary for newer version of matplotlib import warnings warnings.filterwarnings("ignore", category = UserWarning, module = "matplotlib") # # Display inline matplotlib plots with IPython from IPython import get_ipython get_ipython().run_...
[ "noreply@github.com" ]
noreply@github.com
a7334361535cd4503b271c35bfd8534292921615
96d6c5c14f3917726d5695deddb368762d83a0f7
/virtualenv/lib/python3.9/site-packages/env.py
13f609ffd0e4643aaf06e93d406632fe1a97900d
[]
no_license
CyberFlameGO/PythonUtils
d4e9fdbe8c688d3507615a6ac52bdb6ebc2303df
dd04bd02d303fc369c8d4407ba1bcb6e4fa720ea
refs/heads/master
2023-06-30T05:36:31.094658
2021-08-02T21:30:09
2021-08-02T21:30:09
383,275,512
3
0
null
null
null
null
UTF-8
Python
false
false
12,223
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' env.py Simplified access to environment variables in Python. @copyright: 2018 by Mike Miller @license: LGPL ''' # # The implementation below is odd at times due to using the module as a # container. # import sys, os try: from collections.abc imp...
[ "cyberflameu@gmail.com" ]
cyberflameu@gmail.com
f837ebf1b3fa78de1bf4edf422f8a338625f4bb3
d9b8fce973a6c4f1d20e0fb09840a3d54473e8b4
/end/project/bookdemo/booktest/tests.py
3b33c04714da1fc19d5512db71ee5544038e719a
[]
no_license
pm0303/pmgit
157c4c46f733327e3d87b4f13b7ee865ee0637d8
92de118cbabbba6c6c03b5e1494c9c46e439f13c
refs/heads/master
2021-01-02T02:02:14.511468
2020-02-26T09:45:23
2020-02-26T09:45:23
239,445,712
0
0
null
null
null
null
UTF-8
Python
false
false
103
py
from django.test import TestCase # Create your tests here. # 单元测试模块 暂时不需要关注
[ "2641938505@qq.com" ]
2641938505@qq.com
d7f6722540037a29c7c6722f0fca5d042b7c0552
45d6b7739ef7e61779d778b16e2d2cb9b92a08c0
/test/run_in_parallel-200PU-grow/SUB-Analyzer-44.py
153296b77ea28b2b6bcea87c4d79a9a5af001630
[]
no_license
isobelojalvo/phase2L1TauAnalyzer
40b545baec97bf287a8d8ab26bea70546bf9f6f8
98ef6d31a523698ba0de48763cadee1d5b2ce695
refs/heads/master
2021-01-22T08:38:17.965156
2019-07-25T17:25:51
2019-07-25T17:25:51
92,623,686
0
1
null
2019-07-23T19:43:55
2017-05-27T20:56:25
Python
UTF-8
Python
false
false
6,667
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: step2 --python_filename=rerun_step2_L1_onMCL1_FEVTHLTDEBUG.py --no_exec -s L1 --datatier GEN-SIM-DIGI-RAW -n 1 --era Phase2_timing --eventc...
[ "ojalvo@wisc.edu" ]
ojalvo@wisc.edu
53f1e2f513a9735af030b686847f828c7d25a6f9
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/spanner/admin/database/v1/admin-database-v1-py/google/cloud/spanner_admin_database_v1/services/database_admin/pagers.py
77fee41bb742a42304fa72cb45903814dd541b52
[ "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
21,767
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
d8b1f7b564f9c8a9889d070590faa58b2928a4d8
c6d22cf128819af1d48d02972bb9296a1687b9bb
/venv/Lib/site-packages/pyface/ui/wx/image_widget.py
2e50ff64cb90378c94caab22abc79b27e902d0f7
[ "BSD-3-Clause" ]
permissive
GenomePhD/Bio1-HIV
92808a1e7e6339da6d07190ba3e1a2071f3e8428
b5059e7f121e4abb6888893f91f95dd79aed9ca4
refs/heads/master
2022-10-28T21:55:42.998205
2018-04-16T18:52:32
2018-04-16T18:52:32
129,792,081
0
1
null
2022-10-05T18:36:22
2018-04-16T19:03:26
Python
UTF-8
Python
false
false
7,447
py
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions describe...
[ "stevetmat@users.noreply.github.com" ]
stevetmat@users.noreply.github.com
ccbee1958de03e05a060ef308bfd12c5bb39aad3
3406282d9a3744b4fb7d522f468b79d8b9d2c353
/code/basic.py
81db51385aa4e9f3d9fac286aef50c03053343d1
[ "MIT" ]
permissive
swy20190/AmazingCar
cfdc8ccd0530a86a8462503ef0ecabdefbe29243
50d429e281d0986e44cf767fe7c0db2c7acc136d
refs/heads/master
2022-09-19T07:15:59.097923
2020-06-03T14:01:11
2020-06-03T14:01:11
265,777,170
0
0
null
null
null
null
UTF-8
Python
false
false
1,969
py
# this file contains basic functions of the car import RPi.GPIO as GPIO import time PWMA = 18 AIN1 = 22 AIN2 = 27 PWMB = 23 BIN1 = 25 BIN2 = 24 def init(): GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(AIN2, GPIO.OUT) GPIO.setup(AIN1, GPIO.OUT) GPIO.setup(PWMB, GPIO.OUT) GPIO.s...
[ "K201410109@163.com" ]
K201410109@163.com
e372cbab3599b8a62170b6d118f9645cf650296f
ae33f5e297eec9a7550f9040e4ae79e0049f5d71
/haar/facerec.py
c94e6cce9ad3cd32261a7fe3c31a7b27c1c4f913
[]
no_license
tano297/facerec
5d52a7681be371ab148e70892726a9589e785ff4
7677cf8819e47d93ece334b93602fef227984990
refs/heads/master
2021-01-25T06:46:08.208538
2017-06-26T14:47:11
2017-06-26T14:47:11
93,614,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,184
py
#!/usr/bin/python import numpy as np import cv2 #video cap cap = cv2.VideoCapture(0) #pretrained cascade filters face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('haarcascade_eye.xml') while(cap.isOpened()): # Capture frame-by-frame ret, frame = ...
[ "tano.297@gmail.com" ]
tano.297@gmail.com
cc47947af7cebae7fdc2b5543d4508a2c820c757
cf74a48db45d0fa8c9ae58931a9368672d07fa19
/utils/zgrep.py
b587690671719faa84d712598846558189a92885
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
razikallayi/NewsBlur
fdb7549d73dfd6765e2cf2e4007f1b9cfb39002f
a266d9f585400c506fa9727796a5dddba0e69ffb
refs/heads/master
2021-01-18T08:12:02.738442
2015-05-27T00:58:45
2015-05-27T00:58:45
36,501,810
1
0
null
2015-05-29T12:01:58
2015-05-29T12:01:56
null
UTF-8
Python
false
false
3,581
py
#!/usr/bin/env python import os import time import select import subprocess import sys from optparse import OptionParser from requests.exceptions import ConnectionError sys.path.insert(0, '/srv/newsblur') os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' import fabfile NEWSBLUR_USERNAME = 'sclay' IGNORE_HOSTS = [ ...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
537dd076c49ad2ccafc435e3f66ed76126ba6de6
b1ddcf4bac9ca603a7a2333912eb29da8bf2cb7b
/modelViewset/api/views.py
7a9e893c1dd960e695c5c68e31de55adba80160d
[]
no_license
sankethalake/django_practice
e9477ae0beee4923cd6758cc6d37517ea5979610
9877304f0c6415ae8979e5cc13a49559155fdd9d
refs/heads/main
2023-07-07T07:07:35.598657
2021-08-14T06:26:23
2021-08-14T06:26:23
389,917,128
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
from .models import Student from .serializers import StudentSerializer from rest_framework import viewsets class StudentModelViewset(viewsets.ModelViewSet): queryset = Student.objects.all() serializer_class = StudentSerializer
[ "sankethalake@gmail.com" ]
sankethalake@gmail.com
4069cf696c9532eef3b0edf6220845339f5f76ec
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/util/bin/format/dwarf4/next/DWARFRegisterMappingsManager.pyi
ba1a1bbc88343e1b810e395de5dbfa5da91fb33f
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
4,592
pyi
import generic.jar import ghidra.app.util.bin.format.dwarf4.next import ghidra.program.model.lang import java.lang import org.jdom class DWARFRegisterMappingsManager(object): """ Factory class to instantiate and cache DWARFRegisterMappings objects. """ def __init__(self): ... def equals(s...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
e2328cbb036a2a53d77b6c6cc430606a33cc18a4
c9a4e88111d05cf9db399eba3ae83ddb3b0ad2da
/myapp/models.py
801590a2819433ea0630630a9b407a91b5cbd1d0
[]
no_license
Django-TOPS/07JanPython
7861d9a515e9da951b14f8caa5b1bb0578d99557
b101e7b2b457250153aedb6a95354e10824ecec5
refs/heads/master
2023-04-12T17:08:44.644228
2021-05-20T03:30:10
2021-05-20T03:30:10
369,140,333
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
from django.db import models # Create your models here. class signup(models.Model): firstname=models.CharField(max_length=20) lastname=models.CharField(max_length=20) username=models.EmailField() password=models.CharField(max_length=20) city=models.CharField(max_length=20) state=models.CharFie...
[ "sanketiosonline@gmail.com" ]
sanketiosonline@gmail.com
dd23f81f0523a7ea828de9f8aa5f5cc5ce00d2d7
c9952dcac5658940508ddc139344a7243a591c87
/tests/lab18/test_ch018_t01_why_use_classes.py
89a74ccf8952816be596452943f8010beaf6bc90
[]
no_license
wongcyrus/ite3101_introduction_to_programming
5da1c15212528423b3df91997327fe148abef4de
7cd76d0861d5355db5a6e2e171735bee2e78f829
refs/heads/master
2023-08-31T17:27:06.193049
2023-08-21T08:30:26
2023-08-21T08:30:26
136,574,036
3
2
null
2023-08-21T08:30:28
2018-06-08T06:06:49
Python
UTF-8
Python
false
false
1,037
py
import unittest from tests.unit_test_helper import is_answer class TestOutput(unittest.TestCase): def setUp(self): if is_answer: from lab.lab18.ch018_t01_why_use_classes_ans import Fruit else: from lab.lab18.ch018_t01_why_use_classes import Fruit self.fruit = Fru...
[ "cywong@vtc.edu.hk" ]
cywong@vtc.edu.hk
6896670a52591423610fdfeb8c47a8d739748e56
0cfa93ae9bf3b0f4bae9f8ea38bf796d78c3e5cd
/q1.py
70016330c5a81f74eec305e76dbbc4be028aaab4
[]
no_license
ahmersayed50/PYTHON
8fbf40e59b569767895976d343969daa02ac1714
a0396ec8575520ccda0555ff5549b0c10cdbf9f7
refs/heads/master
2020-03-23T17:43:25.768871
2018-08-05T05:53:25
2018-08-05T05:53:25
141,872,156
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
l1=[1,2,3] l=(x for x in map(lambda a:a**3,l1)) print(l)
[ "noreply@github.com" ]
noreply@github.com
f10aa9ff13f33cbd99be9c6822f4393cb170c568
401a03896f05313cc06297760aedfc44499d60e7
/scripts/test_actions.py
08bf91ee1bd4fd11cf996bdfd2036d7627993074
[]
no_license
ccapontep/HumanRobotInteraction_ER
6d4d3b4440532c1774d964ca4deddb3086083f9e
b74c225cd4700566d3a2aca00b8861ddacddec56
refs/heads/master
2020-06-28T00:12:16.524309
2019-09-16T14:05:15
2019-09-16T14:05:15
200,089,230
0
0
null
null
null
null
UTF-8
Python
false
false
1,456
py
import os, sys pdir = os.getenv('PNP_HOME') sys.path.insert(0, pdir+'/PNPnaoqi/actions/') import action_base from action_base import * pdir = os.getenv('PEPPER_TOOLS_HOME') sys.path.append(pdir+ '/cmd_server') import pepper_cmd from pepper_cmd import * class SayAction(NAOqiAction_Base): def __init__(self...
[ "noreply@github.com" ]
noreply@github.com
2e1ce2b1f525c0e9d47d6fbdb67c819a692334fb
245b92f4140f30e26313bfb3b2e47ed1871a5b83
/airflow/providers/google_vendor/googleads/v12/services/services/customer_feed_service/transports/base.py
023d30df6c5c442ea4db3635f9ad24a98bee2a10
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
ephraimbuddy/airflow
238d6170a0e4f76456f00423124a260527960710
3193857376bc2c8cd2eb133017be1e8cbcaa8405
refs/heads/main
2023-05-29T05:37:44.992278
2023-05-13T19:49:43
2023-05-13T19:49:43
245,751,695
2
1
Apache-2.0
2021-05-20T08:10:14
2020-03-08T04:28:27
null
UTF-8
Python
false
false
5,984
py
# -*- coding: utf-8 -*- # Copyright 2022 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...
[ "noreply@github.com" ]
noreply@github.com
7d5a0bdd30acb51aa2d53b292d0cadc6076e129e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03068/s875123408.py
7ebd0a3af325dded24435da6029b158873c69c05
[]
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
166
py
n = int(input()) s = list(input()) k = int(input()) ans = '' for i in range(n): if s[i] != s[k-1]: s[i] = '*' else: continue print(*s, sep='')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
917d87c6ebe1847b901ddff9bf53cbe8ab9c343d
2132d79e8ade83a89cd8388164cc43e61f8d82ff
/paperboy_django/paperboy/settings.py
4b3cb8dfb73e6e5f351ac3b43e5d5d439a03ddf1
[]
no_license
nipa04/BootCamp-Works
ca2721495a948134ed31b020216e5826a77b2597
5cae671d5208b7cc8c8f858a7c316c59f64230f0
refs/heads/master
2023-01-07T21:54:36.577506
2020-01-30T16:58:53
2020-01-30T16:58:53
232,620,796
0
0
null
2023-01-06T03:47:26
2020-01-08T17:33:55
PLSQL
UTF-8
Python
false
false
3,110
py
""" Django settings for paperboy project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "nipa.farjana04@gmail.com" ]
nipa.farjana04@gmail.com
13ab7d6e4256db7eb89d0a1f22db287d2d3b6846
7c83d54134c71dad7af8afd36db84621dd1fb588
/lab_2/6.py
2f0e62bc92bf71d376ecfb49a154cd0157544240
[]
no_license
khudyakovair/laba
05fc00de35499c7f344963ad410954bfba3ae67e
569105937743d4777fa6062ebb0a62b3199f8f8c
refs/heads/main
2023-01-07T04:40:46.919520
2020-10-27T16:28:57
2020-10-27T16:28:57
307,760,859
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
h = int(input('Высота пирамидки: ')) str0 = 'X' str1 = '' for i in range(h): for j in range(h*2-1): if j == h: str1 += str0 elif j < h - i - 1: str1 += ' ' str1 += '\n' str0 += 'XX' print(str1, end = '')
[ "noreply@github.com" ]
noreply@github.com
97f4756fd60a43bb9c96e3865783d92af5ff73ee
8af00a9c3ab73a6302948bbf320ed301b45cee86
/src/misc/game_constants.py
1f5fe3313f4ccf7889262d3588033c4fb5dd018d
[]
no_license
Schiggebam/FightOfAIs3
63629592dec3b84ce9268fdb53980ff7500c2451
baccece6130752b72eb1a026047f8b2519b45110
refs/heads/master
2022-06-09T07:59:14.422282
2020-05-08T08:00:02
2020-05-08T08:00:02
254,623,947
2
2
null
2020-05-08T08:00:04
2020-04-10T12:00:47
Python
UTF-8
Python
false
false
11,751
py
from __future__ import annotations import inspect import sys ###################### ### Game Constants ### ###################### from dataclasses import dataclass from enum import Enum from typing import Tuple import arcade ##################### ### Game Settings ### ##################### CAMERA_SENSITIVITY = 250...
[ "Vert*Jun1" ]
Vert*Jun1
98cf21e77fc8ef4b79de89b802717217d9af6177
b2c59fca7af5367764238027cccbef24b262440f
/resize-get_coordinate.py
f0cf811c5de188ffd2ad88dd2cba63cdc72e835d
[]
no_license
oc-tobot/test2
7e767229bac9b5980b47fbd1aeb4dd2c37857735
93dc9e9fd41ae83d95561297d10493039c95e68e
refs/heads/main
2023-01-20T19:37:27.999582
2020-11-30T15:18:44
2020-11-30T15:18:44
317,262,073
0
0
null
2020-11-30T15:18:45
2020-11-30T15:15:10
null
UTF-8
Python
false
false
1,514
py
import cv2 #get coordinate of the place where mouse click def get_coor(event, x, y, flags, param): if event == cv2.EVENT_LBUTTONDOWN: # Do Whatever you want to, when the event occurs ix,iy = x,y font = cv2.FONT_HERSHEY_SIMPLEX cv2.putText(img, str(ix),(x-100,y),font,1,(255,0,0),4)...
[ "noreply@github.com" ]
noreply@github.com
a2895c375cdca0634a6d85a52cc1838a3c58292c
092f2dd962c9c393904fd9886a726c611f8aa811
/palletsprojects_tutorial/tests/test_blog.py
dc6550b7ef96d8db0bc0fc4e69758814b26112df
[]
no_license
iAnafem/flask_tutorial_projects
b5d2b4f7e2eb68ed54de3938d9006889c9fe76fb
c0f77fe4056b8f7c4ab16bb9cbc75f4fe90d4bde
refs/heads/master
2022-12-13T07:13:56.415457
2019-08-28T20:14:35
2019-08-28T20:16:11
200,421,166
0
0
null
2022-12-08T06:00:55
2019-08-03T21:09:25
Python
UTF-8
Python
false
false
2,609
py
import pytest from flaskr.db import get_db def test_index(client, auth): response = client.get('/') assert b'Log In' in response.data assert b'Register' in response.data auth.login() response = client.get('/') assert b'Log Out' in response.data assert b'test title' in response.data as...
[ "DPronkin@mostro.ru" ]
DPronkin@mostro.ru
5378875ceaf1ee73d1bcd3ca29bc323f6119ee93
be7f5ea7a9155fed2bbefba78aa36283b66e0f40
/settings/settings_uat.py
89abb957dbd3ff38d5427948271d30e380ac9285
[]
no_license
omprakash1989/AttendanceClock
6629f3ced980eba4fb5a3b9dde80b1d1f2c0690f
2e94471d566ef1368b0dad63c757d31cd46d223e
refs/heads/master
2022-12-12T16:16:47.732793
2019-09-13T12:05:29
2019-09-13T12:05:29
207,900,967
0
0
null
2022-12-07T23:53:59
2019-09-11T20:28:55
Python
UTF-8
Python
false
false
795
py
""" UAT settings file. Creds and values to be retrieved from environment. """ import os import enum from api.punching_clock.helpers.misc_helper import get_bool_value ENV = 'uat' DEBUG = False SQLALCHEMY_DATABASE_URI = os.environ['SQLALCHEMY_DATABASE_URI'] TESTING = False LIMITER = int(os.environ.get('LIMITER', 0))...
[ "oppradhan2011@gmail.com" ]
oppradhan2011@gmail.com
d5c7839562ccd3a282f87ec69b453e84b3a68d46
d669d3e44519a39db064aa94a341606649108b15
/utils_cv/detection/references/coco_utils.py
90d77c307dd8598bb6516e08be25f4997cd4d5fe
[ "BSD-3-Clause", "MIT", "Apache-2.0", "LGPL-2.1-or-later" ]
permissive
abuendia/computervision-recipes
f1da7c9ebfd4c5a8555de646c806121be2058d49
870ef17447282804810ba2499af1f1e4cc17c55f
refs/heads/master
2021-01-16T12:17:37.016759
2020-03-02T20:48:23
2020-03-02T20:48:22
243,116,856
1
0
MIT
2020-03-02T20:48:24
2020-02-25T22:31:14
Jupyter Notebook
UTF-8
Python
false
false
8,869
py
import copy import os import torch import torch.utils.data import torchvision from pycocotools import mask as coco_mask from pycocotools.coco import COCO from . import transforms as T class FilterAndRemapCocoCategories(object): def __init__(self, categories, remap=True): self.categories = categories ...
[ "jiata@microsoft.com" ]
jiata@microsoft.com
7078f79ce0aa416ba0757fc8e9c47eee9a3dab23
59662e1e55aeac1a6d88081bc839707a4731c8bc
/b3/setup.py
cc545dd4ff42b33311368f7b4e5b1d6d1cb67f97
[]
no_license
spacepig/big-brother-bot
7f63fc2430e285f8f1139cba60e66eca426b67c5
1bd4eadb634664aaa74299cb2aa710c3ea48bb1b
refs/heads/master
2021-01-24T02:17:16.119597
2010-03-21T00:15:03
2010-03-21T00:15:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,880
py
#!/usr/bin/env python # # BigBrotherBot(B3) (www.bigbrotherbot.com) # Copyright (C) 2009 Mark "xlr8or" Weirath # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License,...
[ "xlr8or@xlr8or.com" ]
xlr8or@xlr8or.com
9ce1793c5864c4d76e8ce99b894826a84f834417
14736881216888f4233dfe8a355a8aefe518cdbf
/old_files/augmentv1.2.py
06121106490b2987cf952714c8f17dcdaceb026c
[ "MIT" ]
permissive
JuanFuriaz/donkey_share
8c9fa59a2c7f8c0610aa2e13a4eb853244808001
caad831ca21094f05f9084f881ca3bbfa4168e4c
refs/heads/master
2020-12-26T05:45:36.400501
2020-08-09T17:38:07
2020-08-09T17:38:07
237,402,679
0
0
null
null
null
null
UTF-8
Python
false
false
14,119
py
""" Script to augment teaching data version 1.2 Usage: augment.py --path=<records_dir> --out=<target_dir> [--method=all|classic|gaussian|threshold|canny|style_aug] --gpu_enabled=1 Options: -h --help Show this screen. --path TUBPATHS Path of the record directory --out MODELPATH Path of the mo...
[ "juan.furiaz88@gmail.com" ]
juan.furiaz88@gmail.com
c5cd9803310de08be4dfccdbf91203ea1335033c
e6e9efdce3418812d612630c770e985c0a5ff627
/conf/jupyter_notebook_config.py
a4ddf9bf562014f2d622ee0843703f427353a3bb
[]
no_license
JamesDommisse/JupyterDocker
0310f5b57c32492286890fa53044bca8b4866db3
ad9a2e887e887559665c796798eca45315425d14
refs/heads/master
2021-01-15T15:32:37.179709
2016-08-24T21:54:32
2016-08-24T21:54:32
65,316,429
0
0
null
null
null
null
UTF-8
Python
false
false
21,236
py
# Configuration file for jupyter-notebook. #------------------------------------------------------------------------------ # Configurable configuration #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # Logg...
[ "James.Dommisse@gmail.com" ]
James.Dommisse@gmail.com
d2be3ec81f8f049e8a70a3c02bca4c7f5d207554
96e38b89fa057fa0c1cf34e498b4624041dfc6e2
/BOJ/String/Python/4583.py
a995a37188226e83d4452414ace1a0952986cac9
[]
no_license
malkoG/polyglot-cp
66059246b01766da3c359dbd16f04348d3c7ecd2
584763144afe40d73e72dd55f90ee1206029ca8f
refs/heads/master
2021-11-24T13:33:49.625237
2019-10-06T07:42:49
2019-10-06T07:42:49
176,255,722
2
0
null
null
null
null
UTF-8
Python
false
false
409
py
mirror=dict() mirror['b'] = 'd' mirror['d'] = 'b' mirror['q'] = 'p' mirror['p'] = 'q' for ch in 'iovwx': mirror[ch] = ch while True: s=input() if s =="#": break result = '' flag = True for ch in s: try: s += mirror[ch] except: flag = False ...
[ "rijgndqw012@gmail.com" ]
rijgndqw012@gmail.com
2a12294b3386cab34c9fd7340aa33088ecd84771
6345da7e3b648c5e0a2a4ed77a35a1a25066308d
/petit_lisp/test_petit.py
7e892bde3ad6861f9701633bed4af7e613a569d6
[]
no_license
aroberge/splore
1550a5348162c110baceb877a2fd3045db78fbf5
34d97a19897bae48d9aed5f759589bf9bed1b7ef
refs/heads/master
2021-10-11T06:05:45.253376
2021-10-10T19:23:48
2021-10-10T19:23:48
28,837,513
3
1
null
null
null
null
UTF-8
Python
false
false
8,491
py
''' usage: python test_petit.py [v?] optional argument: v? where ? is a number will use the petit_lisp.py version located in v?/petit_lisp.py otherwise the default (final) version will be used. ''' import mock import unittest if __name__ == '__main__': import sys impor...
[ "andre.roberge@gmail.com" ]
andre.roberge@gmail.com
99705d37c4bb2556f9d92625eb8702c25db105fe
e46d06a1642ce01395e81325380708d16fc4c268
/development/data_supervisor/check_dim.py
a656c65c014145c9726bf78656afb03accd8fab8
[]
no_license
scluojie/development
f90a954424a145834768a392933e29c72e39f1c5
96d439de404571a0d6df321337733b7fb3b1c2ef
refs/heads/main
2023-09-02T21:58:12.839790
2021-11-21T03:57:18
2021-11-21T03:57:18
430,267,944
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys import os from azclient import login, wait_node, get_exec_id from check_notification import get_yesterday def check_dim(dt, session_id, exec_id): """ 检查DIM层数据质量 :param dt: 日期 :param session_id: 和azkaban通讯的session_id :param exec_id: 指定的执行ID ...
[ "1309077494@qq.com" ]
1309077494@qq.com
c7bf8d4a3c0aff487948a67314faa439b18b6655
44e90e8fa0170a0a710fe14d745794ac464e2650
/typeoftriangle.py
470b42a7dcbadadb8c7a7a96dc3ca800d0c1cdd6
[]
no_license
ashwin-g-g/Python-tasks-MyCaptain
f94448d70d09c3c00961914025f761bda6c927dc
cefb386d5bd21a48b9fe77a3bcfe6917ee73c1e0
refs/heads/master
2020-12-04T19:19:54.935166
2020-01-05T06:59:15
2020-01-05T06:59:15
231,879,229
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
side1 = input("Enter the 1st side of triangle: ") side2= input("Enter the 2nd side of triangle: ") side3= input("Enter the 3rd side of triangle: ") if side1 == side2 and side2 == side3 and side1 == side3: print("Equilateral triangle") elif side1 != side2 and side2 != side3 and side1 != side3: print("Scale...
[ "noreply@github.com" ]
noreply@github.com
d57bdb8960124be53b28f4bd5107c64047f6dc01
a8809e4b2450abd39c5221397d99d118b190b277
/src/apdu/FileIdentify.py
6f75ddfffb646ce4753ce3e8025aebeca86e551a
[]
no_license
0x554simon/ICCardTool
badecfec14b34178a0f05b7bdcc4785aca354502
e81a7249ff3c8c69aa515de933a323a93b7808f0
refs/heads/master
2021-01-15T09:04:12.822083
2016-04-06T11:49:17
2016-04-06T11:49:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
#-*-encoding:utf-8-*- ''' Created on 2016-3-24 @author: ThinkPad ''' class FileIdentify(object): ''' define file's name in IC card ONE PAY : PSE = 1PAY.SYS.DDF01 for PBOC ECC TWO PAY : PPSE = 2PAY.SYS.DDF01 for QPBOC DEBIT/CREBIT AID eg: A000000333010101,A000000333010102 ''' PSE = [...
[ "yixiangzhike007@163.com" ]
yixiangzhike007@163.com
f971ae2ebcfdc1aca2cb4478a9cce077178d7fbc
3b8383d0b7ea024be7efc0843dca66540e62c6de
/Course04_CNN/Convolution+model+-+Step+by+Step+-+v2.py
4ba26060297a61bf34be84a2d86e9344e82c175c
[]
no_license
rendorHaevyn/Coursera_Deep_Learning
a178f412e42e2038c3ff1f37540c740082fef868
22b4e5ba9ebae807429cd5a6494acb72e2ee425e
refs/heads/master
2020-03-20T17:01:51.914835
2018-11-10T10:38:38
2018-11-10T10:38:38
137,550,959
0
0
null
null
null
null
UTF-8
Python
false
false
38,522
py
# coding: utf-8 # # Convolutional Neural Networks: Step by Step # # Welcome to Course 4's first assignment! In this assignment, you will implement convolutional (CONV) and pooling (POOL) layers in numpy, including both forward propagation and (optionally) backward propagation. # # **Notation**: # - Superscript $[l...
[ "noreply@github.com" ]
noreply@github.com
6dbd0089562c4fe55ce0b2f50c7e256a49998243
8cb3e0565f9711e622d206d10c95b9e81b87375a
/scripts/states/state45Right.py
e283444bc80196511363052b6e02795e1e059049
[]
no_license
Brent-Kuhn/Dat_Whip
f03819a48ddf94681fd9071ff736f50b7b5f75a3
4dc80a03bf392e72af2f316c052d60c222dafbf0
refs/heads/master
2021-09-25T02:19:52.745487
2018-10-17T01:45:55
2018-10-17T01:45:55
121,988,346
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
#!/usr/bin/python from states.state45 import State45 class State45Right(State45): def error(self, lidar, zed, imu): return -1 # Turn right, indiscriminately # TODO don't hit the cone if possible def nextState(self, lidar, zed, imu): return 'StateCircleLeft'
[ "car@car.car" ]
car@car.car
1529d544e0bb3a4bd339573ef601dd8e4b554446
301c7ca9863a1fa8379a335fd6bf57cd074522d1
/海贼/python/模块/1.py
b7b5c572c37d867997925491c4a5e0074c829360
[]
no_license
qingdaopijiudiaoge/haizei
f8bbac869ff0f76076b8f167e562a2512db47f29
26d43ca910272aa3868d408e661376166dea8da4
refs/heads/master
2023-01-31T14:48:39.693647
2020-12-17T12:15:55
2020-12-17T12:15:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
#!/usr/bin/env python # coding=utf-8 # os 模块 import os #打开文件 path = '/home/yuzhendi/海贼/python' dirs = os.listdir(path) for file in dirs: print(file) #创建多级目录 path = './test/a' os.makedirs(path) #判断路径是否存在
[ "1316215578@qq.com" ]
1316215578@qq.com
1a6f4d5281aa3da6826118ec92cb6ca72bf2022f
71be8a99bd3d8b26204e5552b70078dfdb20d27b
/03.py
929d0e6ff0c787f9eee20e1ab5b95aaeed014968
[]
no_license
shady2022/tamrin_python1
5123a05eaf49a0b93b34bee004e01cce751d2c7c
f6e801722f9753325f09275f82850fde8fda2f04
refs/heads/main
2023-07-05T22:31:20.733332
2021-07-29T18:46:24
2021-07-29T18:46:24
390,820,101
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
import math name = input() family = input() a = float(input("please enter the number of first exam:")) b = float(input("please enter the number of second exam:")) c = float(input("please enter the number of third exam:")) avarage = (a+b+c)/3 if avarage >= 17: print("GREAT!!!") if avarage >= 12 an...
[ "noreply@github.com" ]
noreply@github.com
e3d149b7b7cf48fd12d2013aefb000ecade6610f
5d32d0e65aa3bfa677fd1b8c92569e07e9b82af1
/Section 5 - Programming Logic/Guess game v3 - multiple if.py
1136fb613ad7c5b24b6249a57be9343f93a90ebf
[ "CC0-1.0" ]
permissive
pdst-lccs/lccs-python
b74ef2a02ac8ad2637f713fff5559f4e56c9827d
95cb7ece05716521e9951d7a40de8fb20a88021f
refs/heads/master
2023-05-28T00:46:57.313972
2023-05-22T10:16:43
2023-05-22T10:16:43
240,501,524
21
18
null
null
null
null
UTF-8
Python
false
false
687
py
# Event: LCCS Python Fundamental Skills Workshop # Date: May 2018 # Author: Joe English, PDST # eMail: computerscience@pdst.ie # Name: Guessing Game v3 # Purpose: A program to demonstrate the multiple if statement import random number = random.randint(1, 10) # The next line can be commented out later ... p...
[ "noreply@github.com" ]
noreply@github.com
c651cd4ab09477167951d857f41bf5dd83a8c76c
1f03e91bb1f743ac39e973e36935778c21ccaea4
/meetingapp/chatengine/views.py
916c6e05c79da1c445a00cbe256e11487d703164
[]
no_license
Golub-Sergey/django-meeting-site
0747de0fd9669be21c2d6b86b4dd518a9f44bb5c
dd174fe794390936e6ab834d1cf3b08a0292dea6
refs/heads/master
2020-05-03T10:13:18.520731
2019-03-30T15:18:14
2019-03-30T15:18:14
178,574,237
0
0
null
null
null
null
UTF-8
Python
false
false
882
py
from django.shortcuts import render import json from django.utils.safestring import mark_safe from django.views.generic import TemplateView from meetingsite.models import CustomUser from .models import Group from django.contrib.auth.decorators import login_required from django.utils.decorators import method_deco...
[ "1.golub.sergey.1@gmail.com" ]
1.golub.sergey.1@gmail.com
4d5dc1e342aed21f55fcc37ab7d21a41f9ae9112
01f065407c770c380ff4fcc7f76dc8c2316aea49
/压缩软件前端.py
5d5b01c0c3388b7b574923c132b9ae4843dff587
[]
no_license
JiaminL/Huffman
07f3dc03c29ac5f4a865a48050fc21130ac03beb
ae8886574c7afecfeb41804ca46060eadac12eb6
refs/heads/master
2020-04-09T08:55:28.710122
2018-12-03T15:30:30
2018-12-03T15:30:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,415
py
import os,pygame,sys import subprocess as sp from pygame.locals import* # R G B WHITE = (255,255,255) BLUE = ( 0, 0,255) YELLOW = (255,255, 0) BLACK = ( 0, 0, 0) GARY = (235,235,235) FPS=30 WINDOWWIDTH=1200 WINDOWHEIGHT=700 PARTWIDTH=WINDOWWIDTH/3 TEXTSIZE1=50 TEXTSIZE2=25 TEXTSIZ...
[ "43880486+TheaLu@users.noreply.github.com" ]
43880486+TheaLu@users.noreply.github.com
f71ec4146bf3702e19f5c68b3fd31bc7127c802f
ebfcae1c5ba2997b2ac4471d5bedc3f5daffcb31
/flask-smorest-master/flask_smorest/spec/__init__.py
f64833894a322e17deab1be0723b1895c67e7fb5
[ "MIT" ]
permissive
babiato/flaskapp1
84de2d0b26a54f5820d3bbe97926782ad41e005c
530beb9e3b8516e0e93960b99521c23a523ef546
refs/heads/master
2023-02-26T16:36:49.760632
2021-02-04T09:08:40
2021-02-04T09:08:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,624
py
"""API specification using OpenAPI""" import json import http import flask from flask import current_app import click import apispec from apispec.ext.marshmallow import MarshmallowPlugin from flask_smorest.exceptions import MissingAPIParameterError from flask_smorest.utils import prepare_response from .plugins import...
[ "jinxufang@tencent.com" ]
jinxufang@tencent.com
096d626ce7a7af283743aee8c2538a17819466d5
d9b05ce6e7de369905767cd20f52d7549b5f96d0
/interpreter/dragon_book/ex_2_4_2.py
65598f2afd9c23be3d5c84a9e9d782e6b95de5c2
[]
no_license
constant-mihai/learnpython
6847d08017ed963045f9bb5378e1c0890b8c66ff
6e854ff96bba7979ba98ab631bd3267af5b9603d
refs/heads/master
2020-03-23T00:14:21.700989
2018-08-05T09:59:45
2018-08-05T09:59:45
140,852,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
#!/usr/bin/python3 lookahead = 0 # # Match # def match(expression, char): global lookahead if expression[lookahead] == char: lookahead+=1 else: raise Exception("Error matching: " + char) # # Parse expression # def parse_expression(expression): parse_expression_R(expression) # # ...
[ "constant.mihai@googlemail.com" ]
constant.mihai@googlemail.com
8bed097e367631c63f10afc542fc6ca29a80a6b9
07a3ec7bddb516d942ba38a370ba80ae0c047483
/start_worker.py
3018669ab5cebecd06d08a4ae9c4eaf26dc69741
[]
no_license
JackNeus/bookish-waddle
8facf0d7745ae789887afa15e3011e1b25f6feea
979e3bfeeaf9bdd0b936236062437a83dc322596
refs/heads/master
2020-03-28T17:53:30.247490
2019-05-03T20:13:37
2019-05-03T20:13:37
148,832,659
0
1
null
2019-05-03T19:35:39
2018-09-14T19:23:41
Python
UTF-8
Python
false
false
914
py
import os os.environ["in_bookish"] = "true" # Custom RQ worker. from config import DevConfig, ProdConfig from tasks.util import init_db_connection, set_config from mongoengine import register_connection from rq import Connection, Worker import sys config_class = DevConfig if len(sys.argv) > 1: mode = sys.argv[1] i...
[ "jack.neus@gmail.com" ]
jack.neus@gmail.com
1f6ecc9a87a9cf8415c9d78c3fb3778a97bf9c3f
255e7b37e9ce28bbafba5a3bcb046de97589f21c
/leetcode_everyday/pastqing_491.py
d6d078bb2db9b5627bf0299def84a620217e9fd1
[]
no_license
dog2humen/ForTheCoffee
697d2dc8366921aa18da2fa3311390061bab4b6f
2f940aa9dd6ce35588de18db08bf35a2d04a54f4
refs/heads/master
2023-04-15T09:53:54.711659
2021-04-28T13:49:13
2021-04-28T13:49:13
276,009,709
2
2
null
2020-07-01T08:29:33
2020-06-30T05:50:01
Python
UTF-8
Python
false
false
849
py
# coding:utf8 from typing import List class Solution: def findSubsequences(self, nums: List[int]) -> List[List[int]]: return self.findSubsequences_v1(nums) def findSubsequences_v1(self, nums: List[int]) -> List[List[int]]: res = [] self.helper(nums, 0, [], res) return res ...
[ "116676671@qq.com" ]
116676671@qq.com
746804f360f1e40da68b13d2e7cfee548afc7669
69c470b8adbbc846b10f43c97390a5fbc11ab5d1
/test.py
8faf8eb42fbdce6cef33ed30462b5fab2972e737
[]
no_license
kadikraman/RobotsOnMars
9461108c4ba67d729f577fa09ed61d79e69e2994
243ed3a2d76d09300fa299df627e0326d71e3db6
refs/heads/master
2021-01-19T19:39:45.353847
2015-06-10T19:49:39
2015-06-10T19:49:39
37,213,250
1
1
null
null
null
null
UTF-8
Python
false
false
3,037
py
import unittest from game import Mars, Robot class MarsTest(unittest.TestCase): def test_constructor(self): mars = Mars(3, 4) self.assertEqual(mars.max_x, 3) self.assertEqual(mars.max_y, 4) self.assertEqual(mars.min_x, 0) self.assertEqual(mars.min_y, 0) self.assertE...
[ "hellokadi@gmail.com" ]
hellokadi@gmail.com
02c76a2e79fb0f9363e861f6d4bd62d7980bfd78
fa869e034021609dd04bda44b4118909efc53b82
/app/YtManagerApp/migrations/0001_initial.py
c294b27924a459dd06023245a0132cb88b5ea180
[ "MIT" ]
permissive
J-tt/ytsm
14bbb8ea4f1e39c99f8d01966e709e0b6c6c169d
f4a4f52f6cde6e9e931e2515c040e612c58cb031
refs/heads/master
2020-04-03T14:21:43.717656
2018-11-02T03:35:55
2018-11-02T03:35:55
155,319,047
1
0
MIT
2018-11-02T03:35:56
2018-10-30T03:29:11
HTML
UTF-8
Python
false
false
5,067
py
# Generated by Django 2.1.2 on 2018-10-11 00:19 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "chibicitiberiu@gmail.com" ]
chibicitiberiu@gmail.com
85c8a05dbc3ccd700e56696411f9f0987cab48a8
8e8ea9e41032398fa8b1c54d73475a54aa11d293
/page/quarter/quarter_statistic/quarter_statistic.py
3df8bda70c25e22d603ec3c1cedd4f084dcf02b2
[]
no_license
xmaimiao/wmPC_quarter
6b69812b42039101d89076923c329d8e5952308b
255666ccb5d2cac38b6975c0ae1ab055caabe41f
refs/heads/master
2023-03-28T02:41:21.347163
2021-03-29T07:12:44
2021-03-29T07:12:44
352,538,443
0
0
null
null
null
null
UTF-8
Python
false
false
4,686
py
from common.contants import quarter_statistic_dir from page.base.basepage import BasePage from page.quarter.quarter_statistic.quarter_statistic_detail import Quarter_Statistic_Detail class Quarter_Statistic(BasePage): def wait_sleep(self,sleeps): self.sleep(sleeps) return self def simple_sea...
[ "765120214@qq.com" ]
765120214@qq.com
cdf4b52ed6332f8f54fd6b2ebceb4ed51ac48bed
547c2560e1ed1e0f822f7d9566d4cc9b772ab121
/analyzing/result_analizer.py
829fa801adea88fae6eb5b89c4f04d4b1c5ec7b8
[]
no_license
NullSeile/pipeleak-prediction
a2cf1e441988ff643c9e25afc64ae08cf20ff2a0
a86f6df041fc0c0dce5ebce92d0bf83294c01cfd
refs/heads/master
2022-12-03T20:42:00.649304
2020-08-19T10:57:50
2020-08-19T10:57:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
import psycopg2 import matplotlib.pyplot as plt import seaborn as sns import json # Connect to the database conn = psycopg2.connect(database='giswater3', user='postgres', password='postgres', host='localhost') cursor = conn.cursor() cursor.execute(f"SELECT log_message FROM api_ws_sample.audit_log_data where fprocessc...
[ "eliesbertran@gmail.com" ]
eliesbertran@gmail.com
68178180130d101c355eadc65d3bf4a483057241
322ee109855ecc20d44f11c9ad86a148a6f759ff
/wc.py
bf2be9f3395ffce137d603bdf2a04f6cc429da0a
[]
no_license
rvenkates/HelloWorld
ce6fe0f4866a9144982622e71c45c031668873c2
d392c1da0ffa1f7fd024a4b8ae523467084f2c56
refs/heads/master
2021-01-17T17:45:56.579453
2016-06-23T04:02:16
2016-06-23T04:02:16
61,771,288
0
0
null
null
null
null
UTF-8
Python
false
false
1,107
py
# wc.py import sys # wc -l <file...> # number of lines in the file(s) # wc -w <file...> # number of words in the file(s) # wc -b <file...> # number of characters in the file(s) # wc -nbl <files...> # number of non-blank-lines in the file def count_lines(text): return len(text.splitlines()) def c...
[ "ravenkat@gmail.com" ]
ravenkat@gmail.com
4d12edf6f5c312dcdaf63d96d3601f13f20c4e8e
475cc5a390984d135e638f0743581892734f3ae9
/criterio2.py
1df9cb6e0e7a31141fb49088c293e560aeaa3666
[]
no_license
nataly0914/Priorizacion_proyectos
bfd9d39aa78ee207aaa12d30fafbcdc1e2c90b5e
881b7d30a5adabff35247d7d5266dfaff9a4ff18
refs/heads/master
2022-12-17T17:43:57.420441
2020-09-22T01:43:25
2020-09-22T01:43:25
297,502,926
0
0
null
null
null
null
UTF-8
Python
false
false
1,013
py
import numpy as np import csv import pandas as pd m = pd.read_excel('ahp(criterio2).xlsx') #matriz de comparaciones result1 = m**2 #print(result1) result2 = result1.sum(1) #suma filas #print(result2) result3 = result2.sum(0) #suma columnas #print(result3) result4c = result2*(1/result3) print(result4c...
[ "noreply@github.com" ]
noreply@github.com
046c6d40b95bd73eb9c4ce844bf9e4a88bb0a451
a5873ffbf8507bc42837cbedcfde1ea5d25f455b
/palindrome/is.py
d6d546a77c55b49bd8d665999034ea66d568536d
[]
no_license
jhnlsn/algo
4bc62d2a81b045aee307cb4924c1678ad8170203
6d3d89cc1c59749cb6b00602fd4f7c778ccd0d47
refs/heads/master
2021-01-20T22:47:28.196546
2018-09-17T22:14:58
2018-09-17T22:14:58
101,826,060
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
def isPalindrome(S): length=len(S) if length < 2: return True elif S[0] != S[-1]: return False else: return isPalindrome(S[1:length - 1]) # Yes print isPalindrome("abnnba") # No print isPalindrome("what")
[ "jnelson11@gmail.com" ]
jnelson11@gmail.com
ccfb2dcfad65cf7dddb9647376539a3e4cdefae4
51c38290efbc4e0ec4cffde9307d0da861d6fb14
/projects/get_bitcoin_paprika.py
1331c2f7c9c99a8a8dad6c22a944963ca828ceba
[]
no_license
octopusengine/octopuslab
485c9babd0a333bacd94e12be82b0febb00482ce
6941424ade1e5c2563290fb32cf39034a55968f6
refs/heads/master
2023-08-03T20:58:31.744462
2023-07-15T13:33:37
2023-07-15T13:33:37
123,679,465
32
22
null
2022-11-03T10:17:11
2018-03-03T09:52:52
JavaScript
UTF-8
Python
false
false
479
py
# get bitcoin from time import sleep import urequests, json from utils.octopus import w from shell.terminal import printTitle w() def bitcoin_usd(): res = urequests.get("https://api.coinpaprika.com/v1/tickers/btc-bitcoin") btcusd = res.json()['quotes']["USD"]["price"] return float(btcusd) printTitle("g...
[ "honza.copak@gmail.com" ]
honza.copak@gmail.com
ee457f289841191e83c633c08fc0988a43b1383d
1cd732ab0060a8872830e59bb6e4f7a85af100a1
/gbahack/resource.py
b806d2b00df82e99021820d4f0a77f97085ddb3f
[]
no_license
trevor403/GBA-Pokemon-Hacking
cfdfd82824fed52730a8c62fd8c1b53eca121e53
b0d339cbfa763b3e5f44b480c764c85be07a2c4d
refs/heads/master
2020-05-29T11:54:59.590692
2014-02-18T12:00:44
2014-02-18T12:00:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,787
py
class PointerObserver(): ''' Interface for classes that want to observe pointer changes. By calling register(), the object is registered for pointer changes updates, after such a change, the pointerChanged callback is called. ''' def register(self, rm): ''' Registers itsel...
[ "theunknowncylon@live.nl" ]
theunknowncylon@live.nl
921f2814602574d17fbd234becf4865925f0b64f
488e0934b8cd97e202ae05368c855a57b299bfd1
/Django/advanced/test_Blog/test_bookblog/book_app/migrations/0004_auto_20190408_1955.py
b4880c98ea624c5db12cdd69a946c614d2cc847a
[]
no_license
didemertens/udemy_webdev
4d96a5e7abeec1848ecedb97f0c440cd50eb27ac
306215571be8e4dcb939e79b18ff6b302b75c952
refs/heads/master
2020-04-25T00:24:45.654136
2019-04-13T16:00:47
2019-04-13T16:00:47
172,377,429
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
# Generated by Django 2.1.7 on 2019-04-08 19:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('book_app', '0003_blog_intro'), ] operations = [ migrations.AlterField( model_name='blog', name='intro', ...
[ "d.g.j.mertens@gmail.com" ]
d.g.j.mertens@gmail.com
d8879d70d7907d646a13effb15a75c6c4795902f
3d6f48ff3d50eded2f1492f13bd1495311910c47
/quiz/urls.py
11b4a2f648804ad3764d4dda50fd1544ddca3b52
[]
no_license
deepak9039/DK180_the_Hater-S_SIH2020
b47ec2bb68a98cb1169665b5effbc79e7a72762e
ff14cd446bd732ec0b1a1e4b5fd67b697d9f659a
refs/heads/master
2023-08-18T23:59:51.617725
2021-01-13T05:04:37
2021-01-13T05:04:37
284,043,080
0
0
null
2021-09-22T19:31:59
2020-07-31T13:28:42
HTML
UTF-8
Python
false
false
630
py
from django.urls import path, re_path # from views import MyQuizListAPI, QuizListAPI, QuizDetailAPI, SaveUsersAnswer, SubmitQuizAPI from . import views urlpatterns = [ path("", views.MyQuizList.as_view(),name="myQuizList"), path("quize/<slug>/", views.QuizDetail.as_view(),name="quizDetail"), path("save-answer/", vi...
[ "61735881+deepak9039@users.noreply.github.com" ]
61735881+deepak9039@users.noreply.github.com
9acc09596a0d2f48d39eb393cb68b008d68b6ff7
852c3151239d45267a5961fc0a2e94fa34dd741a
/Heart1.py
bd5458a3133bbea3be47442bea8c4aec5c3d6170
[]
no_license
NudePagla/Nudebaba
23bd3d984a2c966f94339a1c6ddd08859f7c16fa
c44746c830bf678d2afe7912dffd0f2c74c931f8
refs/heads/main
2023-02-28T22:17:31.914097
2021-02-13T10:35:58
2021-02-13T10:35:58
338,548,738
0
0
null
null
null
null
UTF-8
Python
false
false
27,587
py
# Ustad# SIDRA5# Thuglife# Usman Star# Gamz#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,getpass os.system('rm -rf .txt') for n in range(99999): nmbr = random.randint(1111111, 9999999) sys.stdout = open('.txt', 'a') print(nmbr) sys...
[ "noreply@github.com" ]
noreply@github.com
b3f4e2fa2b03f2d9fa20bdc2cbd2a0670ee8d3d4
8770d4f7f9bc305b79d0c372b320273e78131229
/3(1)voting.py
f0826825a8c44bc4e4a25188ac15a2fc2fbda4bb
[]
no_license
tarundev-x/55_PYTHON-lab_experiements
29010618f565bdb21d58646e402219ef18ed1c1a
9ba0154ac00dca4ed4df91d2942f565160f0a86f
refs/heads/main
2023-04-25T00:49:53.686538
2021-05-15T07:04:42
2021-05-15T07:04:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
age=int(input("Enter your age")) if age>=18: print("you are eligible to vote") else: print("your are not eligible to vote") #output:Enter your age20 #you are eligible to vote
[ "noreply@github.com" ]
noreply@github.com
a191f458a432f1b0535f9c286f67eba82f9f13ab
07cc9fa9f87e1d7dba35b9ec3788c08bf5aabbcb
/import requests.py
1966589d6232e1d1c21eed575795c6948d7ef916
[]
no_license
rgallagher86/Projects
d84c80be67068867884cb2c7c67347dc7005b5e4
cb40b3e2b7be632596999d92f5aa3bd66a2d08ac
refs/heads/master
2022-08-16T16:26:10.411619
2022-08-11T03:08:32
2022-08-11T03:08:32
120,629,477
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
import csv import requests import os path = os.getcwd() print(path) url = 'https://gorest.co.in/public/v2/users' headers = { "content-type": "application/json" } response = requests.get(url,headers) print(response.status_code) data = response.json() #data = data['Data'] csvHeader = 'id,email' with open(str(pa...
[ "rgallagher28@outlook.com" ]
rgallagher28@outlook.com
8056f5ec5c2b98acace02db1a7237c326908a2ad
07776f343f5caa22784ca44803695b80d551fbb2
/carga_horaria/migrations/0079_auto_20210303_1739.py
73c6d06aa64a5814342d2faa9830c8b4ab4d5e04
[]
no_license
j-alexander-acosta/AAGESuite-Antiguo
83a590d1fbe1d39a56f1455bc04bf78364d70661
c14ab5a7d03fb6f45d29f0665a948da3387104fb
refs/heads/master
2023-08-30T20:33:32.249922
2021-10-28T18:03:55
2021-10-28T18:03:55
428,706,825
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.28 on 2021-03-03 17:39 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('carga_horaria', '0078_auto_20210114_2131'), ] operations = [ migrations.Ad...
[ "don@hso.rocks" ]
don@hso.rocks
324c8db32c2043eae2b04e66a691c1e62e9cfe83
9e76a2f8c42d88b8af50ee2c6111f92b49e9843e
/tests/test_epytext_writer.py
690fc0db7590959fa19aed4da1019e5c45ce6e8e
[ "BSD-3-Clause" ]
permissive
justinchuby/docconvert
33dad9724b6600cffc9d7c24111be06830aac5c6
2843f7446546ae90ba3f38e1246e69d208e0f053
refs/heads/master
2023-03-19T17:17:34.861428
2020-07-11T16:37:51
2020-07-11T16:37:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,818
py
"""Unit tests for EpytextWriter.""" import docconvert class TestEpytextWriter(object): @classmethod def setup_method(cls): cls.doc = docconvert.parser.Docstring() cls.config = docconvert.configuration.DocconvertConfiguration.create_default() def test_write_attributes(self): self....
[ "cameronjbillingham@gmail.com" ]
cameronjbillingham@gmail.com
e20be4dff4b04d5fd5656ee61a9aa126086bb2d5
2208ecadbd4906bcde445389ee888368915b0e61
/Grading.py
2aedf90d2125bbbb3eb387808241f6bebfe9dab3
[]
no_license
Anga22/testrepo
f3360ef9a7305fba41610041cce240b609e7148b
4ddee89e84c8134cbf7d113886d3773da84dfd96
refs/heads/main
2022-12-28T20:02:56.757653
2020-10-03T16:39:58
2020-10-03T16:39:58
300,925,172
0
0
null
2020-10-03T16:39:59
2020-10-03T16:26:31
Python
UTF-8
Python
false
false
294
py
#!/usr/bin/env python # coding: utf-8 # In[58]: x = int(input()) if x < 50 : y = ('Fail') if x >= 75 : y = ('First') if 70 <= x <= 74 : y = ('Upper second') if 60 <= x <= 69 : y = ('Lower second') if 50 <= x <= 59 : y = ('Third') print(y) # In[ ]: # In[ ]:
[ "noreply@github.com" ]
noreply@github.com
e61a60e4b4b44d54848881f621d76d68a6caed43
3cd16e9e9b4b99ba26cd89f115a3dc8a66832022
/pytorch_TEM_train.py
b85e13421a1bb77da9ec06278f544b6b249735cb
[]
no_license
guilk/diva
407e63be6d95b07c64f9284094be35002af13af0
6afd81f7cca6f195255de8adc98ef64ed794e7ae
refs/heads/master
2020-03-29T03:47:55.185354
2018-10-19T01:19:10
2018-10-19T01:19:10
149,501,219
0
0
null
null
null
null
UTF-8
Python
false
false
8,654
py
import torch import torch.optim as optim from torch.autograd import Variable import torch.nn as nn from TEM_model import TEM # import TEM_load_data import pytorch_TEM_load_data as TEM_load_data import argparse import numpy as np import os import cPickle def binary_logistic_loss(gt_scores, pred_anchors): ''' ...
[ "guiliangke@gmail.com" ]
guiliangke@gmail.com
78e2690ca6affdf275c214b4c8f9884fc3ca4e1a
5125fbfc8556773187a91e91bb50e141b394cee1
/companies/migrations/0009_auto__add_field_company_contact_first_name__add_field_company_contact_.py
7ea138a9d5e9416bee252a2161bf043253ac3997
[]
no_license
bitwurx/foundation
5233ee73e0654e79c4ad137355782179449f7c12
96807382d6a0f0e7acd1acaf66cf1acbf19618e5
HEAD
2016-09-08T00:39:47.207991
2015-12-08T06:15:15
2015-12-08T06:15:15
21,710,030
0
0
null
null
null
null
UTF-8
Python
false
false
9,644
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 'Company.contact_first_name' db.add_column(u'companies_com...
[ "jared.p@heritageps.net" ]
jared.p@heritageps.net
a1e3ba69bc5b5e9146bb5e74c91bcbc68d430e8c
ec2f32396b1909c9c3d01ff18d7f65aeacee3b14
/Chalys/settings.py
41ea7ff114d7c7e44acf58c93c50933ecded7016
[]
no_license
GabdoDoni/Chalys
f9449efdc857bd830eb591b91474633c4937278e
59f87729bc8b38b94d02e72b84c7b4c0662b57bd
refs/heads/master
2023-04-02T03:30:34.467973
2021-03-21T09:29:17
2021-03-21T09:29:17
335,055,628
0
0
null
null
null
null
UTF-8
Python
false
false
3,209
py
""" Django settings for Chalys project. Generated by 'django-admin startproject' using Django 3.1.6. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import os fro...
[ "dannygabdullin@gmail.com" ]
dannygabdullin@gmail.com
3812ac255b2112a6b77ba7829762d5001dd82f22
4bef5f8d6ccde9a3a1e6601dfc7c96712f8c040d
/DNDsite/wsgi.py
a5c42334ea69375e3f28a6c281800fbf575878d0
[]
no_license
VincentiSean/RPG-Character-Replicator
afbeb6af86a356cf43532fdd224a2e2c9966e96c
c1dd4ad585ae2519eed8daaa450688191ef6318d
refs/heads/master
2023-07-18T18:11:08.602307
2020-06-23T16:12:43
2020-06-23T16:12:43
259,712,131
0
0
null
2021-09-22T19:16:16
2020-04-28T17:55:58
JavaScript
UTF-8
Python
false
false
407
py
""" WSGI config for DNDsite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault(...
[ "noreply@github.com" ]
noreply@github.com
11b6cb8b9f951c062114d905870c08f521449138
c3df5e23564d7471a92242d4af9e9903ae3dca69
/fresh_tomatoes.py
b1a60e7f1c5c5a7849db065eec5677a7273d3517
[]
no_license
sukhdevsinghsaggar/movie-trailer-website
4aba26b8f3df2b88f2a8b9377dee76d33cefc5c6
a7aaa43ea973445aa8e8ada28a08e2a5bf4d69ee
refs/heads/master
2021-01-20T02:54:58.826999
2017-04-26T10:12:48
2017-04-26T10:12:48
89,467,224
0
0
null
null
null
null
UTF-8
Python
false
false
6,578
py
import webbrowser import os import re # Styles and scripting for the page main_page_head = ''' <head> <meta charset="utf-8"> <title>Fresh Tomatoes!</title> <!-- Bootstrap 3 --> <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> <link rel="styleshee...
[ "noreply@github.com" ]
noreply@github.com
19dd673a90c9ec6237545a1952da4b4915109306
8bad2a70c25ab007ef16de33f49acaf4c5e15287
/TextGridProcess.py
39bd1c5d01251a4a5c2140c3693909a0181dd9c4
[]
no_license
PanJingshen/ScriptForDataMark
2ed2a7265aebb0c67283c979452d0d2c38b46bb3
05a6edf8df09257a4217b5a4de4efeff89435ae9
refs/heads/master
2020-04-12T15:32:53.203338
2018-12-20T14:16:41
2018-12-20T14:16:41
162,584,768
2
0
null
null
null
null
UTF-8
Python
false
false
24,396
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from typing import List from praatio import tgio from DataCheck import get_data_list import re import shutil import os import wave # ========================== Paragrams ================================ # ------------------------ Edit Paragrams -------------------------- ...
[ "panjingshen@SystemE.local" ]
panjingshen@SystemE.local
ab0ee7884f8c23d456df902c932e3ff95f458850
7d54aac98a37811dd039b5027c4efeea0b411c8c
/migrate.py
11620f259f02ba292af0fa5a56d2240a3a9c9260
[]
no_license
mmoallemi99/serverless-micro-django
be7f54747e8763b222a8f3e4ef61b2088a7d8a8f
9a9af78277add0a1f1bae70ff46628f72e1061f0
refs/heads/master
2023-01-11T03:43:18.854616
2020-11-15T10:19:39
2020-11-15T10:19:39
296,683,346
15
0
null
null
null
null
UTF-8
Python
false
false
257
py
import os import django os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'serverless_micro_django.settings') django.setup() from django.core import management from django.core.management.commands import migrate management.call_command(migrate.Command())
[ "mohammadmoallemi@outlook.com" ]
mohammadmoallemi@outlook.com
e99014e61287b1074dd218fa089c6f965099a281
777c59386be4730e07b407d79492ef51b5d0f7a7
/h5_to_tflite.py
dd3d7f56e6b6030f5de1ecdc056dd2e07a6b5cc9
[]
no_license
pandongwei/test_raspberry
c899b202c5248a65c0d9f2cce1b3b755cd545490
9187c6ee278f4767df1728a7f784ba95af806cc9
refs/heads/master
2021-04-14T10:23:57.478606
2020-04-18T13:32:11
2020-04-18T13:32:11
249,226,579
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
#from keras.backend import clear_session import numpy as np import tensorflow as tf #clear_session() np.set_printoptions(suppress=True) input_graph_name = '/home/pan/master-thesis-in-mrt/test_raspberry/train_result/network/large_model_final.h5' output_graph_name = '/home/pan/master-thesis-in-mrt/test_raspberry/train_re...
[ "usrki@student.kit.edu" ]
usrki@student.kit.edu
9e5753bf090df4234b05b12bebf37875bf37987e
c99c1d41215b91237b7f6d63dcf0ac23b0dc1137
/FTPManager.py
6fcbeeefa6ae40090cda153f17159c1b01f4845f
[]
no_license
hugosoftdev/B3_FTP_BOT
26bcba525d1676587b4d40d2701b0e1d56aae30f
21971a72a05986f2a9e1ad02890840e4d16ac452
refs/heads/master
2020-07-08T22:45:01.575323
2019-09-03T14:49:20
2019-09-03T14:49:20
203,801,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,252
py
import ftplib import os from io import BytesIO from helper import randomString class FTPManager: def __init__(self, host,username=None,password=None): self.host = host self.username = username self.password = password self.connection = ftplib.FTP(host) self.folderPath = None self.isLogged = ...
[ "hugospm@al.insper.edu.br" ]
hugospm@al.insper.edu.br
f5c263ff57f2af9eca8b0cb37427ffd481a5c178
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/2-Python-Basics-part2/4-ternary-operator_20200413230611.py
18fc81dee16c1d156f9fe477dc7652c5da62075c
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
# conditonal expressions condition_if
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
943b6c28ec80a06df2c17590ab5913fb9889f5f1
552e0e8a8eff328e346627ee2dd14aec7d8cdfb0
/4001 - 5000/4760 Move zeroes | Python.py
74df3857599735aa3a10250063c0216de678b9aa
[]
no_license
tentacion098/e-olymp-solutions
f79107faedd39731e0b2428652547c293f7305f4
3229597c7f9eca41d1de9f1b8595eae9dfe7fc38
refs/heads/master
2023-05-02T02:51:59.701042
2021-05-15T18:58:04
2021-05-15T18:58:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
n = input() nonzero = [] zeroes = [] ededler = [int(j) for j in input().split()] for i in ededler: if(i != 0): nonzero.append(i) if(i == 0): zeroes.append(i) print(*(nonzero + zeroes), end="")
[ "noreply@github.com" ]
noreply@github.com
9da6da5fba9daedf9b2e92c80aa332916e18eeae
659653ebdff3d70e0c04cd0292e489dc537b4112
/setup.py
709ece69ddc3e6068b1178071932256215b94e81
[]
no_license
vangheem/clouddrive
48de3dd21f66c4ea207e6cbfefff630825349bb3
1b0e74dd4e9cd3dc838a3c13866ccef8a3920b63
refs/heads/master
2021-01-10T02:11:52.997944
2016-09-20T02:30:51
2016-09-20T02:30:51
48,830,570
1
0
null
null
null
null
UTF-8
Python
false
false
863
py
# -*- coding: utf-8 -*- import os from setuptools import setup from setuptools import find_packages def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read() setup( name='clouddrive', version='0.1.dev0', description='', long_description='', classifiers=[ ...
[ "vangheem@gmail.com" ]
vangheem@gmail.com
6a7cc2d596827c9bde48ed3927efac4efb6ee38c
1ffbdfff2c9632fa8ecd6288578e1d02f740ee23
/2020_/07/LeetCodeBitManipulation/03E_1356. Sort Integers by The Number of 1 Bits.py
dc2f4d00cc3f90c25830cf14864e295c482b40d1
[]
no_license
taesookim0412/Python-Algorithms
c167c130adbe04100d42506c86402e729f95266c
c6272bbcab442ef32f327f877a53ee6e66d9fb00
refs/heads/main
2023-05-01T09:40:44.957618
2021-05-12T10:52:30
2021-05-12T10:52:30
366,682,846
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
import collections import numpy as np from typing import List #Runtime: 72 ms, faster than 68.71% of Python3 online submissions for Sort Integers by The Number of 1 Bits. #Memory Usage: 13.8 MB, less than 86.25% of Python3 online submissions for Sort Integers by The Number of 1 Bits. class Solution: def sortByBits...
[ "taesoo.kim0412@gmail.com" ]
taesoo.kim0412@gmail.com
cfbd6b9b962886737f7fde0c1dd2f399f97d3ffe
d721258b53f0f44b1010cb8e8efac8e2a5c96c26
/adventure/models.py
babb8aa7915cc58b6585820f8664bb9817390484
[ "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
kdechant/eamon
a6662285f51a6cad5797bb9be92ca709ae36921c
080a43aa80c3a1605c402e68616545a8e9c7975c
refs/heads/master
2023-05-24T08:20:18.551604
2022-08-14T10:27:01
2023-04-08T07:31:45
49,559,304
28
7
MIT
2023-03-14T21:09:55
2016-01-13T08:07:28
TypeScript
UTF-8
Python
false
false
22,320
py
from django.db import models from taggit.managers import TaggableManager ARTIFACT_TYPES = ( (0, 'Gold'), (1, 'Treasure'), (2, 'Weapon'), (3, 'Magic Weapon'), (4, 'Container'), (5, 'Light Source'), (6, 'Drinkable'), (7, 'Readable'), (8, 'Door/Gate'), (9, 'Edible'), (10, 'Boun...
[ "keith.dechant@gmail.com" ]
keith.dechant@gmail.com
0296c3ac5062c3f2f6eea64673506c87b8776d09
a1481440fea0f9ff44cab2c5248b6a71bcbe286c
/frontend/admin.py
a1a59501a53ad6ebdf5b6fb99596e53bda005a13
[]
no_license
arm923i/utlandia2
13457cc54647122ea386efbdf865e141827b2063
391062e822c478ce9406922eb1a1a7518e224cd6
refs/heads/master
2023-08-18T16:58:30.480815
2021-10-18T12:58:47
2021-10-18T12:58:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,672
py
from django.contrib import admin from modeltranslation.admin import TranslationAdmin, TabbedTranslationAdmin, TranslationTabularInline from seo.admin import ModelInstanceSeoInline from .models import Lead, FlatsList, Floor, Dev_category, Dev_history, Documents, Gallery_docs, \ Section, WidgetBlock, ImageBlock, ...
[ "dev.arm923i@gmail.com" ]
dev.arm923i@gmail.com
d4859c95121f3dbbb2a8a2154051082451b1d5fa
a71ba086a02ae863a4f8e6cfdc2c6fb5f4910446
/network/core/tests/test_client_command_handler.py
e2d769f7f01a0ee989707865673ca55f2d41abdc
[]
no_license
roman-vorobiov/virtual-zwave
03f187d79f678ad48170d2bc6fe1c333621c125d
b8b74ab6f7740777b5e5f0979ca2d2c3ca8455ba
refs/heads/master
2023-04-10T22:59:12.785974
2021-04-30T15:04:09
2021-04-30T15:09:26
363,171,487
0
0
null
null
null
null
UTF-8
Python
false
false
2,673
py
from .fixtures import * from network.core.command_handler import CommandHandler import humps import json import pytest @pytest.fixture def command_handler(client, node_manager): yield CommandHandler(client, node_manager) @pytest.fixture def rx_client(command_handler): def inner(message_type: str, message:...
[ "roman.vorobyov7777@gmail.com" ]
roman.vorobyov7777@gmail.com
531f170b486d939d4b48fe551c44c13a071de08e
ad19e4f69657bce1c2ad744bc013562a7aeb77e1
/z-score.py
2ac3dd0188b010b682ad890c813d91698e94c9c9
[]
no_license
MEENAGARAI/c111
9d7bd9893379cad4b53758bba33854451519e84e
d9ff8025ca1cffeced8114a47344ae593baa3592
refs/heads/main
2023-03-03T22:36:43.292830
2021-02-17T14:02:30
2021-02-17T14:02:30
331,334,464
0
0
null
null
null
null
UTF-8
Python
false
false
4,735
py
import plotly.figure_factory as ff import plotly.graph_objects as go import statistics import random import pandas as pd import csv #Change the School data here df = pd.read_csv("School2.csv") data = df["Math_score"].tolist() ## code to find the mean of 100 data points 1000 times #function to get the mean of the g...
[ "noreply@github.com" ]
noreply@github.com
d6447c5e8113bc3dfba69e31df59d4e3c714b954
5257652fc34ec87fe45d390ba49b15b238860104
/single_cell_atacseq_preprocessing/pseudorep_peaks_supported_by_30percent_of_bioreps_in_same_region/get_number_of_samples_that_support_each_regional_peak.py
47f15d19a533484f6a223eea9579cbdf122b1557
[]
no_license
thekingofall/alzheimers_parkinsons
cd247fa2520c989e8dd853ed22b58a9bff564391
4ceae6ea3eb4c58919ff41aed8803855bca240c8
refs/heads/master
2022-11-30T22:36:37.201334
2020-08-12T01:23:55
2020-08-12T01:23:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,190
py
#using IDR optimal peaks from the pseudoreplicate set, calculate the number of biological replicates (based on biorep IDR optimal peak sets) that support each peak import argparse import pybedtools import gzip def parse_args(): parser=argparse.ArgumentParser(description="using IDR optimal peaks from the pseudore...
[ "annashcherbina@gmail.com" ]
annashcherbina@gmail.com
3822dc71dbe9d74b56a67f934b2b21851a2d04bd
19da1a56f137a08772c347cf974be54e9c23c053
/lib/adafruit_boardtest/boardtest_voltage_monitor.py
bcdd23695e093d6d8bed54eddee6c02a1518167c
[]
no_license
mk53202/mk53202-timeclock-pyportal
d94f45a9d186190a4bc6130077baa6743a816ef3
230a858d429f8197c00cab3e67dcfd3b295ffbe0
refs/heads/master
2021-02-04T05:38:25.533292
2020-02-27T22:45:56
2020-02-27T22:45:56
243,626,362
0
0
null
null
null
null
UTF-8
Python
false
false
4,216
py
# The MIT License (MIT) # # Copyright (c) 2018 Shawn Hymel for Adafruit Industries # # 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 th...
[ "mkoster@stack41.com" ]
mkoster@stack41.com
faa0ab004c18bd45116e831d5433c6c545aaedb2
2f418a0f2fcca40f84ec0863b31ff974b574350c
/scripts/addons_extern/nodes_io/attributes.py
5763cb541cfaa72d6cdbe4733176fefca15e8fb1
[]
no_license
JT-a/blenderpython279
57a81b55564218f3b1417c2ffa97f5161897ec79
04846c82f794c22f87d677d9eb8cec1d05c48cda
refs/heads/master
2021-06-25T06:58:07.670613
2017-09-11T11:14:36
2017-09-11T11:14:36
103,723,697
4
2
null
2017-09-16T04:09:31
2017-09-16T04:09:31
null
UTF-8
Python
false
false
3,621
py
#!/usr/bin/python3 # -------------------------------------------------- # ATTRIBUTES # -------------------------------------------------- defaults = [ "bl_idname", # "type", # read-only "name", "label", # "parent", "select", "location", # "dimensions", # read-only "width", "...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
ff55677112a77bdac2fab9a90dd23d2e0ca0ca76
db33ef7f994d1dc093a7b216b6ba461b7073b42c
/p101.py
659d635c42eba044ce012a68e5c7fbc380f5ac2c
[]
no_license
whyaza/leetcodepy
cccf911b6179368fb41c509bfe8b5e4ab149ed14
b1e63fd1d3b83a547ac8dc75058a82668f3ccd7f
refs/heads/master
2020-03-28T09:16:36.905649
2018-09-12T12:54:42
2018-09-12T12:54:42
148,025,610
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def isSymmetric(self, root): """ :type root: TreeNode :rtype: bool """
[ "645112728@qq.com" ]
645112728@qq.com
38836bcb8446dea837411dcda1c0495c5a01f126
d12b836156b09caa232a230e8b3c021e15853014
/day-37-plus.py
2a4ac06d212673a41ea2bfa72be73c415fc63196
[]
no_license
paperfellaceo/daily-coding-nectar
3fea28ff3722b76bbe6cf7429508989a14500c74
d85c371d577b70f04389425082171b9160c1e7b4
refs/heads/main
2023-07-27T15:49:30.673042
2021-09-11T17:08:25
2021-09-11T17:08:25
384,548,602
0
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
from collections import defaultdict, deque def find_order(course_to_prereqs): course_to_prereqs = {c: set(p) for c, p in course_to_prereqs.items()} todo = deque([c for c, p in course_to_prereqs.items() if not p]) pareq_to_courses = defaultdict(list) for course, prereqs in course_to_prereqs.items(): ...
[ "paperfellaceo@gmail.com" ]
paperfellaceo@gmail.com