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
666a6f37f51d81897f13eb4bac5986aeffb0f7b8
c69dbe9a08a61923a06f225bf2c6dbb17e3f4d5b
/django/mysite/diht/admin.py
9349a8c879e98afdf780c323a2fd9c646ef47e39
[]
no_license
moonlight-song/vano
fdd3f3f7ea2a29fe9d7981530d33e87bc00f785f
d9f4f5354b20302e97e41bfb8730bcf182de9421
refs/heads/master
2020-03-22T03:07:59.720589
2018-07-02T09:13:01
2018-07-02T09:13:01
139,414,710
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.contrib import admin from .models import Article admin.site.register (Article)
[ "vanek.bboy@gmail.com" ]
vanek.bboy@gmail.com
19679f67275956226ae664263e5d4fb16121ce57
f4af75dab68fc266be827aa068189e2c75b2c605
/AIND-Recognizer-master/my_recognizer.py
647cdacaa48a50b1ae5b0f9cc14d09a8775b11c9
[]
no_license
Gokulopez/AIND-projects
8706c37455ef3c77ccd78b256fbb0f74fd0bfa4f
78da4e0beca0c542d94a53bc87bb13bcd8fb902e
refs/heads/master
2020-03-08T23:36:22.820129
2018-04-07T22:43:21
2018-04-07T22:43:21
128,468,606
5
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
import warnings from asl_data import SinglesData def recognize(models: dict, test_set: SinglesData): """ Recognize test word sequences from word models set :param models: dict of trained models {'SOMEWORD': GaussianHMM model object, 'SOMEOTHERWORD': GaussianHMM model object, ...} :param test_set: Si...
[ "noreply@github.com" ]
Gokulopez.noreply@github.com
ee0f74c8c266ffbbeda7afa2b835e4861e09f300
592b53b4453899ab9e5947e7a45a38f4b2a31b50
/GNURadio/Test_Files/Message_Test/top_block.py
8352377df9be0b4e0260d54da1762d5db44ceafd
[ "MIT" ]
permissive
ClydeSpace-GroundStation/GroundStation
9b4e2cc86edfa2598958d081ba6bc74a64e40584
21b4da25a7061b59447cf5a6686e5a575350a3f4
refs/heads/master
2021-01-18T23:17:13.095811
2016-06-13T10:39:31
2016-06-13T10:39:31
54,881,024
5
1
null
null
null
null
UTF-8
Python
false
false
2,676
py
#!/usr/bin/env python2 ################################################## # GNU Radio Python Flow Graph # Title: Top Block # Generated: Tue Mar 29 15:54:19 2016 ################################################## from gnuradio import blocks from gnuradio import eng_notation from gnuradio import gr from gnuradio.eng_opt...
[ "thomas.parry@clyde-space.com" ]
thomas.parry@clyde-space.com
3cc8dd50235d65c9fa40a0006df2519f1713d6ca
6343534aaf5483b3fab219c14b5c33726d5d196e
/shopinglyx/wsgi.py
59325b034274c335d3d9de6740a9eb9057a07476
[]
no_license
Emad-ahmed/Ful_Django_Shoping_website
8441b2caa1214c8df9399dceed5e53fa37cd86cb
6eefe47749b5cd6b1a2422e9cf717e9584b13dce
refs/heads/main
2023-05-20T11:30:54.194116
2021-06-09T21:07:18
2021-06-09T21:07:18
375,272,911
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for shopinglyx project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "amadahmed1234678@gmail.com" ]
amadahmed1234678@gmail.com
416f2c92a2931f62783033f45bf2257a110baa3f
cf358b0a65b6cb2031fbdc510fec31a643b1da8b
/app/recommendation/service/tests/site-packages/buzzblog/gen/ttypes.py
c36a79e63f399a76010f20c49be04ff1d26050ae
[ "Apache-2.0" ]
permissive
quyuyi/6365BuzzBlogApp
f4df09adaefa3b73a79ace44c654395fa8ba48fe
def9c033d56f65bb558cc1ee3260ac0d4229e690
refs/heads/main
2023-04-02T06:07:16.535534
2021-04-15T06:28:12
2021-04-15T06:28:12
348,084,806
0
0
null
null
null
null
UTF-8
Python
false
true
58,836
py
# # Autogenerated by Thrift Compiler (0.13.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException from thrift.protocol.TProtocol import TProtocolException from thrift.TRecursive impo...
[ "quyuyi@umich.edu" ]
quyuyi@umich.edu
334c5f7a2a8fc4f0f01485c76953a793c0665fac
95a9798114bd85b4700da037d0e0b1940a374d32
/magic.py
363f32ef0a1eddd6272fe3cd09b13923aff0e792
[]
no_license
Nk1672/Class-121
a7f3b24ffc430b89d6e468f63f5e6ea693fe435d
83bb4da17b0395ec757d7f3703cb8bdcebd3619b
refs/heads/main
2023-04-08T05:57:01.102778
2021-04-16T03:20:04
2021-04-16T03:20:04
358,462,509
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
import cv2 import time import numpy as np op = cv2.VideoWriter_fourcc(*'XVID') op_file = cv2.VideoWriter('output.avi', op, 20.0, (640,480)) cap = cv2.VideoCapture(0) time.sleep(2) bg = 0 for i in range(60): ret, bg = cap.read() bg = np.flip(bg,axis = 1) while(cap.isOpened()): ret, img = cap.read() if n...
[ "noreply@github.com" ]
Nk1672.noreply@github.com
07a4b7c03e89de16e6e5e65b6f31496c080c66a4
775275e21f00eb76eaf7402df0a3f094d7b80567
/sendingSMS/sms.py
5f258b8f77188a67743b2ca3dc79084109b63605
[]
no_license
Eunsoogil/pythonStudy
e76bf27d5aa40a17dcb17b183a2fd4dbca6c51ea
71815aa9411665c6055739acaeae0571b2698b2e
refs/heads/main
2023-06-18T07:03:42.364324
2021-07-18T08:01:34
2021-07-18T08:01:34
337,905,100
0
0
null
null
null
null
UTF-8
Python
false
false
67
py
# twilio # 비밀번호 14자리 이상, 5 + 11 # 유료라 삭제
[ "59255463+Eunsoogil@users.noreply.github.com" ]
59255463+Eunsoogil@users.noreply.github.com
d068e120325d0f131e17d29cfd5e2094e1605406
d3e73749ece303e40d5422b40cb58de90082a6b8
/relationship_maker.py
64e517f6f626f22b4e846636e21a606e798cb630
[]
no_license
LunaLii/python_assignment1
3529f4b3c3826578a75512db6b21c8849579b4ad
7f24aa2c061cbf184dad1a3d6331a38dc7455e54
refs/heads/master
2020-04-28T14:08:25.654123
2019-03-18T22:47:02
2019-03-18T22:47:02
175,328,619
0
2
null
2019-03-24T02:37:15
2019-03-13T02:07:14
Python
UTF-8
Python
false
false
192
py
class RelationshipMaker: def __init__(self, new_relationship): self.relationship = new_relationship def __str__(self): return f" my{self.relationship} = []"
[ "noreply@github.com" ]
LunaLii.noreply@github.com
23eb526ce3823051784c75a2224e4c8c86518ee4
967ba1dbb64af8e9ccc8bec49cf55d03aaa2e65f
/myproject/sitemanage/admin.py
de7812f1136a4cfacb356ea38c4f9d7418c867e1
[]
no_license
hamasaki-tadashi/G-s_prototype211106
f40a37c8eb8adbaabaf455571dd747a51d3a4169
f1309c42f56b434c5535c043385dc8929c3b8b45
refs/heads/main
2023-08-27T11:59:42.937575
2021-11-14T08:53:52
2021-11-14T08:53:52
425,141,337
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
from django.contrib import admin from .models import SiteConfig from django.contrib.sites.models import Site @admin.register(SiteConfig) class SiteConfigAdmin(admin.ModelAdmin): list_display = ('id', 'mete_title',) list_display_links = ('mete_title',) # [,]を忘れない、次に繋げるため
[ "hamasakitadashi1987@gmail.com" ]
hamasakitadashi1987@gmail.com
eb6b102c5a47abdb1fddc5dd164e9607a07d4269
918f0fdef0e9224aa1a0596479178618290055ec
/mmdet3d/core/post_processing/__init__.py
42eb5bf2b1a4c0fb4cb35c38a74847ade71b7eee
[ "Apache-2.0" ]
permissive
Tsinghua-MARS-Lab/futr3d
b7eb3a0c9d92a58759c9c43e96bfd024a2e3de96
9130d71e487bad47f5dbcffd696fe9e4a838104f
refs/heads/main
2023-07-24T15:40:00.121665
2023-07-06T05:50:45
2023-07-06T05:50:45
499,766,918
188
27
MIT
2022-06-19T10:42:03
2022-06-04T08:21:17
Python
UTF-8
Python
false
false
677
py
# Copyright (c) OpenMMLab. All rights reserved. from mmdet.core.post_processing import (merge_aug_bboxes, merge_aug_masks, merge_aug_proposals, merge_aug_scores, multiclass_nms) from .box3d_nms import (aligned_3d_nms, box3d_multiclass_n...
[ "noreply@github.com" ]
Tsinghua-MARS-Lab.noreply@github.com
fd389c550c4bc084bcdb6c47165f9e7b4c4e83a0
0d764f768800cb09310cef35170cbec7b5833117
/week1.py
859cfeb127c2dd2ba829897edc207c0424d59b7d
[]
no_license
NaotoYoshimaru/diveintocode-ml
3efaa063167e352ae71a6a4203c684acce5cac63
62bc4e68597754b3e0bdbba19305a8df307345a4
refs/heads/master
2023-02-27T10:51:34.990856
2021-02-08T08:00:27
2021-02-08T08:00:27
324,484,562
0
0
null
null
null
null
UTF-8
Python
false
false
2,685
py
#問題1 THICKNESS = 0.00008 folded_thickness = THICKNESS*2**43 print("厚さ: {}メートル".format(folded_thickness)) #問題2 answer1 = folded_thickness/1000 #print(answer1) answer2=answer1 / 10000 print("厚さ: {:.2f}万キロメートル".format(answer2)) moon_distance = 38.40 if answer2 > moon_distance: print("月まで届きました。いい夢を!") else: print("月...
[ "yoshimaru@goodround.jp" ]
yoshimaru@goodround.jp
16fddf5472889066e69ad211c65e0c0eaae42d50
8255dcf7689c20283b5e75a452139e553b34ddf3
/run.py
8ba9ab77eb8ef361a982ca743d65c0d45897d818
[ "MIT" ]
permissive
Wern-rm/raton.by
09871eb4da628ff7b0d0b4415a150cf6c12c3e5a
68f862f2bc0551bf2327e9d6352c0cde93f45301
refs/heads/main
2023-05-06T02:26:58.980779
2021-05-25T14:09:47
2021-05-25T14:09:47
317,119,285
0
1
null
null
null
null
UTF-8
Python
false
false
116
py
from app import create_app app = create_app() if __name__ == '__main__': app.run(host='127.0.0.1', port=16000)
[ "devwern@gmail.com" ]
devwern@gmail.com
18f0da7b593b5bb208b8eb0ca6e1b1d9ca239b38
04ab6e4cbc7034ba1a0e43d7cdb6d3547534496b
/q2_vsearch/tests/test_join_pairs.py
cbc95074d6c6bacf1fa44b7eaf435988d38e1278
[ "BSD-3-Clause" ]
permissive
gregcaporaso/q2-vsearch
bd99c1db3d4af06bc691d5111ac60099d13621f2
48e2d77f40c3b1841ca15789c6a02fd5077d9a58
refs/heads/master
2020-06-10T20:53:03.018489
2017-12-20T18:59:30
2017-12-20T18:59:30
75,876,917
1
2
null
null
null
null
UTF-8
Python
false
false
12,263
py
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2017, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
[ "matthewrdillon@gmail.com" ]
matthewrdillon@gmail.com
f07abf064d9d3aaed9133e63e692bf08822e96bd
cd7b17fc92cc18e886d207fd0b91805d2181b408
/test/sample2.py
38a4c5ebee9b5218e3d9ded7230d99f7c382195d
[ "MIT" ]
permissive
benmcp/gulp-pylint
d5933a6f46a663a3e605247005c223590ce56c47
91c2bcb85dff2cf94306494b81fb3f7d6fcf2a20
refs/heads/master
2020-03-17T17:52:33.344317
2018-05-19T01:42:55
2018-05-19T01:42:55
133,805,528
1
0
null
null
null
null
UTF-8
Python
false
false
110
py
""" Sample module docstring """ def world(): """ Sample function docstring """ print('world')
[ "ben@presentcompany.co" ]
ben@presentcompany.co
5554e807f98c00e8a594c894b58a6069820180ad
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/monitor/models/NoticeOption.py
5782d8ff633350bf7e0c26947724e00a101fa9a3
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,661
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # 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 ...
[ "tancong@jd.com" ]
tancong@jd.com
39a788ece009a052ee6f0e08a114959181e6451b
158f4abaf21463ef1573a0179021e32db38c936d
/Compiler/peephole.py
428fc3598a2adc1f4991c7ddee3f5930b03a0296
[]
no_license
chb2ab/CoolInterpreterAndCompiler
acc4293bb63e3c8bca57f6647b3e8fe715a9418a
7674e232b1defc704dbcec7025704d2de564f249
refs/heads/master
2021-01-17T08:13:06.307084
2016-07-19T06:41:47
2016-07-19T06:41:47
63,667,384
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
import genX86 instrs = [] # do the peephole optimization def peephole_opt_aux(): global instrs code = [] changes = 0 for instruction in instrs: # remove jmp's that jump to the very next instruction if isinstance(instruction, genX86.X86Label): if len(code) > 0: previous_instr = code.pop() if isinstan...
[ "chb2ab@virginia.edu" ]
chb2ab@virginia.edu
62be4bbd7ede776de75f9f3f2fd3dc6801ebcfda
1fc45a47f0e540941c87b04616f3b4019da9f9a0
/src/sentry/search/django/constants.py
d07708d74a015bdd0bd4f0411ae69587e4b956d6
[ "BSD-2-Clause" ]
permissive
seukjung/sentry-8.15.0
febc11864a74a68ddb97b146cc1d2438ef019241
fd3cab65c64fcbc32817885fa44df65534844793
refs/heads/master
2022-10-28T06:39:17.063333
2018-01-17T12:31:55
2018-01-17T12:31:55
117,833,103
0
0
BSD-3-Clause
2022-10-05T18:09:54
2018-01-17T12:28:13
Python
UTF-8
Python
false
false
1,622
py
""" sentry.search.django.constants ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2010-2014 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import SORT_CLAUSES = { 'priority': 'sentry_groupedmessage.score', 'date': 'EXTRACT(E...
[ "jeyce@github.com" ]
jeyce@github.com
4728790da4eaa5dc45b00d1e9674a1e194fa9999
c1e83545b022702d8836d06204573735c94cb9d5
/page_dropdown.py
7b59157f0f886a195720afabf89a9033c9e48c7e
[]
no_license
hkristof03/SeleniumTesting
4ddcc43c4a6cc45723212196f6d13cb5e3b28d6e
4cf761545fe3a8255a4484c44dd15461116a9a11
refs/heads/master
2023-04-30T14:11:36.034271
2021-05-06T18:31:01
2021-05-06T18:31:01
359,426,260
0
0
null
null
null
null
UTF-8
Python
false
false
682
py
from selenium import webdriver from page_main import PageMain class PageDropDown(PageMain): def __init__(self, driver: webdriver, page_main_url: str, page_dropdown_url: str, **kwargs) -> None: super().__init__(driver, page_main_url) self.page_dropdown_url = page_dropdown_url ...
[ "hkristof03@hotmail.com" ]
hkristof03@hotmail.com
af07e96835aac06a7e756e51bb65e5c49aedfcfb
56997c84a331433225f89f168520ad8d709083c1
/Programmers/DFS_BFS/네트워크/network_ver1.py
84f304c62bd83cd9430505ab8f1a79b96656c2e5
[]
no_license
miseop25/Back_Jun_Code_Study
51e080f8ecf74f7d1a8bb1da404d29c8ba52325c
1d993e718c37c571aae1d407054ec284dc24c922
refs/heads/master
2022-11-06T01:05:05.028838
2022-10-23T13:11:22
2022-10-23T13:11:22
200,828,984
3
0
null
null
null
null
UTF-8
Python
false
false
1,205
py
class Node : def __init__(self, data) : self.data = data self.child = [] class Network : def __init__(self, n, computers) : self.nodeDict = dict() self.n = n for i in range(n) : self.nodeDict[i] = Node(i) self.connectNode(computers) self.che...
[ "richard25@naver.com" ]
richard25@naver.com
1d8abc81ba58e71147f7e5cb38d16f45ff3bde68
105dfba672c0e7453c45cfeb9a26196ebb06eeb9
/Improving Deep Neural Networks/Week1/Initialization.py
0717c496dbace783b2314cbff1e2f2b75a2211e0
[]
no_license
ravi03071991/Deeplearning.ai-Coursera-Assignments
a4681e975f2fbd5d2c860ea876343b2354e09274
7dd71ce858948f9acc0fd1fe03ae5045a7d07340
refs/heads/master
2020-03-25T04:20:13.800749
2018-08-08T17:47:24
2018-08-08T17:47:24
143,389,751
0
0
null
null
null
null
UTF-8
Python
false
false
17,532
py
# coding: utf-8 # # Initialization # # Welcome to the first assignment of "Improving Deep Neural Networks". # # Training your neural network requires specifying an initial value of the weights. A well chosen initialization method will help learning. # # If you completed the previous course of this specializatio...
[ "noreply@github.com" ]
ravi03071991.noreply@github.com
4aa369eb4d9e1e1ff004331a124547ef5eddc4b5
727d4e6bd70854e0395cb4dd9baf76060b4545e3
/avg_class_tests.py
7a718966e0c454427f761fbe278bcde57502c0b2
[]
no_license
SlawekMaciejewski/tkinter_simply
498a73b8cca6d4ccd1f1142927299051f00a6456
d549094c152a43d79ee9d5631de0978cfc9dffcf
refs/heads/master
2021-05-21T16:18:17.690029
2020-04-18T10:16:06
2020-04-18T10:16:06
252,711,900
0
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
import tkinter class TestAvg: def __init__(self): self.main_window = tkinter.Tk() self.main_window.title("Calculate average") self.top1_frame = tkinter.Frame(self.main_window) self.top2_frame = tkinter.Frame(self.main_window) self.top3_frame = tkinter.Frame(self.main_windo...
[ "slawek74.m@interia.pl" ]
slawek74.m@interia.pl
ee132a8f7124797bd02636179bab280ec9e872a5
3f6ff3fb43903c06ed8f4d6ea45fcf2e0e6dd406
/glo/BlackPearl/tests/stationbase/interface/test_feedVideoStation.py
9c086ca06d7389c4708b59968a7ff9d74a49fd98
[]
no_license
jmprovencher/Treasure-Picker-Robot
83a84d094e4612df8b38c0bb82f0240b98c74fe5
f0a4fe7e3f4cc7b652566230bea830a4ab04a4c9
refs/heads/master
2020-12-11T03:54:00.090223
2016-04-18T02:53:01
2016-04-18T02:53:01
49,666,046
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
from unittest import TestCase from stationbase.interface.FeedVideoStation import FeedVideoStation class TestFeedVideoStation(TestCase): def test_aucune_capture_apres_initialisation(self): feedVideo = FeedVideoStation() self.assertIsNotNone(feedVideo.captureTable)
[ "sebastien.garvin@gmail.com" ]
sebastien.garvin@gmail.com
f7716ffbae61d7010cae9cc57710c47a3dd80743
a9f676c06bacee1f8b27e08d3c411c89a69cfd40
/falmer/content/migrations/0012_homepage.py
c6db737a1ea4de523845df670a1e021053dc211d
[ "MIT" ]
permissive
sussexstudent/falmer
1b877c3ac75a0477f155ce1a9dee93a5ada686d6
ae735bd9d6177002c3d986e5c19a78102233308f
refs/heads/master
2022-12-11T19:40:12.232488
2020-03-20T13:01:47
2020-03-20T13:01:47
88,043,958
2
3
MIT
2022-12-08T03:17:26
2017-04-12T11:24:02
Python
UTF-8
Python
false
false
1,364
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-14 14:31 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import falmer.content.blocks import wagtail.core.blocks import wagtail.core.fields class Migration(migrations.Migration): dep...
[ "james@brudil.com" ]
james@brudil.com
8e2ce871dc44558694ebd870b565b602b4058d98
234c7fb0bdabdd696c8e4c6a449ac2c8e3f14ad5
/build/PureCloudPlatformClientV2/models/nlu_detection_request.py
2cbab60154a60c1e7d754276de069675dcb500c2
[ "Apache-2.0", "MIT" ]
permissive
humano7/platform-client-sdk-python
2a942c43cc2d69e8cb0c4113d998e6e0664fdedb
dd5b693b1fc90c9dcb36885d7227f11221db5980
refs/heads/master
2023-04-12T05:05:53.932393
2021-04-22T03:41:22
2021-04-22T03:41:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,350
py
# coding: utf-8 """ Copyright 2016 SmartBear Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
[ "purecloud-jenkins@ininica.com" ]
purecloud-jenkins@ininica.com
e200c26147f02aa2c0fc534010c06b5caf31c926
9981ededee73e705323a8bcbf88596dc28da9d43
/day19/day19.py
a913b67243f00f182c6d9f24561416a31761ec91
[]
no_license
moink/AoC2016
d95bd47182abd7bb4eca203bf3a444180c3cd1fc
430850449bd2a40a560c9733cdd2f0ff6dcd578d
refs/heads/master
2022-04-14T12:55:44.186678
2020-04-14T19:45:16
2020-04-14T19:45:16
254,826,705
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
import contextlib import collections import copy import functools import itertools from matplotlib import pyplot as plt import numpy as np import pandas as pd import re import advent_tools def steal_from_left(num_elves): elves = list(range(1, num_elves + 1)) i = 0 while elves[-1] != elves[-2]: el...
[ "Theresa.Robinson@CDSAzure.onmicrosoft.com" ]
Theresa.Robinson@CDSAzure.onmicrosoft.com
0c82481549e512a4cf46ee7a440518c46b5d83fd
4690a05450b260e759c90355a54e2fa23baca9a3
/articles/admin.py
ba4d3124f28433d816c72f3414df559dadb5ca25
[]
no_license
paraiccooney/full-stack-frameworks-project
b51fc9894bc405f229adf6c4892771a1b08e998e
112828f3ae8cc9e6d2df4b3fd689e8afdd252957
refs/heads/master
2021-06-14T01:49:35.858058
2019-09-11T11:56:08
2019-09-11T11:56:08
204,455,559
0
1
null
2021-06-10T21:53:57
2019-08-26T10:51:22
Python
UTF-8
Python
false
false
202
py
from django.contrib import admin from .models import Article, Comment # we're allowing our Post model to be accessable from # the admin backend admin.site.register(Article) admin.site.register(Comment)
[ "ubuntu@ip-172-31-83-56.ec2.internal" ]
ubuntu@ip-172-31-83-56.ec2.internal
58cff8f5da0e8c62d4de65237a5ed7dc2571418c
f84d5539f8fa9fe773284d7b0460dfb3f421a71c
/basic_kmeans_silhouette_sub.py
ba5504b70303bcb5feb1c70f7f12a73f1e47c571
[]
no_license
Vivek8612/Pig-Queries-with-Python-Scripts
f734b4503ef35951525637605fbeb9da61ae2176
fc709f4d2a65ac2af709c95194b011a22fd97c38
refs/heads/master
2021-08-23T14:12:48.607096
2017-12-05T06:22:18
2017-12-05T06:22:18
113,141,378
0
0
null
null
null
null
UTF-8
Python
false
false
2,137
py
import os import pandas as pd from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.cluster import KMeans from sklearn import metrics #df = pd.read_csv(os.path.join(os.path.dirname(__file__), '../data', 'Grainger_AgentLines_2Weeks.csv')) #df = pd.read_csv(os.path.join(os.path.dirname(__file__), '....
[ "noreply@github.com" ]
Vivek8612.noreply@github.com
f63ae9bd668d34297dff916c8689c68c91d35a2a
beff4e8a361830ae7d34aaa5363358eea10b1053
/UserProfile/migrations/0004_userprofile_name.py
b6acf8eb2808d064cb21671c482821847ffe5157
[]
no_license
Rheakoparde/RadiationTherapyApplication
6061ef315f44743f51b959b6272cd5a1975fd9f5
d15b86e21743df5bdca2461cd9da549949dc65df
refs/heads/master
2020-03-29T07:26:25.543115
2019-01-28T05:44:17
2019-01-28T05:44:17
149,665,310
0
0
null
2018-09-20T20:15:09
2018-09-20T20:15:08
null
UTF-8
Python
false
false
511
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2019-01-15 21:22 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('UserProfile', '0003_auto_20190115_2106'), ] operations = [ migrations.AddFi...
[ "Rhea Koparde" ]
Rhea Koparde
c1dfdbd178faa7c2fe737277a66d11a857092929
15adf85b1ee8d6be4b908223e99907aba3333b7b
/djangomap/urls.py
bbb583523fce7e0fa6fb2fac1bb1e63e5d6d4301
[]
no_license
akkolbina/obsnet
2ee8bf3548c2c18f2cb90297b280c2513ea33420
46e18376647388f8644d376ecf67b8b0765064a1
refs/heads/main
2023-07-18T06:31:26.740235
2021-09-01T08:39:51
2021-09-01T08:39:51
401,839,970
0
0
null
null
null
null
UTF-8
Python
false
false
2,701
py
"""djangomap URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "s-t-a-sya@yandex.ru" ]
s-t-a-sya@yandex.ru
c421d5537c5e8ad2bc05d6403e45f2fbd124db1c
63dd919e1551fbabdad3f311b96040742e4ecb53
/discpy/team.py
af40c20d54199589e72d24df8658cf9c23d632a3
[ "MIT" ]
permissive
AryamanSrii/DiscPy
4d45d2f52c21b31bb84a17dd95af421c9d563bd6
0ba89da9ca184f0dfaebeedd4e9b7bc3099a0353
refs/heads/main
2023-08-17T14:42:45.936056
2021-10-01T15:12:17
2021-10-01T15:12:17
414,887,513
0
0
MIT
2021-10-08T07:24:33
2021-10-08T07:24:32
null
UTF-8
Python
false
false
4,768
py
""" The MIT License (MIT) Copyright (c) 2021 The DiscPy Developers Copyright (c) 2015-2021 Rapptz 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...
[ "sn1f3rt@outlook.com" ]
sn1f3rt@outlook.com
80377bc3fc1282006c97ab2608b3eea4c2615513
5be8510c1a9f3c453cb32f48b635d562e1efdf5b
/module3-nosql-and-document-oriented-databases/mod3.py
39b5c3a0f99a342aff1112765e1d2b03c06c1777
[ "MIT" ]
permissive
StevenBryceLee/DS-Unit-3-Sprint-2-SQL-and-Databases
95241fec970ad6595f02dbbf71d2fdf15db09cb5
606723fa16eea98d46049791b385ad31678bed95
refs/heads/master
2022-12-21T06:23:12.020820
2020-09-10T23:08:49
2020-09-10T23:08:49
293,845,858
0
0
MIT
2020-09-08T15:07:35
2020-09-08T15:07:34
null
UTF-8
Python
false
false
1,009
py
import sqlite3 import pymongo import pandas as pd import json client = pymongo.MongoClient("Your client name") db = client.test # Write titanic data # df = pd.read_csv('titanic.csv') # print(df.head()) # data = (df.to_dict(orient = 'records')) # print(data) # result = db.test.insert_many(data) # Confirm that the da...
[ "stevenl451@gmail.com" ]
stevenl451@gmail.com
d2f488eff24984d6e2c5cacf6328c25fd8f237b2
a78dd76afdd63cf2f86ce268cfbbe85763d31360
/Python/line/SpotService-remote
7f084e86549503657dba03eacc40f48b6563b663
[]
no_license
rifkymcz/linethrift
d11685289a39aa201cfefd672356943a7fcd2c00
eed6c9f54c7a7a40f9632c51f686d8d677862a0d
refs/heads/master
2020-06-20T08:31:13.627827
2019-05-22T14:28:42
2019-05-22T14:28:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,179
#!/usr/bin/env python # # Autogenerated by Thrift Compiler (0.11.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # import sys import pprint if sys.version_info[0] > 2: from urllib.parse import urlparse else: from urlparse import urlparse from thrift.transport imp...
[ "tikuwakunn@icloud.com" ]
tikuwakunn@icloud.com
92a4f01c9fea14b0a612b47e1fd537fb943eaa88
d7e228ba0c3a89bae90cd3196420e2ad8264de9d
/KeySaver/UI/EditPasswordDialog.py
56cca08a71395a332a99b8915ddb648ab4e3779b
[]
no_license
HTMLProgrammer2001/PyQT
6a703a57c5e3fb72e97e48334d6f14dd299972ef
4b5f2d29f55f66774897993ac50b6e2fd3f9a57b
refs/heads/master
2022-12-04T05:31:10.413712
2020-08-19T21:27:38
2020-08-19T21:27:38
279,657,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
from PyQt5.QtWidgets import QDialog, QLineEdit, QLabel, QPushButton, QVBoxLayout, QWidget from PyQt5.QtCore import pyqtSignal from PyQt5.QtCore import Qt, QObject class changeEvent(QObject): event = pyqtSignal(int, str, str) def connect(self, callback): self.event.connect(callback) def emit(self...
[ "cssuperpy@gmail.com" ]
cssuperpy@gmail.com
0ec8e8ddd0a5d0d831763d4a35d7f9fb38c565da
61c50d39d540f02ac993e38bf6ec3999ff08bd37
/data.py
1469aed1556632bf576f65d030435542974be89a
[]
no_license
maggieezzat/RNN-for-Joint-NLU
07496ac009f5fec982a342cf1606e8856ec55b6e
07b6ff5c5a5219d359b332ecb9effd3638d0d5d3
refs/heads/master
2022-04-02T06:51:13.957592
2020-02-14T19:39:24
2020-02-14T19:39:24
220,010,651
0
0
null
null
null
null
UTF-8
Python
false
false
3,686
py
# coding=utf-8 # @author: cer import random import numpy as np flatten = lambda l: [item for sublist in l for item in sublist] # Two-dimensional exhibition into one dimension index_seq2slot = lambda s, index2slot: [index2slot[i] for i in s] index_seq2word = lambda s, index2word: [index2word[i] for i in s] def dat...
[ "maggieezzat9@gmail.com" ]
maggieezzat9@gmail.com
e993ed05fb34749f2e617f6e99ff7486e892e4ff
16053f613cf204ae9c90065bb638de15144323a6
/NAV_DEEPAK P/NAVHW_02.py
b40c333cfb38c98e7c53b01cb6845e90b5302639
[]
no_license
patel-deepak506/Codechef
c67cb271fa50e8c515b010edaef4881853177d11
28ce5f5ad587b178fa9f13078c76f41a1a390eaf
refs/heads/master
2023-02-20T18:17:46.405561
2021-01-15T13:27:22
2021-01-15T13:27:22
329,900,795
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
##################question-2 ############################################### #NAVHW_002:: Draw a flow chart for finding the maximum of 3 number. a=int(input("first number")) b=int(input("second number")) c=int(input("third number")) if a>b and a>c: print("max number",a) else: if b>a and b>c : print("max number",b)...
[ "pateldeepak5498@gmail.com" ]
pateldeepak5498@gmail.com
0791c79dacad9b1696d21f2578d47eaaffb6160e
ea56ae6f0a57d91a6484dad854c55f1aaf801a41
/xmlminer/providers/provider.py
3921429f133cf3cc4ede741df7e51162ccda9624
[]
no_license
fatalaa/xml-miner
b865e1fa4ca9027a118bde585487a7fa9c7fac55
ad0c8c145074bb4a252ac550973228908b2e1453
refs/heads/master
2016-09-05T12:28:42.527277
2014-03-31T21:48:15
2014-03-31T21:48:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,406
py
__author__ = 'tmolnar' import ConfigParser import os import requests from xml.dom import minidom class Provider(object): #PROPERTY_FILE_NAME = 'defaultProviders.properties' #PROPERTY_FILE_WITH_PATH = (os.path.dirname(os.path.realpath(__file__)) + os.sep + PROPERTY_FILE_NAME).replace('\\', '/') def __ini...
[ "fatalaa@hotmail.com" ]
fatalaa@hotmail.com
108ca922368598f1f5138455e98d7ea420460bcd
3e810fc6bedc56ad6416d571dd89d89eb01a62e2
/introduction_to_database/final/final/urls.py
086f34a3b9ddc4ce9d7530a24671bcba305b9945
[]
no_license
Xe0n0/course_work
a8b614127d26ee2ee198c9fc1f43c2672c412210
e70f10a6edf968d0691312331fbcd126960c0b42
refs/heads/master
2020-12-29T00:02:05.336894
2014-05-16T12:09:49
2014-07-18T13:04:04
14,895,089
1
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
from django.conf.urls import patterns, include, url from django.contrib import admin from views import TopView, HotView, HotListView, NearbyView, RestView, \ RatingsListView, RateCreate, RateExport, UserCreate, NearbyView, \ NearbyListView admin.autodiscover() from django.contrib.auth.decorators import login_...
[ "thelongestmailaccounteverexist@gmail.com" ]
thelongestmailaccounteverexist@gmail.com
06075b0d13378fd3cb111e888f8be39f7216f2b6
48285275958aba8f8f14ce505f03acf117870584
/src/handlers/HandlerText.py
e43c93130bb917c173bf473653cd6936c70df29c
[]
no_license
rchuso/Python-Web-Server
095609586c8fb403380752cd99408800d760d8e8
1fe8fdfc77d220923b8ebfafbc759bae1be4074c
refs/heads/master
2021-05-17T18:54:09.141504
2020-04-02T06:23:16
2020-04-02T06:23:16
250,927,592
0
0
null
null
null
null
UTF-8
Python
false
false
5,003
py
''' Created on 15/03/2020 @author: rand huso ''' import io import os import sys from handlers.HandlerBase import HandlerBase from html.parser import HTMLParser class ParseGetTagContents( HTMLParser ): def __init__( self, findTag, callback ): super( ParseGetTagContents, self ).__init__( convert_charrefs=False ) ...
[ "rchuso@gmail.com" ]
rchuso@gmail.com
33155266edd66ad23845fbe8d39a19b23a97d726
4f1468334c8ce2e0ff8b07b3bfefd84cb23615b1
/02_assignment/MAFIA/mafia.py
215cfc00e8f77b45974baa8eaaf1e060aac16178
[ "MIT" ]
permissive
srikrishna0130/big-data-lab
cb78aedab4ad706f15bd2147b59aa9fdc5091dcd
6b8729fb73d59b60f2fa7eb9dcdb9bd1cb6e5594
refs/heads/master
2020-05-04T20:18:59.052930
2019-04-03T05:09:31
2019-04-03T05:09:31
179,432,761
1
0
null
2019-04-04T06:10:11
2019-04-04T06:10:11
null
UTF-8
Python
false
false
6,611
py
""" MAFIA: A Maximal Frequent Itemset Algorithm Reference: MAFIA: A Maximal Frequent Itemset Algorithm for Transactional Databases - Doug Burdick, Manuel Calimlin, Johannes Gehrke (Department of CS, Cornell University) """ import numpy as np from functools import lru_cache class TransVerticalBitmaps: """ Stores...
[ "reghu.mukesh@gmail.com" ]
reghu.mukesh@gmail.com
66dd3074a663a4bbf8256161ed6ac35f783c75e9
926621c29eb55046f9f59750db09bdb24ed3078e
/lib/googlecloudsdk/third_party/py27/py27_collections.py
46e053f8a1b7ee5b2c1180e599017396ae70b3db
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/SDK
525d9b29fb2e901aa79697c9dcdf5ddd852859ab
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
refs/heads/master
2022-11-22T18:24:13.464605
2016-05-18T16:53:30
2016-05-18T16:53:30
282,322,505
0
0
NOASSERTION
2020-07-24T21:52:25
2020-07-24T21:52:24
null
UTF-8
Python
false
false
755
py
# Copyright 2015 Google Inc. 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 applicable law or ag...
[ "richarddewalhalla@gmail.com" ]
richarddewalhalla@gmail.com
14384b1bf58a425a8c632b2ccd3f330ffcc1c262
c315c2d9ea4b0d43768964c46611afca242d3cdc
/input_pipeline/pipeline.py
215a7e219e2e1ff50175e8c2946702d086a03d2b
[ "MIT" ]
permissive
TropComplique/EDANet
9685c986b8e25fab7a2db14803ab713602df65a2
ec4fd0d2693ce4ae5b81664e22adf9bf6c81f4a7
refs/heads/master
2020-04-04T14:04:46.228608
2019-01-07T12:40:42
2019-01-07T12:40:42
155,986,060
3
3
null
null
null
null
UTF-8
Python
false
false
6,384
py
import tensorflow as tf from .random_rotation import random_rotation from .color_augmentations import random_color_manipulations, random_pixel_value_scale SHUFFLE_BUFFER_SIZE = 5000 NUM_PARALLEL_CALLS = 12 RESIZE_METHOD = tf.image.ResizeMethod.BILINEAR MIN_CROP_SIZE = 0.9 ROTATE = False class Pipeline: def __in...
[ "antoshchenko.b@gmail.com" ]
antoshchenko.b@gmail.com
089a67a7597dc204fd332e15b05dff6a5472fc24
09b401051e75af1d88059d79ba90f7faddd1b304
/plugins/build/catkin_generated/installspace/_setup_util.py
19fdecb7107efd55be0361f393c500601be74679
[]
no_license
rafaelrgb/viscap_gazebo
9eb0ad9c228b33d9344580932f51c4af101b5769
2fe3eafe1e2fe637661c5ff670fe0cbaafa8227d
refs/heads/master
2021-01-20T03:47:03.680290
2017-08-24T23:53:58
2017-08-24T23:53:58
101,368,770
0
0
null
2017-08-25T05:20:12
2017-08-25T05:20:12
null
UTF-8
Python
false
false
12,436
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # # Copyright (c) 2012, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistrib...
[ "grupoviscap@gmail.com" ]
grupoviscap@gmail.com
3df17bdf06b105045d738f75404a36b0dee791d4
bca9c44316e4f07104987b6751cdc013d7cd11b3
/OOP/abstract/test1.py
f209c73bcd287bae746cbb3df26ba63e61c7bff0
[]
no_license
gjogjreiogjwer/pythonTest
6ff4ff21b780195a4992839efa64b445e26f7c6e
dc077870d1b5a1fe64c308a1f44e71fa4bef5475
refs/heads/master
2020-05-27T06:18:21.241853
2019-10-21T12:04:53
2019-10-21T12:04:53
188,518,465
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
from abc import ABCMeta, abstractmethod class Super(metaclass=ABCMeta): def delegrate(self): self.action() @abstractmethod def action(self): pass class Sub(Super): def action(self): print ('ggg') if __name__ == '__main__': b = Sub() b.delegrate()
[ "jinyicheng@jinyichengdeMacBook-Pro.local" ]
jinyicheng@jinyichengdeMacBook-Pro.local
d494d77b5a8c6de06d0b0336e59927d15d55e9cf
a461bb3b30eef0f72879a426d115fd6cb6772a51
/Mosh/Exercise1.py
25fa478fc9286973b99a04af570e04e117d6fcbe
[]
no_license
charlesmtz1/Python
424115c801848b816ff1b6dae516b61cd3022c59
f4513e63b800806fe5b40e4cd3e061fc86364cf5
refs/heads/master
2021-01-13T12:57:04.252332
2019-08-23T22:59:22
2019-08-23T22:59:22
78,797,485
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
#Exercise 1 # We check in a patient named John Smith. He's 20 yeas old and is a new patient. Declare three variables with this information. name = "John Smith" age = 20 new_patient = True print("Patient Information:") print(name) print(age) print(new_patient)
[ "charlesmtz1@gmail.com" ]
charlesmtz1@gmail.com
c6e63dd096449a29468159134c78c1fb3ba71697
e757b59587187f0a2f884ffe847d5dd63cc00897
/Ex33.py
4e185d42a5480e696a6e57ed5298793d7828e35d
[]
no_license
NguyenBang98/PythonExercise
82186dad3c70e7c8a281366579e9799fb8f4cd7d
24dd411c6adee2fa659fdda58505889dfd8cfeb7
refs/heads/master
2021-07-03T08:27:07.893138
2020-10-11T13:06:40
2020-10-11T13:06:40
183,782,486
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
list1 = [11, 5, 17, 18, 23] total = sum(list1) print("Sum of all element in list is:", total)
[ "trongbang09398@gmail.com" ]
trongbang09398@gmail.com
acd6d268ffec4c40d92239cf2d1de0a226195d73
1892268365772884b441160298ca01ade01e43d0
/models.py
d46b25c0886c7aa48cf8d18c8e735a253c78dc8a
[]
no_license
snakeztc/SlotRefine
3ec8877de421cebedbcf9df5e19f1f6f878af1d8
86090c0bcd9c15280f973d8273e4476b553e857c
refs/heads/main
2023-04-15T17:18:13.784109
2021-03-12T07:17:41
2021-03-12T07:17:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
42,367
py
import tensorflow as tf import os import argparse import io import time import numpy as np import utils as local_utils import layers import random import thumt.layers as layers import thumt.losses as losses from thumt.layers.nn import linear from thumt.models.transformer import transformer_encoder, _ffn_layer from util...
[ "365817859@qq.com" ]
365817859@qq.com
f8aaee0a5397f99d7586bddcdc9055b44ec1c0d6
b4b13fe358891cc1c0de2c4f0f8cbd7833a59bbe
/analyze_hdf5.py
9e3cbac56d5f4d1eca5d9058a6e0ef543abb83cc
[]
no_license
mwkulczewski/urbanair_tutorial
d8c78817626e47b29aa836e8d41766c8dd2b1163
9c09f1d69ca66f6437b5454c740ec6f244282ec7
refs/heads/main
2023-03-26T08:02:13.018348
2021-03-19T08:20:59
2021-03-19T08:20:59
348,251,822
0
0
null
null
null
null
UTF-8
Python
false
false
1,936
py
import sys import h5py import numpy as np from pygnuplot import gnuplot import os try: n_arg = int(sys.argv[1]) n_path = sys.argv[2] except IndexError: print ("Usage: " + sys.argv[0] + "[number_of_runs] [path_to_dir_with_Run]") sys.exit(-1) except ValueError: print ("Usage: " + sys.argv[0] + "[numb...
[ "kulka@man.poznan.pl" ]
kulka@man.poznan.pl
83073a332322631d4adf6451cf85034ae23601ca
b7658c2121607d61d7e0bc862faac1c10d80563a
/FINAL_VERSION/general_db.py
dbcfd1fea52231217a087d9ba8a861389734dfcf
[ "MIT" ]
permissive
mgbarsky/VIRTUAL_LAB
92eb85c9032388e0d66ef7f7dea6f00f2d3ac092
879d631b75c7a884873fa695684cab6880edfdbd
refs/heads/master
2020-06-12T22:56:53.254501
2019-07-04T16:24:45
2019-07-04T16:24:45
194,453,151
0
0
null
null
null
null
UTF-8
Python
false
false
2,552
py
# !/usr/bin/python # -*- coding: utf-8 -*- # conn.execute(), executemany() and executescript() import sqlite3 as lite import sys """ This module implements general database operations on database tier (sqlite). It can be replaced with another dbms. The operations include: connect query modification (updat...
[ "mgbarsky@gmail.com" ]
mgbarsky@gmail.com
bcd750d560e214053a6f3ae7100412b22b224db0
96dcea595e7c16cec07b3f649afd65f3660a0bad
/tests/components/template/test_button.py
bfdb9352767ec5880116473e8ab445ab30b8a0a5
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
5,386
py
"""The tests for the Template button platform.""" import datetime as dt from unittest.mock import patch from homeassistant import setup from homeassistant.components.button import DOMAIN as BUTTON_DOMAIN, SERVICE_PRESS from homeassistant.components.template.button import DEFAULT_NAME from homeassistant.const import ( ...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
c9ca96d6306cdce2cf576257f48c9a5acb8a07a5
22e142739580e9346617a1911548f37b2ceafbef
/purpleair.py
b2b2bc2407796b63ee4d4af273dc198ae4ae5d4a
[]
no_license
mcritz/AirQuality
e7e9c0e8dce39131779558eacf8fec7fdaaeb84c
37de9217f02e24352ccbff50ca9699b0dc23254e
refs/heads/main
2022-12-26T04:15:07.625789
2020-10-09T17:27:17
2020-10-09T17:27:17
301,037,112
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
# From PurpleAir API docs # Transcribed to Python class PurpleAir: def calcAQI(self, Cp, Ih, Il, BPh, BPl): a = (Ih - Il) b = (BPh - BPl) c = (Cp - BPl) return round((a/b) * c + Il) def aqFromPM(self, pm): if (pm > 350.5): return self.calcAQI(pm, 500, 401, 500, 350.5) elif (pm > 250.5): r...
[ "michael.critz@sony.com" ]
michael.critz@sony.com
0f51ca5b879fb84ad265dfd8702b8672392376d4
b3d42d863b170f2a952e69c40bea727a92d95730
/c03/p050_same_name.py
2dfe30b61af6c12638fdf656a5dcee8b56269429
[ "Apache-2.0" ]
permissive
HiAwesome/automate-the-boring-stuff
6e8a8aa12fc36f9d7c139f1c2ae0510df1904491
7355f53bbb0d27755fe350b84be834f3b4f9767a
refs/heads/master
2023-01-04T14:24:53.624590
2020-11-05T06:30:43
2020-11-05T06:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
def spam(): eggs = 'spam local' print(eggs) def bacon(): eggs = 'bacon local' print(eggs) spam() print(eggs) eggs = 'global' bacon() print(eggs) """ bacon local spam local bacon local global """
[ "moqimoqidea@gmail.com" ]
moqimoqidea@gmail.com
3422f9944919abe99c858b9cd797912712273538
86a184949f306c94b6d032cc2ca862412016d25a
/week10/funwithcelery/tasks.py
bdf6f5df56935b6973921ab1d6f00e02ca4f8a79
[]
no_license
sjl421/Web-Development-with-Django
7339b8f4c33f1a1bfa7660e6dc35d74f54c1981d
2bb9e0fc098b03cbb6e7980483624b151601d204
refs/heads/master
2021-04-06T08:58:22.803534
2017-07-08T13:59:50
2017-07-08T13:59:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from celery import group from celery_app import app @app.task(bind=True, max_retries=1) def retry_task(self): print('IN TASK') exc = Exception('retrying') self.retry(exc=exc, countdown=60) @app.task def add(x, y): return x + y @app.task def just_printing(*args, **kwargs): print('Someone called ...
[ "radorado@hackbulgaria.com" ]
radorado@hackbulgaria.com
494d212db6ab3cdc2a96fe0887431a447c6a6e2a
1f76d0717836fe67bc41fd9ea802527efa6ce9ff
/zibrato/zibrato.py
075f2913c44e79a95bc17b0817a427014f35fc2e
[ "BSD-3-Clause" ]
permissive
sharoonthomas/zibrato
c112e665a6ff3f8fb5777e99f05119c6b0c030b3
6495e8d24dd9e05764a7fdb572f7183190bcdb37
refs/heads/master
2021-01-18T07:48:20.221608
2013-08-31T08:01:19
2013-08-31T08:03:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,766
py
import zmq from time import sleep, time from datetime import datetime from functools import wraps from contextlib import contextmanager class Zibrato: """ Zibrato class sets up the connection to ZeroMQ and provides the timer and counter methods used to make measurements. """ def __init__(self, **kwargs): ...
[ "rob@version2beta.com" ]
rob@version2beta.com
c29a732fb80264fc6faf7b705b7ccc20d1dcbd40
380386e1723c9647eb9fca2b89773cb3f02e17f9
/salim-haruna-individual-project/Code/mywork.py
1ac778330718cf1e8fdf31fa3f43df5b158b13f4
[]
no_license
BABAYEGAR/Final-Project-Group5
44299daffab9054dda51734f5c33b0eadfa964cc
008d87516b765d74bd4570b763cab30e87f61e71
refs/heads/main
2023-04-18T23:19:13.180253
2021-05-03T20:56:01
2021-05-03T20:56:01
354,053,406
0
0
null
null
null
null
UTF-8
Python
false
false
5,877
py
import sqlite3 import warnings import pandas as pd from PyQt5.QtWidgets import * from matplotlib import pyplot as plt from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas import database import team_formations con = sqlite3.connect("soccer.sqlite") cur = con.cursor() def get_all_countries(...
[ "noreply@github.com" ]
BABAYEGAR.noreply@github.com
3ad8fdd6adedf14fe1f304fc8af7d2c003990f4d
88ed561f202a4c75f499611ec86099000f53b683
/ccxt_unmerged/krakenfu.py
13d6c8c2a6d001008482e039cf6819536a6d6eae
[]
no_license
jjones2000/ccxt-unmerged
8d07d4cddfd9b3f71223d5baeb92f7dac6b7f11d
316f39b836fa15bd9693de292ba62eb224227ea2
refs/heads/master
2023-06-17T09:19:12.827803
2021-07-14T19:25:50
2021-07-14T19:25:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,029
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.base.exchange import Exchange import hashlib from ccxt.base.errors import ExchangeError from ccxt.base.errors import Authenticati...
[ "binares@protonmail.com" ]
binares@protonmail.com
54596f4f2355b6e4e8b7af7722582a86f71706a4
11de69a33581acc25fdbee1c87384fc116975fb5
/files/bak.clipdb.py
01dee09faf3651218a9857969c86915a45ef33a1
[]
no_license
technouppercut/clipam
860fa04404606ea228596234eeebe069a7b8f662
19ca414cdd0a1d9337b42b5a0ce74e6ce83eb3ab
refs/heads/master
2020-07-04T19:45:05.874084
2019-08-15T15:08:37
2019-08-15T15:08:37
202,393,629
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
#!/usr/bin/python3 from easySqlite3 import Db TABLE = ''' CREATE TABLE IF NOT EXISTS netdevs( id INTEGER PRIMARY KEY AUTOINCREMENT, IPAddress TEXT NOT NULL, Netmask TEXT NOT NULL, Device TEXT NOT NULL, Comments TEXT NULL ); ''' DATA_BASE_PATH = 'ipdb.sq...
[ "technouppercut@gmail.com" ]
technouppercut@gmail.com
4f64e4279c0458949e075fb6d243a2897a3efdb9
503334d104d92f4680801984a2855054d2fe869a
/main.py
f960d071e10d9c7b0e6da4a23960e6d06cdf30d3
[]
no_license
juanipadin/permisos_automatization
0cfafc662992836549f615ea80457e3e5d871759
3c69cf9e0e0af97b77377e4f486170dcd6d24c72
refs/heads/main
2023-08-28T03:00:30.872951
2021-10-23T12:07:07
2021-10-23T12:07:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,181
py
from selenium import webdriver import Datos url_GBA= 'https://formulario-ddjj.argentina.gob.ar/certificado/gba/categoria/5' url_CABA= 'https://formulario-ddjj.argentina.gob.ar/certificado/caba/categoria/5' url_BSAS= 'https://formulario-ddjj.argentina.gob.ar/certificado/buenos-aires/categoria/5' recibo="C:\\Users...
[ "noreply@github.com" ]
juanipadin.noreply@github.com
12b71f7c993690bb0fddabbfc72eae9605dc13db
ccabbdb36a21c2e248821ceba9cd9d147de1f96c
/0x0F-python-object_relational_mapping/3-my_safe_filter_states.py
dcc5602bacc88c167ba7251b122214a77cd5ae48
[]
no_license
adri-er/holbertonschool-higher_level_programming
eb08dc8a8c3338a37d3d3e005520a0f2338c0af1
305db8d8834eac0283b1514d3c11940c9c1c12e3
refs/heads/main
2023-08-13T10:02:21.501247
2021-09-23T02:57:35
2021-09-23T02:57:35
361,915,377
1
1
null
null
null
null
UTF-8
Python
false
false
505
py
#!/usr/bin/python3 """ This module connects to a MySQL server and lists all states that match a specified name in argv. """ if __name__ == "__main__": import MySQLdb import sys db = MySQLdb.connect("localhost", sys.argv[1], sys.argv[2], sys.argv[3]) cursor = db.cursor() cursor.execute("SELECT ...
[ "adriana.er98@hotmail.com" ]
adriana.er98@hotmail.com
20f0c141c18f1597fcb54c0280619de4440bf169
6a779c2f3599176521df49fbf4351d743f66cf4b
/TrajectoryOptimization/boston_dynamics_interview/src/cost_functions.py
c450cd667ed798f646a56a3fa4741809c4e733bc
[]
no_license
AmmarKothari/ControlsLearning
39c67afb1d05afaff38b7240c29e192e9bb07031
b6ab78342eb1705ba89c23def77790ad5f87a359
refs/heads/master
2022-12-19T03:01:32.083614
2020-09-28T00:00:13
2020-09-28T00:00:13
112,956,186
1
0
null
null
null
null
UTF-8
Python
false
false
99
py
def path_integral(controls): return sum([sum([x**2 for x in control]) for control in controls])
[ "ammar@builtrobotics.com" ]
ammar@builtrobotics.com
c4251835e2eb0e58f7a31962ee5941935b7a4c04
15941d73e412d1fe4d178d3500e1f8fa7486709f
/Flask/service/CO2Service.py
c767cc2dcd157ac77a8b4dfd5ab458cafff27a1b
[ "MIT" ]
permissive
cholox/automarium
893dff88cfa99a350aabb3f2a295c874cf9df4af
fff46c411337a18ae3374fa4e4b1c82290a4bc70
refs/heads/master
2018-11-21T03:56:28.121862
2018-09-03T16:51:54
2018-09-03T16:51:54
111,024,818
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
# @Author: Carlos Isaza <Cholox> # @Date: 22-Nov-2017 # @Project: https://github.com/cholox/automarium # @Last modified by: Carlos Isaza # @Last modified time: 18-Dec-2017 # @License: MIT class CO2Service(object): """Manage the aquarium CO2 for the plants. The ESP8266 controls the valve with a servo. ...
[ "choloisaza@outlook.de" ]
choloisaza@outlook.de
19bea6f37307d070a6615051256e49043ed9556f
98428993c91596bb667595d70cd789913c8d8e3a
/7_MVC/mvc_app/controller.py
51ca24ad89e160f07b8fd0af6ffda50699b8fb0a
[]
no_license
AdrianNiewiadomski/Flask-basics
d21e768b3b62423427c458f74c97fae87f4e05a2
3a0db67bfe6efa0afc6cdd9ce38eafb18ef9a0b5
refs/heads/master
2023-06-02T18:33:45.971183
2021-06-19T09:32:58
2021-06-19T09:32:58
374,403,794
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
# All application logic is in the controller. from flask import render_template, request from . import app, db from .model import Book def select_all_books(): return Book.query.all() def insert_book(author, title, published_date): db.session.add(Book(author, title, published_date)) db.session.commit() ...
[ "kontakt@adrianniewiadomski.pl" ]
kontakt@adrianniewiadomski.pl
a3766f3116989c3ba5dff1c489bb9c112c0ba81e
0548348fc40c745af95e38d66b0f5e60b326d403
/urlhandler/urlhandler/wsgi.py
ceddb2432759e01d5e27dbe52e39eafe34ad324e
[]
no_license
yingyingyueyue/yingyingyueyue
4f11e13c6d85933b90a716a81ab6c73430dfa086
68f6f35c9640c78a0b04c62a57c95e21280be443
refs/heads/master
2021-01-22T11:54:36.167890
2015-08-26T00:43:36
2015-08-26T00:43:36
40,647,555
1
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for urlhandler project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "slf12thuss@163.com" ]
slf12thuss@163.com
89e7da5910d0897f44e727aec7f25b1c0b510972
1511782b2cc3dcf1f7e058e5046ec67a5561ba51
/2020/0418/we_like_agc.py
cf32c1fd0e83497a7048d6cb9fac03b9d62bda85
[]
no_license
keiouok/atcoder
7d8a053b0cf5b42e71e265450121d1ad686fee6d
9af301c6d63b0c2db60ac8af5bbe1431e14bb289
refs/heads/master
2021-09-07T11:48:55.953252
2021-07-31T15:29:50
2021-07-31T15:29:50
186,214,079
4
0
null
null
null
null
UTF-8
Python
false
false
1,565
py
import sys, re, os from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import permutations, combinations, product, accumulate from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii...
[ "hu.youjia.hx2@is.naist.jp" ]
hu.youjia.hx2@is.naist.jp
921b1bb225b553ad56c021f27554420b6788ce6c
eb739bb73dfdc33eef22c99738ddb2bf561d53d8
/Record_put/NSAPRecord_put.py
04e65dd6e62af030256debbfa316b653069a5a7e
[]
no_license
dyninc/UpdateTTLs_for_APIs
4a8fbe863150dad68b738079a0e5a7a8d636a8b9
4d51fa7dcca5bb51a88e65e1ca8cf5733b9fe4e6
refs/heads/master
2021-01-16T20:12:19.262114
2011-07-22T20:47:29
2011-07-22T20:47:29
2,101,460
2
0
null
null
null
null
UTF-8
Python
false
false
702
py
import httplib import json BASE_URL = 'api2.dynect.net' api = '/REST/NSAPRecord' def NSAPRecord_put(data, ttl, zone, fqdn, token): params = {} params['rdata'] = {} params['rdata']['nsap'] = data['rdata']['nsap'] params['ttl'] = ttl params = json.JSONEncoder().encode(params) conn = httplib.HTT...
[ "nguyentran@dhcp-172.public.mht.dyndns.com" ]
nguyentran@dhcp-172.public.mht.dyndns.com
05fde0bce6997265a3148c711e8ca5244920cb98
13c8439c0ec91effa6370f95131fd34d15fd9a97
/bartender.py
0e80b71974083981eaf4addcb5598892b75c3cbe
[ "MIT" ]
permissive
timbouraoui/bartender
b24195ef827713632aa2b6dc98b63f15e51b2ae1
3177179929a4cca637f58ce02f0c5053d2011a3a
refs/heads/main
2023-04-10T22:21:55.724783
2021-04-23T04:35:51
2021-04-23T04:35:51
330,480,541
0
0
null
null
null
null
UTF-8
Python
false
false
11,266
py
import time import os import sys import RPi.GPIO as GPIO import json import logging import threading import traceback from flask import Flask from flask_ask import Ask, request, session, question, statement from enum import Enum from drinks import drink_list GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) # stepper p...
[ "tim.bouraoui@gmail.com" ]
tim.bouraoui@gmail.com
fecba7852301a12971366b7d3ff20aa5ab189b54
3b78823be0f0a44db32dbe52097bf852bd3649ba
/students/y2336/laboratory_works/Final_Project/django-nastay-greenzaid/schedule/migrations/0003_auto_20201008_1841.py
aebd666644bee08a45b684434e0aa0595a432f3c
[]
no_license
NGriin/ITMO_FSPO_Web_Django_2020
9b6d3047353fc009d76bad5375bdebc2f16c13f4
091ccaafc85bed6005de279fbfa37befeb684a3a
refs/heads/master
2021-04-23T22:08:25.424705
2020-11-03T15:01:58
2020-11-03T15:01:58
250,017,329
0
0
null
2020-03-25T15:30:58
2020-03-25T15:30:57
null
UTF-8
Python
false
false
1,121
py
# Generated by Django 3.1.2 on 2020-10-08 18:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('schedule', '0002_remove_person_number'), ] operations = [ migrations.AlterField( model_name='person', name='birthday...
[ "" ]
04a0326805d57a2c1c4aee95c788dbc0c96e9e7e
4b577d863381d2e7504e7d5983cb8e8bfcab69fd
/py_lab2/my_pkg/bin.py
a41b0454f7115ec6626852deefa469dfc00876e6
[]
no_license
dja314159/osp_python
f907c74cb928b020abae420aba883c7b060c32e6
104f44bfec72abc6f420534ca515090e2d17a4ab
refs/heads/master
2023-07-24T06:07:11.007388
2020-04-27T05:45:27
2020-04-27T05:45:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
def binToOther(): n = int(input("input binary number:")) oct = 0 dec = 0 hex = [] temp = n sqr = 0 while(temp!=0): c = int(temp%10) temp/=10 b = int(temp%10) temp/=10 a = int(temp%10) temp = int(temp/10) oct += (10**(sqr))*(4*a+2*b+1*c) sqr+=1 temp = n sqr = 0 while(temp!=0): dec+= ...
[ "hun340312@naver.com" ]
hun340312@naver.com
0278c5919a0a7ab1e69c3ab8423a8ecbb191c593
662d9ce3944b34c0b1075cdbd44aa649312ca80a
/Programs/Time_Computations.py
d96139266d0bb4f6dcc1421bf09aef1ccab057a8
[]
no_license
DeepaShrinidhiPandurangi/Problem_Solving
1aa1bf9d5ca60dc827bf0f61b50a530541887ce5
8fd976e63bd12d35ee40da25aaf96dc0fcfc350d
refs/heads/main
2023-08-02T07:08:48.406720
2021-09-20T16:39:19
2021-09-20T16:39:19
363,121,327
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
# Time Computation import time # Time time_start = time.clock() #run your code time_elapsed = (time.clock() - time_start) print(time_elapsed)
[ "noreply@github.com" ]
DeepaShrinidhiPandurangi.noreply@github.com
2dce0e92db67ef2df0e7a5b431cec6a2f0057d62
00a3ec2f8ff61eb8fe4c54080b66c012bb28732b
/ecssendgrid/ecssendgrid.py
528ee9644fa122fd6a61d5074166e89ae3462ff3
[ "Apache-2.0" ]
permissive
OohDark30/ecs-email-alerting
9ce7868bc10ec28b11aa30ae5da4848e081087ed
072af694a9581179d7e8d49a176adbca3383c838
refs/heads/master
2020-04-11T08:38:10.433902
2019-05-08T14:47:37
2019-05-08T14:47:37
161,650,430
1
0
null
null
null
null
UTF-8
Python
false
false
3,472
py
""" DELL EMC ECS SendGrid Email Module. """ import http.client import ecssendgrid import sendgrid from sendgrid.helpers.mail import * import time # Constants MODULE_NAME = "ecssendgrid" # Module Name class ECSSendGridException(Exception): pass class ECSSendGridUtility(object): """ Stor...
[ "OohDark30@users.noreply.github.com" ]
OohDark30@users.noreply.github.com
18f441d4e39e66e734c890d1b28e521579003c94
416c05f2a4243c00495018e27494fd9532acd526
/GPIOEmulator/EmulatorGUI.py
ef2e57e7f8d21d3e5785765914b12a0606d568ab
[]
no_license
LReinacher/Beer2D2
aa7719655dff41f946ac2b0e66d317396a86acb3
3fd90928efac0799b51ae912bae95df9bf9e0694
refs/heads/master
2020-03-28T09:34:22.128099
2018-11-23T10:13:47
2018-11-23T10:13:47
148,043,922
1
1
null
null
null
null
UTF-8
Python
false
false
15,117
py
from tkinter import * import tkinter as tk from GPIOEmulator.PIN import PIN from GPIOEmulator.TypeChecker import typeassert import threading import time #http://www.tutorialspoint.com/python/tk_button.htm dictionaryPins = {} dictionaryPinsTkinter = {} GPIONames=["14","15","18","23","24","25","8","7","12","16","20"...
[ "lion.reinacher@gmail.com" ]
lion.reinacher@gmail.com
4a3f63e8805cb41ac1179cf653a0fd801a6c0129
11d9028b30d87940a67f88ee8df6fcf140050a51
/BASE_CASE-d1-d2-B_and_D_in_IC_Option_4_ANDT.py
3bc22498cabc676632cb95e49dbd021e7ce8289f
[]
no_license
mksamelson/Backtest
679b153269dccb1397b6d783956faed530dc8462
bca375ac98a9e470de9a4fcf80e3fd2c54ca4806
refs/heads/master
2020-06-29T09:20:07.000573
2019-08-04T13:41:39
2019-08-04T13:41:39
200,497,205
0
0
null
null
null
null
UTF-8
Python
false
false
64,350
py
""" Simulation New Version. Description: This is a large acquisition study where deal which are greater than 20% of acquirer market cap are included since 2010. All invest/outvest decisions are based on industry group status (advantaged/disadvantaged). Industry group status changed from deal completion date to...
[ "noreply@github.com" ]
mksamelson.noreply@github.com
b1ca43ca364d54f0cadbe79241cefb980e2b7c7c
f08e50d55bbbb90e4c8f9a8811eaede98ede2694
/erpbee/patches/v11_0/inter_state_field_for_gst.py
2a8ab6e86b41209abb6664006436ad67db52618b
[]
no_license
mohrezbak/erpbee
bc48472a99a7f4357aa7b82ff3a9c1a4c98ba017
1134156ad337fd472e14cf347479c17bd8db7b33
refs/heads/main
2023-02-12T01:32:07.858555
2021-01-08T17:25:23
2021-01-08T17:25:23
327,872,762
0
0
null
null
null
null
UTF-8
Python
false
false
3,205
py
from __future__ import unicode_literals import frappe from erpbee.regional.india.setup import make_custom_fields def execute(): company = frappe.get_all('Company', filters = {'country': 'India'}) if not company: return frappe.reload_doc("Payroll", "doctype", "Employee Tax Exemption Declaration") frappe.reload_d...
[ "bakhtiar2k6@gmail.com" ]
bakhtiar2k6@gmail.com
5e533fe2c13b8ff8c5b6c180149d50b45ed6d7a7
21c16e2c273d00304bd79ab966007d8e9c1ba09c
/atcoder/agc039/c.py
4f7a36b6e3400bff1aedd974709d36c0a5729239
[]
no_license
TimothyHorscroft/competitive-programming
93f31f3863d0b5d82ce7538d22cb69d4514608a0
db2f1e743c0c92aff192e27dbb07bdb114fae641
refs/heads/master
2023-08-17T03:35:51.099751
2023-08-12T15:01:44
2023-08-12T15:01:44
276,879,803
0
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
"""n = 12 anoms = 0 for i in range(2**n): count = 0 x=i while True: count += 1 if x%2==1: x //= 2 else: x //= 2 x += 2**(n-1) if x == i: break if count != 2*n: t = bin(i)[2:] print("0"*(n-len(...
[ "a@jthv.ai" ]
a@jthv.ai
1c97e19f27526310fc8e6f703b6657e7e3961dc6
cbcdf195338307b0c9756549a9bffebf3890a657
/mypy_django_plugin/transformers/models.py
5db4dbb2c09d863b1f38034dda14dc60a3395ca9
[ "MIT" ]
permissive
mattbasta/django-stubs
bc482edf5c6cdf33b85005c2638484049c52851b
8978ad471f2cec0aa74256fe491e2e07887f1006
refs/heads/master
2020-04-27T08:38:22.694104
2019-03-06T09:05:08
2019-03-06T09:05:24
174,178,933
1
0
MIT
2019-03-06T16:18:01
2019-03-06T16:18:00
null
UTF-8
Python
false
false
10,969
py
from abc import ABCMeta, abstractmethod from typing import Dict, Iterator, List, Optional, Tuple, cast import dataclasses from mypy.nodes import ( ARG_STAR, ARG_STAR2, MDEF, Argument, CallExpr, ClassDef, Expression, IndexExpr, Lvalue, MemberExpr, MypyFile, NameExpr, StrExpr, SymbolTableNode, TypeInfo, Var, ) f...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
feb4c67e38100397d2f5d6493d81ae25bb656eb3
361f61d1a4cf18d85fd3ef98fdab867aa0fc96ae
/13 DS - Tuples.py
56785d7077bea6223eddc3b0d738ec414c8280fa
[]
no_license
BaggyKimono/pythonfoundationswow
6c28ffe9f9517def0e9cb4f0cbd2f06fcbeb64cf
27ea4f549a14552ab8e5e1627c08035d600faf40
refs/heads/master
2020-04-08T09:20:20.726784
2018-11-28T19:32:53
2018-11-28T19:32:53
159,219,193
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
""" title: 13 DS - Tuples author: Ally date: 11/28/18 1:31 PM """ """_________________Data Structures ___________________________""" """ It is very common to want to list numbers or strings. This is possible with data structures. Data structures are a specialized format for organizing and storing data. There are q...
[ "allymweatherly@gmail.com" ]
allymweatherly@gmail.com
bf9729826a8d3c183dfe4af40e2fdf61d31334ae
4b57fdf403d1f9e6f80ce765116abc9f47896c80
/firstDerivaive.py
54953933998deed472b63fc5d2cfedba282d5272
[]
no_license
escobar-west/Python-FirstDerivative
7181a73185ffdc1d2c345e43441dfd2a3db9255b
0648cd6b7516115a9549ea4433d3aeaa9debf8e1
refs/heads/master
2022-06-26T04:00:41.144356
2016-05-21T22:13:54
2016-05-21T22:13:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
#solves for the derivative of a function using a Pade scheme import numpy as np import matplotlib.pyplot as plt #define the function you want to differentiate here def func(x): return x*x*x; a = -1.5 #left endpoint b = 1.5 #right endpoint N = 1000 #number of gridpoints h = (b-a)/(N-1) matrix = np.zeros( (N, N) ) f...
[ "victor.v.suriel@gmail.com" ]
victor.v.suriel@gmail.com
6cad1809e4dcda1f27e0304167dbbb5f9ead2b47
6d233ad2059a941e4ce4c5b5ee3857b8a4a0d212
/Everyday_alg/2021/01/2021_01_13/binary-tree-level-order-traversal.py
2966d1ca6c9df4779c61bf9ec99a75013caf3771
[]
no_license
Alexanderklau/Algorithm
7c38af7debbe850dfc7b99cdadbf0f8f89141fc6
eac05f637a55bfcc342fa9fc4af4e2dd4156ea43
refs/heads/master
2022-06-12T21:07:23.635224
2022-06-12T08:12:07
2022-06-12T08:12:07
83,501,915
5
3
null
null
null
null
UTF-8
Python
false
false
825
py
# coding: utf-8 __author__ = 'Yemilice_lau' """ 给你一个二叉树,请你返回其按 层序遍历 得到的节点值。 (即逐层地,从左到右访问所有节点)。 示例: 二叉树:[3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 返回其层序遍历结果: [ [3], [9,20], [15,7] ] """ class Solution(object): def levelOrder(self, root): """ :type root: TreeNode ...
[ "429095816@qq.com" ]
429095816@qq.com
e38fd14ba552b2ae26182d22a08def171dd47456
fdca7da4bd6a7ce2e6659014da3b11df486ea686
/names.py
a6eb3a885c30d28098b0058184d5f8f67574a955
[]
no_license
MovinTarg/Names
a34bafe2f827078873f13f9034299f036b1a20b8
2ba00a051560ea7a9cfd12cf95bc6617962b9b0b
refs/heads/master
2021-05-02T07:20:11.304723
2018-02-08T22:32:52
2018-02-08T22:32:52
120,826,202
0
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
students = [ {'first_name': 'Michael', 'last_name' : 'Jordan'}, {'first_name' : 'John', 'last_name' : 'Rosales'}, {'first_name' : 'Mark', 'last_name' : 'Guillen'}, {'first_name' : 'KB', 'last_name' : 'Tonel'} ] def names(arr): for val in arr: print val['first_name'], val['last_name'] n...
[ "pbianchi192@gmail.com" ]
pbianchi192@gmail.com
63bb739cc6a6759ca0c00465acf82b160c6875d3
3e0c00f6e5a99b8e8f8f2e221d9f82cb64586c41
/fireworks_module.py
79ae6aff56d1a9b7ac770cacb2133bdbc6a7b64f
[]
no_license
tianxiaozhang1/Simple-Fireworks
61d53f60f2db6307d0081bad6104e8a59c715482
c3ac2b2dcb3d407af8b340ddf44e9afeac1cf2dc
refs/heads/main
2023-06-23T22:22:55.576742
2021-07-18T14:15:18
2021-07-18T14:15:18
369,267,987
0
0
null
null
null
null
UTF-8
Python
false
false
6,205
py
import pygame, sys, random from math import sin, cos, radians def setup_fireworks(): fw_x_list = [] fw_y_list = [] # x axis spacing for i in range(0,6): fw_x_list.append(random.randint(120+280*i, 400+280*i)) # y axis spacing for i in range(0,6): fw_y_list.append(1180+...
[ "noreply@github.com" ]
tianxiaozhang1.noreply@github.com
3d6c818fb67b600ccfc70229554f89730f79d125
bbe528eda6823be8c9160dbcebd10514b972af34
/Summer/Python/basic_layout.py
9ed24c4f691e9d55408ebf09e3ae7ba81bae843e
[]
no_license
nickirichter/Personal
9c353d94f7e321a6a2329212bc53861fbccf9411
35e59aa7d6d70b1033b7d75e982090bdf3520295
refs/heads/master
2020-03-31T14:50:12.366069
2019-01-28T20:24:50
2019-01-28T20:24:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,354
py
#!/usr/bin/env python3 from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtCore import * import sys class App(QApplication): """This is a main application. Input: command line arguments <list> Output: None """ def __init__(self): # Initialize the parent wi...
[ "niri0478@lasp.colorado.edu" ]
niri0478@lasp.colorado.edu
6be7d4eca72ff30280408644192a5f62f1ebc128
5c71eb44814263bb18a7f758c73ddd7ddae7a0d2
/copy_file_use_processing_pool.py
ea00c4a0f902bf656fa9e0a0d63d8b8412e69816
[]
no_license
anqi117/py-study
7f0b79e892e5fde34d60a21fd755f19e4260e002
5b1f8726c9843372b4543ccb33159cffa4b25a15
refs/heads/master
2021-07-05T03:43:46.790545
2020-12-06T14:51:08
2020-12-06T14:51:08
204,983,420
0
0
null
null
null
null
UTF-8
Python
false
false
1,046
py
from multiprocessing import Pool, Manager import os def copyFile(name, oldDirName, newDirName, queue): # openfile fr = open(oldDirName + "/" + name, "r") fw = open(newDirName + "/" + name, "w") contents = fr.read() # print(contents) fw.write(contents) fr.close() fw.close() queue.put(name) def main(): #0 ge...
[ "anqi117@gmail.com" ]
anqi117@gmail.com
d73fe77c94a305be1db281d8296399bb99a695fa
a3cbab55145380a139d838fb933619b930d4f67e
/scripts/data_collection/gradesaver/get_works.py
9b7175b4ff7345b1a6efd82c5f57eacd34dadda3
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Hyusheng/booksum
235b034b146a30914b9a5c4955619eb689853b2b
b655df6d71295afe5bd69acb80e6301f86fc4775
refs/heads/main
2023-08-13T14:08:52.702766
2021-10-12T19:09:41
2021-10-12T19:09:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,242
py
""" /* * Copyright (c) 2021, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ """ from builtins import zip, str, range import pdb, os, csv, re, io, string import url...
[ "divyansh.agarwal@salesforce.com" ]
divyansh.agarwal@salesforce.com
09e153fdeedaf46f2797683e7eaa5b54684b35b2
e341046ec61242b291fe70d0506fd04ef00d04d7
/unit3/activity-loops-guess.py
157916674b21ed711d57efe5097a85f2727231ef
[]
no_license
codeforgirls-sa/python
7218434ade3c1c5d153916b9cb83ae9bc9a14c68
5e345afc22558e2239a403ca88345d77f14ce488
refs/heads/master
2021-07-13T04:23:55.683857
2020-06-24T13:57:48
2020-06-24T13:57:48
180,698,652
0
3
null
2020-07-06T11:33:51
2019-04-11T02:24:51
Python
UTF-8
Python
false
false
611
py
#Create a variable called “rand” and assign it a number between 0 and 10 rand = 8 #Create a variable called “guess” and assign it -1 guess = -1 #Use while loop to iterate while "guess" is not equal to "rand" while guess != rand: #Ask the user to input a number, take it as integer and store it in "guess" guess =...
[ "noora431@gmail.com" ]
noora431@gmail.com
68f6bb61324cd78cba0386369bec19d3a4ec44a3
abf0ea1656a00932d99578a566b8b546daa8c569
/env/bin/cftp
df699cd0cc2f0d301a851ae0138146f3272a4b40
[]
no_license
Lewington-pitsos/soundcloud
cf3b7a22b6e93b32e1f2a3f50b5ca5aec790bf23
5232ddc6d8f745ee91624411f3eecbfea2758c51
refs/heads/master
2020-05-16T02:09:24.846277
2019-04-22T05:37:54
2019-04-22T05:37:54
182,618,894
0
0
null
null
null
null
UTF-8
Python
false
false
273
#!/home/lewington/code/python/learn/soundcloud/env/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from twisted.conch.scripts.cftp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "lewington@student.unimelb.edu.au" ]
lewington@student.unimelb.edu.au
9664ba41d172da680e688cb1eceec7343f878c66
138235605ca9728fcebf7b1bac8a25426ebcc111
/BinSourcerer/Graphic/UIReportUI.py
2166084af3d0948f217ea196b599490c8d3279d1
[ "Apache-2.0" ]
permissive
AmesianX/BinSourcerer
51244aed566e4e4a177e353630c6de5c32c89893
0897f609b863ce3c7e505ee8eda9c56763c4c5c8
refs/heads/master
2021-01-20T16:44:58.556613
2014-11-08T19:50:33
2014-11-08T19:50:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,199
py
#!/usr/bin/env python # -*-coding: utf8 -*- ######################################################################## # Copyright 2014 Concordia University # 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 ...
[ "ASHK@grouse.encs.concordia.ca" ]
ASHK@grouse.encs.concordia.ca
f40d441bb7dec2badfd50a1c7c107520a6682cb8
66cc9c424896c1eea24f9922a757cba98f843d69
/app.py
eeec9675dc4638ba0075f84e25593e843027100b
[]
no_license
diivia/FSND_udacity_capstone
d66c2e7c9416b99df2cdc560dfc5be9e31b5c0e1
98269efafd3534b51c3072bae3858dece3c466e5
refs/heads/master
2022-12-15T19:54:09.713950
2020-09-08T16:53:37
2020-09-08T16:53:37
293,096,329
0
0
null
null
null
null
UTF-8
Python
false
false
9,261
py
from flask import Flask, request, abort, jsonify from flask_cors import CORS from models import setup_db, Movie, Actor, Casting from auth import AuthError, requires_auth def create_app(test_config=None): app = Flask(__name__) setup_db(app) CORS(app) @app.route('/') def index(): return js...
[ "julija17@gmail.com" ]
julija17@gmail.com
cd380473366238662b6c981254574f630954199a
58780adf216dfc4ff3e891fda1049f1a6e4de426
/opt_dicts.py
379f187c53e92638308ad6eeb716cc4b363d9e08
[]
no_license
victorldn/hydCrystal
6f6f6f86f46c5b32379a560f2cc91b4beb2794b4
0c8360465d2aa39fd7540c9e40f9bd142059611e
refs/heads/master
2022-11-21T16:10:29.707210
2018-09-24T15:28:23
2018-09-24T15:28:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
"""Dictionaries necessary for reoptimization""" press_str = '0.0 KPa' af = {'hyd': '../hyd.axis', 'dehyd': '../dehyd.axis'} mf = {'hyd': '../hyd.mult', 'dehyd': '../dehyd.mult'} neighcrys_args = { 'pressure': press_str, 'foreshorten_hydrogens': 'n', 'max_search': 7, 'force_field_type': 'F', 'multipole_file...
[ "vdn1m17@soton.ac.uk" ]
vdn1m17@soton.ac.uk
e25a3c3b90a3d79be1bdb681c10b86aada3a496d
5a92ee904ae091864c306caa95bd81629035b0f6
/logger.py
deffda1e373dd3f05b4877b13186c25e44b1a9ad
[]
no_license
amcameron/mcu-daq
33f8769361c4fe6fcfbf5ef644e8fb2beee253e5
cef7ae458ddfc323e25912250924a4d35271b491
refs/heads/master
2021-01-20T12:04:33.769219
2010-03-12T03:59:58
2010-03-12T03:59:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
# note: requires pySerial (http://pyserial.sourceforge.net/) import serial from time import time BEGIN_CHAR = 'B' END_CHAR = 'E' # Linux: #ser = serial.Serial('/dev/tty.usbserial', 9600, timeout = 0.1) # Windows: ser = serial.Serial('COM3', 9600, timeout = 0.1) logfile = open("log.txt", 'w') now = time() sampleLength...
[ "amcameron@gmail.com" ]
amcameron@gmail.com
9fbcb3c385d6dd8c791291ee2840d9d6d4675511
f994bb440186c27db6a49831d544b896aae3afba
/examples/gaussian_to_excel/qRRHO_Pbeta.py
7f635878324b50ba39b701f60eb6178a1ed6b965
[ "MIT" ]
permissive
mbkumar/PyMuTT
339388a419b112274f2e936fe6e62aedd2731218
15e19809f7cf87158862041c48aa3d55e4ffecfa
refs/heads/master
2020-03-27T04:18:20.293872
2018-08-27T19:53:13
2018-08-27T19:53:13
145,929,161
1
0
null
2018-08-24T01:58:56
2018-08-24T01:58:56
null
UTF-8
Python
false
false
13,882
py
#!/usr/bin/env python # The format to execute this file is qRRO_Pbeta.py #1 #2 #3. #1 is the filename, #2 and #3 are desired T & P. import sys import os import ast import shutil as sh from argparse import ArgumentParser as AP import re import numpy as np import math parser = AP(description='Extract thermal correctio...
[ "jonathanalym@gmail.com" ]
jonathanalym@gmail.com
a025158b2dd8b356b5eff76302d191e34ba3799a
57da5f3e3a4dfdbcc06185d2dbfb3490ba84bb95
/app/schemas/user.py
c2233bc80531ed50fa95b0c4339a32dff65975eb
[]
no_license
DanielSantaR/final-web-backend
14d89af05d5f7929a9520ae277ce8c34706c5098
b446b02bfe9465a458af5c102e79c7cb815f389a
refs/heads/master
2023-02-18T06:51:35.339694
2021-01-23T14:16:04
2021-01-23T14:16:04
306,780,793
0
0
null
2021-01-23T14:16:05
2020-10-24T01:18:07
Python
UTF-8
Python
false
false
541
py
from datetime import datetime from typing import Optional from pydantic import BaseModel from pydantic.networks import EmailStr class BaseUser(BaseModel): identity_card: str names: str surnames: str phone: str email: EmailStr class CreateUser(BaseUser): pass class UpdateUser(BaseModel): ...
[ "daniel.santar@udea.edu.co" ]
daniel.santar@udea.edu.co
83cbd09aa737e4663298ad903e4e0f9f81652c3c
7e48a34171f526099d6c1ed0499bee9a8732a8a0
/setup.py
66df0b75fe4b2f49717df9c2b8e022f0fc8a364b
[]
no_license
SamSepiolProgramming/watermarx
fce9acd2b372394c2b1a4c9a4873a69563a42b49
6a86110db768730f82c8209e1cd9686d70c247fe
refs/heads/master
2022-11-12T06:12:37.727369
2020-07-07T08:55:48
2020-07-07T08:55:48
277,765,272
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
from distutils.core import setup setup(name='Watermarx', version='1.0', description='Simple watermarks creator', author='Sam Sepiol', author_email='igi.prog@gmail.com', url='https://github.com/SamSepiolProgramming/watermarx', packages=['watermarx'], )
[ "igi.prog@gmail.com" ]
igi.prog@gmail.com
57f876175eb5747619fcbdd779214f73a550488a
e2d90ce8f7b173520bc1a50f28944332f755ed7a
/env/Scripts/rst2xetex.py
a5faab90fd02e878207665a1d17263aec164d652
[]
no_license
VoidAwk/python-chalice-setup
b78434114457bc22433af3d0f07e766d81d2c05e
cdd654ae97925a3be3a8ec86e5308acd060f183b
refs/heads/master
2022-04-17T21:02:08.709646
2020-04-13T03:39:47
2020-04-13T03:39:47
255,219,978
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
#!C:\Users\Joe\Development\Projects\api-template\env\Scripts\python.exe # $Id: rst2xetex.py 7847 2015-03-17 17:30:47Z milde $ # Author: Guenter Milde # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Lua/XeLaTeX code. """ try: import local...
[ "joe.s.ilagan@gmail.com" ]
joe.s.ilagan@gmail.com
379a2d0e6b0481a98f90ee224bb38090ca739fb8
f786621434c8a2b72b19ff3b99d7f6f857d5063a
/rectangle.py
73eac9c28949878902c29ea9c82f554723e5db68
[]
no_license
niftamoljose/python
8fff69ce058a288184acf76c312766c136d1d454
be846c9f3095825585d4ef28c2e79b95d7631e03
refs/heads/main
2023-03-17T13:53:24.413807
2021-03-16T10:48:55
2021-03-16T10:48:55
321,995,526
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
class rectangle: def __init__ (self, length, breadth, area): self.length = length self.breadth = breadth self.area = area def arearectangle(self): area= length*breadth def displayrectangle(self): print("length=", self.length) print("breadth=", self.br...
[ "noreply@github.com" ]
niftamoljose.noreply@github.com
eec65c996c2a948c75d6ccb219f56afd8046f342
fe7bac7ee7d9d82bec7134ec85a2ce5334d9e241
/Chapter07/notes/core/migrations/0002_note_docfile.py
ae0664bca7ae37049a41fe96dd656591dbeef33e
[]
no_license
PacktPublishing/Python-for-Google-App-Engine
49da2504b2636578fcc4b76f463ed8a5872d9249
e20a1f4527c436beaa01572a624c46bd1504c43d
refs/heads/master
2023-02-08T15:36:15.420843
2023-01-30T09:55:39
2023-01-30T09:55:39
58,925,437
9
8
null
null
null
null
UTF-8
Python
false
false
434
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.AddField( model_name='note', name='docfile', ...
[ "packt.suniths@gmail.com" ]
packt.suniths@gmail.com
c6ccd29297667ad433ccdb454c974588fd4718e2
b17cd71be048a5e3d28a4eb22bf29ac059345920
/venv3/bin/python-config
db1bb5ad597c928ce74720fd2572d41121ac0329
[ "Apache-2.0" ]
permissive
chrispch/carousell-price-tracker-website-v2
50738a9c087d83c67d463e12dee8ab1d41b2ef82
02968176f43d5405bb69214b6690aa5574035260
refs/heads/master
2021-04-30T04:20:26.310173
2018-03-07T14:43:28
2018-03-07T14:43:28
121,530,351
0
0
null
null
null
null
UTF-8
Python
false
false
2,360
#!/var/www/price_tracker/price_tracker/venv3/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys...
[ "chonghern@gmail.com" ]
chonghern@gmail.com
53f13b69464387871d3bf91349e2bb704eab2603
24353782b659f477066f797722ad53bf7698c495
/face_recognition/kcf_ft_multi_v2.py
303e6a9b465e084aca1b7f1cc5bef55683ed7cfb
[]
no_license
rahulpadwani/IOIT
81d09f2f8dbd022f5a55bd8e00db5cdf7208679c
9a66d9be65e7f45bcc4976fbdb99da04964af1ec
refs/heads/master
2020-07-02T09:50:43.595506
2020-01-24T15:58:17
2020-01-24T15:58:17
201,492,542
0
0
null
2019-08-09T15:20:43
2019-08-09T15:20:42
null
UTF-8
Python
false
false
6,186
py
import cv2 import sys import numpy as np import face_rec as fc def face_detect(video,pretraker,mode): """ mode=> 1 for lost trackers 2 for check for new faces 3 lost some trackers """ global detected_people global count face_cascade = cv2.CascadeClassifier('haarcascade_fr...
[ "noreply@github.com" ]
rahulpadwani.noreply@github.com
11161cccb6bbd09dcddde2032b49e16d9a864fac
b6a1144488e2af6959682fe3db00f2ead23b236a
/Test.py
53a138d007c3fa77d1bbfa75682016823d937d84
[]
no_license
ilkerh/Multi-Feature-Semi-Supervised-Learning-for-COVID-19-CXR-Images
53ddfad56eda538f31d559ad7f741a0ba72d4710
845c461e940ba97992e99432d9f475ad115005e1
refs/heads/main
2023-04-24T19:08:12.249328
2021-04-14T16:10:08
2021-04-14T16:10:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,941
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Nov 20 21:51:54 2020 @author: endiqq """ import torch # from model import Trainer # from batch_gen import BatchGenerator import os import argparse import random from torch.utils.tensorboard import SummaryWriter from torchvision import transforms from ...
[ "noreply@github.com" ]
ilkerh.noreply@github.com
c58cf0b2ae63d589ad451462013553658103e025
d9c95cd0efad0788bf17672f6a4ec3b29cfd2e86
/disturbance/migrations/0030_auto_20200511_1512.py
3641eaa61a3cdb5c1c1646462aae2f39bb6cec30
[ "Apache-2.0" ]
permissive
Djandwich/disturbance
cb1d25701b23414cd91e3ac5b0207618cd03a7e5
b1ba1404b9ca7c941891ea42c00b9ff9bcc41237
refs/heads/master
2023-05-05T19:52:36.124923
2021-06-03T06:37:53
2021-06-03T06:37:53
259,816,629
1
1
NOASSERTION
2021-06-03T09:46:46
2020-04-29T03:39:33
Python
UTF-8
Python
false
false
1,710
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2020-05-11 07:12 from __future__ import unicode_literals import disturbance.components.compliances.models from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('disturbanc...
[ "katsufumi.shibata@dbca.wa.gov.au" ]
katsufumi.shibata@dbca.wa.gov.au
654e5a19faf639001b4edabcb48ae1da94d5312b
4147e91c2e8370a4a9da86492c571026bde738fb
/code/qt/VLTPipeline/py/models/util/exports_class.py
05ee03410284247330d10228f786d805a1671f80
[]
no_license
vltmedia/VLTPipeline
45560a37e262c1d314aefc3f05fc19c07c6ee6ce
aa94e2c1d0bcc07b1fea681afeee93d82a3149ee
refs/heads/master
2023-04-22T09:20:39.589744
2021-05-06T05:45:03
2021-05-06T05:45:03
348,167,214
0
0
null
null
null
null
UTF-8
Python
false
false
8,662
py
# Use Exports() to reference A full pipelin for Preview and Final Exports import sys import os from PySide2 import QtCore, QtGui, QtWidgets from PySide2.QtCore import Qt # from ..util.project_class import ProjectClass, ClientClass, GroupClass from .software_class import RenderEngine from .software_class im...
[ "info@vltmedia.com" ]
info@vltmedia.com
4f573d03f50c72b78c7209cc4abcf17bb9b6af56
bd7ba28feab99918cc6664a0ada0c80588f8c729
/queries.py
60a5c0e1697a54289b465f625578a04ffa7f407c
[]
no_license
NewPrograms/Studentdatabase
0081e15c81d6800077ad52a3cedc2286ac0f3ce9
90fcb3a5e3d7deaa58a9f4efb4351787af973976
refs/heads/main
2023-07-26T06:58:28.029008
2021-09-12T05:41:29
2021-09-12T05:41:29
394,122,655
0
0
null
null
null
null
UTF-8
Python
false
false
3,883
py
from sqlalchemy.sql.expression import label, union_all from sqlalchemy.sql.selectable import subquery from tables import Grades, Section, GradeLevel, Students from sqlalchemy.orm import sessionmaker from sqlalchemy import func, column class QueryData: def __init__(self, engine): self.engine = engine Session = ses...
[ "arcin0994@gmail.com" ]
arcin0994@gmail.com