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
213 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
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
bd0200e12aeca0c25bade5aecb1cc2b8df09c748
4ab317785d7c7a1655d7bb54bc63ba8673dd2794
/ls8/helpers.py
86b6e04f9409e36ccca3b26773364adeedb10f89
[]
no_license
rbabaci1/CS-Computer-Architecture
e96a95236bd676c41f19bf8bc91c3432bac49a73
cfb4fcd1c372a1706982d7f4d8e5dc1184cf8901
refs/heads/master
2023-01-02T05:09:00.103270
2020-10-27T03:32:05
2020-10-27T03:32:05
299,959,934
0
0
null
2020-10-27T03:32:06
2020-09-30T15:11:35
Python
UTF-8
Python
false
false
1,264
py
def write_program_to_ram(self, file_name): try: with open(f"examples/{file_name}") as fp: for l in fp: binary_string = l.partition("#")[0].strip() if len(binary_string): self.ram_write(int(binary_string, 2), self.address) se...
[ "4rabah@gmail.com" ]
4rabah@gmail.com
459df356e3a33060193f471ce45a63243a94a3db
be0e2ffad7c1844a23c2301be05a698e269b0259
/main.py
196d55ad8c4f8676600d56c30205a1282e1e005b
[]
no_license
chunjy92/drsc
b8961cb06f9c4d1ca0fe3aabb49a40476111ffaa
9bccf7101dfaf2a883c7d0e97a4c361c628eeab9
refs/heads/master
2020-05-17T15:59:53.006128
2019-05-15T09:59:29
2019-05-15T09:59:29
183,805,642
1
0
null
null
null
null
UTF-8
Python
false
false
2,370
py
#! /usr/bin/python3 # -*- coding: utf-8 -*- import os import time import tensorflow as tf from experiment import DRSCExperiment from utils import config, const, logging __author__ = 'Jayeol Chun' FLAGS = None def run_bert_classifier(log_file): import sys import subprocess pythonpath = "PYTHONPATH=." pyth...
[ "chunjy92@gmail.com" ]
chunjy92@gmail.com
3d6a6879edec4d9731cae652011bf837f8f4f75b
14331099e9c126106edf498f39b5470042398f40
/donors/managers.py
b7a020a92bcf26057b0066c4124280f6498643bc
[]
no_license
Bclayson/olive-branch-rescue-backend
9262ede4c1ac4dde744b1fbca09303bc595fff18
c754a8d2b8458c0cb39d3b48f278ad6946dd0acd
refs/heads/master
2016-09-06T01:31:42.047846
2015-09-10T05:26:43
2015-09-10T05:26:43
42,223,956
0
0
null
null
null
null
UTF-8
Python
false
false
611
py
__author__ = 'administrator' from django.db import models class DonorManager(models.Manager): def multi_donation_donors(self): return self.get_queryset().annotate(donations=models.Count('donations')).filter( donations__gt=1) class MultiDonationDonorManger(DonorManager): def get_queryset(...
[ "jkdclayson@gmail.com" ]
jkdclayson@gmail.com
b4e6f9f2c724bc87f321082cda8bdaac8d4a4692
1765f91f967adf2a7957e2e71792d05551159f12
/node_modules/node-sass/build/config.gypi
c4a814ecc35c18631e734dcf1e2e01bd5fa2257e
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
spielerx/gulp-sass-iojs
c603894adc9933c2a628345748a06101266d818a
40a969b93acce0a96c2ac12edf9d56a8d5d800d4
refs/heads/master
2021-01-01T16:49:45.981485
2015-01-19T22:15:22
2015-01-19T22:15:22
29,499,332
2
0
null
null
null
null
UTF-8
Python
false
false
1,203
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "host_arch": "x64", "icu_small": "false", "node_install_npm": "true", "...
[ "spielerua@gmail.com" ]
spielerua@gmail.com
d4a9675e970838a73d215357588ced6a9c29368a
8e09c8ad0174d6c8ef9cc0443edc145268f6f9ab
/prova_1_cm.py
ddff7c74535b6d860da13dd7a78dfa57bd9d97c1
[]
no_license
JoaoPedrodeAraujoS/Jo-o_Pedro_e_Tarc-sio_Prova1_Cinem-tica_dos_Mecanismos
80a89b7970f32ac3adb0d496f4882b0a185aceed
848f026488d508a9ec324c8c7e8bee4d5e863985
refs/heads/main
2023-06-22T17:24:48.773245
2021-07-15T04:45:38
2021-07-15T04:45:38
386,163,611
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
# -*- coding: utf-8 -*- """Prova_1_CM.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1rBiV77qkgMdrnrIKJtSNr7wMCB4eSO0i """ import numpy as np from numpy import pi, sin, cos, sqrt from sympy import * from rich.console import Console s=True while...
[ "joaopedroaraujo1215@hotmail.com" ]
joaopedroaraujo1215@hotmail.com
e3c2c08a2791db14b4f9716a57c46b5fa2c23664
4009f2b3a7af5dba610eb1b1b90d29a637239396
/Farfetch/spiders/farfetch.py
d3e6c15038a63ccd904cb916b9cca2ca4d585000
[]
no_license
xulichen/farfetch
d06d5f073da3ac999f8a940becce9c06ba786c39
9d64e9dda57c909a88784fd532e734ffb4360df9
refs/heads/master
2021-07-15T15:07:24.635109
2017-10-22T08:33:06
2017-10-22T08:33:06
107,849,597
1
0
null
null
null
null
UTF-8
Python
false
false
2,727
py
# -*- coding: utf-8 -*- import scrapy import re import json import requests from Farfetch.items import FarfetchItem class FarfetchSpider(scrapy.Spider): name = 'farfetch' allowed_domains = ['www.farfetch.cn'] start_urls = ['https://www.farfetch.cn/cn/shopping/women/anya-hindmarch-loose-pocket-small-eyes--...
[ "306084800@qq.com" ]
306084800@qq.com
0e1ad27c1f5a0f89ea84c3781e2cb007d792b4c6
5eb9aceb25bd85f441bef5ad6ff57167d4bd0e32
/nram/main.py
e489afbf89ee7c2d7ab0bc2b78eeb1f7f9428d31
[ "MIT" ]
permissive
mjvogelsong/tf-neural-ram
8773b3eb661b36ce831899cb59299cda7cf72ead
abe64291ffc99ceb2b114d098ee62c7c7bc4b3fd
refs/heads/master
2016-09-14T10:38:23.097910
2016-04-29T17:00:44
2016-04-29T17:00:44
57,399,790
3
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
import os import pprint import tensorflow as tf from nram import model flags = tf.app.flags flags.DEFINE_integer("epoch", 25, "Epoch to train [25]") flags.DEFINE_string("checkpoint_dir", "ckpt", "Directory name to save the checkpoints [checkpoint]") flags.DEFINE_string("sample_dir", "samples", ...
[ "mjvogelsong@gmail,com" ]
mjvogelsong@gmail,com
dc9d7bf8760b40a3020bd930fe03d6d4daeaa2fa
50aefc9656bb8e4136ff51f9366e0a6fe178f7f5
/python/examples/onnx/onnx2lbann.py
f73f341e6c0f64358232f8378060a49ad98ba6c1
[ "Apache-2.0" ]
permissive
JaeseungYeom/lbann
76f3875d4bb3e7d071d3c044a34f4721348e9c0a
e9a31b509d22fe4e53b03cf43de829b7eb6f7dd8
refs/heads/develop
2022-11-06T00:10:45.723233
2022-05-02T22:41:02
2022-05-02T22:41:02
118,492,507
0
0
NOASSERTION
2019-02-11T17:55:43
2018-01-22T17:44:13
C++
UTF-8
Python
false
false
3,833
py
#!/usr/bin/env python3 """ Convert an ONNX model to a LBANN model Run "./onnx2lbann.py --help" for more details. """ import argparse import onnx import google.protobuf.text_format as txtf import lbann.onnx.o2l from lbann.lbann_proto import lbann_pb2 dataLayerName = "image" labelLayerName = "label" probLayerName = "...
[ "17844184+oyamay@users.noreply.github.com" ]
17844184+oyamay@users.noreply.github.com
6eada64ab0a377e22fa71f54b4d2fae8f2673db0
85705c4d00de82da00117058b3c6ba0d85f00ada
/manage.py
987397ede1373c899837e7cd43912385695fc8ef
[]
no_license
Khemrajubale/djangorestone
2c55e24d0a52ac34ac1d8d06f57e3d3a6aed9c07
7d2d0be531983e807daaca77834a06b070cd7d05
refs/heads/master
2023-07-11T16:06:43.064928
2021-07-22T06:39:33
2021-07-22T06:39:33
399,379,858
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'api_example.settings') try: from django.core.management import execute_from_command_line ...
[ "kubale@deloitte.com" ]
kubale@deloitte.com
53fdbce3e511452d5876353915a1803d7daf8286
5a8ecdb9b9dcb368b906666c572c52b432320435
/autoweb/WebPages/BasePage.py
5c7ba1e8296abfb66089ddde343c8586a73b7e74
[]
no_license
Life2short/python-webUI
3bfb245d7955c77a4aebe541316261cf4b3e120c
8b6ad91bb11ba2127b428187a37ed33caec64115
refs/heads/master
2020-03-11T09:17:34.847988
2018-04-24T11:12:12
2018-04-24T11:12:12
129,906,425
0
0
null
null
null
null
UTF-8
Python
false
false
7,745
py
from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.common.exceptions import StaleElementReferenceException from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by...
[ "296278505@qq.com" ]
296278505@qq.com
f9f75ef1594181d3bfa18a88bdb0291d5d66b770
2c565dadbf0f02fe0f08c2b2111bf71140a018dc
/convert.py
47f7d78c53a21d89a8e24ea0245ae57015705dd7
[]
no_license
nottrobin/discoursifier
e30396df2c13e9a9481149ac9f2f2cd6e820fddb
b803900b676ea56e9bced58044662c35f0616a42
refs/heads/master
2020-04-22T09:52:55.556816
2019-02-12T09:05:08
2019-02-12T09:05:08
144,270,341
0
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
#! /usr/bin/env python3 from glob import glob import markdown import re import json filepaths = glob("**/*.md", recursive=True) def convert_notifications(content): """ Convert old-style notifications: !!! Note "title": this is some note contents Into new style: [note="...
[ "robin@robinwinslow.co.uk" ]
robin@robinwinslow.co.uk
aae3482d533ac325cf980331aa0c2e91802bc44c
625daac7e73b98935f9fe93e647eb809b48b712e
/Arcade/The_Core/isSmooth.py
3866fb0c2934491668610ab80dcd586c71aad324
[]
no_license
aleksaa01/codefights-codesignal
19b2d70779cc60f62511b6f88ae5d049451eac82
a57a5589ab2c9d9580ef44900ea986c826b23051
refs/heads/master
2022-03-15T04:46:40.356440
2019-12-08T15:41:37
2019-12-08T15:41:37
112,034,380
1
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
def isSmooth(arr): first = arr[0] last = arr[-1] if len(arr) % 2 == 0: middle = arr[len(arr) // 2 - 1] + arr[len(arr) // 2] else: middle = arr[len(arr) // 2] return first == middle == last """ We define the middle of the array arr as follows: if arr contains an odd number of el...
[ "some12curious@gmail.com" ]
some12curious@gmail.com
e121a01f788139af3194361adf0a606a9a82e855
90996e6b9be1d3c075dd60b50979aa686c4c1e95
/product/migrations/0008_auto_20191027_1133.py
67e9b298af893029b90478b7bf479a01810da41f
[]
no_license
X-Gen1913/Shopping-Cart
8e532b0ac226c913cc8b4fddaa41dcf609d90df7
48733de9c3b1af61aa321a953beeb81a3d0b9903
refs/heads/master
2022-08-22T09:42:29.445921
2020-05-27T13:58:35
2020-05-27T13:58:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
# Generated by Django 2.2.6 on 2019-10-27 11:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0007_auto_20191027_1018'), ] operations = [ migrations.AddField( model_name='order', name='is_ordered', ...
[ "nehalsuperdude@gmail.com" ]
nehalsuperdude@gmail.com
7d722382e8bfef6063bb55f71c7f2b41b3b8d887
1ea832f24acf39c7b393313ff85c5a1ce80a7d44
/tests/test_models/test_place.py
403cce396b95318b93f9e830e56fa9448ad1152a
[]
no_license
Zararthustra/AirBnB_clone
5d0919a866db69d544318e87f5e6c8e3ad05377e
24dcadc7f0fb749bd2c51feb52730daef134a51d
refs/heads/main
2023-03-11T14:33:59.093226
2021-02-27T01:07:39
2021-02-27T01:07:39
337,650,102
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
#!/usr/bin/python3 """ Place unittest """ import unittest from models.place import Place from models.base_model import BaseModel class TestUser(unittest.TestCase): """ Place unittest """ def test_class(self): """ test if the object is a type of Place """ obj = Place(...
[ "gautier.chuinard@lilo.org" ]
gautier.chuinard@lilo.org
55ba25959b5ce1e24d211f4c88c0cc10b9533070
0bbdcd6b840b9a0d5d86dad55b81a740465a1829
/b2c_app/view/payment.py
5a1371586eabf5308c6ba60aa58e3e7e016b6861
[]
no_license
adityasharma263/stay_b2c
b43f1f59e1f512f3c355e926ca346496d5d7e08e
cc1d82057082280c280ce7779ce0356b5338308a
refs/heads/master
2022-07-08T02:23:21.345141
2020-01-30T00:32:50
2020-01-30T00:32:50
202,761,638
0
0
null
2022-06-21T22:32:07
2019-08-16T16:24:02
HTML
UTF-8
Python
false
false
2,978
py
import logging, traceback import hashlib import requests import urllib import json from b2c_app import app from flask import render_template, request, make_response, jsonify, abort, redirect, session, url_for from random import randint @app.route('/payment', methods=['POST']) def payment(): if request.method == '...
[ "aditya.sharma263@gmail.com" ]
aditya.sharma263@gmail.com
2d067145c260ae964714f36774be0525fa8c1531
5b6c50f36a935742fe03e302d614e75c73ef9f1a
/ref/4-5 位运算符的使用演示.py
d05a2b1c3aa502c791f0a2238797f8c9cd4e974d
[]
no_license
wssunn/Python-Language
0efa20f88b5b754032e2a5dbffcf0f8739948ec0
c51f76ab1c26299b8f2f829c4a43877c0b327f68
refs/heads/master
2022-07-16T13:30:07.669589
2020-05-19T14:07:18
2020-05-19T14:07:18
261,715,290
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
# -*- coding: utf-8 -*- """ Created on Wed Mar 14 16:22:19 2018 @info:《python带我起飞——入门、进阶、商业实战》配套代码 @author: 代码医生 qq群:274962708,公众号:xiangyuejiqiren @blog:http://blog.csdn.net/lijin6249 @ex:推荐阅读《深度学习之TensorFlow入门、原理与进阶实战》 """ a=1 b=3 print(a&b) #按位与,输出:True print(a|b) #按位或,输...
[ "sunning@sunningdeMacBook-Pro.local" ]
sunning@sunningdeMacBook-Pro.local
34f1e6ab92cfc7900c0cc4506201f4c0aada2af1
757d195cb148cd47bc09aeadb4f7ab5dd5fcde6e
/Maths Software/triperim.py
75a089d5cb5de0fcc86a66e349fa57e54cd10687
[]
no_license
rneil06/PythonMathsSoftware
70ed82d9448052dd3eda54908a6927507ca11088
fd0f785eb965724d1944a709d1b7d4fec8ea1a71
refs/heads/master
2020-08-17T09:04:10.644419
2019-10-18T10:31:45
2019-10-18T10:31:45
215,642,514
2
0
null
null
null
null
UTF-8
Python
false
false
379
py
print("Enter 'x' to go back. ") len1 = input("Enter lenght of first side: ") if len1 == 'x': import MHOME else: len2 = input("Enter length of second side: ") len3 = input("Enter length of thir side: ") length1 = int(len1) length2 = int(len2) length3 = int(len3) perimeter = length1 + length2 ...
[ "noreply@github.com" ]
rneil06.noreply@github.com
66e4f5792c5edbb61f1237a1a2507da1fd9d74eb
3e88024b0aa9abd1158ee16ef9cdb53303a0846a
/Strings/LongestCommonPrefix.py
e5db8f89fad350a20c9e6afa4677ba4fabb695da
[]
no_license
SuryaSudharshan/LeetCodeSolutions
b45660a7cac05c9e75dc12a723c19ba57521cb90
bdd11477b9ca8a43ffdeed7194a24bb8091e7475
refs/heads/master
2020-05-19T17:25:59.787715
2019-05-06T06:07:50
2019-05-06T06:07:50
185,133,786
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
class Solution: def longestCommonPrefix(self, strs: List[str]) -> str: if strs == []: return "" prefix = strs[0] for s in strs[1:]: less = min(len(prefix), len(s)) prefix = prefix[:less] for i in range(less): if prefix[i] != s[i...
[ "surya.sudharshan1994@gmail.com" ]
surya.sudharshan1994@gmail.com
5e8be4fd0141f72deaee474f4ff2276d6c1bc8cf
4c068dc1cb754df2ea00d690c36e5a77b0e73235
/python/snowballing.py
a537ef8b9051243b5feda4efa76a260973094dcf
[]
no_license
gonzalezmorales/my_slipbox
5f2955aecbdd5edc0309e32a7952546d3c2e9ae6
4398f16f0f8c4444b2a2f64ef01f3e43751d63ef
refs/heads/master
2023-01-22T05:19:48.168836
2021-05-02T23:04:59
2021-05-02T23:04:59
247,828,385
1
0
null
2023-01-06T13:29:45
2020-03-16T22:28:11
Python
UTF-8
Python
false
false
1,907
py
from operator import itemgetter import networkx as nx # The following is based on Zinoviev, Dmitry. Complex Network Analysis in Python . Pragmatic Bookshelf. Kindle Edition. SEED = 'NwHayaCP' todo_lst = [(0, SEED)] # The SEED is in the layer 0 todo_set = set(SEED) # The SEED itself done_set = set() # Noth...
[ "gonzalezmorales@un.org" ]
gonzalezmorales@un.org
0a097e7aac62b21c0496f0d8fec0473eddbf2db9
6fb9da0cd0fc7dde3d730a05d5dbfcc95f26b867
/process_changes_test.py
3f4bbaaca9916a4a1f72d2a4291733a8f764d8f9
[]
no_license
wade12/ProgrammingForBigDataCA3SpellChecker
882eb91881205c545fe035ad09e75b76e014d118
03284d938aa68f61da5b3cb0e4e55f1e7719d29d
refs/heads/master
2020-12-24T21:22:05.121513
2016-04-14T10:40:14
2016-04-14T10:40:14
56,229,086
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
import unittest from process_changes import * class TestProcessChanges(unittest.TestCase): def setUp(self): self.commit = Commit() def test_get_commit_comment(self): self.assertTrue( self.commit.get_commit_comment >= 0 ) self.assertFalse ( self.commit.get_commit_comment < 0 ) ...
[ "wadetaylor@engineer.com" ]
wadetaylor@engineer.com
4a2196a9ecc0a0210ca916a9f75a99c30dd18bba
c268dcf432f3b7171be6eb307aafbe1bd173285a
/reddit2telegram/channels/~inactive/comedynecrophilia/app.py
32bb06036f62836443d6cbaa929a8408c8d36c71
[ "MIT" ]
permissive
Fillll/reddit2telegram
a7162da2cc08c81bcc8078ea4160d4ee07461fee
5d8ee3097e716734d55a72f5a16ce3d7467e2ed7
refs/heads/master
2023-08-09T10:34:16.163262
2023-07-30T18:36:19
2023-07-30T18:36:19
67,726,018
258
205
MIT
2023-09-07T02:36:36
2016-09-08T17:39:46
Python
UTF-8
Python
false
false
155
py
#encoding:utf-8 subreddit = 'comedynecrophilia' t_channel = '@comedynecrophilia' def send_post(submission, r2t): return r2t.send_simple(submission)
[ "git@fillll.ru" ]
git@fillll.ru
7a69ab2b1e9995247ed2756773d1d9f7a656de28
fcb4a07f27494497ef03e157de7ab50fa4e9375f
/core/admin.py
e76cfa38f98048dcac69da644072a4683ef1269b
[]
no_license
21toffy/IMA
2ff452025fad908270d2aab0bafa3ee4c26c7710
03770d49578817e1466cedc8e09df1840f5349b0
refs/heads/master
2023-03-02T02:15:58.778086
2021-02-14T16:08:01
2021-02-14T16:08:01
298,578,125
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from django.contrib import admin from .models import HomeView from .models import ViewCount admin.site.register(HomeView) admin.site.register(ViewCount)
[ "oketofoke@gmail.com" ]
oketofoke@gmail.com
6aff682ebcf0a83bfa5ad21f7124353f39d9b3a7
b05eed2472c31f42d5d573799c91750b391e1eeb
/practice.py
69d753350512123dd36c17e05ad6f986507ad932
[ "MIT" ]
permissive
N5nissy/chibi
11c1a3d67c6849f30bc35f11c477eff2e2f3ca5a
8a2f54513146e2c5363f8e2354c7efec811af1e0
refs/heads/master
2020-08-03T14:57:56.707807
2020-01-23T07:39:34
2020-01-23T07:39:34
211,793,263
0
0
null
2019-09-30T06:43:58
2019-09-30T06:43:57
null
UTF-8
Python
false
false
103
py
a = [int(input()) for _ in range(3)] b = [int(input()) for _ in range(2)] print(min(a) + min(b) - 50)
[ "21716025@jwu.ac.jp" ]
21716025@jwu.ac.jp
eee418fe153706ae3d9dd9fda9b49db7141d3e24
d6c3c47687e58527c9e6408e7719a8c9649dadde
/Python_code/import data.py
3cc6c2b63242097a2a40097928b8209f6cbfd49e
[]
no_license
jtgerson/AMZN
553c49475c50ca6fd5f808b55515ea4bf726d0d4
eb72179445ad0f44344eb17fc7b3ec579fcb6c2d
refs/heads/master
2021-05-16T01:37:53.279809
2017-10-16T21:25:07
2017-10-16T21:25:07
106,310,422
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
import csv f = open('C:/Users/jggerson/Desktop/HP.csv') csv_f = csv.reader(f) for row in csv_f: print (row) f.close() import pandas as pd import numpy as np df= pd.read_csv('C:/Users/jggerson/Desktop/HP1.csv')
[ "32581153+jtgerson@users.noreply.github.com" ]
32581153+jtgerson@users.noreply.github.com
ef69fe98e99a419fe0fd3402ebe3b5fe20148913
7acaab9a153db7db93f8db15e30d21509c8a8e65
/Django/django-rest-framework/admin_users/addresses/views.py
6144bb8d0836c451e9065b40887a301adde672a8
[]
no_license
MDellag/Python
d2d52bcebf2d54f9debd6098bbdbc6cbf3928150
0eb35ca7801eec21f9a04c0f45517855bb5b6896
refs/heads/master
2022-07-02T06:49:38.605673
2022-06-18T17:51:33
2022-06-18T17:51:33
235,699,204
0
0
null
2022-02-22T22:51:22
2020-01-23T00:59:00
Python
UTF-8
Python
false
false
444
py
from rest_framework import viewsets, permissions from admin_users.addresses.models import Address from admin_users.addresses.serializer import AddressSerializer # Create your views here. class AddressViewSet(viewsets.ModelViewSet): """ API endpoint that allows users to be viewed or edited. """ query...
[ "mauricio@globalmeaning.com" ]
mauricio@globalmeaning.com
cdfdc773e70760b03f443973ca6f30bc13db80e8
1ef06063a4dd7160d307a41da769058f595e9898
/blog/urls.py
f6a5427e93d4646464c642c5ef17b5b855d20782
[]
no_license
gilsongindrejr/Blogpy
32cb64f63f603257be895699e387ee02248a3c41
b2cc63434f6de2f21ef50f3ea0d17603585ab5f8
refs/heads/main
2023-08-24T22:57:27.323228
2021-11-05T14:22:36
2021-11-05T14:22:36
410,976,196
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
"""blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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-based vi...
[ "gindrejunior@hotmail.com" ]
gindrejunior@hotmail.com
270777b3ad04ea5fef8634c1b14d66f7f9a4776b
a63d91c5cec9be20c1c64142f08f95d001181091
/week01/task02/spiders/maoyan/spiders/maoyan_movies.py
171ccc673baba41d94991c031d86b3c23c5b2346
[]
no_license
Z-Clark/Python001-class01
5b8d5e81d2ac22128e4b047e9b57f188d698c691
996f883c334c039e5f19f6c27a327c3e60b4e4f4
refs/heads/master
2022-12-31T12:27:48.297650
2020-10-21T02:36:40
2020-10-21T02:36:40
276,597,941
0
0
null
2020-07-02T08:58:25
2020-07-02T08:58:25
null
UTF-8
Python
false
false
2,060
py
import scrapy from maoyan.items import MaoyanItem from scrapy.selector import Selector class MaoyanSpider(scrapy.Spider): # 定义爬虫名称 name = 'maoyan_movies' allowed_domains = ['maoyan.com'] # 起始URL列表 start_urls = ['https://maoyan.com/films?showType=3'] # def parse(self, response): # pass...
[ "909272767@qq.com" ]
909272767@qq.com
1c65de719892b0e3c95933a6e47d633dd206ae79
d3d5bb6eb2bf1d4d592872c5c75f86557d65b6a1
/nums/experimental/utils.py
3a49a2d00b069d5681c942e850d2d5d138ca8628
[ "Apache-2.0" ]
permissive
liuhanyao98/nums_gpu_draft
5a018a92c88c21965a5405ab86ed10f1d506c4e1
48df59afe605f02ea2bd609c5f9e0006fbc27a5d
refs/heads/main
2023-04-08T00:05:59.076104
2021-03-25T04:25:51
2021-03-25T04:25:51
343,593,142
0
0
null
null
null
null
UTF-8
Python
false
false
1,911
py
import os import gc def check_block_integrity(arr): for grid_entry in arr.grid.get_entry_iterator(): assert arr.blocks[grid_entry].grid_entry == grid_entry assert arr.blocks[grid_entry].rect == arr.grid.get_slice_tuples(grid_entry) assert arr.blocks[grid_entry].shape == arr.grid.get_block_s...
[ "hanyao.liu98@gmail.com" ]
hanyao.liu98@gmail.com
aa4ae4645bd75fa85f73bee597894e82e3e0ac43
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/test_basic_gru_unit_op.py
ae3e6dc4f77d2653909e2ea5e62135ab3859e314
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
4,838
py
# Copyright (c) 2019 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
ba3708d90a4631c1947463207fd55ccaa6c9a973
808fbcee02b08b5c89e1af14cebbe1cb3280d8f5
/jobsapp/forms.py
f7675d0ba0f1577435292b8274f14ddaf4575a6a
[ "MIT" ]
permissive
daniel10027/Django-Recrutement
14f1aaa788e2887703caf322b627aebdf66a9a89
70d86570d9323db0765ae3a313e8d82b1ced4ef2
refs/heads/master
2022-12-12T12:29:44.526654
2020-03-31T23:41:39
2020-03-31T23:41:39
252,023,029
2
0
MIT
2022-12-08T03:56:52
2020-03-31T23:35:43
HTML
UTF-8
Python
false
false
805
py
from django import forms from jobsapp.models import Job, Applicant class CreateJobForm(forms.ModelForm): class Meta: model = Job exclude = ('user', 'created_at',) labels = { "last_date": "Last Date", "company_name": "Company Name", "company_description"...
[ "fabianaduval99@gmail.com" ]
fabianaduval99@gmail.com
7a6a61c44bb4e6e43038823fc2ef01793c1f76ee
a6d77d00163b80dfb6d34ee254f9ba049290e43e
/fabfile.py
c58c9178b11c15c41c67b72a520ac88bcb192822
[ "Apache-2.0" ]
permissive
tswicegood/armstrong.core.arm_layout
6f1cf6c9dc2c9a4030348fa88972eb8a57682705
70850a3068660b51a93816e83ecee73637c781c0
refs/heads/master
2021-01-16T21:04:18.735887
2011-07-20T20:33:59
2011-07-20T20:33:59
2,080,221
0
0
null
null
null
null
UTF-8
Python
true
false
365
py
from armstrong.dev.tasks import * settings = { 'DEBUG': True, 'INSTALLED_APPS': ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'armstrong.core.arm_layout', 'lettuce.djang...
[ "development@domain51.com" ]
development@domain51.com
ec6575f78763c52bd8ac10b13a907ab6700a134a
04e6066a99c2d0eefd46439e16959c64436874f4
/BeginnerProjects/tuples.py
a491220fe0f26c65e30380d41fceaa1c881b2022
[]
no_license
Saumay-Agrawal/Python_code
cf6a82a572aa0dd2a40948c69d6315d6b4da49ad
6c0838535e18942a9f7980b294ba30b63c259302
refs/heads/master
2021-01-24T18:38:13.699784
2017-03-20T13:07:57
2017-03-20T13:07:57
84,460,048
0
0
null
null
null
null
UTF-8
Python
false
false
1,829
py
# '''Working with Tuples.''' # # tuple1 = 'a', 'b', 'c', 'd', 'e' # tuple2 = ('a', 'b', 'c', 'd', 'e') # # tuple(iterable) # t = tuple('abc') # t2 = tuple([1, 2, 3]) # t3 = tuple() # print(tuple1) # print(tuple2) # # tuple3 = ('a',) # tuple4 = ('a') # print(type(tuple3)) # print(type(tuple4)) # # print(...
[ "saumay.agrawal@gmail.com" ]
saumay.agrawal@gmail.com
0a453935234c6bb4d0b69a7ec118920ae7f35a1b
27f8d273857fee03ba8071d4a0e6d2e95ea1890d
/Week_12_list_vs_dict.py
ae724af172ecd46007338e2caee1ba952f2d8cba
[]
no_license
oyedeloy/chuck_52_weeks_of_python
3b2c2f6854fb7b3400eda403c829ad4b68f6a471
6ce6b6b09f20f0ac359a297b4eb0eace7ec0e872
refs/heads/master
2023-07-16T00:05:07.833947
2021-08-08T02:34:59
2021-08-08T02:34:59
393,837,941
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import time from tabulate import tabulate from utility import create_devices # --- Main program -------------------------------------------- if __name__ == '__main__': devices = create_devices(num_devices=254, num_subnets=254) # Create dictionary pointing at those same devices devices_dict = dict() ...
[ "oyedeloy@gmail.com" ]
oyedeloy@gmail.com
6d98ad26adf48c6aacf78b9e5ddb609f4bcdf3ef
123e7db7e36edf5ea8864c03b420a3b8903bf8ba
/src/train_softmax.py
3db6b022379e1699b55a39810e53de2ce129d9d5
[ "MIT" ]
permissive
thiago1080/Facenet128
8ea43aa0448b8b1a2c0c9a6da0c5eae2df37e0a2
2903731808d67facebc9bc7447fe395cf428cd96
refs/heads/master
2020-04-02T11:33:15.867391
2018-10-23T19:22:14
2018-10-23T19:22:14
154,395,175
2
0
null
null
null
null
UTF-8
Python
false
false
24,264
py
"""Training a face recognizer with TensorFlow using softmax cross entropy loss """ # MIT License # # Copyright (c) 2016 David Sandberg # # 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 with...
[ "thiago@gryfo.com.br" ]
thiago@gryfo.com.br
4a14662325b1b0f7783af8fcd1c35c50876d3fa0
99b65470aeb082b864c44694d9c51d3abfd38d86
/refresh_code.py
b5c5c68427e3408813537fa6eb80a2b4fbbfae3e
[]
no_license
DavideYang125/py_update_key_schedule
050caad0d31dd823519e00af8d87cad94aa576e2
d455d5f62890e3cdd8835bfcd4705805cb1682bd
refs/heads/master
2023-01-21T19:06:48.763978
2020-12-03T07:55:18
2020-12-03T07:55:18
318,116,145
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
#更新沙箱密钥 # coding=utf-8 import requests import xml.dom.minidom as xmldom import db_handle as db import redis_handle as redis #主方法 def main(): code = get_sandbox_key() if (len(code) > 0): print(code) update_db(code) print('数据库修改完成', flush=True) redis.del_key_data() print...
[ "dayang_techmail@163.com" ]
dayang_techmail@163.com
ff9ea866ff4b14d685a908c860c705eb0ba43a96
0a7223017a2e2f83fa15f5ffbe2355c92ab1e62d
/landscapes_assignment/settings.py
399c2d01e8c170cc8c50b4e0f117d1558955e1cc
[]
no_license
mazurbeam/landscapes
7d033dad59e3cbceae1c2ca563de726f5286ae48
94085cf5cc8f7f40a93c4d4bb5ab652a87bfa448
refs/heads/master
2021-01-01T15:26:38.899601
2017-07-18T15:43:59
2017-07-18T15:43:59
97,616,642
0
0
null
null
null
null
UTF-8
Python
false
false
3,162
py
""" Django settings for landscapes_assignment project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ ""...
[ "mazurbeam@gmail.com" ]
mazurbeam@gmail.com
96afb5b271a33884acce4873fd5cfb1500777b24
381389c9be65b5c73285f8272fe6ed5af0df2d68
/Web/autofarm/frame/shop/sql.py
7f3a27573ce045caeabd6de8394d889fc134860b
[]
no_license
cladren123/AutoFarm
96e3a5e2c0bcf8c7363293e4b64c07c0c229da12
27dc48d8925f713197316f2d12b6c9a331e3ce43
refs/heads/main
2023-06-09T11:41:56.945505
2021-07-02T00:07:17
2021-07-02T00:07:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
class Sql: selectall = "SELECT * FROM shoping"; selectbyid = "SELECT * FROM shoping where itemid = %d";
[ "woorim1022@naver.com" ]
woorim1022@naver.com
260e6f319122fd16852afe75e993a3b69b74bc48
35ecaa6e3f611e57a243df02224118c98ca506d3
/group_app/migrations/0002_auto_20210428_1424.py
49553b4ad14a88435d4d7edc2f5806d6a10f7535
[]
no_license
srohrbach18/group_project
dfdfce72ef0439b8be834d54789bbab8729856b3
d89f8a1ea178e987bee0348aae5015dee7ff004a
refs/heads/main
2023-04-16T01:03:00.538372
2021-05-01T06:06:30
2021-05-01T06:06:30
359,694,290
0
1
null
2021-05-01T06:06:31
2021-04-20T05:26:57
HTML
UTF-8
Python
false
false
634
py
# Generated by Django 3.1.7 on 2021-04-28 14:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('group_app', '0001_initial'), ] operations = [ migrations.AlterField( model_name='item', name='id', field...
[ "mysamari@gmail.com" ]
mysamari@gmail.com
f2237bc6928349434da33767e62e180754beb83d
0a32b2be429b53c2fc14bd901b9247d99f9e2cea
/miproyecto/miproyecto/apps/cliente/urls.py
699d47590c916fee36f215ad758b6dfe8ec188aa
[]
no_license
Marzero/lerolerogit
ff52010ae784fdc8fec8ba21001729a35ed02c46
c27d2505b33001c8adcd918e5f2b3d5e07070de8
refs/heads/master
2020-05-02T04:33:33.401197
2014-05-29T06:20:21
2014-05-29T06:20:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
from django.conf.urls import patterns, include, url from .views import * urlpatterns = patterns('', url(r'^registrocliente/$',registrarcliente), url(r'^clienteregistrado/$',registrodeclienteexito), )
[ "torero_le@hotmail.com" ]
torero_le@hotmail.com
cd0a793e77b524b520b11525c48fe38072b95a38
12747304dbdfced3ac425870c2c0f680ae3db26e
/home/views.py
0d725529fe113a485945fec3f2f5c421b4d83fa3
[]
no_license
Rudresh17/jarvisr
c0079333691092cc55171c757b6f1dfc8a3a1eb6
9ce0d1d96545bcd150b3533f508f1d764870e0ef
refs/heads/master
2020-03-28T18:23:46.240550
2018-09-15T06:58:11
2018-09-15T06:58:11
148,877,980
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
from django.shortcuts import render from django.http import HttpResponse from urllib.request import urlopen from bs4 import BeautifulSoup from newsapi import NewsApiClient from login.forms import todo # Create your views here. def index(request): if request.method=="POST": form=todo(request.POST) ...
[ "rudreshlegend@gmail.com" ]
rudreshlegend@gmail.com
38490fa96e610887f7cb9048a4ea33d4a6aefaea
d9a634f3788a08e4dd02745e6764a9e56c4b2fd9
/test/functional/p2p_filter.py
e7f81e9d86d5789724d2aa4774f979b321bb29f4
[ "MIT" ]
permissive
hhhogannwo/MAGA
b7f19314cb32d6db064c3caa9324c3386a6c3f2a
cb81907eb1e5a87669a8244d8657041aa8456328
refs/heads/master
2022-03-04T03:07:28.167818
2022-02-17T02:01:27
2022-02-17T02:01:27
172,364,824
2
0
null
null
null
null
UTF-8
Python
false
false
10,024
py
#!/usr/bin/env python3 # Copyright (c) 2020 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ Test BIP 37 """ from test_framework.messages import ( CInv, MAX_BLOOM_FILTER_SIZE, MAX_BLOOM_H...
[ "noreply@github.com" ]
hhhogannwo.noreply@github.com
76f540c57838fd46af0c74ceabfb52b82a94307c
2b3c0d1ce1ca6dcb7c920d455b7badb90b791431
/get_imgs.py
728a03cc5f108c6cae95c8d23fcca249e62a8b5c
[]
no_license
AdamAlgaert/blarg_data
232584d2105da570848bd070aed2b9d4a81e5995
5cf244fe17f27d191b62965876f59c26d7da496c
refs/heads/main
2023-01-05T13:22:22.487681
2020-11-08T22:37:33
2020-11-08T22:37:33
310,143,785
0
0
null
null
null
null
UTF-8
Python
false
false
2,571
py
#!/usr/bin/env python import logging import requests import jmespath import shutil import os import sqlite3 import hashlib # bachmanetti spreadsheet (Screaped Responses) SPREADSHEET_SCRAPED_URL = 'https://spreadsheets.google.com/feeds/cells/1pD1or3qyg-PgT0Q_os-bTKwMr5WfoCY6CZ9AjAcpGqk/3/public/full?alt=json' # SCRAPE...
[ "adam.algaert@gmail.com" ]
adam.algaert@gmail.com
e335801c80610ea66bad0222f56c19778a0f4ad5
637827a36df755d30da3238ff65ebca49969f805
/src/explodingquantumbomb2.py
3782ca09dc609bf2fce3dd352d663a688d0c657c
[ "Apache-2.0" ]
permissive
peter-janderks/quantumbomb
ce9f7bb59a8bf2f363ccb3a1a7738a5e5e9ee025
38240dd7de77784b63c8bfb63f3f27aff82912f7
refs/heads/master
2020-04-08T09:24:20.895258
2019-01-13T17:37:25
2019-01-13T17:37:25
159,222,066
0
0
null
null
null
null
UTF-8
Python
false
false
1,591
py
from quantumbomb import quantum_bomb, rotation_angle, get_all_probabilities, pauli_error from projectq.ops import H, Measure, X, Rx, CNOT, Y, Z from projectq import MainEngine from projectq.backends._sim._simulator import Simulator def run_once_with_bombs_exploding(number_of_iterations, error_rate = 0.0): eng = M...
[ "noreply@github.com" ]
peter-janderks.noreply@github.com
2eb026b98860289123f4b2493b921fd31a5c0b89
7b9164e160b3f375c6ac28496617754aa8cf4a0b
/d_2018_1_4/two_sum.py
daf1cf85471a00cd2821bff95608c62eccec4bd0
[]
no_license
WhalesZhong/leetcode_fun
991854de2cb8075e1a092bd873d466a58db0216a
2e30ee0c29bd49a276224022df1168cc433685d1
refs/heads/master
2021-05-04T14:28:23.325897
2018-02-10T12:13:00
2018-02-10T12:13:00
120,202,101
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# coding: utf-8 def two_sum(nums, target): """ :param nums: :param target: :return: """ num_dict = {} for idx, num in enumerate(nums): if num_dict.get(num): num_dict[num].append(idx) else: num_dict[num] = [idx] for num in nums: other = ...
[ "whaleszhong@gmail.com" ]
whaleszhong@gmail.com
24df3bf14b679b0b6e9f7fc2a6a5cd313e4fffc7
2cd5a22deb3412c8ea383ae26b4c247123a70e64
/CPUTaskScheduler.py
fe0ef89932aff757c6898dcbc38ca31e39a48409
[]
no_license
plawanrath/Leetcode_Python
c6b69300bc0504ea55b7e8c7ac3a84c417d1c96a
0c657eef743fa508db79864e6b37c943e20d2bbe
refs/heads/master
2023-08-19T09:42:37.791274
2021-10-24T15:26:04
2021-10-24T15:26:04
259,187,158
0
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
""" Given a characters array tasks, representing the tasks a CPU needs to do, where each letter represents a different task. Tasks could be done in any order. Each task is done in one unit of time. For each unit of time, the CPU could complete either one task or just be idle. However, there is a non-negative integer...
[ "plawanrath@gmail.com" ]
plawanrath@gmail.com
2be6063f5f18d3857522aceedeaa90723d289765
ebe95c8b9e4e37489fa707842383ca1b94597adf
/Python/les_6/lesson_6.py
dbead9cb32d8d17b943b51005223667fa184f36e
[]
no_license
Creator-17/First_python
a38373e986811466b67f78accb9f9cc4a4291a50
dc86a7f16e29cdb1c111d0e58200ca7ebed3167c
refs/heads/master
2022-08-29T21:27:57.779178
2020-05-27T19:56:27
2020-05-27T19:56:27
261,722,928
0
0
null
2020-05-27T18:34:01
2020-05-06T10:15:29
Python
UTF-8
Python
false
false
5,188
py
# task1---------------------------------------------------------------------------- from time import sleep class TrafficLight: __color = ['Красный', 'Желтый', 'Зеленый'] def running(self): i = 0 while i < 3: print(f'Светофор переключается \n ' f'{TrafficLight.__c...
[ "plushap17@gmail.com" ]
plushap17@gmail.com
e18febea8e663d537ea5d6644cbb8c6817b4b60d
0d6d94287c1a51a49dbfff2cdbcf9e45d2fc4a28
/API_server/migrations/0004_pizza_pizza_id.py
3c5a34531c46c5cd005c7dbf8501361875cdd412
[]
no_license
Lorik1999/API_Assignment_6
869a940a9dd90b0ac1bef43ee3f8dc461e5f7034
3d4dbca0165b35066dbbf347684b9918c9e2540f
refs/heads/master
2023-06-10T23:23:27.045795
2023-05-25T15:37:14
2023-05-25T15:37:14
370,786,152
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# Generated by Django 3.2.3 on 2021-05-24 17:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('API_server', '0003_alter_pizza_price'), ] operations = [ migrations.AddField( model_name='pizza', name='pizza_id', ...
[ "https://github.com/ovmo/titan.git" ]
https://github.com/ovmo/titan.git
fe2fde5a96da051185d794ab89c23150d40e55db
61302ec1330b29e06c01b0c6fcc8d11c3c70570e
/py.py
bcafb646488fe0f9d018604b697b351d0b08eca8
[]
no_license
artaka/jpg2png-master
8a99e774b6ee802eaab817897d1308204a826c12
c43733cb3bfda0c716d737da64ede2431cf39985
refs/heads/master
2020-05-17T14:04:46.112988
2019-04-28T16:42:45
2019-04-28T16:42:45
183,754,851
1
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
import os from PIL import Image inpng = './inpng/' pngs = './pngs/' injpg = './injpg/' jpgs = './jpgs/' mode = input("Какой режим выбираем?\n Jpg2png-1 \n Png2jpg-2\n") if mode == "1": #Jpg2png for file in os.listdir(inpng): #Есть ли файлы в папке if file: pngsname = file + ".png" ...
[ "noreply@github.com" ]
artaka.noreply@github.com
1d6d23ca4b07fa9ea47cddf4a29db00d629a4c56
7c081ac61722f11de1758c9701662f85c1bb802c
/pysigep/webservices/webservice_base.py
270eeb115b16b5f8f51c39007bedbef3ee9fb66f
[ "MIT" ]
permissive
trocafone/pysigep
8a3ad14febce45bc54aea721b481c87bfcd92f50
a899fb85e9195ac8686313e20c8bec7c03bde198
refs/heads/develop
2021-01-16T22:07:06.093299
2016-07-05T13:57:20
2016-07-05T13:57:20
62,578,970
1
0
null
2016-07-05T13:57:22
2016-07-04T17:40:17
Python
UTF-8
Python
false
false
2,803
py
# -*- coding: utf-8 -*- # ############################################################################# # # The MIT License (MIT) # # Copyright (c) 2016 Michell Stuttgart # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software...
[ "michellstut@gmail.com" ]
michellstut@gmail.com
286222e8889b5e5c13ad26ad93f8cf4a42044a5d
c497da80b3cde5c6ce8e9ef37f021b35bb5ae21a
/mapit.py
046066c12fea83b0b1e4739aac7f3113831f671e
[]
no_license
LoneMarvel/Learning-Python
765d1dc03caa26d097472ac1fe805c3e09434a22
eb85f4031d7619718cf653d906c40d2bc39f2b17
refs/heads/master
2021-01-01T05:13:09.766019
2016-04-28T08:49:52
2016-04-28T08:49:52
57,222,075
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
#!c:\python34\python import webbrowser, sys if len(sys.argv) < 2: print('Usage: mapit address') sys.exit() addr = ' '.join(sys.argv[1:]) print(addr) webbrowser.open('https://www.google.de/maps/place/'+addr)
[ "tinost@gmail.com" ]
tinost@gmail.com
079c862affe8e445280aaa0c46eb37b192e9b4c3
ffe59803cd35129ea317a53b2b4a754bfb9a200d
/longest_common_prefix.py
6591f14b796eff634370383a695dd8b356ff4109
[]
no_license
codyowl/leetcode
78a7a96c54d6592c34987620793eed3dcf1fe1fd
706924944c6b8d94a7247de13ffb9b1d715496fd
refs/heads/master
2020-06-16T10:19:09.477053
2019-08-30T13:37:14
2019-08-30T13:37:14
195,537,374
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
class Solution(object): def longestCommonPrefix(self, strs): """ :type strs: List[str] :rtype: str """ prefix_first = [] if len(strs) == 1: for data in strs: if len(data)>0: return strs[0][0] else: return "" else: none_finder = [data for data in strs if len(data)>0] if len(...
[ "codyowl@gmail.com" ]
codyowl@gmail.com
8a30718b02e5d683903f4fdeba779af7fc5dc3d8
d904ecb1cf65ffbd2bd0332b46ae3c90a9d96158
/1days/saiken.py
994fc44519495ddcd6e4f751108892a752f164eb
[]
no_license
EraSilv/day2
9e1b5573017a6c3e3a4afa3cc0d19de10fcc4d34
a1528897b150cd856d72e7ab387a1dbb5e0189ee
refs/heads/master
2023-06-04T00:09:18.992833
2021-06-28T11:45:36
2021-06-28T11:45:36
368,862,399
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
# LS = input("last name:") # FS = input("first name:") # age = input("age:") # address = input("address:") # region = input("region:") # print('') # print("Hello1:" + LS + ' ' + FS) # print("Age1:" + age) # print("Address1:" + address) # print("Region1:" + region) # print('') ponchik = '''I am Erlan, an 18 year...
[ "erlan2766@gmail.com" ]
erlan2766@gmail.com
a411a805935be4621ac029a27e8e50e2b72fb46d
8d50814974840a19d781162a16e5e1331e4a93f5
/cbow_example.py
b6786c66f8c6fa1138a7ca2ff5ac7b413785fa9f
[]
no_license
entradajuan/Embeddings
7774da37a133a69eef629c34d928d5153a0b8ce6
90d24a493270e2b299ba13a67330b17bf1d9fd39
refs/heads/master
2023-08-11T04:00:51.146247
2021-09-14T18:34:14
2021-09-14T18:34:14
373,590,310
0
0
null
null
null
null
UTF-8
Python
false
false
2,428
py
import tensorflow as tf import tensorflow_datasets as tfds # LOADING DATA imdb_train, ds_info = tfds.load(name="imdb_reviews", split="train", with_info=True, as_supervised=True) imdb_test = tfds.load(name="imdb_reviews", split="test", as_supervised=True)...
[ "entradajuan@yahoo.es" ]
entradajuan@yahoo.es
d0a5753e0dc9149645e3d476cd5ed65bb2db45cb
30eeca4d18bd863260882272cf391b1531dcc871
/Limits/test/runCombineSinglePoint.py
a7d5ff867174c6caf9afb58bad012a99f0966523
[]
no_license
decosa/Stat
3b1a5dabf563366b8117fbc56ceef338b719ad6e
10ba54677f401e574ed803bf739f714c5fd62338
refs/heads/master
2020-04-28T16:53:55.142130
2019-11-26T14:58:29
2019-11-26T14:58:29
175,427,511
0
6
null
null
null
null
UTF-8
Python
false
false
1,995
py
#!/usr/bin/env python import ROOT import subprocess import optparse from Stat.Limits.settings import * from Stat.Limits.combineUtils import runSinglePoint usage = 'usage: %prog [--cat N]' parser = optparse.OptionParser(usage) parser.add_option("", "--mDark", dest='mDark',type="string", help='signal point mDark'...
[ "decosa@t3ui03.psi.ch" ]
decosa@t3ui03.psi.ch
f7f16a07618c840f6425f461f21c59edfc396527
99bd4d4816e8968a325ea07c41ba2d350915afc9
/APIv3/Python/API3.py
9f404e93e9146b8f743668d9277f1364f1246956
[]
no_license
bmarlow/A10
ec644380d592891170019bc07a3d66c2a98ab827
6daf20ce1d6eba26e3440975310dffdce56c7338
refs/heads/master
2021-09-06T10:44:57.654246
2018-02-05T18:21:21
2018-02-05T18:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,850
py
import json import httplib class a10Device: JSON_INDENT = 4 AUTH_URI = "/axapi/v3/auth" LOGOFF_URI = "/axapi/v3/logoff" LEVEL_NONE = -1 LEVEL_ERROR = 0 LEVEL_HTTP_STATUS_CODE = 1 LEVEL_DEBUG_ALL = 2 def __init__(self, hostIp, userName = 'admin', ...
[ "brandon.n.marlow@gmail.com" ]
brandon.n.marlow@gmail.com
af32c19a05a7ba77388de6a5ca7225230bb65d65
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/pdMwiMpYkJkn8WY83_6.py
eb07438f90569faa3aa2f1d20414768ac52e5228
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
""" Write a function that **recursively** determines if a string is a palindrome. ### Examples is_palindrome("abcba") ➞ True is_palindrome("b") ➞ True is_palindrome("") ➞ True is_palindrome("ad") ➞ False ### Notes An empty string counts as a palindrome. """ def is_palindrome(wor...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a0a352972105b9487c9cd8a6f540e1686d09df59
f3bec987d2b81fd2625ea4265ffface26949f30c
/profiles/serializers.py
ea0bd59e33ce1e7cf93666d67016bce2bb27fde4
[]
no_license
anandhu-here/mesengo
177329d895693f37c01396d1816a7e27dea72b28
6c6f21af6ebd6d37629888de00365f238919afc4
refs/heads/main
2023-05-27T00:15:15.176520
2021-06-09T12:54:24
2021-06-09T12:54:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,354
py
from django.db.models.query_utils import Q from messenger.models import Conversation from django.db.models import fields from rest_framework import serializers from .models import Profile class ProfileActionSerializer(serializers.Serializer): id = serializers.IntegerField() action = serializers.CharField() ...
[ "anandhuuhere@gmail.com" ]
anandhuuhere@gmail.com
b87776d03301cf9cd4a5dbd6cedc5763d2a60525
1375f57f96c4021f8b362ad7fb693210be32eac9
/kubernetes/test/test_v1_subject_access_review.py
813eff18c4f80272dcd42bfa8903f85d0e4fa9b2
[ "Apache-2.0" ]
permissive
dawidfieluba/client-python
92d637354e2f2842f4c2408ed44d9d71d5572606
53e882c920d34fab84c76b9e38eecfed0d265da1
refs/heads/master
2021-12-23T20:13:26.751954
2017-10-06T22:29:14
2017-10-06T22:29:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys im...
[ "mehdy@google.com" ]
mehdy@google.com
9f9485d4d8b84ea56512f623d103aa2a35a1a322
006341ca12525aa0979d6101600e78c4bd9532ab
/CMS/Zope-3.2.1/Dependencies/ZODB-Zope-3.2.1/ZODB/FileStorage/fspack.py
24eaa776b4a3b4f3496260e9aeae91ce4db9d7d0
[ "ZPL-2.1", "Python-2.0", "ICU", "LicenseRef-scancode-public-domain", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "ZPL-2.0" ]
permissive
germanfriday/code-examples-sandbox
d0f29e20a3eed1f8430d06441ac2d33bac5e4253
4c538584703754c956ca66392fdcecf0a0ca2314
refs/heads/main
2023-05-30T22:21:57.918503
2021-06-15T15:06:47
2021-06-15T15:06:47
377,200,448
0
0
null
null
null
null
UTF-8
Python
false
false
25,676
py
############################################################################## # # Copyright (c) 2003 Zope Corporation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SO...
[ "chris@thegermanfriday.com" ]
chris@thegermanfriday.com
c1225ac0b8b80664c5c7e7d70b5f53f12f8fd153
0b3c5260cd5c33a1beccc5710a5d0fd097a5ea15
/anchore_engine/db/db_archivedocument.py
b13024780094cf487f4e5bfefd708f78d7b91e2c
[ "Apache-2.0" ]
permissive
omerlh/anchore-engine
fb2d7cb3d8bd259f6c973b450fbaa2c2e00497f0
669a0327f8baaee3f5c7c64b482909fe38830d80
refs/heads/master
2021-09-02T12:48:51.661648
2018-01-02T19:26:47
2018-01-02T19:26:47
116,236,136
1
0
null
2018-01-04T08:41:39
2018-01-04T08:41:39
null
UTF-8
Python
false
false
4,670
py
import time from anchore_engine import db from anchore_engine.db import ArchiveDocument # specific DB interface helpers for the 'services' table def add(userId, bucket, archiveId, documentName, inobj, session=None): if not session: session = db.Session our_result = session.query(ArchiveDocument).fil...
[ "nurmi@anchore.com" ]
nurmi@anchore.com
2aaf31265651a1a86a4a57fa4b00d31c00cd1627
4a56783361db4333e001079b5bafea433023eca6
/garminconnect.py
5454477f1a9bab7e5d0c0a7aa1df352360f14d04
[]
no_license
albertoivo/garmin-parser
75a5dcb54904c04fe5c45838a5df4022de7896fc
e75b0d22df9319a79724d3bb258bfeaef066819d
refs/heads/master
2023-01-06T05:45:05.291410
2020-11-04T18:44:11
2020-11-04T18:44:11
282,001,533
2
0
null
null
null
null
UTF-8
Python
false
false
13,068
py
# -*- coding: utf-8 -*- """Python 3 API wrapper for Garmin Connect to get your statistics.""" import logging import json import re import requests from enum import Enum, auto BASE_URL = 'https://connect.garmin.com' SSO_URL = 'https://sso.garmin.com/sso' MODERN_URL = 'https://connect.garmin.com/modern' SIGNIN_URL = 'ht...
[ "albertoivo@gmail.com" ]
albertoivo@gmail.com
43b344472615f646b0ab25b1af7b8b9be64f5cfa
1fe6e6accee255977f48ca08c14a5a05bc7c13ef
/google/cloud/vision_v1p1beta1/services/image_annotator/client.py
5ade38260dc97c1edc21fc813a2c08678b863cdb
[ "Apache-2.0" ]
permissive
yamorishintarou/python-vision
86f9526879193db585f0d85c5f0b8ae376a64b27
b1a21c62bbae3c62da1a95d3fddf88767103eca2
refs/heads/main
2023-08-23T04:13:44.333260
2021-11-03T08:06:52
2021-11-03T08:06:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,152
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 or...
[ "noreply@github.com" ]
yamorishintarou.noreply@github.com
a9b70bbae3ab62b2faa9e02be4c31be4dfd156f0
72232aec390f4bed11994738c67847d94dabbc5d
/TripletFaceDataset.py
9dca30ca7f7be83489c9a2ff3861185b7a7d3358
[]
no_license
Coga8/own_facenet
aac4cc743c872db9f51177a97181d7e67970c6ce
99c0b832b983da01c752be9afff2edc76bb2049a
refs/heads/master
2022-11-15T10:17:01.379014
2020-06-27T14:33:58
2020-06-27T14:33:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,728
py
from __future__ import print_function import torchvision.datasets as datasets import os import numpy as np from tqdm import tqdm class TripletFaceDataset(datasets.ImageFolder): def __init__(self, dir, n_triplets, transform=None, *arg, **kw): super(TripletFaceDataset, self).__init__(dir,transform) ...
[ "cmy11280505@gmail.com" ]
cmy11280505@gmail.com
af7ba8e8e73154777079efb45bb15c7385b578f1
7f9cb82ac4f9b02eece0e26af4dea2beae026c8c
/application/migrations/0004_member_is_ok.py
b603246644666f09ac9d7626829be7240a34c051
[ "MIT" ]
permissive
jessfishenden/imok
058d4fb1dcc5c64fb0d0a144b08dc7a2e32e6653
627f479ec04f5050d763afe3dc92a5d24b1a920c
refs/heads/main
2023-05-01T07:21:45.896880
2021-05-11T19:41:20
2021-05-12T16:56:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
# Generated by Django 3.1.6 on 2021-03-07 12:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('application', '0003_auto_20210207_1542'), ] operations = [ migrations.AddField( model_name='member', name='is_ok', ...
[ "WheresAlice@users.noreply.github.com" ]
WheresAlice@users.noreply.github.com
302a516e5e5a4b7f73380a92c6fad7d7cd026be5
290b0f20a78f4ba71481ebe4129e01d480921e4f
/bot/exts/tetris/stats.py
da6f5e03b83545c08195a1ee43d3d7469ba4b255
[ "MIT" ]
permissive
pro-gamer007/tetris-discord
6f1de8c8f48c68c690c007f5f749057d4107b1b8
19871a99a46efd18fa837d5754961a3c9454b3a2
refs/heads/main
2023-08-24T11:10:28.797468
2021-09-19T09:52:26
2021-09-19T09:52:26
408,089,081
0
0
MIT
2021-09-19T09:51:39
2021-09-19T09:51:38
null
UTF-8
Python
false
false
6,744
py
import datetime import gc import inspect import json import pathlib import psutil import statistics import sys from typing import Optional import discord from discord.ext import commands, tasks from tinydb import TinyDB, where class Stats(commands.Cog): def __init__(self, bot: commands.Bot): self.bot = b...
[ "zshn@pm.me" ]
zshn@pm.me
ccb13a5e3d845bf09eec3fb40555e403ece082c2
677d142be25f5904b4ab418ce5ffa1387fe0f695
/app/config.py
a0f945c9dbd2036423157c7b61e20d7f0375030d
[ "MIT" ]
permissive
mfannick/pitch
ee2ded6a70d6f26e5fa34f635ca5821766006b20
af321e36d2ad23bc2129b4d6cc41c7779bdea063
refs/heads/master
2022-10-12T16:07:54.439498
2019-09-30T07:53:03
2019-09-30T07:53:03
210,202,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,367
py
import os class Config: ''' General configuration parent class ''' SECRET_KEY ='Fannick' SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://annick:escofavi@localhost/pitch' UPLOADED_PHOTOS_DEST ='app/static/photos' # simple mde configurations SIMPLEMDE_JS_IIFE = True SIMPLEM...
[ "mfannick1@gmail.com" ]
mfannick1@gmail.com
859f191ab53f381bc2122b455a9b6c99351c06ab
869677272283bf5eb9f30fad79c956cd69ee629b
/core/migrations/0008_remove_userprofile_address.py
53ba5446f97e391e7026eefd0f11a6dc41f886b2
[]
no_license
AakankshaMathur/shopping_app
a0f88d0d855badf402eac501f837a63d604c6fb9
51a4df1e39b85e25ca0f0322685f638d18693775
refs/heads/master
2023-04-25T19:02:56.075912
2021-05-23T15:48:51
2021-05-23T15:48:51
342,623,427
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
# Generated by Django 3.1 on 2021-02-26 12:40 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0007_auto_20210226_1233'), ] operations = [ migrations.RemoveField( model_name='userprofile', name='address', ...
[ "aakankshamathur95@gmail.com" ]
aakankshamathur95@gmail.com
bcad1e4075259796884212b6f12161c5e030c532
0967cc792be5e6e1b236387db5936f3e4fb8ae48
/genetic_algorithm.py
6fbf341a4c0916c76a4f60288db6e3c8be8502f0
[]
no_license
dbsmith88/vb_experimental
a9805e006b0a46287855fa1d379f6504855de117
015d6c9b732bc11e5bf60555a71271630bb9f10a
refs/heads/master
2022-12-10T19:34:26.503964
2020-08-28T20:03:51
2020-08-28T20:03:51
278,731,880
0
0
null
null
null
null
UTF-8
Python
false
false
7,258
py
from sorted_heap import SortedHeap from analytical_model import AnalyticalModel import multiprocessing as mp import random import copy class GeneticAlgorithm: def __init__(self, data, response, attributes, seed=42, evaluation="rmse", one_out=False, generations=100, population_size=100, mutate_pe...
[ "dbsmith@uga.edu" ]
dbsmith@uga.edu
cc278abd1ad57db51abec593e57d7bcea32e3b59
c228ac72f78e30ffc21ce9d7d3c9ce3171b4e379
/transaction/www/models.py
b83a9520b3c7b5ca82a6b230300335e1a6eae102
[]
no_license
sdwyer8/CobraBankApp
e649ddadf491d0d3fc8e71756d473e6e7a0e1779
f594f149a7c0afd0e7b04e70159d7e5435e96203
refs/heads/main
2023-06-05T04:35:18.301767
2021-06-29T02:50:44
2021-06-29T02:50:44
372,653,357
0
0
null
2021-05-31T23:46:17
2021-05-31T23:46:16
null
UTF-8
Python
false
false
685
py
from . import db from flask_login import UserMixin from sqlalchemy.sql import func class Accounts(db.Model): id = db.Column(db.Integer, primary_key=True) savings = db.Column(db.Float) checkings = db.Column(db.Float) date = db.Column(db.DateTime(timezone = True), default=func.now()) user_id = ...
[ "combs.cdi@gmail.com" ]
combs.cdi@gmail.com
5a738e577f45dd12f9c5c7046d773a8573c763f2
f7bbe95b75866ad319240eca234c0e48fbec65e5
/apps/eotd/migrations/0016_auto__add_field_gameunit_retain.py
dc50d316afb2703aa1469b6c5302400ee2a2fc4a
[]
no_license
qu0zl/UOTD
bf81343479727b541f6629f8553804621d3bb5a2
047240f7616986d0a40c7d91e8ea9faa8143c6cf
refs/heads/master
2016-08-09T12:19:42.785219
2013-11-01T12:27:43
2013-11-01T12:27:43
43,487,002
0
0
null
null
null
null
UTF-8
Python
false
false
21,871
py
# -*- coding: utf-8 -*- import 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 'GameUnit.retain' db.add_column('eotd_gameunit', 'retain', self.gf('dja...
[ "greg@gregfarrell.org" ]
greg@gregfarrell.org
d214f20f0b7b9644017966ed62627b3e70e73e88
983e1ecf4dd83ed24f3caa09d35fc4b278cfc229
/TurtleDrawingProgram.py
b1415488f467456aabf31e53a268eec4fee67d3d
[]
no_license
wildflower-42/FLVS-Foundations-of-Programing
46aba4c5bde59a05c1834235ac75d57e2357678c
0470a01b58c97bbd57af776fb03801b09eac134f
refs/heads/master
2022-12-19T11:25:29.416103
2020-10-07T14:13:18
2020-10-07T14:13:18
299,484,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
#Alaska Miller #6/19/2020 #The perpouse of this program is to allow the user to draw a custome image with the cursor using keyboard inputs, that can be stopped and completed when the user uses a command to end the program, based off an "end" command in the "while" loop that generates an image that the user can then vie...
[ "noreply@github.com" ]
wildflower-42.noreply@github.com
74134a4a9c375e989945be3f8e6918439006f882
c991fa6a5ed68fbe96dbb795d8f22a2045abb537
/rango/views.py
3f9e7824a108efad5b683d71ec675eea67c1bf6d
[]
no_license
HanLuo/rango
cbfbea46917b8e5fc8eea36129d78fd38d7ea0ad
721e5c84b55070ed17e731dca011ab10fbb9871b
refs/heads/master
2020-04-18T18:04:36.522894
2019-07-15T12:51:01
2019-07-15T12:51:01
167,673,418
0
0
null
null
null
null
UTF-8
Python
false
false
9,227
py
from django.shortcuts import render from datetime import datetime # Create your views here. from django.http import HttpResponse from rango.models import Category from rango.models import Page from rango.forms import CategoryForm from rango.forms import PageForm from rango.forms import UserForm from rango.forms import...
[ "1903851304@qq.com" ]
1903851304@qq.com
96872343beedc40cfd0c01824b44abb62990e28c
bb42128ab60e2d969896bd84f9451b950779e4e1
/ex004.py
e0a235ef9ed0dea381787aa8ea4e1f4b68adf1ec
[ "MIT" ]
permissive
Roninho514/Treinamento-Python
331f8a00d32787203a01d7f62c279af75dc3d83d
fc6ad0b64fb3dc3cfa5381f8fc53b5b3243a7ff6
refs/heads/main
2023-06-25T11:49:01.118344
2021-07-31T01:12:10
2021-07-31T01:12:10
388,283,871
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
palavra = input('Digite algo:') print(type(palavra)) print('É numérico?{}' .format(palavra.isnumeric())) print('Tem espaço?{}' .format(palavra.isspace())) print('É maiusculo?{}' .format(palavra.isupper())) print('É minusculo?{}' .format(palavra.islower())) print('É alfanumérico?{}' .format( palavra.isalnum())) print('É...
[ "roni.silvasantos514@gmail.com" ]
roni.silvasantos514@gmail.com
c3b92fd7f44fe5db75993fbe1a3612426d5e6c21
72b6589dbbc51a78f29eb2351165862b52b6d593
/baekjoon/samsungA/19237.py
7027f70ce5b862c7909410b3ab8ad9ef9fa07820
[]
no_license
kinggodhj/python_coding_test
255aee270e0b0f38cac8e39503968e8883a2600c
c1efff2149f45ac0ac747d9d1fe99ab0fe48bc45
refs/heads/master
2023-05-21T18:59:48.587694
2021-06-11T13:01:02
2021-06-11T13:01:02
342,779,381
0
0
null
null
null
null
UTF-8
Python
false
false
3,331
py
N, M, k=map(int, input().rstrip().split(' ')) ocean=[list(map(int, input().split(' '))) for _ in range(N)] sharks=[[[0, 0, 0, 0]]*(5) for _ in range(M+1)] sharks_dir=list(map(int, input().rstrip().split(' '))) sharks_dir.insert(0, 0) dir={1:[-1,0], 2:[1,0], 3:[0,-1], 4:[0, 1]} smell=[[0]*N for _ in range(N)] #shark_idx...
[ "heeeee928@gmail.com" ]
heeeee928@gmail.com
52c7d2a5262251a8b1071bd4572e27dad6693f3f
d37939b034cf53ae81eb957d5ea65ae05c290ab6
/settings.py
b9a47a641018d60272d81328510e62e9bd36442a
[]
no_license
skullerj/ecu_btr_prediction
0ab22e8f54caa263927328d20b62b21384f4f646
52bf81ad257dd08e1f498b1779cf950347bcf4b1
refs/heads/master
2021-05-07T09:12:51.279957
2017-11-04T19:25:48
2017-11-04T19:25:48
109,521,232
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
DOMAIN = {'records': {}} MONGO_HOST = 'localhost' MONGO_PORT = 27017
[ "jfrosero@udlanet.ec" ]
jfrosero@udlanet.ec
8232a25f494ea58fe5f4743fe20ae90eea3baca4
087f7ec4bb11bca64f29eac49df1104d885067b4
/midiscenemanager/midiio.py
cf0f27661d1cb8cb11b1990db844f4a85846ac42
[ "MIT" ]
permissive
SpotlightKid/midiscenemanager
38dd7e5299fc97fae3de6e8ecfde934c26974da0
a4f9268ba73f575d5d3313eaf256eb9cebdcbdd0
refs/heads/master
2023-06-01T15:21:16.520511
2023-05-21T14:44:33
2023-05-21T14:44:33
111,223,358
2
0
null
2017-11-26T15:26:59
2017-11-18T17:06:18
Python
UTF-8
Python
false
false
6,597
py
# -*- coding: utf-8 -*- # # midiio.py # """Wrapper clas for rtmidi.MidiOut to facilitate sending common MIDI events.""" import binascii import rtmidi from rtmidi.midiconstants import * from rtmidi.midiutil import open_midioutput from .sequencer import SequencerThread def parse_sysex_string(s): return binascii....
[ "chris@chrisarndt.de" ]
chris@chrisarndt.de
716098a8f7469e8ffcbdd834a9aae73b196fa55b
5efc1623d9e06d9b0caa104630d2b5d7610fb19d
/learn/deep_reinforcement_learning_course/deep_q_doom.py
d44d9b1f72a46b6b1336e6e4f9410ed328773ead
[]
no_license
techyajay/phd
20fd01535b5147b7ef86aa19f6683fa01dca4404
a1348bb6645a67a1f09aef7155c0db1720291bb6
refs/heads/master
2020-04-13T19:37:35.060245
2018-12-18T13:44:30
2018-12-18T13:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
"""Deep Q learning for the game Doom. See: https://medium.freecodecamp.org/an-introduction-to-deep-q-learning-lets-play-doom-54d02d8017d8 """ import pathlib import typing import skimage import vizdoom from absl import app from absl import flags from absl import logging from labm8 import bazelutil FLAGS = flags.FLA...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
84143160260f1dd336ed44bdb166a188128d844e
adcbefa6cba639ec8c8eb74766b7f6cd5301d041
/coffeehouse_nlpfr/translate/ibm_model.py
5ea12030cfdd157ed39846bc43e3a1cde15a84a8
[]
no_license
intellivoid/CoffeeHouse-NLPFR
b39ae1eaeb8936c5c5634f39e0a30d1feece6705
8ad1b988ddba086478c320f638d10d0c0cacca4c
refs/heads/master
2022-11-28T02:13:40.670494
2020-06-07T04:02:00
2020-06-07T04:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,039
py
# -*- coding: utf-8 -*- # Natural Language Toolkit: IBM Model Core # # Copyright (C) 2001-2019 NLTK Project # Author: Tah Wei Hoon <hoon.tw@gmail.com> # URL: <http://nltk.org/> # For license information, see LICENSE.TXT """ Common methods and classes for all IBM models. See ``IBMModel1``, ``IBMModel2``, ``IBMModel3``,...
[ "netkas@intellivoid.info" ]
netkas@intellivoid.info
24bef4da51b7e473f483cd9fe30280a5be5bb0ea
d6851011cf9669036078a848a55f3dab7528bbd1
/tests/mock_commands/ghdl
806201636fad5ce30b2824afa73edbd89f47b119
[ "BSD-2-Clause" ]
permissive
msfschaffner/edalize
442743f6c2f41da034482b69c5276efd1a6a40ad
d6757f36c6fc804f1876c907d0df55485937c0f2
refs/heads/master
2022-11-30T15:52:48.724111
2020-04-13T16:33:20
2020-04-16T10:35:00
256,582,248
1
0
BSD-2-Clause
2020-04-17T18:38:44
2020-04-17T18:38:43
null
UTF-8
Python
false
false
441
#!/usr/bin/env python import os import sys cmd_file = 'analyze.cmd' if sys.argv[1] == '-i' else 'elab-run.cmd' with open(cmd_file, 'a') as f: f.write(' '.join(sys.argv[1:]) + '\n') if sys.argv[1] == '-i': for arg in sys.argv: if arg.startswith('--std'): std = arg.split('=')[1] ...
[ "olof.kindgren@gmail.com" ]
olof.kindgren@gmail.com
6cb399bd6c386797f29961c95a3d1802af1c5df5
63f9f7caf0a76450530b201933727f33a8d98ac8
/basic/11/aula11-tratamento-de-erros.py
675d051b1a842738c9c10fde0a2f1ab2fbc6b867
[]
no_license
wribeiiro/learn_python
c4ec0ad50506965522b1ce86a17ab1df2813e4e3
4610d13b1c5ff4a8d5d9738aefde8f30c700304a
refs/heads/master
2023-08-11T08:01:22.137812
2021-09-25T00:46:36
2021-09-25T00:46:36
409,664,938
1
0
null
null
null
null
UTF-8
Python
false
false
297
py
import time def abre_arquivo(): try: open('teste.txt') return True except Exception as error: print("Deu ruim", error) return False while not abre_arquivo(): print('Tentando abrir oarquivo') time.sleep(5) print('Consegui abrir o arquivo')
[ "welleh10@gmail.com" ]
welleh10@gmail.com
303b62a4629cc64c3c76cadedb0db766bba2e4ff
fb2720e03991b45c538d1c8f0b9edc6a0825dbd6
/Joe<3Dolpins/sense1.py
5318f8136ce654281281e99c55de9bc231625973
[]
no_license
skisky89/tempMon
9c2bb2192bb764e18c85ea34056abaf55a199217
0033fd98353d3aae7a2bdcff5948af8b04b81463
refs/heads/master
2021-05-02T06:09:13.976116
2020-08-11T14:32:00
2020-08-11T14:32:00
120,853,583
0
0
null
null
null
null
UTF-8
Python
false
false
3,626
py
#!/usr/bin/python import time import sys #sys.path.append("/root/Adafruit_Python_DHT") import RPi.GPIO as GPIO import os #import Adafruit_DHT import urllib ###Setup DHT pins ##RCpin = 24 #LightSensor ##DHTpin = 23 #Humidity ##GPIO.setmode(GPIO.BCM) ##GPIO.setup(RCpin, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) ###Funct...
[ "skisky@gmail.com" ]
skisky@gmail.com
ef5ad6e5f5c68126fb897fabfa3e7fb4a6406350
515e0e1b1ee570987fccd86948be21561362657f
/MMA.py
c876dbfe2ee2639ce1869a81244366d3c5c144bb
[]
no_license
AndOrtegon/GPTO_Python
f9e60421afeb414e0ac78cd2a1b38f718fc6e22b
f1045dc71f185bd9e9f6f02bcf1a633540dd2723
refs/heads/master
2023-06-04T09:51:40.740692
2021-06-16T01:20:05
2021-06-16T01:20:05
360,690,057
2
3
null
null
null
null
UTF-8
Python
false
false
23,564
py
######################################################################################################## ### GCMMA-MMA-Python ### ### ### ### This file is part of GCMMA-MMA-Python. GCMM...
[ "afortegonv@unal.edu.co" ]
afortegonv@unal.edu.co
3feb21f0d8e4940ac18fbed6328531f485b92675
595ce39a45d9d1fff6427a30a1cc7b45c83dea7e
/app/core/migrations/0003_ingredient.py
d974956eef5afbdcb81a6f0543617f9ccd73ad7d
[ "MIT" ]
permissive
kobzarenko-volodymyr/recipe-app-api
751952b80b4f351d5931d92d6b60fbae38c08ee4
92bc85728d151addf016fa1b9bca2ca50c574308
refs/heads/master
2020-04-25T09:58:16.428429
2019-03-26T17:20:00
2019-03-26T17:20:00
172,693,242
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
# Generated by Django 2.1.7 on 2019-03-21 13:03 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0002_tag'), ] operations = [ migrations.CreateModel( n...
[ "kobzarenkovolodymyr@gmail.com" ]
kobzarenkovolodymyr@gmail.com
7784c6c881491668146821d012aea321c4b1cb44
b991ab377a8c5b112913de35a2c593dc191347f9
/data_transformation.py
2da36cc9ab17ef8b313b5af060eb3b29aee80840
[]
no_license
Thomasjsr/projet-final-ISN
cfbed00658e3d222f02c9b4a26fe14207936d98b
40da6acd2477803b24ac89370b7da514f908293d
refs/heads/master
2020-05-02T23:39:47.041536
2019-05-06T21:52:55
2019-05-06T21:52:55
178,286,626
0
1
null
2019-05-06T18:47:17
2019-03-28T21:44:05
Jupyter Notebook
UTF-8
Python
false
false
896
py
import os from PIL.Image import* import file_manager def list_manager(): datadir_test = "coins_dataset-master/classified/test" datadir_train = "coins-dataset-master/classified/train" categories = ["1c", "2c", "5c", "10c", "20c", "50c", "1e", "2e"] n=0 for category in categories: pa...
[ "noreply@github.com" ]
Thomasjsr.noreply@github.com
ba94c467bd8f222e23325989858c6f5c2422d7b3
431a08cf925a73e9a89121cf1f6cb4adbb377c62
/Python/upload.py
916036ad7b0562c6256367b2567ee645f10f2fc8
[]
no_license
plmutua/AWS-Storage-Services-S3
d7b205cb7773dcb783124dd7482af0faba12ec6f
eacdc0422ec32e7a9bb6a776d1e0b4479f77b611
refs/heads/master
2020-03-29T06:36:59.610866
2018-09-20T16:21:15
2018-09-20T16:21:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
import boto3 # Create an S3 client s3 = boto3.client('s3') filename = 'bird.jpg' bucket_name = 'plmbucket1' # Uploads file s3.upload_file(filename, bucket_name, filename) print("File uploaded")
[ "pmutua@localhost.localdomain" ]
pmutua@localhost.localdomain
33cfca9e63d2c61a4e092059207a0a95bd8a17c1
17f9ad1066175de0e2f860048a851639ee148d2e
/lexer/lexer.py
ff4c48a622af60ad74f0bbfe69da06fa5faa0b5e
[]
no_license
berochel/TKOM_2021L
35b6d4a0b1dd776f3a2580a032a08cfb40a9aa97
8a8c0fd6d591192c11a9a32e64b6540530d46665
refs/heads/master
2023-05-08T03:26:42.316502
2021-06-02T08:32:59
2021-06-02T08:32:59
359,233,433
0
0
null
null
null
null
UTF-8
Python
false
false
9,598
py
# Written by: Jarosław Zabuski, 2021 import string from error.error_handlers import LexerError from lexer.token import Position, new_token, move_forward from lexer.types import TokenType, token_type_repr # Main lexer class, containing all methods needed to generate a valid # lexical tokens tree from a source tex...
[ "zabuski.jaroslaw@gmail.com" ]
zabuski.jaroslaw@gmail.com
eb2c401bccb6319a30e48d31688eae4f130ad2be
e0c378f27462cb00b656473cbe0b172886741818
/src/flash/image/embedding/__init__.py
30f7a15003c7c0e8b58925b300084fe61302bb93
[ "Apache-2.0" ]
permissive
Lightning-Universe/lightning-flash
d0c955d7fdf962175750d154b3a369a483b8d188
fc6c97a43d65b49561c896bf05bc1c75536d0dc0
refs/heads/master
2023-08-17T12:03:52.563905
2023-08-14T12:35:10
2023-08-14T12:35:10
333,857,397
58
12
Apache-2.0
2023-09-11T14:43:06
2021-01-28T18:47:16
Python
UTF-8
Python
false
false
68
py
from flash.image.embedding.model import ImageEmbedder # noqa: F401
[ "noreply@github.com" ]
Lightning-Universe.noreply@github.com
2cec6a211276c379fe680ed75f6b80ec5ca6050c
ca950e62782ee9feba8c2c8b31bb9f84c5052dda
/18st_day/yield_from_test.py
c79852dece0d1444f055deb91d97e6dc8ad6831b
[]
no_license
pr1s0n/learn_python3
0d6b258bdc08c219e8e5e1b0c7b50d756bae7aab
d998781bd5355c97870eef5b8b5cec961eea18d3
refs/heads/master
2020-06-29T19:37:06.745208
2019-08-22T14:22:21
2019-08-22T14:22:21
200,605,521
2
0
null
null
null
null
UTF-8
Python
false
false
975
py
final_result = {} #子生成器 def sales_sum(pro_name): total = 1 nums = [] while True: #不停的从外界接收值并保存 x = yield print(pro_name+'销量',x) if not x:#如果接收到None就结束 break total += x nums.append(x) return total,nums #这个值返回到final_result[key] #委托生成器 def middle(key): while True: final_result[ke...
[ "li1111111@vip.qq.com" ]
li1111111@vip.qq.com
edaf6548d496e07a077b970fcdf68d7076a424c7
716d9e678c884fd9e9f07bbf57c7a0ec684f8255
/foodboxes/app_items/migrations/0001_initial.py
8934997852b104c017f9a76a5e7ef50064a6e946
[]
no_license
arifgafizov/foodboxes_v.2.0
e6716ba3ab3c0dd77bac212b90db8d710f46d495
1093a520e391fd409ba18bab341d6ffbec1104c7
refs/heads/master
2023-02-17T21:20:32.491143
2021-01-21T19:57:26
2021-01-21T19:57:26
330,394,733
1
0
null
null
null
null
UTF-8
Python
false
false
767
py
# Generated by Django 3.1.5 on 2021-01-10 16:33 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Item', fields=[ ('id', models.AutoField(aut...
[ "agafizov@gmail.com" ]
agafizov@gmail.com
8c398d951d85811876ae80fc5c9b18551af6c123
35e09aa5539b627592b2379671c26e372dca6bda
/13-Set.py
ba876abc1075c3df6a12cdfc56c54089a0e23071
[]
no_license
annakhomenko111/python
a606352f79b4fcde8943803f7447abfa91246f92
0febd0f7330de1bd63de099e1f27111e63a36510
refs/heads/master
2023-07-30T21:07:09.442675
2021-09-23T11:50:23
2021-09-23T11:50:23
403,556,500
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
import random def rGen(): a = {random.randint(-10,10) for i in range (10)} print(a) b = {random.randint(-10, 10) for i in range(10)} print(b) с = a & b print('Intersection', с) rGen() # https://www.youtube.com/watch?v=_zBTBr6XdZo&t=71s # https://www.youtube.com/watch?v=KMGRXDxUw18&t=263s
[ "khomenkoanna111@gmail.com" ]
khomenkoanna111@gmail.com
0006a8010b47859f57692841a577d972fa0ffe63
fcd02cbf7fae38f0b0d6a95deedc49d5993927da
/models/backbone/__init__.py
5d8d9e12d55ba6f87789786da9b2fb6e2c00b36a
[ "Apache-2.0" ]
permissive
Highlightbeast/DBNet.pytorch
7d5082c66516319fb8a02855c1a03be6c122a143
d95a7dbd37b031f2cf1ca33c63f5658d29803242
refs/heads/master
2022-09-21T02:51:33.104828
2020-06-05T07:28:01
2020-06-05T07:28:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
786
py
# -*- coding: utf-8 -*- # @Time : 2019/8/23 21:54 # @Author : zhoujun __all__ = ['build_backbone'] from .resnet import * from .resnest import * from .shufflenetv2 import * from .MobilenetV3 import MobileNetV3 support_backbone = ['resnet18', 'deformable_resnet18', 'deformable_resnet50', 'resnet...
[ "572459439@qq.com" ]
572459439@qq.com
6e2b379127ecdaf4df40653672510a9b4d307e4e
3495dd509a5fe4df6f3cba378b935917739815ca
/Proyecto Grupo 7/Scripts Pyhton de Limpieza/tempGeneral.py
f0b65945a8574fc72c018aa7b7bc9e0037f1d8e1
[]
no_license
JwangXu/APFEM
637bbf0fc8069599f1a1331dfc8f180a79c25b44
e550bdcf1db8103f23f91deadc57f846078037cf
refs/heads/master
2023-02-17T13:55:49.410159
2021-01-18T21:54:06
2021-01-18T21:54:06
330,795,171
0
0
null
null
null
null
UTF-8
Python
false
false
9,364
py
import json import csv import os.path import array as arr #Script para la unificación de los JSON extraidos por el script de python aenetTemp.py en un fichero .csv # Estructura final de los datos obtenidos de AEMET # Comunidad, Año, Mes, Temperatura Media, Mínima, Máxima, Presión Máx, Rachas #Parámetros para el scri...
[ "56585998+JwangXu@users.noreply.github.com" ]
56585998+JwangXu@users.noreply.github.com
09355f514250afe265e67188f29d1341e39f90a6
4fc993971bc4792d1e5508b2aa681dd96057fa5f
/utils.py
a68b9f171e8fc22e84cb81529143e11c3f859efc
[ "Unlicense" ]
permissive
astelmashenko/ndml_capstone
5e6e1dcf25492f60466002174eea4fbe586ce102
0694672acc1adcc58b43a623e65f024695b76392
refs/heads/master
2020-03-22T03:11:47.260486
2018-08-17T10:25:10
2018-08-17T10:25:10
139,418,275
0
0
null
null
null
null
UTF-8
Python
false
false
3,976
py
import numpy as np import pandas as pd from os import path src_path = path.dirname(path.realpath(__file__)) def compute_missing_values(df): _size = len(df) nulls = df.isnull().sum() nulls = nulls[nulls != 0].sort_values(ascending=False) nulls_percent = 100 * nulls / _size return pd.DataFrame({'NaN Count': ...
[ "andrey.stelmashenko@gmail.com" ]
andrey.stelmashenko@gmail.com
610b601c0f207fd07f9e4f7970fc888d958ddf92
9fdb2721da332b4441eb323e5ec45d200d7765fd
/webui/common/logger.py
ead0a223b08e42157892c9ff5baca78f871ba8fa
[]
no_license
alx9110/docker-web-ui
9cc6af61bc6c97ff8bdcc98264a5b52b5f610061
c15909523d9e4611a078b2d6070f3e0f47952518
refs/heads/master
2021-09-10T15:50:08.365583
2018-03-27T20:03:30
2018-03-27T20:03:30
112,866,046
2
1
null
2018-03-27T20:03:31
2017-12-02T18:24:02
HTML
UTF-8
Python
false
false
344
py
import logging logger = logging.getLogger("DockerWebUI") logger.setLevel(logging.INFO) # create the logging file handler fh = logging.FileHandler("/var/log/dockerwebui.log") formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') fh.setFormatter(formatter) # add handler to logger objec...
[ "alx9110@yandex.ru" ]
alx9110@yandex.ru
c2227462ba3ca774a56ef09850ceada2d1510cbf
08dc05bb510cdcfcb0b175fcff246d2f33410cee
/vvAPI/views/auth.py
4028a478fcd87ca2601a7614e034c4696acf9032
[]
no_license
DakotaLambert/VenueVagabondAPI
ba5134184aa1fa8c5d0f700ad89b9586e5e7d2ec
1faafdeaaa29d04e6f2cf98bc350f0d89fcd1300
refs/heads/main
2023-08-12T21:05:23.945552
2021-09-23T22:27:07
2021-09-23T22:27:07
404,401,650
0
0
null
2021-09-23T22:27:08
2021-09-08T15:33:43
Python
UTF-8
Python
false
false
2,647
py
import base64 import uuid from django.contrib.auth import authenticate from django.contrib.auth.models import User # pylint:disable=imported-auth-user from django.core.files.base import ContentFile from rest_framework.authtoken.models import Token from rest_framework.decorators import api_view, permission_classes from...
[ "dakotalambertbiz@gmail.com" ]
dakotalambertbiz@gmail.com
0989173ccda9a696f95aa915751a62846985e0ef
70952e923eb82404aa852305c2d5f6c5c53dced8
/server/app/user_routes.py
27faafec53e41e9ac7a4c181c6ee7ea27f52b3b0
[]
no_license
cenak/aviahackathon2021
641eb3493ea5d39ee95747b88258cbfa3cebe303
a913644cb40c102f35cf47795899f60af1f4f9f2
refs/heads/master
2023-04-08T20:32:53.168056
2021-04-25T12:42:43
2021-04-25T12:42:43
361,401,601
0
0
null
null
null
null
UTF-8
Python
false
false
2,463
py
# Здесь описаны роуты для # человека-"под самолетом" # # # # import json import sys # from .db_init import conn from flask import request, jsonify, make_response, Blueprint from datetime import datetime from psycopg2 import sql from psycopg2.extras import RealDictCursor users_api = Blueprint('users', __name__) #@app...
[ "plesen98@gmail.com" ]
plesen98@gmail.com
8040c181e9b472d3550947000f2ece3b32bac97e
8640ee2f28364c5200d80377f135d56c5cc3c08d
/word_bag.py
25699360a1302b1a36d8f51f4b3428c2bbb49b8a
[]
no_license
brianchesley/scrabble_game
99f85a2e9af53f4a3823b3b3edceff04d475dd02
492739d7e51c98d1651e63bf4aa00d52584ac5ff
refs/heads/master
2020-04-30T19:42:32.206025
2019-03-28T21:33:40
2019-03-28T21:33:40
177,046,355
0
0
null
2019-03-28T21:33:41
2019-03-22T00:50:07
Python
UTF-8
Python
false
false
1,919
py
import random class Letter: def __init__(self, letter): self.char = letter def __repr__(self): if self.char is not None: return self.char + " " else: return "__" def __eq__(self, other): return self.char == other.char class ScrabbleBag(Letter): ...
[ "bhches@monsanto.com" ]
bhches@monsanto.com
dbe9f4eb393e71a7a21668ed22f874251ed21d4b
a27163953c34e9e569966b91524c2450dbbc72c4
/brigands/factions/models.py
fec4e1747a93e8a6a78a1d8db1b9770256cb7cb3
[]
no_license
Sasooli/brigandrules
4c9f14031a533276953f7f1c30cdad37676549e1
8b99a43791833ec58e759e8eea3b05f1ed1c98e9
refs/heads/main
2023-03-22T10:37:47.076389
2021-03-15T16:55:44
2021-03-15T16:55:44
348,048,959
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from django.db import models class Faction(models.Model): name = models.CharField(max_length=100) def __str__(self): return self.name
[ "olafdavis@googlemail.com" ]
olafdavis@googlemail.com
6ea80c35427c51be580a992e7498a8193ed087f5
7e2fab66d5bde91606e1c735bc93bbdcaf804209
/section2/out/src/run_ml_pipeline.py
207422c0aaf54b7e1e7b8a69f4d587fd67a5e7e8
[]
no_license
usamnet000/Hippocampal-Volume-Quantification-in-Alzheimer-s-Progression
e3e555d7cd1db53e9fb5e883a6c76b2c3f3212d9
a6c3c625d8cbdf9a6da5b5b19c3e0b9950c5732e
refs/heads/master
2022-11-06T07:54:47.760499
2020-06-24T19:56:24
2020-06-24T19:56:24
290,751,343
1
0
null
2020-08-27T10:55:45
2020-08-27T10:55:44
null
UTF-8
Python
false
false
1,496
py
""" This file contains code that will kick off training and testing processes """ import os import json import random from experiments.UNetExperiment import UNetExperiment from data_prep.HippocampusDatasetLoader import LoadHippocampusData class Config: """ Holds configuration parameters """ def __init...
[ "hwdgrmy@gmail.com" ]
hwdgrmy@gmail.com
abcd8f62143d26c371224047ec2538617405b71b
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1627+006/sdB_pg_1627+006_lc.py
3d8cb550156a2ce741e67bc7f9c22da1c2ea971c
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[247.399583,0.530394], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_pg_1627+006/sdB_pg_1627+006_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name__...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com