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
9e19db1fcad86f999dc98e1740528e846c3db383
75fb9959d2e0ca078e282e95edff47c6ea5fd603
/util/eval.py
bb60c133a5356d0ef3511652798c9fd3540e2c9d
[ "MIT" ]
permissive
kmader/tangent_conv
7232d3ac9e2ac091e50a22b143ee559047bd8b5b
1cada36e9fe28e3d844fc2c974cff9565835d04e
refs/heads/master
2020-03-21T03:18:14.428221
2018-06-18T09:47:37
2018-06-18T09:47:37
138,046,849
1
0
null
2018-06-20T14:49:53
2018-06-20T14:49:52
null
UTF-8
Python
false
false
2,891
py
import numpy as np import tensorflow as tf import sys import os import random from path_config import * from cloud import * from dataset_params import * class param: def __init__(self, config): self.experiment_dir = os.path.join(get_tc_path(), config['co_experiment_dir']) self.output_dir = os.path.join(self.expe...
[ "m.tatarchenko@yahoo.com" ]
m.tatarchenko@yahoo.com
42799e013b0f0ec0efd95d90f6b63df67014862b
75fa4866ab30b9f556d30ca5b3895874b0ad5084
/visualize.py
05aa06265acbbb76dc30f53dd1bdb349ed8bea1e
[]
no_license
maozhiqiang/tacotron2-1
ab03850c9598bb0fba9bed44419469b94d550a83
3adf39a3e9b3df6e01e28c4f5f2166c6e6d59e7d
refs/heads/master
2020-04-06T07:09:14.296113
2018-03-02T00:59:32
2018-03-02T00:59:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
875
py
import matplotlib.pyplot as plt import io import numpy as np from PIL import Image def show_spectrogram(spec, text=None, return_array=False): plt.figure(figsize=(14, 6)) plt.imshow(spec) plt.title(text, fontsize='10') plt.colorbar(shrink=0.5, orientation='horizontal') plt.ylabel('mels') plt.xl...
[ "jacobsonaustinj@gmail.com" ]
jacobsonaustinj@gmail.com
e7d1c23b744493431d3d557a7c723432651f0fb3
f58a1dcae97115b566409704dcf1a46a5f86df47
/Bellevue University/Courses/DSC640/Week11and12/Python-master/Sorting Algorithms/merge_sort.py
f512f17c999cf7258922f6e19a58d34e5ac44f97
[ "MIT" ]
permissive
safarie1103/Safarie1103
318519ace23c33fcf6d36337392156e5381abd49
a86172bfc47eff0af65285b641af0ad26e13fd12
refs/heads/master
2023-06-13T01:43:35.761325
2023-06-07T16:01:16
2023-06-07T16:01:16
205,732,823
0
1
null
2022-11-28T15:55:13
2019-09-01T21:11:38
null
UTF-8
Python
false
false
648
py
#--------------------------------------- # Merge Sort #--------------------------------------- import sys def merge_sort(A): merge_sort2(A, 0, len(A)-1) def merge_sort2(A, first, last): if first < last: middle = (first + last)//2 merge_sort2(A, first, middle) merge_sort2(A, middle+1, last) merge(A, first, ...
[ "54446804+safarie1103@users.noreply.github.com" ]
54446804+safarie1103@users.noreply.github.com
c378cf4373aa8e0cab042bfc688fec3fb09c4997
4427fc578551546d26fd8b01610d67467073e24d
/server.py
adcefe8ed33955c27acbf3a87a71be1cd7d3ff6a
[]
no_license
dimagamera/RAT
d07589273e4ff56efbaff88b9787028e07523191
dd55616b32e7e538725b5e76e13fea9b2469da80
refs/heads/master
2023-06-08T06:41:32.424058
2021-06-27T17:08:48
2021-06-27T17:08:48
359,813,612
0
0
null
null
null
null
UTF-8
Python
false
false
2,738
py
import socket, sys import os s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) host = '0.0.0.0' port = 81 s.bind((host, port)) s.listen(1) while True: conn, addr = s.accept() a = input('/cmd - Сommand line\n/mkdir - Make directory\n/reboot - Restart System\n/sysinfo - system information\n/dir - (Files, Down...
[ "noreply@github.com" ]
dimagamera.noreply@github.com
d55fa72397ebc28f58f7760e1b3888e299a03a7e
2abb4dd2c1f4a0a833a24c5fb98b2b627f29c881
/studypython/users/admin.py
32fddfc8e6d1a96ae7d6712f7ff452d63127b80a
[ "MIT" ]
permissive
studyjss/studypython
9192800f3b639c296b095d40a20ec7520c818fed
15e78cd62e90103fa23b18fd9ebc7527bfa1bd77
refs/heads/master
2021-11-19T08:58:58.528005
2018-08-07T06:49:00
2018-08-07T06:49:00
143,522,072
0
0
MIT
2021-09-08T00:07:54
2018-08-04T11:10:53
Python
UTF-8
Python
false
false
544
py
from django.contrib import admin from django.contrib.auth import admin as auth_admin from django.contrib.auth import get_user_model from studypython.users.forms import UserChangeForm, UserCreationForm User = get_user_model() @admin.register(User) class UserAdmin(auth_admin.UserAdmin): form = UserChangeForm ...
[ "jss@JMac.local" ]
jss@JMac.local
8c777fd5c8ceb69d6a6c012f89122bbb7cb31272
94f5bae62a2ed5bf5bd69995d9604c191b6333a0
/Projects/TestApp/src/newDB.py
6ec6b46e27a581ec54df6a7d940a33244349f284
[]
no_license
sethc23/BD_Scripts
5eef664af935fb38ad28581faaedb51075338553
989d62b77ca70d239ae3cf99149c5215f6e6119e
refs/heads/master
2020-04-12T17:36:17.600971
2017-02-22T09:46:27
2017-02-22T09:46:27
30,630,547
2
0
null
null
null
null
UTF-8
Python
false
false
915
py
from google.appengine.ext import db class CLposts(db.Model): site = db.ReferenceProperty(Sites) category = db.ReferenceProperty(Categories) class Locations(db.Model): location = db.StringProperty() category = db.ReferenceProperty(Categories) class Categories(db.Model): postDate = db.Integ...
[ "ub2@SERVER2.local" ]
ub2@SERVER2.local
2db87b6470a083d191a9ed252fc04e10a13fa0b1
336bca6cebe635fb79a0097fe2b3d1883ae31665
/testReg.py
1611d0b809f40dadb2bfdf7bb962c494c6c8b40c
[]
no_license
umamuma/PythonTest
4694dc55593586c85c4be7c8a7f283186456c18c
d0fc65878111684612e09a4fc82ed42cc140db69
refs/heads/master
2020-03-26T10:08:40.294844
2018-09-21T01:01:15
2018-09-21T01:01:15
144,783,049
0
0
null
null
null
null
UTF-8
Python
false
false
3,398
py
from __future__ import absolute_import, division, print_function import tensorflow as tf from tensorflow import keras import numpy as np print(tf.__version__) boston_housing = keras.datasets.boston_housing (train_data, train_labels), (test_data, test_labels) = boston_housing.load_data() # Shuffle the training set...
[ "TC24227@esl.corp.elbit.co.il" ]
TC24227@esl.corp.elbit.co.il
1d108ec732fe66d7d450832a742f8215468e597e
3baca7237d5096cb3610a4668d79cae42c5d2477
/videos_id/video_info.py
fec5064c3c5f344369530534ad0586833ee99529
[]
no_license
ittus/python-video-ids
fc1cad8100246ec2bed1ca88156d320ef15e6416
318b91a8b11f1dac7906505f94d93bc0974a9079
refs/heads/master
2021-07-25T11:51:41.121755
2021-06-17T09:34:19
2021-06-17T09:34:19
73,607,543
2
3
null
2021-07-18T05:50:12
2016-11-13T09:57:06
Python
UTF-8
Python
false
false
762
py
from videos_id.provider.dailymotion import Dailymotion from videos_id.provider.vimeo import Vimeo from videos_id.provider.youtube import Youtube class VideoInfo(object): def __init__(self): dailymotion = Dailymotion() youtube = Youtube() vimeo = Vimeo() self.platform_list = [dailymo...
[ "vuminhthang.cm@gmail.com" ]
vuminhthang.cm@gmail.com
ae3738da2e11597c896ff29b5496d4050f3adf7c
6f904270a11bd6589a393c1e3713ff37348db0e5
/pset7/survey/application.py
2fc24fbcc2a769ad1e483481bacdbbec7671e0d7
[]
no_license
akigler/cs50_projects
186008d33b45360bc098f4e07c6a338ed13e9bf2
be5d193bdf7e52e1fcd8b82115406a2994f57f24
refs/heads/master
2020-07-08T02:48:10.226342
2019-08-21T08:49:21
2019-08-21T08:49:21
203,543,925
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
import cs50 import csv from flask import Flask, jsonify, redirect, render_template, request # Configure application app = Flask(__name__) # Reload templates when they are changed app.config["TEMPLATES_AUTO_RELOAD"] = True @app.after_request def after_request(response): """Disable caching""" response.header...
[ "jpbubar@gmail.com" ]
jpbubar@gmail.com
4b33ddef5a15b9438476aff953c6a63ebf3d1a31
258920163b6ba24759cd21b8846f574f529274f7
/v3/measured_retrieval.py
ae49b5b5ab96cd5d980af5bb1e74f79e5f124edc
[]
no_license
xiaochungong/attosecond_streaking_phase_retrieval
16186da18a463d578966acb385d1b3cf14713132
8a26a2393faef114ded3651b9bd4769ae648a267
refs/heads/master
2022-10-27T01:04:15.470201
2019-06-10T19:30:02
2019-06-10T19:30:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,433
py
import tensorflow as tf import tf_functions import numpy as np import scipy.constants as sc import tables import shutil import matplotlib.pyplot as plt import os import csv from network3 import initialize_xuv_ir_trace_graphs, setup_neural_net, separate_xuv_ir_vec import xuv_spectrum.spectrum import ir_spectrum.ir_spect...
[ "jonathonwhite5@gmail.com" ]
jonathonwhite5@gmail.com
ebef311a1f74e61ac986ae1afbf6ba1b2e34de9d
eb3049039d7e5c9a9ccf2ee82a3371aa71768068
/messenger/chats/models.py
b5570151d6022b6b7403d3fcab2bb6b099b4d12e
[]
no_license
ilpol/Django-and-PostgreSQL
1a98c3de068b575ee3f38e461fec6afb2a0b6c27
907519f5ceff18cc9a471ca1691ff65e832d29ea
refs/heads/main
2023-05-07T17:53:34.083617
2021-05-31T19:03:38
2021-05-31T19:03:38
372,237,690
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
import datetime from django.db import models from django.utils import timezone class Chat(models.Model): chat_name = models.CharField(max_length=200, default='') users = models.CharField(max_length=200, default='') messages = models.CharField(max_length=200, default='')
[ "IKPolozov@beeline.ru" ]
IKPolozov@beeline.ru
ba5a0296deead2222078bce64a2de0a655661aef
0c305e2eff6582980c517d487fdfdea8ccfa2b80
/src/gta/gameInputs/__init__.py
30386d537a24667cd040c66356704e2fed5427d9
[]
no_license
tsbertalan/gtaracer
5d4aeab9738adbb893eb5231aa19c3f1dda54791
12697fad980679f00d5dc86edd8cfa36b89f6408
refs/heads/master
2023-08-26T03:20:51.071951
2021-07-24T19:49:39
2021-07-24T19:49:39
108,666,881
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# from gta.gameInputs.gamepad import JoystickEmulator # class ControlInputs(object): # def __init__(self): # self.gamepadEmulator = JoystickEmulator() # self.oldAxes = [0] * 6 # def applyControlState(self, controlVector): # axes = controlVector[:6] # keys = 'lx', 'ly', 'lt', ...
[ "tom@tombertalan.com" ]
tom@tombertalan.com
cdfc0f3dfbf35d333d77f8ba70d727f58fc3026d
338062cc2bb422f1364fd18ad5e721f6f713907a
/22. Функции. Возвращение значений из функций/Классная работа/Число словами.py
152a4277e11ca65c960203fbb12d6f156ba6f9c5
[]
no_license
rady1337/FirstYandexLyceumCourse
f3421d5eac7e7fbea4f5e266ebeb6479b89941cf
0d27e452eda046ddd487d6471eeb7d9eb475bd39
refs/heads/master
2022-06-17T03:07:51.017888
2020-05-12T22:17:34
2020-05-12T22:17:34
263,459,364
0
1
null
null
null
null
UTF-8
Python
false
false
935
py
def number_to_words(n): f = {1: 'один', 2: 'два', 3: 'три', 4: 'четыре', 5: 'пять', 6: 'шесть', 7: 'семь', 8: 'восемь', 9: 'девять'} o = {10: 'десять', 20: 'двадцать', 30: 'тридцать', 40: 'сорок', 50: 'пятьдесят', 60: 'шестьдесят', 70: 'семьдесят', 80: 'восемьдесят', 90: 'девяносто'} s ...
[ "noreply@github.com" ]
rady1337.noreply@github.com
dc348cc551ade3d9067dc289fb237a4bbc259df2
209d49d62974e95d27a59a2ee3cfc48ae8f1007a
/format_time.py
ed4ea5a0271e20a26d55441bd446f6a4f8733fb5
[]
no_license
87302380/BA
bc10be7b689feec83b37a9e82e21a1ea5d6754be
c51c256350948dda6923510e1fd669ecf69f4e4d
refs/heads/master
2020-07-14T18:56:08.052174
2019-10-23T21:18:59
2019-10-23T21:18:59
205,378,488
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
import time def print_time(start): end = time.time() overall_time = end - start day = overall_time // (24 * 3600) overall_time = overall_time % (24 * 3600) hour = overall_time // 3600 overall_time %= 3600 minutes = overall_time // 60 overall_time %= 60 ...
[ "87302380@qq.com" ]
87302380@qq.com
fe93f12bb90a727d7242f36b744d28bce12e590c
cd78d84441e69c1fc40b6a6e9e235e7cf6882454
/python/35.search_insert_position.py
8d406dcdc7d9261226127b5e41452b8e2112cda3
[]
no_license
buy/leetcode
53a12d4e0298284a5a2034c88353d0dc195aa66c
da0e834e3f2e3016396fffc96ef943ab9ec58ea4
refs/heads/master
2021-01-13T01:48:01.176632
2015-06-14T06:17:17
2015-06-14T06:17:17
31,863,627
1
1
null
null
null
null
UTF-8
Python
false
false
912
py
# Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. # You may assume no duplicates in the array. # Here are few examples. # [1,3,5,6], 5 → 2 # [1,3,5,6], 2 → 1 # [1,3,5,6], 7 → 4 # [1,3,5,6], 0 → 0 class Solution...
[ "cliu@groupon.com" ]
cliu@groupon.com
72f095e6d0df027da303f85e14998df4d3ce0645
5324708cd5cacc5c54cd010e504cbe3c8832d0d2
/asn1PERser/test/per/decoder/test_per_decode_sequence_of.py
454a489b6d6b8b5180ae31a1de274a578633965a
[ "MIT" ]
permissive
erupikus/asn1PERser
0965143f12b3b924359452e8b21b9ed459815fd7
53ebac8b9a85b29846a64b80938dcd177a66d935
refs/heads/master
2023-08-09T07:23:52.265908
2023-07-14T12:50:22
2023-07-14T12:50:22
186,060,040
6
1
MIT
2023-07-14T12:50:23
2019-05-10T22:03:25
Python
UTF-8
Python
false
false
8,475
py
import pytest from asn1PERser.codec.per.decoder import decode as per_decoder from asn1PERser.test.per.encoder.test_per_encode_sequence_of import SCHEMA_constrained_seq_of_no_extension, \ SCHEMA_constrained_seq_of_extension_present, SCHEMA_no_constrains_sequence_of, DATA_seq_of @pytest.mark.parametrize("schema, en...
[ "erupikus@gmail.com" ]
erupikus@gmail.com
be783fa8102eeb4d144b2d45dba042eaed4942e4
c493abe42e5942dd6a0f64a4a57c2ac7e57f3903
/shop/migrations/0001_initial.py
908735a3093cf19bb68630df3783dbb44a18bec0
[]
no_license
riturajkush/Turbokart-Ecommerce-site
e4b7bd30430d38f0dc4d959224685b60f14ff76f
852eba399f0ed15ac62e546538c06cc739f807cf
refs/heads/main
2023-06-27T13:03:27.847751
2021-07-29T09:56:30
2021-07-29T09:56:30
390,667,012
1
0
null
null
null
null
UTF-8
Python
false
false
627
py
# Generated by Django 3.1.1 on 2020-12-29 10:48 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', m...
[ "kushwaha.rituraj62@gmail.com" ]
kushwaha.rituraj62@gmail.com
2722ba01c870201beefb8bf2569d744c0740c6b6
7804b5c5bc44f437899ccb8e789477719666a472
/resources/prepare_netbox.py
26d39d9d5f446c0f349cc60acc5c9e8a560e0203
[ "MIT" ]
permissive
jawhnycooke/nxos-netbox-sync
dc45bd0709ada392f4d9731068baa79ce1f6f464
7475fa4dc3718b7005c7af856264c4e7fb1af18e
refs/heads/master
2021-02-28T17:07:28.171852
2020-03-07T18:35:28
2020-03-07T18:35:28
245,715,874
1
0
MIT
2020-03-07T22:36:36
2020-03-07T22:36:35
null
UTF-8
Python
false
false
6,785
py
import pynetbox import yaml import os data_file = "netbox_initial.yaml" with open(data_file) as f: data = yaml.safe_load(f.read()) nb_url = os.getenv("NETBOX_URL") nb_token = os.getenv("NETBOX_TOKEN") nb = pynetbox.api(url=nb_url, token=nb_token) interface_modes = nb.dcim.choices()["interface:mode"] interf...
[ "hank.preston@gmail.com" ]
hank.preston@gmail.com
aeb851e7c40a6aac80481d0f78a38b4819faf2a5
a9758f67b329e0f8e3da80499e3f9bd85b12ea84
/tensor2tensor/utils/trainer_utils.py
e90e2dd103fe5f8571d40327965c8cfbc2784f83
[ "Apache-2.0" ]
permissive
krenshaw2018/tensor2tensor
c9ed02c4c98ccc002a5d484777be6bf2adc230cf
8e2389021643774f81a3af643e55a856896aef5c
refs/heads/master
2020-03-24T05:12:57.945479
2018-06-15T10:59:14
2018-06-15T10:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,885
py
# coding=utf-8 # Copyright 2017 The Tensor2Tensor Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
[ "rsepassi@google.com" ]
rsepassi@google.com
1eb49e531bba0a61323ca155c49e850f6ba1501b
17aca286d586dd7f4b7563255781a9d5d5ea1c68
/setup.py
8a27af08618f3e479afaa67dcd2dca54aaf4f7f0
[ "Apache-2.0" ]
permissive
wolcomm/napalm-exaros
894f4a05b7e862195d7d54b5f5d7ff6e43885021
dc89ac9844761739d805fdfea8eeb478cdaa0438
refs/heads/master
2021-01-19T17:49:00.434687
2017-08-28T12:52:24
2017-08-28T12:52:24
101,086,341
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
"""setup.py file.""" import uuid from pip.req import parse_requirements from setuptools import find_packages, setup __author__ = 'Ben Maddison <benm@workonline.co.za>' install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) reqs = [str(ir.req) for ir in install_reqs] description = "Network Au...
[ "benm@workonline.co.za" ]
benm@workonline.co.za
4808b9b25341398fa95d898a73ff184df234b880
64072351a4f854652975718a18bf403cc3aae6cb
/flash.py
fa13791f4f1ba9ae3b3d8ec708a67f5a4b7ed2cc
[]
no_license
SHOTA-Nishimu/Nishimu-Streamlit
d818e44efb982363e6ca774ff830f3733914fc91
8f8c3ec2a31d28a224c47d5c161fd3c452b6ef3a
refs/heads/master
2023-03-16T21:01:06.486108
2021-03-09T01:53:33
2021-03-09T01:53:33
345,011,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
import re import random import streamlit as st import numpy as np source = 'C:/Users/chisa/desktop/verb01.txt' with open(source, encoding='utf-8') as f: d = f.read() sentence = re.findall('[一-𥻘あ-ん()=~[\]、。「」々・……]+',d) #print(d) source02 ='C:/Users/chisa/desktop/verb01answer.txt' with open(source02, ...
[ "nisimuras@kyoto-ryoyo.ed.jp" ]
nisimuras@kyoto-ryoyo.ed.jp
f441f140ccab41b7f21ad161ecdefb815bd40c96
31c9d69a2d0abe436c0ff31c059d2ffb0ebb318a
/pyiaga2002/bin/iaga2mscan.py
fbafed8ee0507d0b851e82248f9076392ee5e8b3
[]
no_license
CharlesBlais/pyiaga2002
d29a934348be0be42da39a0293112fac7e886e10
39dfc86c9af51f878bf84b0ecefed1f6bd79b77b
refs/heads/master
2023-03-31T09:28:11.100948
2021-04-09T18:37:07
2021-04-09T18:37:07
356,368,364
0
0
null
null
null
null
UTF-8
Python
false
false
1,791
py
""" .. codeauthor:: Charles Blais """ import os import argparse import logging import pyiaga2002.iaga2002 as iaga2002 import pyiaga2002.mscan as mscan def main(): """ Convert IAGA2002 file to miniSeed for MSCAN ringserver. .. see:: iaga2mseed.py This extends the conversation by updating only diffe...
[ "charles.blais@canada.ca" ]
charles.blais@canada.ca
24f58281e612f2ee14253e77c4ec908e4bfa1fd3
ff2b590018847ab1b4b46fc4eb49c9cb295e68e6
/python/basic_data_types/hr_list_comprehensions.py
066b605fe9fd784ee691fc84d390cb3491fc1eb7
[]
no_license
iamacarrot92/hackerrank_challenges
2fc1ad321791e1cd34952014a6c115725e31ca67
65a00e0a7fa775a323debdf02a0bd9d5a2686a81
refs/heads/main
2023-03-06T07:32:20.892879
2021-02-08T20:21:04
2021-02-08T20:21:04
336,607,308
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
def method_one(x, y, z, n): rand_grid = [] for i in range(x + 1): for j in range(y + 1): for k in range(z + 1): if (i + j + k) != n: rand_grid.append([i,j,k]) return rand_grid def method_two(x, y, z, n): return [[i, j, k] for i in range(x + 1) for...
[ "limbu_101@outlook.com" ]
limbu_101@outlook.com
f2c6e47f8fa5fc9e9b6812e1ce70fca376db9a3f
897554d1ffe398f701df82cdf390bf185f97bf20
/django-stubs/contrib/gis/sitemaps/__init__.pyi
adf328291f3fbe04961f9532a8505eccce8cb58d
[ "MIT" ]
permissive
maximmasiutin/django-stubs
c0a7bac533b03c81704755c5e4a8eff9a178010d
55366fbf087522f860aa242c200f87b36c6c24a7
refs/heads/master
2023-04-15T09:47:51.980794
2021-04-20T12:18:22
2021-04-20T16:07:45
359,802,871
1
0
MIT
2021-04-20T12:12:03
2021-04-20T12:12:03
null
UTF-8
Python
false
false
95
pyi
from django.contrib.gis.sitemaps.kml import KMLSitemap as KMLSitemap, KMZSitemap as KMZSitemap
[ "noreply@github.com" ]
maximmasiutin.noreply@github.com
3c0544ff3ef7a7c59dbec704c2ef95a890e79a48
b60baecf17c616b823b10c9b2102d3a0084dd897
/gante_project_euler/solutions/problem_007.py
a95e86c799b73ca6aa017523bd08ca554e2fec32
[ "MIT" ]
permissive
gante/project_euler
19e03ca76372c816506baf577d363cb74f11afc9
9b5e780259e28d4f4d66cb4c954623f81aeaa5af
refs/heads/master
2022-12-09T22:26:10.407925
2020-08-29T16:13:54
2020-08-29T16:13:54
277,366,880
2
0
MIT
2020-08-09T21:03:46
2020-07-05T19:10:54
Python
UTF-8
Python
false
false
848
py
""" Solution for Project Euler's problem #7 """ import os import time from datetime import timedelta from gante_project_euler.math.prime import get_all_primes def get_solution(): """ Solves the problem and returns the answer. """ return get_all_primes(n_primes=10001)[-1] if __name__ == "__main__": ...
[ "joaofranciscocardosogante@gmail.com" ]
joaofranciscocardosogante@gmail.com
b8c8e8697cb00b856a2bce08f7028a0be9c31e4a
5e3db2bd0227ec1a761ee0f3c7100fb2aca8e5fb
/LeetCodeSolutions/stampingseq.py
608c2abb0a5d02a35e83f4dbaa46a9e961524c55
[]
no_license
Raunak173/hacktoberfest
e09eaff87c6e2eb12935c03f404c17e20146f9a8
1d21f9a314bfb05674fa793a2a80eedceeca6eda
refs/heads/main
2023-08-16T04:05:09.908878
2021-10-14T09:58:14
2021-10-14T09:58:14
417,076,974
1
0
null
null
null
null
UTF-8
Python
false
false
1,744
py
class Solution(object): def movesToStamp(self, stamp, target): M, N = len(stamp), len(target) queue = collections.deque() done = [False] * N ans = [] A = [] for i in xrange(N - M + 1): # For each window [i, i+M), # A[i] will contain info on wh...
[ "noreply@github.com" ]
Raunak173.noreply@github.com
7670946754ffd4334370da7ccd28a8ed5e95e2dd
2b1a4cc1b97042399445baf2507a8485c04b1d70
/main.py
a9c5936090546db617a13c901eefdcf7c8169d65
[]
no_license
yuvalpress/automated-servers-installation
ac9c59d9749246c9ce37d9423588486b71cc4eec
1573d776976b892846ec7c3d72bbf9099d103593
refs/heads/master
2023-06-19T18:10:26.154417
2021-07-18T13:30:38
2021-07-18T13:30:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,175
py
import sys import subprocess import asyncio from Scripts.iDrac_Scripts import pre_iDrac as pre from Scripts.iDrac_Scripts import iDrac_IP_Address as set_ip from Scripts.iDrac_Scripts import iDrac_Rest_Of_Settings as idrac_settings from Scripts.iDrac_Scripts import iDrac_Raids as set_raid from Scripts.iDrac_Scripts imp...
[ "yuvalpress@gmail.com" ]
yuvalpress@gmail.com
e834abee33916c4a68a8db91f983360ca7551559
298a9313f2fac52cfd2529fad036c91c683bc93d
/projects/admin.py
a535a79739d179874406099d5c927f10a4f752cd
[]
no_license
callump5/portfolio_site
d91b32a143810574ba00452ed4da2d4862616f6a
f0d5e2a07df8e9660ef138fb06becc23302c081f
refs/heads/master
2020-03-18T07:28:48.217171
2018-08-09T19:25:41
2018-08-09T19:25:41
134,455,187
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from models import * # Register your models here. admin.site.register(Project) admin.site.register(ProjectGoal)
[ "clpullinger@gmail.com" ]
clpullinger@gmail.com
256a0f567c4cf82d318538df5cd13c894da34a4a
7de0c43668ab98aba5cfee1db88a435dc667e03f
/Exercícios/menor_nome.py
8e5b5eb048207b2e12d495c123be02250e40e912
[]
no_license
lldenisll/learn_python
b9704b86e1de548268da73beb776d33222beb06f
b0d0e36ea54bfc09bfd3310999f7e19f8bb44405
refs/heads/master
2022-09-21T04:39:59.709520
2020-06-05T22:29:32
2020-06-05T22:29:32
269,099,149
2
0
null
null
null
null
UTF-8
Python
false
false
912
py
# def sum_letters(string): #letters=0 #for i in string: # if i.isalpha(): # letters += 1 # else: # pass #return letters NAO PRECISEI USAR def menor_nome(nomes): x=min(listafinal(nomes), key=len) y = ''.join((x)) return(y.capitalize()) def ignora(list): ...
[ "namorado@TFGcos-MacBook-Pro.local" ]
namorado@TFGcos-MacBook-Pro.local
4dea393a8b6eaccd3884e191a1b91d88697dd170
98f80f5479def187ef2c349ed5e67fa2165b7290
/Tugas4/server_thread_chat.py
cf0ddfb1898bdc9625870bb98129e2f74990f0d8
[]
no_license
farizardin/fp-network-programming
2f61e02994e1c44692837bdc30821c5f3eaf9c5e
053876a711be1d5cce55ccd80ca51af209548045
refs/heads/master
2020-05-20T10:41:17.492612
2019-05-23T12:22:37
2019-05-23T12:22:37
185,530,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
from socket import * import socket import threading import thread import time import sys import json from chat import Chat chatserver = Chat() class ProcessTheClient(threading.Thread): def __init__(self,connection,address): self.connection = connection self.address = address threading.Thre...
[ "fariz.ardin@gmail.com" ]
fariz.ardin@gmail.com
3d32562b9c9b3bd68304cc5d69ec67750c07c849
737f4d8ff08f4d88a1d26e50e8a6e147da98da1c
/dynamic_scraping/dynamic_test.py
7f340b1316aae73585ed2f684fce2a3eeda63dfc
[ "MIT" ]
permissive
joaoDragado/web_scraping
7016ebd3ad2a2c225fbe16596ea4c28c2178f513
2cbc48b81785b5f2b3c5f34b53b2e56b9df25216
refs/heads/master
2021-01-20T19:05:20.241353
2019-04-09T17:46:46
2019-04-09T17:46:46
60,857,079
1
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC # instantiate a chrome options object so you can set the size and hea...
[ "dubmecoco@yahoo.com" ]
dubmecoco@yahoo.com
d53e0cec89d4c41edbc1c5d2e5701117141afbaa
890c8b8e90e516a5a3880eca9b2d217662fe7d84
/armulator/armv6/opcodes/thumb_instruction_set/thumb_instruction_set_encoding_32_bit/thumb_coprocessor_advanced_simd_and_floating_point_instructions/mrc_t2.py
24351564450f9932155c2a5dc2732bd0fd535b06
[ "MIT" ]
permissive
doronz88/armulator
b864135996f876c7857b79a314d4aa06cc19c549
0294feac2785c8947e5943ac0c34f941ee4b5fff
refs/heads/master
2022-11-05T08:14:42.405335
2020-06-18T23:53:17
2020-06-18T23:53:17
273,363,061
2
0
null
2020-06-18T23:51:03
2020-06-18T23:51:02
null
UTF-8
Python
false
false
738
py
from armulator.armv6.opcodes.abstract_opcodes.mrc import Mrc from armulator.armv6.opcodes.opcode import Opcode from armulator.armv6.arm_exceptions import UndefinedInstructionException class MrcT2(Mrc, Opcode): def __init__(self, instruction, cp, t): Opcode.__init__(self, instruction) Mrc.__init__(...
[ "matan1008@gmail.com" ]
matan1008@gmail.com
075bbee43f1e72c7c79b99c707655a5804d0ba32
4296cb5b97a69382d1fe6b73753a2ffcd1d154c5
/abc/C/198.py
db0b3658e5eefde55e745e4ef8b00d3c2d351bc3
[]
no_license
tokuD/atcoder
a199a5fe92be54d0b66ceaf6158116984f52cd01
a95a0380af129109fcf48eb1d4994bbb52925320
refs/heads/master
2023-08-28T10:28:55.763895
2021-11-13T15:49:38
2021-11-13T15:49:38
371,675,666
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
import math R,X,Y = map(int, input().split()) dis = math.sqrt(X**2+Y**2) ans = int(dis//R) if dis % R != 0: ans += 1 if ans == 1: ans += 1 print(ans)
[ "megumu112851@gmail.com" ]
megumu112851@gmail.com
2c7627e66788f1ff44c324f5799fc2d2f4f987d2
de0e09b1642472458dcd392484eeda5f490841ca
/HelloScrapy/spiders/zhilian.py
f2a8d9976d4e6bb1531689711fcbd57fa25aa328
[]
no_license
lesliebeijing/spider
e18d20821af732800e7cf7fdc117cd5b950c9e20
38dfd3edc26540f8ba17cfbaf2db3516f97c792b
refs/heads/master
2021-01-21T09:33:32.599900
2017-07-05T07:15:23
2017-07-05T07:15:23
91,656,955
0
0
null
null
null
null
UTF-8
Python
false
false
2,667
py
import scrapy from ..items import CompanyItem class ZhilianSpider(scrapy.Spider): name = "zhilian" search_keys = ['android', 'ios', 'java', '.net', 'c', 'c++', 'php', 'unity', 'unreal', 'linux', 'python', '测试', '嵌入式', '前端', '大数据', '运维', '机器学习'] def start_requests(self): for ke...
[ "fanglin@chinayouthgroup.com" ]
fanglin@chinayouthgroup.com
42a8404053a7918bbbb30fb58779e7abde8170b9
0388a394341ec6fa13d3899aa9705ae8a631b5db
/code/NPI/pytorch/noisy_WikiData_CSQA/model_vanilla.py
e6e3e80425c4d9908b9bf841532e6991b675f14b
[]
no_license
CIPITR/SSRP
06f08c17b5a1cd8139cf55b27638a557c073ce18
8a4b46a6e068e5bff78c1f051380f36496a5cce8
refs/heads/master
2022-12-13T05:55:54.564735
2019-05-27T04:58:07
2019-05-27T04:58:07
188,771,043
10
4
null
2022-11-22T02:56:56
2019-05-27T04:31:23
Python
UTF-8
Python
false
false
102,229
py
from collections import defaultdict import numpy as np import torch import torch.nn as nn import math class NPI(nn.Module): def __init__(self, params, none_argtype_index, num_argtypes, num_programs, max_arguments, rel_index, type_index, rel_embedding, type_embedding, vocab_embed, ...
[ "ansarighulamahmed@gmail.com" ]
ansarighulamahmed@gmail.com
7f2f1467802cb3bede6075fc24762ea10ad53e32
aabcf2cd893dd8d938cb538956662d28cabd5074
/sql_staff.py
dceca10b6406739007246d23c9d20e9be816b14f
[]
no_license
vincenshen01/oldboy-day03
31afea1af7eb709aa3a2a87d2749eef8e40f3583
78b913de7320b9d0761c0d6132c7002fd3869eda
refs/heads/master
2021-06-13T22:30:14.361568
2017-02-08T15:40:16
2017-02-08T15:40:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,833
py
import re,sys,os from prettytable import PrettyTable class SQL_Staff(object): def __init__(self, *args): self.staff_list = [] self.staff_list2 = [] self.staff_count = 0 self.staff_id = 0 self.syntax = self.syntax_check(args[0]) # 语法检查 def select(self): staffs...
[ "vincen_shen01@163.com" ]
vincen_shen01@163.com
92b1d60775c5a946e457588e4223c33d69c9f03f
c744fb3edb70399674bcbbeaeec36324795eb968
/tests/env_test.py
c5f52fd43e87c8acd06e2f539e0217278791a5bf
[]
no_license
koulanurag/gym_x
821bccd76954d56198f040600955c04d2df8305b
e10214b71ade1e4d1696ef7ba083aad2be035073
refs/heads/master
2020-03-24T02:12:00.040812
2019-06-13T06:36:10
2019-06-13T06:36:10
142,366,133
4
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
import gym, gym_x import os import random import argparse if __name__ == '__main__': parser = argparse.ArgumentParser(description='test env') parser.add_argument('--env', default='GoldRushRead-v0', help="Name of the environment") args = parser.parse_args() env = gym.make(args.env) env.seed(0) ...
[ "koulanurag@gmail.com" ]
koulanurag@gmail.com
855736cd1ff23002cda173ae8226d00a61d94c28
98f1ba8d6e4e8bacda4b8d0a6e08c05a7e426ee9
/padertorch/contrib/je/modules/norm.py
d37aa091803040d95ca0ac0b308d73ca8a63d6b6
[ "MIT" ]
permissive
FrederikRautenberg/padertorch
f73aa70ae4d79cc216c78d480fe6e1f2f1642a05
f33d38d944df1db955ad16af1fa7e6d9f3c47441
refs/heads/master
2022-12-19T10:07:16.658898
2020-06-10T18:01:17
2020-06-10T18:01:17
271,998,030
0
0
null
2020-06-13T11:45:07
2020-06-13T11:45:07
null
UTF-8
Python
false
false
12,085
py
import torch from padertorch.base import Module from torch import nn from torch.autograd import Function from padertorch.contrib.je.modules.global_pooling import compute_mask class Norm(Module): """ >>> norm = Norm(data_format='bct', shape=(None, 10, None), statistics_axis='bt', momentum=0.5, interpolation_fa...
[ "ebbers@nt.upb.de" ]
ebbers@nt.upb.de
18a6809874be3f707774fe846eb234dd96ce85cf
a5d947fc7f253c8a27bfd022da652da56a9b31e2
/sem1/alglabs/lab2.py
a9d027b031f6bf38286d4b8890d5afddf371f492
[]
no_license
Aneryd/labs
8474597ac3d6c78877855cc5968538a36ec43109
d1685fd57e2187b0a76dc8008fbc7fa3c1b9e58b
refs/heads/master
2021-06-27T20:43:21.690976
2021-01-29T08:04:51
2021-01-29T08:04:51
213,151,395
0
1
null
null
null
null
UTF-8
Python
false
false
612
py
from random import randint def insertion_sort(nums): n = 0 for i in range(1, len(nums)): item_to_insert = nums[i] j = i - 1 n += 1 while j >= 0 and nums[j] > item_to_insert: nums[j + 1] = nums[j] j -= 1 nums[j + 1] = item_to_insert lists = [2, 0...
[ "andrey.zhalo@mail.ru" ]
andrey.zhalo@mail.ru
2c69d24430d77f75815399f9f178d6f0ae2fd184
d49d212da98803dc304603fa64bd9e92dc62f10a
/code/contextual_embeddings/ner2disrpt.py
0d781d50bde2b561c8a973806fd58d823f81b47d
[]
no_license
mortezaezzabady/discut
5fbf085a89cec88007f1c588f2b566d404fc2ef6
7123c4b1034de2dfff0a389d13e7fefaaf6356c5
refs/heads/main
2023-07-22T08:24:56.927207
2021-08-24T15:17:52
2021-08-24T15:17:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
""" maps conll 2003 format (4 fields) to Disrpt expected conll formats (10 fields) """ import sys maptags = {"_":"O", "BeginSeg=Yes": "B-S", "Seg=B-Conn":"B-Conn", "Seg=I-Conn":"I-Conn", "SpaceAfter=No":"O", "Typo=Yes":"O", } inv_map_tags = {maptags[k...
[ "morteza758@gmail.com" ]
morteza758@gmail.com
3e670dafd6105727af35b2c1edecdf612c7eaaad
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/gphnuvoHDANN2Fmca_24.py
cc723449996b7ca6f4347f660b50e68d96b1e7fc
[]
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
820
py
""" Write a function that sorts **only the odd numbers** in a list in **ascending order** , keeping the even numbers in their current place. For example, if our input list is: `[5, 2, 6, 6, 1, 4, 9, 3]`: [_, 2, 6, 6, _, 4, _, _] # Keep evens in place. # Sort odds: [5, 1, 9, 3] => [1, 3, 5, 9] ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e3df5f60e8f13566f68b8032c04d3e39dc02df98
9e098cf8931ec3db0c6a3294cee5fddfb347f260
/mob/wsgi.py
013fd00cec267bb425b90b5c62929d3806c1d49b
[]
no_license
rcmiskin10/django-react-boilerplate
38f92b8cc079a9c8c11f042bc6abbbe533a3b1d5
49d25b611433cc1213d2794ef71ec339116ab136
refs/heads/master
2022-12-13T18:38:54.540780
2018-10-17T15:40:11
2018-10-17T15:40:11
153,481,193
0
0
null
2022-12-08T02:58:15
2018-10-17T15:33:52
JavaScript
UTF-8
Python
false
false
388
py
""" WSGI config for mobsteer 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/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
[ "rcmiskin@Rickys-MBP.home" ]
rcmiskin@Rickys-MBP.home
8a627ab100b1a10efe62ec889516607f57985524
fcde32709c62b8ee86da459bb7c8eee52c848118
/爬虫1905/day07/08_jdspider.py
49d7a558ca271312364fa910876ca9c11b9c08e5
[]
no_license
klaus2015/py_base
6b92d362c3d7dc0e09205a037f4d580381dac94d
ec32c731c1c2f6a0dab87f1d167397e4fa86b8de
refs/heads/master
2022-07-28T15:49:30.383648
2020-05-11T15:31:43
2020-05-11T15:31:43
261,777,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
from selenium import webdriver import time class JdSpider(object): def __init__(self): self.url = 'https://www.jd.com/' # 创建浏览器对象 self.browser = webdriver.Chrome() # 跳转到商品详情页 - 爬虫书 def get_html(self): # 找节点,send_keys() click() so = '//*[@id="key"]' button = ...
[ "598467866@qq.com" ]
598467866@qq.com
9d6863989f14208d6b0e7431896c90f5d1d86abe
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/gYear/Schema+Instance/NISTXML-SV-IV-atomic-gYear-minExclusive-1-3.py
13a8da359fe53d202c09bb9644b516f0c620a4c6
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
326
py
from output.models.nist_data.atomic.g_year.schema_instance.nistschema_sv_iv_atomic_g_year_min_exclusive_1_xsd.nistschema_sv_iv_atomic_g_year_min_exclusive_1 import NistschemaSvIvAtomicGYearMinExclusive1 from xsdata.models.datatype import XmlPeriod obj = NistschemaSvIvAtomicGYearMinExclusive1( value=XmlPeriod("201...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
7fa26d1ff2d3ce60a16bd25c9dc267f1607adfef
9823ee2b1905515c229fe071f9d1faabfd2d08df
/models.py
a03fac26b745ea74c81a405e03a36f52f92fecee
[]
no_license
Basma1412L/Blood_Donation_System
775011e6943e42bb6095442a3109baeb344f9d96
d7bb2dcf0f41a41609ed549c128113f523a82365
refs/heads/main
2023-02-22T08:30:55.889663
2021-01-24T15:59:32
2021-01-24T15:59:32
331,435,541
0
0
null
null
null
null
UTF-8
Python
false
false
5,958
py
import os from sqlalchemy import Column, String, Integer, create_engine from flask_sqlalchemy import SQLAlchemy import json from flask_migrate import Migrate DB_HOST = os.getenv('DB_HOST', '127.0.0.1:5432') DB_USER = os.getenv('DB_USER', '') DB_PASSWORD = os.getenv('DB_PASSWORD', '') DB_NAME = os.getenv('DB_NAME', 'b...
[ "basmammahdy@gmail.com" ]
basmammahdy@gmail.com
ca6c7e77fc32b7483caab1e3fe8a5f47790e471a
4702d2b5aac63b8179b47d946837965664824406
/mmdet/models/losses/pfocal_loss.py
3ffb3ad6c1ec1d84c6d6bb374c331d930946e6c2
[ "Apache-2.0" ]
permissive
ruiningTang/mmdetection
551bf276ee581667703cbe89c2872dc8e7f43bb8
100b0b5e0edddc45af0812b9f1474493c61671ef
refs/heads/master
2021-12-02T05:58:03.301831
2021-11-20T10:58:35
2021-11-20T10:58:35
387,680,731
0
0
Apache-2.0
2021-07-20T05:20:10
2021-07-20T05:20:09
null
UTF-8
Python
false
false
6,835
py
import torch import torch.nn as nn import torch.nn.functional as F from mmcv.ops import sigmoid_focal_loss as _sigmoid_focal_loss from ..builder import LOSSES from .utils import weight_reduce_loss # This method is only for debugging def py_sigmoid_focal_loss(pred, target, ...
[ "tangruining@zju.edu.cn" ]
tangruining@zju.edu.cn
b91107ea3d3c0cf28d14602b6175a807977c061b
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Celvapan_WC500022670.py
3ae311ad14e8fd68fa2f9441794de9d776f12aab
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,329
py
{'_data': [['Uncommon', [['Psychiatric', u'(>1/1 000, < 1/100), s\xe4llsynta (>1/10 000, < 1/1 000), mycket s\xe4llsynta (< 1/10 000)'], ['Psychiatric', u'(\u22651/1 000, < 1/100), s\xe4llsynta (\u22651/10 000, < 1/1 000), mycket s\xe4llsynta (< 1/10 000) \uf0b7Klini...
[ "urudaro@gmail.com" ]
urudaro@gmail.com
5af92f6c9ff966280122d746dd74c3c2644561f3
96633439f9b6d22878a78cf8307077bd559fc0cb
/A Byte of Python/pickling.py
2c2838b39a658a056628c22cb5d6c33964eb8c33
[]
no_license
peter-chen-meihua/python
67299eb0a7e11f1773ebaa6d3ceeb06587688b7b
bbaf9dc29e19c24c246bd3640f26460e3b3d964f
refs/heads/master
2021-01-17T10:23:45.969384
2016-06-21T08:01:50
2016-06-21T08:01:50
58,113,271
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Filename: pickling.py import pickle as p # import pickle as p shoplistfile = 'shoplist.data' # the name of the file where we will store the obect shoplist = ['apple','mango','carrot'] # Write to the file f = open(shoplistfile,'wb') p.dump(shoplist,f) # dump the object...
[ "peter.chen@meihua.info" ]
peter.chen@meihua.info
418fd1fa2ace0a47bf8e9fcdb74cb133ba3d3bf6
0a7092fd1ad3e106169ec173d4c4db5e1e8a5114
/Recogniser.py
2c45f5320cdf7eef3faae5a3c748c40c12d98738
[]
no_license
aryan2511/Face-Recognition-Attendance-System-
7bff48ae8858e3d34166ae3e4dc6e36ca300b79b
997fa148e4e584c5e30c6ab78222cc7a1667544d
refs/heads/main
2023-07-29T08:55:18.214715
2021-09-16T05:08:00
2021-09-16T05:08:00
381,926,080
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
import cv2 import numpy as np; import xlwrite #import firebase.firebase_ini as fire; import time import sys from playsound import playsound start = time.time() period = 8 face_cas = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') cap = cv2.VideoCapture(0); recognizer = cv2.face.LBPHFaceRecogni...
[ "noreply@github.com" ]
aryan2511.noreply@github.com
4dada9e265e846a20d45a26020f70ca767cf8fce
29d7126b822aa7ba8159d620177af71830c999de
/web3sr/settings.py
34fb9a539b7263d3db26e2a8a864d2cc63106871
[]
no_license
roubin/web3sr
ecc797d4e7b42706c9b14282e81a8853ab0200f5
04a6cd58968e056fa2bbca19edebb794e4cc711e
refs/heads/master
2021-09-09T05:03:31.954046
2019-11-20T14:44:19
2019-11-20T14:44:19
162,558,783
0
0
null
2021-09-08T00:39:50
2018-12-20T09:44:38
Python
UTF-8
Python
false
false
3,717
py
""" Django settings for web3sr project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os imp...
[ "emmanuel.roubin@univ-grenoble-alpes.fr" ]
emmanuel.roubin@univ-grenoble-alpes.fr
c792b0da09bba8ff714d4777ea33653fc69e8687
98679345dc531f76f39b59ee1979ca719cae97a0
/webapp/apps/posts/urls.py
9a304b7eccc8e4da89204ff9297cddb44239ab4e
[]
no_license
jpennell/jamespennell.com
215122764629c31c98510c54f2491f790f880d0e
a247600cd989bf5319b421a8ad72baeb5d9f6746
refs/heads/master
2016-09-05T21:28:42.589509
2012-09-19T01:42:35
2012-09-19T01:42:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
#Django from django.conf.urls import patterns, url urlpatterns = patterns('webapp.apps.posts.views', url(r'^$', 'list', name='blog'), url(r'^(?P<page_id>\d+)/$', 'list', name="post-list"), url(r'^posts/(?P<post_id>\d+)/$', 'detail', name="post-detail"), )
[ "pennell.james@gmail.com" ]
pennell.james@gmail.com
23778bba08ea8b9dc909bcc66d74340cc091cceb
32cc5fe0dd9376f9f7211f6defe3100cfdc10b3c
/List/processing.py
8990bdf1b3d73ddd015e53b8f9d5d65ee8405eeb
[]
no_license
RegCookies/Offer-Sward
601bb16d107027599de1376db76435875d6525e7
82cff33aee421a2e4288e8d21ea3a54a8834a8ec
refs/heads/master
2020-03-31T00:35:20.246454
2018-12-10T13:59:29
2018-12-10T13:59:29
151,746,368
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
def process(t,n): if t == None or n <= 0: return None m = len(t) proTime = [0]* m i = 0 while i < n: minTime = proTime[0] + t[0] minIndex = 0 j = 1 while j < m: if minTime > proTime[j] + t[j]: minTime = proTime[j] + t[j] ...
[ "noreply@github.com" ]
RegCookies.noreply@github.com
f4b12586bf9abd4c4663188c7cbc292cee8136ef
575240d2b0fd35949b22e1ce5760d2a3138198d3
/model/gen_discr.py
23c6c8bfebfed38c57d27381b4cf634d42486a2c
[]
no_license
rosasha/GAN_PROJECT_Pix2Pix
9805afa143ec61353fca83cd1a7357803940e7b9
1c9413042866c8a5eff69e871e0359095f0edbcc
refs/heads/main
2023-06-09T15:41:19.599604
2021-06-28T19:49:06
2021-06-28T19:49:06
380,448,210
0
0
null
null
null
null
UTF-8
Python
false
false
4,722
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import torch import torch.nn as nn # In[2]: class CBlock(nn.Module): def __init__(self, in_channels, out_channels, kernel_size=4, stride=2, padding=1, act=True, batch_norm=True): super(CBlock, self).__init__() self.conv = nn.Conv2d(in_channels, ...
[ "noreply@github.com" ]
rosasha.noreply@github.com
4997c9339d9d0df9bba877982b2292b8987a2abf
c36bbf6dec27f09a68533757de1e89b8a23d03c0
/users/admin.py
40d785b716024ef290349df40d26afe26b06d303
[]
no_license
burkero2/DjangoRestFrameScriptReview
6f4371c42b0dc131f388f649dbdb86c403c1afbe
2a6419a57946cb1bbf6418cd14387845c855982e
refs/heads/master
2023-04-23T13:39:52.563510
2021-05-05T10:21:10
2021-05-05T10:21:10
363,164,303
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from django.contrib import admin from users.models import User admin.site.register(User) # Register your models here.
[ "ronanburke@codeinstitute.net" ]
ronanburke@codeinstitute.net
030646f3a5593f31e327c3222a129c8c220aa697
85db48abe193d15a7462c836ca04701f5350685e
/users/forms.py
ba31ab4b69690e5a62502e630f27e6f3bfd63047
[ "MIT" ]
permissive
Sakkadas/Notes
bdc91f78e3c5b9b742e8d1c8458a4b860e76c0bd
e438f58957ca1737ca714b5619abf76535236f66
refs/heads/main
2023-08-10T18:26:29.489054
2021-09-29T23:51:28
2021-09-29T23:51:28
404,781,785
3
0
MIT
2021-09-29T23:51:29
2021-09-09T15:49:24
Python
UTF-8
Python
false
false
591
py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from .models import Profile class ProfileUpdateForm(forms.ModelForm): class Meta: model = Profile fields = ['image'] class UserRegisterForm(UserCreationForm): email = ...
[ "eildos95@gmail.com" ]
eildos95@gmail.com
db48bfd37481546197299de553669f6a9bf2992f
b87e9eb579b74e686fa849aee1ac03f8c121b9d2
/backend/src/pages/api/views.py
869d6bae3e375820f4f6027713a24b0284dc1b45
[]
no_license
ashishsth7586/portfolio_ashish
1b5e5fdf718d70c33e987d856e1ab2b9bdf8873a
d631a915025d04fe02917110329b03b70e0537fd
refs/heads/master
2020-07-18T01:37:06.240431
2019-09-03T18:30:04
2019-09-03T18:30:04
206,145,237
2
0
null
null
null
null
UTF-8
Python
false
false
1,322
py
from rest_framework import generics from ..models import Landing, About, SocialMedia, Quote, Testimonial, Service from .serializers import LandingSerializer, AboutSerializer, SocialMediaSerializer, QuotesSerializer, ServicesSerializer, TestimonialsSerializer from rest_framework.permissions import IsAuthenticated clas...
[ "ashishsth7586@gmail.com" ]
ashishsth7586@gmail.com
80b80379f799a97a89a989a13151110accb63027
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.5_rd=0.5_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=97/sched.py
8310502bd1912f44a7c659b2051b2246b0d18ba3
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
-X FMLP -Q 0 -L 5 124 400 -X FMLP -Q 0 -L 5 96 400 -X FMLP -Q 1 -L 4 85 250 -X FMLP -Q 1 -L 4 68 300 -X FMLP -Q 2 -L 4 68 400 -X FMLP -Q 3 -L 2 46 175 43 250 33 250 29 150 22 100 21 175 14 125
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
36bc561271b70d587b0f4fc8d18aa3b2886100ff
42dc3691d2d7c7ac45228ee59b205e861d5c6c2d
/2-4-Partition.py
db743f0a19197cd2ae2bbf9a7a014ece028ba084
[]
no_license
jihua0125/CrackingCode
cc5f3b3198091f60609f0047f63069e8269149d2
55bf87609504c544004d4a434b35cb53ddb0b1dc
refs/heads/master
2020-12-02T19:33:59.096847
2017-07-10T02:33:59
2017-07-10T02:33:59
96,360,624
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
from linked_list import LinkedList import numpy as np def partition(ll,value): current=ll.tail=ll.head while current: next_node=current.next if current.data<value: current.next=ll.head ll.head=current else: ll.tail.next=current ll.tail=curr...
[ "410763264@qq.com" ]
410763264@qq.com
56013a18d49abb0d2dd5186db5775fc905270132
df1afc930ffba283c163d08a3692d14c02fd4766
/final test/tests/CreateTestFiles.py
0dab059af8f7e60fac7c2469774997c7f8c30ec5
[]
no_license
asafweinberg/swProject
f2b95f4b6073727a90c0fddbb2e93a675a629d1f
f0651426bb9556be45494a43dc1afa3bcc1c561a
refs/heads/main
2023-07-19T12:09:29.223577
2021-09-11T11:48:29
2021-09-11T11:48:29
395,636,009
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
import pandas as pd import numpy as np from sklearn.datasets import make_blobs import matplotlib.pyplot as plt import os '''Creates the files for all goals except jacobi''' filesToCreate = pd.read_csv(os.path.join(".", "tests", "FilesToCreate.csv")) i = 0 for row in filesToCreate.itertuples(): if (i == 10): ...
[ "73112049+Carinz@users.noreply.github.com" ]
73112049+Carinz@users.noreply.github.com
10c611ca3601f9e0af871f32c73bc6fd9ea86f67
eb38334d649bfc037b7680e873179d5f7bdeaa9a
/Clase2/main.py
cca294bba234f2f478627f3e35b3688afe2a3992
[]
no_license
VirtualEvan/Practicas_ALS
2e96339eec34fbacc6a7a308a08b512b45fdf143
fbc613b766e99815216cffa5c1ebc3348a06aeaf
refs/heads/master
2021-01-18T13:14:36.195231
2017-05-10T15:51:08
2017-05-10T15:51:08
80,743,083
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
l = [1, 2, 3] # Imprime una lista print(l) # Imprime un array completo for x in l: print(x, end=' ') print() for i, x in enumerate(l): print(str.format("{0}: {1}", i, x), end=', ') #Número de elementos print("\nNúmero de elementos: ", len(l)) #Slices #Del segundo en adelante print("\nDel segundo en adelan...
[ "virtualevan@gmail.com" ]
virtualevan@gmail.com
744dfd4eea05bb5f89cb394fc9b7a7d0ad5e9d41
1b532f79e859705052ec77404fff3d4da5de0029
/5.py
3fbc31bf3dac5fc18bb76d7bb61004d1c569bd21
[]
no_license
salmanchik1/Project_Euler
270808f6e5785669d970b63cfd111bf7250bfe82
1e8a322dbded17366c1b2d841a2645332c9114d6
refs/heads/master
2021-07-08T03:23:13.123859
2020-11-05T20:49:07
2020-11-05T20:49:07
203,200,636
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# This algorithm written in Python 3.7 number = 1 maxim = 20 divs = list() for i in range(2, maxim+1): temp = i for d in divs: if temp % d == 0: temp = int(temp / d) if temp > 1: divs.append(temp) for i in divs: number *= i print("The smallest number divisible by all the nu...
[ "salmanov.ramis@gmail.com" ]
salmanov.ramis@gmail.com
a54fc74712c2351e533d5d191a62f6d9f51adafe
043758666a3e92fb301249d0d09047827ec4aeaf
/yellowscrapper/yellowscrapper-backup.py
74b76d163cabe7b3d759b74f61a6662209e90d2d
[]
no_license
oasisers99/auyellow
981aba4a7b9c2d3a545d8194c6c0c546aeef43f8
e8444d789236230b3c63ff1157d63bd461830c7a
refs/heads/master
2020-04-03T01:01:43.584647
2017-07-19T01:50:53
2017-07-19T01:50:53
95,749,868
0
0
null
null
null
null
UTF-8
Python
false
false
1,078
py
import scrapy #scrapy crawl yellow -o medical.json -t jsonlines class YellowSpider(scrapy.Spider): name = "yellow" category = "medical" start_urls = [ 'https://www.yellowpages.com.au/search/listings?clue='+category+'&locationClue=australia', ] def parse(self, response): # Target t...
[ "minseok@proviso.com.au" ]
minseok@proviso.com.au
437cfbfa7c38cf89e1a99c34ac5bd06994a25269
c78f8b10dee1be23ec69b1140066a3b555cd19fa
/climatevis/ClimateApp/tempCodeRunnerFile.py
0c63b1cb874ae082af86c4027f90f21a9148e7a7
[]
no_license
ishancoderr/ClimateApp
b49ef10363147005de433af9121be958e82f6c8d
9b5a0e1877cf0ce99fe59976e2454bfa443c6dd0
refs/heads/main
2023-03-14T13:38:25.458507
2021-03-17T13:37:45
2021-03-17T13:37:45
348,718,810
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from django.urls import path urlpatterns = [ path(' ',views.IndexView,name="home"), path('dashboard/', views.dashboardView,name="dashboard"), path('login/',), path('register/',), path('logout/',),
[ "noreply@github.com" ]
ishancoderr.noreply@github.com
d8f26552c908700a66965cea7e9d501644e592e1
6a54f6ed872a990669c1f75eaeae51e99ef2268c
/prefix-1.py
c5a359f626c175767f12e49f03cbca5f859b1bd9
[]
no_license
SamK1102/CA116
f3d872f5c09b51cfcf9eca88803f8b11a42b470c
a0edf8ead224979187d41b94326abaabe5aa4a45
refs/heads/master
2020-04-06T14:57:41.595781
2018-12-04T15:48:37
2018-12-04T15:48:37
157,560,670
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
#!/usr/bin/env python if __name__ == "__main__": a = ["mountain", "montagne", "mont", "mo", "montages", "zebra", "monthly"] s = "mont" i = 0 while i < len(a): if (a[i][:len(s)] == s): print a[i] i = i + 1
[ "noreply@github.com" ]
SamK1102.noreply@github.com
7682d6c07e4a6d11881df7f096b87f6cb3449778
0890a25baf9508092e6f3f90008eb47aefb1fd0d
/quickmansprite.pyde
7215c542f65c2060004f1cb89023be340c453930
[]
no_license
kiwi-fruitiwi/quickmansprite
3dd0731cedb9cd6ee2e19261270fbefd1ec79977
23736f0c26b27fbfd71ef27a07bf8f9323b6974b
refs/heads/main
2023-07-26T00:32:21.564367
2021-09-02T22:43:05
2021-09-02T22:43:05
389,968,587
0
0
null
null
null
null
UTF-8
Python
false
false
4,006
pyde
# Coding Challenge #111: animated sprite # 2021.07.27 # We're planning to animate Quick Man from Mega Man 2 # see https://www.youtube.com/watch?v=8s_00b0stJU for mm2 gameplay # # v0.01 animate quick man boss intro sequence with custom spritesheet # v0.02 cut and animate walking sequence # explore: how do we...
[ "zane.tian@gmail.com" ]
zane.tian@gmail.com
6b34f7ac5fa39f607628f1f9a9cb7721a347f201
c1e93f2110db91b22609762aa1c9cfcf608c0975
/music/migrations/0006_auto_20200523_1934.py
389d3011f271ef1dd7e441c917ad3957049e11bf
[]
no_license
eliyajoseph7/music_app
6f49979726b65cc9b664602acd263d2b787128b0
802780e6186f7cd3ba27a4b1c21f09f701c7cb1e
refs/heads/master
2022-07-04T22:54:22.775210
2020-05-24T19:44:38
2020-05-24T19:44:38
264,457,951
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
# Generated by Django 3.0.2 on 2020-05-23 16:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('music', '0005_auto_20200523_1831'), ] operations = [ migrations.AlterModelOptions( name='wordsofwisdom', options={'o...
[ "exaveryeliya20@gmail.com" ]
exaveryeliya20@gmail.com
ef0c8cfa4b93452b1906d594b5415c9bac502824
6b1f5f6597d51125e0cfae59300ea75153e3e498
/Test/myChart.py
c4e31c161b3a62d8714684977ca82fce2a50cbc3
[]
no_license
zhangzongbo/spider
3eba26e212703cdd1ddbf760c1ffa623f03f08ad
8dfd98b1e2e2f5a4401c4f682dda2016939f2d0c
refs/heads/master
2020-03-25T14:12:25.996603
2019-08-13T07:52:19
2019-08-13T07:52:19
143,855,627
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
from pyecharts import Bar bar = Bar("我的第一个图表", "这里是副标题") bar.use_theme('dark') bar.add("服装", ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"], [5, 20, 36, 10, 75, 90]) bar.add("topK", ["张悬", "晚安", "荣幸", "何其", "珍惜", "爱心", "真的", "时候", "拥抱", "知道", "关于", "没有", "首歌", "自己", "喜欢", "侥幸", "拥有", "人生", "失去", "我爱你"], [0, ...
[ "zhangzongbo1994@gmail.com" ]
zhangzongbo1994@gmail.com
d9ab06c72d99dfe38d4dd22f885bc5a20e145dc0
e21a22e5c7c92b28460b75106a965c81327ae6e4
/polls/views.py
410746ed5adda2ee205827bee8e07605173a0ee8
[ "MIT" ]
permissive
vakhov/django-vote-example
356e031483b292eadaefd6087d89ebc52fe8c7a5
0e27e07d9cdfd2bcc06635bf2a79e7ef5d225f4f
refs/heads/master
2020-07-30T14:20:17.670548
2017-11-05T15:37:36
2017-11-05T15:37:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse from django.views import generic from django.utils import timezone from .models import Question, Choice class IndexView(generic.ListView): template_name = ...
[ "yxwzaxns@gmail.com" ]
yxwzaxns@gmail.com
3f135cd5cd8056baca9a2970e258d3bbce6ca2e5
a271140b2895c637512850394cd701ff6e519eba
/Ejemplo8.py
44945e80efb38d64be168e8a7713e7f5673c5330
[]
no_license
AntonioCatalanSanchez/EjerciciosPython
200ec456d3fc31e710602d509d124ceff0df345c
a849b5575ee385c23daf16e2b0ee1380ef7a4ff1
refs/heads/master
2020-05-04T22:04:10.870937
2019-04-04T12:59:37
2019-04-04T12:59:37
179,498,331
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
x=2 numero=int(input("introduce un numero: ")) while(numero != 1): if(numero % x==0): print (str(x)) numero=numero/x else: x = x + 1
[ "antonio.catalansanchez@telefonica.com" ]
antonio.catalansanchez@telefonica.com
769fc6529e818632e8697f4316f134bee5fd1efc
797ba1fee05e90bea95964f12c5e9ca3bb889dca
/feed/migrations/0010_feed_image.py
80a738b16f7051b87554822e38e23927f449054d
[]
no_license
sanjanaasinha/insta-me
3b12383164e07a28444c0e36d65ad52869bedb94
6ede9c8c3a67cf9b22cc0fcd92d5a3d42aa2b46e
refs/heads/master
2021-09-08T00:51:28.452384
2018-03-04T18:39:44
2018-03-04T18:39:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-02-24 16:52 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('feed', '0009_remove_feed_image'), ] operations = [ ...
[ "sanjana.ss.sinha@gmail.com" ]
sanjana.ss.sinha@gmail.com
694bbf8a0bc9a70bcc2d0decb623a43285ed0a43
1c3fb3c990bd07259c1701c709a28ec45cd0c748
/services/core-api/app/api/now_applications/resources/now_application_import_resource.py
d81a820815a7f11229bf5e30b97e659e6572e3c3
[ "Apache-2.0" ]
permissive
usingtechnology/mds
f973106232f73f773bb4bb57737094dd32b1bd3c
c9c542f729df21511ee46e184ea752bad0b7d10c
refs/heads/master
2022-04-13T07:56:59.060216
2020-03-21T22:43:05
2020-03-21T22:43:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,693
py
import uuid from datetime import datetime from decimal import Decimal from flask import request, current_app from flask_restplus import Resource from werkzeug.exceptions import BadRequest, InternalServerError, NotFound from app.extensions import api from app.api.utils.access_decorators import requires_role_view_all, ...
[ "bcgov-csnr-cd@gov.bc.ca" ]
bcgov-csnr-cd@gov.bc.ca
8a3ffbbf040fed8d8a8b53a2550dfa256919edbb
d24cf7a2691f52ef2caf4578f8ee1feee3bab9e3
/computeQuantizationError.py
a0f714b0b29d4c970c5c40f6613bfef6210cafc4
[]
no_license
SrinidhiPalwayi/ps3
e2a651c5da3c80ae86817053c605f8af6f0cafeb
fb03663cb0d82eedb6dc2a21c22a80d20614de68
refs/heads/master
2020-04-02T16:21:55.821199
2018-10-25T04:17:41
2018-10-25T04:17:41
154,609,228
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
import matplotlib.pyplot as plt import numpy as np from sklearn import cluster from scipy import misc import scipy.misc from skimage import color def computeQuantizationError(origImage, quantizedImg): start = plt.imread(origImage) start = np.array(start, dtype='float') end = quantizedImg diff = np.subt...
[ "srinidhipalwayi@lawn-143-215-114-218.lawn.gatech.edu" ]
srinidhipalwayi@lawn-143-215-114-218.lawn.gatech.edu
77f975580a4eff9e2a4663283f48895dc34d8117
9374a0514cf193189f57f6ee96b4c4c7d226c689
/config.py
6e6df87c59768c72662dd74b2511825eccd2a749
[]
no_license
h4ck3rm1k3/replication-mirror
cbb08d8e29e3cd190816896939c0df2b7b21c93e
aaa69a8843e86744194bf7584d15bd76a7b71947
refs/heads/master
2021-01-15T10:37:14.184293
2012-09-03T21:41:22
2012-09-03T21:41:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
REPLICATE_BASE = 'http://planet.openstreetmap.org/redaction-period/minute-replicate/' REPLICATE_DISK = '/home/pnorman/osm/replication-mirror/redaction-minute-replication'
[ "penorman@mac.com" ]
penorman@mac.com
1465d969eefc5d32ecc6801620377401355e9a4c
0f4d72e1d30d2986e5fdfc98723b260166132e03
/tests/gpflow/likelihoods/test_heteroskedastic.py
8ad798ec3e236f03b623943501ba8864c035b2b8
[ "Apache-2.0" ]
permissive
vishalbelsare/GPflow
4991c238b7f8021c155940f3dfe99fb6bf0186ca
b716d22c7428f1bbe6bf4b361fdd0c7cb342a000
refs/heads/develop
2023-08-17T12:04:09.178253
2023-08-09T07:05:49
2023-08-09T07:05:49
392,794,283
0
0
Apache-2.0
2023-08-09T11:34:26
2021-08-04T18:42:41
Python
UTF-8
Python
false
false
1,688
py
# Copyright 2020 The GPflow Contributors. 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...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
7e74111ed54dae397d94ad4472237e042aa8c481
3b8d74a60e923da959e8d36a74b34c10e11c3733
/backend/index.py
672c53b56cac6f04c0d11a740ed7d4166ff931c0
[]
no_license
zain-mustafa/sentiment-analysis
ca7d86f27fc73d16d5339918b01074b939968896
42d0de01d305d3e61770d198d003616c6df2807e
refs/heads/master
2020-05-19T10:59:54.738766
2019-05-05T05:11:35
2019-05-05T05:11:35
184,979,562
0
0
null
null
null
null
UTF-8
Python
false
false
39,516
py
import json import re from flask import Flask, jsonify import tweepy from twython import Twython, TwythonError from tweepy import OAuthHandler from textblob import TextBlob import re import requests, json import pymongo from pymongo import MongoClient app = Flask(__name__) consumer_key = 'iSaIm4...
[ "zainmustafa@Zains-MacBook-Pro.local" ]
zainmustafa@Zains-MacBook-Pro.local
634a7e6ba53de55dedd32d88b1d65db04278345f
da18a193b24638bb11429d5038b5b5028b46373f
/service/service.py
2d5b0bd3a2032fc75cd51624155f44b073a1e6da
[]
no_license
ankurmishra1394/Image-Management-API
2b4587173c029fce0dc9e05d91f4b662934e3c2e
df8a166e4397aa6226a9a97cb2fed74303dd07f8
refs/heads/master
2021-08-09T15:23:07.714662
2017-11-12T07:53:21
2017-11-12T07:53:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
py
''' class-name LocalUploader LocalUploader class is being used for storing the uploaded files on to the server This class contains some methods for uploading, viewing, updating and deleting file from/on server. ''' class LocalUploader(object): ## # To Upload Multiple Files onto the Server # @param request obje...
[ "ankurmishra0113@gmail.com" ]
ankurmishra0113@gmail.com
e364df9ca876ec4a9c08bd80bc41c32c299fef9e
0212052f3e8be319130986845f41e140598a21ac
/Gallery/main/models.py
1bde24eaf65121f9f70869ac71560d07a6a964cd
[]
no_license
keerthi-aluvala/Gallery
59bcfc89b588937224bdb86cb25c96f38f82761c
1eecccca9b3fdcd8448756ce2c20b438c814ede9
refs/heads/master
2023-07-28T16:23:59.976639
2021-09-15T10:09:33
2021-09-15T10:09:33
406,399,578
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
from django.db import models from django.db.models import Model from django.urls import reverse class post(models.Model): ImgName = models.CharField(max_length=100) ImgURL = models.URLField(max_length = 200) ImgDetails = models.TextField() def __str__(self): return self.ImgName def get_ab...
[ "keerthialuvala7@gmail.com" ]
keerthialuvala7@gmail.com
acdda252484cb17888b94d4969ee876e1f3b628e
48025a7707c346e1d101d2cc6254b3d7fbcdbbc2
/users/views.py
70636e5fda39403e7a71fda2090c26ed78afc794
[]
no_license
pratikgupta222/wallet_management
144a00062406c4906c3b1519a4015924ba7d021d
eaa14cb289ba8e2b1c9e3630ab6f1aab7d7acf04
refs/heads/master
2020-04-25T05:11:48.520580
2019-03-06T23:19:09
2019-03-06T23:19:09
172,534,547
1
0
null
2019-03-06T23:19:10
2019-02-25T15:43:04
Python
UTF-8
Python
false
false
4,288
py
from django.db import transaction from rest_framework import status, views from rest_framework.authentication import BasicAuthentication from rest_framework.permissions import IsAuthenticated, AllowAny from rest_framework.response import Response from users.models import User from users.helpers import * from users.pe...
[ "pratikgupta222@gmail.com" ]
pratikgupta222@gmail.com
a0e23f6a3c0c9cdb18ef53bd34c776108cfea1db
a877e4c20c302127a1370b67bc16c30af9bcbb5c
/PTT_KCM_API/tests.py
7e940839c6f9473976b84ee0ef84d5f858c52200
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
UDICatNCHU/PTT_KCM_API
a727256c0561b139b041a0369218bcb1d0f9523e
557f4669adb80b13a61061ad9bf5d1926a476c27
refs/heads/master
2021-01-12T16:17:11.814661
2017-01-01T07:48:36
2017-01-01T07:48:36
71,979,578
0
1
null
null
null
null
UTF-8
Python
false
false
529
py
from django.test import TestCase from django.test import Client from django.core.urlresolvers import reverse from djangoApiDec.djangoApiDec import getJsonFromApi import subprocess # Create your tests here. class ApiTestCase(TestCase): def init(self): self.client = Client() def test_api_works(self): subprocess....
[ "davidtnfsh@gmail.com" ]
davidtnfsh@gmail.com
72b2a0612ddf0ffc92368d6b3dc82a8b544faf7e
f32d210cde79a724d819b0e193914144ed5e99aa
/bin/easy_install
f90cc5ca7ec77f077fd653836694e0918fd27887
[]
no_license
ojas97/Face_reco
7020709450fd683ccf34462357396e29e707cfaf
ad6638dd05b0d629a15dea8892bec942e74e4dea
refs/heads/master
2020-03-10T14:42:15.527509
2018-04-14T13:09:20
2018-04-14T13:09:20
129,432,896
0
1
null
2018-04-14T11:13:46
2018-04-13T17:18:43
Python
UTF-8
Python
false
false
271
#!/home/ojas/PycharmProjects/Term_Project/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ojasagarwal97@gmail.com" ]
ojasagarwal97@gmail.com
c1a988ceb9d4927e78e0e02a15b68ff07d1ccab1
8032cf4330288a9d947bd0f48d13c450346ed9c9
/color_mongo.py
b32d30c29204f8ef1c25a3b34c07211e93bd935b
[ "Apache-2.0" ]
permissive
ColorPlatform/spectrum-mvp
eefd16160e9e0ef38f4c9e96644201a29035a348
48a5fa3664a4778d60fcf8f88992e14c988548be
refs/heads/master
2022-12-14T19:42:47.208421
2018-12-18T10:02:45
2018-12-18T10:02:45
162,266,191
1
0
NOASSERTION
2022-12-08T01:20:21
2018-12-18T09:49:28
Python
UTF-8
Python
false
false
4,380
py
import pymongo import json from bson.py3compat import (_unicode) class ColorMongo: """This class looks like MongoDB API, but allows only operations supported in chaincode """ def __init__(self, blockchain_url, database_host, database_name='WALLETSDB', collection_name='wallets'): self.__client = p...
[ "a.tapekhin@gmail.com" ]
a.tapekhin@gmail.com
1c37c034aa9ddf26b763e81f1d2a97817418c05d
6db191f44416ab051a2afeb674b8b667ace63490
/shellob.py
233fdaab05a0d812c88413765bd39e8e9937fee6
[]
no_license
maldy/shellob
82a665c0576429b59ee6756d86c350ddb232ca1f
d139b558257ff7fc24b4b1d06ae11365ff1345a8
refs/heads/master
2020-04-06T06:55:21.288521
2011-10-22T11:45:53
2011-10-22T11:45:53
2,375,173
0
1
null
null
null
null
UTF-8
Python
false
false
3,919
py
#!/usr/bin/env python """ shellob.py ! ! \._\____/_./ _._/ \_._ .-\____/-. / oOOo \ < > A slightly simple webcrawler. """ __version__ = "0.5" __authors__ = "maldy (lordmaldy at gmail dot com), Vishaka (vishakadatta at\ gmail dot com)" import re import socket import da...
[ "lordmaldy@gmail.com" ]
lordmaldy@gmail.com
9769b68ced1dc51abf28a9414ee09acacdfb932d
7223690a5bf83b3fd5141fb906cf91c58ed9063c
/Practice/dollar.py
406dd91288977a12f456b24032fa0917f4f5ac46
[]
no_license
BowwowKeye/wasteyard
74326059ec784b9d0ba9fbb3031e794d409dcd3e
4f4309dd4a46228950ddda0d333564ef27f8fa6b
refs/heads/master
2021-04-06T10:19:11.033944
2018-06-06T12:22:30
2018-06-06T12:22:30
124,637,011
0
0
null
2018-03-11T03:58:47
2018-03-10T08:31:47
Python
UTF-8
Python
false
false
280
py
total=raw_input('input your money') total=float(total) if total<1: total*=100 (quarter,total)=divmod(total,25) (dime,total)=divmod(total,10) (nickel,total)=divmod(total,5) (cent,total)=divmod(total,1) print 'quarter:%d,dime:%d,nickel:%d,cent:%d' % (quarter,dime,nickel,cent)
[ "quant.wkai@gmail.com" ]
quant.wkai@gmail.com
000520180d72bddfb7d6589c47de3fce6083e0a2
bf593db51f9a3ef9a4cd8235466e4dd138ee61f2
/IT 310 - Data Structures and Algorithms/6.5.py
11f04298206910ee925b9d81c8a8bd8032aad2a7
[]
no_license
TylerBade/Classwork
101e35d006cdf5d52079270c0f745a87a3142774
43ecc9b46d2d7fe604eac33ca064e9bc1c23302c
refs/heads/master
2020-03-22T04:55:15.210658
2018-10-22T06:53:05
2018-10-22T06:53:05
137,776,911
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
class Stack: def __init__( self ): self._items = list(); def isEmpty( self ): return len( self ) == 0; def __len__ (self): return len(self._items); def peek(self): if self.isEmpty(): return "No values to peek at."; else: return self._ite...
[ "Tjbade@gmail.com" ]
Tjbade@gmail.com
e9fdf3118d27b5e5d62637f7854d1467fe0198df
eec259ed9551157fc7d39759be9da014e6b56cd0
/python/cuspatial/cuspatial/core/spatial/distance.py
fa53bacee3fac90172a1d21e6206b47b279b871d
[ "Apache-2.0" ]
permissive
rapidsai/cuspatial
b4699ffe73ac217ec40244e231d33675470d3e30
a87d21f0cf70116576bf7dbdd42db2bcfd50e7d4
refs/heads/branch-23.10
2023-08-31T10:49:25.144482
2023-08-30T22:02:04
2023-08-30T22:02:04
199,666,905
509
136
Apache-2.0
2023-09-08T21:07:05
2019-07-30T14:23:22
Jupyter Notebook
UTF-8
Python
false
false
22,088
py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. import cudf from cudf import DataFrame, Series from cudf.core.column import as_column from cuspatial._lib.distance import ( directed_hausdorff_distance as cpp_directed_hausdorff_distance, haversine_distance as cpp_haversine_distance, pairwise_linestring_dista...
[ "noreply@github.com" ]
rapidsai.noreply@github.com
07e7df0816c1957b767384afad42bcae44dc81fd
1b966dfe5516ac1cc080ff9305104b0b31463f00
/word-count/word_count.py
ddb6e542a8ddff1c3263eef9c7623f8ad95d3b5e
[]
no_license
Nephasis/exercismPython
877f9b0906b6882c99a747f98124bcea3c4cbeeb
4ca9481ceb555c7b7427d255500720a938d47f25
refs/heads/master
2021-07-06T09:55:16.483723
2017-10-02T16:52:35
2017-10-02T16:52:35
105,559,939
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
import re def words_split(sentence): words = re.sub("[^a-zA-Z0-9]", " ", sentence.lower()).split() return words def word_count(sentence): words_dict = {} words = re.sub("[^a-zA-Z0-9]", " ", sentence.lower()).split() print words for i in words: z = 1 print i if words[z] ...
[ "martyna.zaa@gmail.com" ]
martyna.zaa@gmail.com
c610d3b2b1ed632057809c123585fd8cbb40363f
cdcb58cddf422079e27550d4db344cb634b2806e
/record_facesepimg.py
537d43c5025c048e8d51f4ac09bb17b336dbefb3
[]
no_license
JeeveshJoshi/Home-Security-Solution-Using-Facial-Recognition
a26a468b131c11efcffae97d1fb8a87702d46e76
e2028d4fa5f783d4c6f590ce643ed65fffe40502
refs/heads/master
2022-08-06T23:59:10.928273
2020-05-28T17:51:50
2020-05-28T17:51:50
267,657,536
0
0
null
null
null
null
UTF-8
Python
false
false
936
py
import cv2 import numpy as np import sqlite3 import os conn = sqlite3.connect('database.db') if not os.path.exists('./dataset'): os.makedirs('./dataset') c = conn.cursor() face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') cap = cv2.VideoCapture('t2.mp4') uname = input("Enter you...
[ "noreply@github.com" ]
JeeveshJoshi.noreply@github.com
205b5a1ec4dae46d7dc21465fb1acc9354c8e8a4
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/prb_control/functional/__init__.py
3c9b3da695003de294a48c0ffe4eae03d5b61bb6
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
820
py
# 2015.11.18 11:52:50 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/prb_control/functional/__init__.py from constants import IS_DEVELOPMENT def initDevFunctional(): if IS_DEVELOPMENT: try: from gui.development.dev_prebattle import init except ImportError: ...
[ "info@webium.sk" ]
info@webium.sk
784f981f27b845d2b714770887c997029b4fbecb
f6763d51437acf9b44eba1fe571f13a06439167f
/ses3d/make_stations.py
394d334d11f2d82c700a9fea8a301f9ffbc41098
[]
no_license
xian-ran/seis_tools
335566f71eb975dab43c9b6c17b0a865be02581a
3a7b3f6b35e6d137924e8e95c6fac56681f772dc
refs/heads/master
2020-11-24T19:26:10.994293
2019-04-01T18:28:18
2019-04-01T18:28:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap #======================================================= # Create grid of receivers for SES3d #======================================================= depth = 0.0 rec_names = [] rec_coors = [] #main station grid d_lon ...
[ "romaguir@porphyroblast.earth.lsa.umich.edu" ]
romaguir@porphyroblast.earth.lsa.umich.edu
be412d528058f753a7b389f8cbfce506b85546f3
ae792370eceb39e303e6751ed596bc91b5571d47
/src/get_feature/configs/guided_anchoring/ga_htc.py
08d50332122224939af0155e01831545cb4a0727
[ "Apache-2.0" ]
permissive
13282803166/-
587d2e0c10a1f2b3f22d181cc3386aa4f0e001f7
e0fdef286d5342ebaec2fe308f4c6f8994d559d1
refs/heads/main
2023-01-12T04:31:40.662915
2020-11-16T11:02:08
2020-11-16T11:02:08
313,269,308
0
0
null
null
null
null
UTF-8
Python
false
false
8,553
py
# model settings model = dict( type='HybridTaskCascade', pretrained='open-mmlab://resnext101_32x4d', interleaved=True, num_stages=3, backbone=dict( type='ResNeXt', depth=101, groups=32, base_width=4, num_stages=4, out_indices=(0, 1, 2, 3), froz...
[ "75088620@qq.com" ]
75088620@qq.com
070247a137b4ed8efb5298e3b5558eb09767c14e
e37a4775935435eda9f176c44005912253a720d8
/datadriven/python/uq/analysis/asgc/ASGCKnowledge.py
2d5cee2138bd18097ee69c0b5a83f398141e11a7
[]
no_license
JihoYang/SGpp
b1d90d2d9e8f8be0092e1a9fa0f37a5f49213c29
7e547110584891beed194d496e23194dd90ccd20
refs/heads/master
2020-04-25T10:27:58.081281
2018-09-29T19:33:13
2018-09-29T19:33:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,745
py
import numpy as np from pysgpp.extensions.datadriven.uq.analysis import KnowledgeTypes from pysgpp.extensions.datadriven.uq.operations.sparse_grid import copyGrid from pysgpp import DataVector, Grid import pysgpp.extensions.datadriven.uq.jsonLib as ju import pysgpp.extensions.datadriven.utils.json as json from pysgpp...
[ "dirk.pflueger@ipvs.uni-stuttgart.de" ]
dirk.pflueger@ipvs.uni-stuttgart.de
4e63a72eaba3f13bff579913c6fdfd0aca1897d5
dc2a3ce315feec4757bc41215faff57ffdf546a0
/Classification/classification.py
724029a5f06b46a72a69f9da079f1008d42d44da
[]
no_license
heheli1998/Keras
d35247474eedc3266679c6f144f7d7713445bfc0
fe0f98c17b394ceed8839dd45da568cc97b5a0fd
refs/heads/master
2020-09-16T08:02:58.190007
2019-11-24T09:06:37
2019-11-24T09:06:37
223,706,332
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
from sklearn import datasets import numpy as np from keras.models import Sequential from keras.layers import Dense from keras.wrappers.scikit_learn import KerasClassifier from sklearn.model_selection import cross_val_score from sklearn.model_selection import KFold from keras.layers import Dropout from keras.optimizers ...
[ "heheli1998@163.com" ]
heheli1998@163.com
dd361d96adb18cce06be249bb17bbb8bac0e4f9e
564bb8953ad74f25bb81831c6280e98a5e8ca75a
/tweet/migrations/0002_auto_20200322_0845.py
53775cbd5cd1f4f0350bf2d80691b0b8d20de3d6
[]
no_license
MohamedHany2002/my-twitter
600c083c10c006074dd1aa55d112291c731f8bc4
5f7048c3fd00a894b7c5de580954747e6421b77d
refs/heads/master
2022-07-03T09:12:34.741192
2020-05-12T15:29:41
2020-05-12T15:29:41
263,376,530
0
0
null
null
null
null
UTF-8
Python
false
false
890
py
# Generated by Django 2.2.7 on 2020-03-22 06:45 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "goldenhany94@gmail.com" ]
goldenhany94@gmail.com
22b9d9e66e5210c42c0ef9b33d420d68606ed622
4d78a5835fb413a565957a432464a27fed7d80e8
/midca/modules/interpret/InformedDiscrepancyDetector.py
2b39b0e4191c9fc57935819c81ca73afd37f6cf7
[ "MIT" ]
permissive
COLAB2/midca
0daac59415eaf418aebb4578deba19cd82d24760
abd41ab91d8a4e9582860a55b5b10657d0a560e0
refs/heads/master
2023-06-23T05:34:13.837128
2022-05-03T18:13:11
2022-05-03T18:13:11
106,867,470
18
6
MIT
2021-06-10T12:39:46
2017-10-13T19:53:01
Python
UTF-8
Python
false
false
1,367
py
import copy from midca.modules.interpret._adist import ADistance, ChangeFinder, WindowPair, Interval from midca.domains.nbeacons import nbeacons_util import sys class InformedDiscrepancyDetector: ''' Performs Discrepancy Detection using Informed Expectations TODO: This is a stub for now, not implemented yet ''' d...
[ "sampath.gogineni@gmail.com" ]
sampath.gogineni@gmail.com
2375332da2211a3bce2093cfd124276215bd804d
e5af6abb44dec19a607a11981af7b3d12f9d59c7
/day11/ch2.py
986d6e08d0d155f1497bee38f9ecdd1591cab049
[]
no_license
jakubmatyszewski/adventofcode2020
ec1cbcfe0f35d3218bf9c8853ac85983cf995dfd
aafce6cb1d7c97b5eb2c3964298069eca44747a2
refs/heads/master
2023-02-16T17:02:50.231903
2021-01-02T23:41:19
2021-01-02T23:44:46
319,111,724
0
0
null
null
null
null
UTF-8
Python
false
false
1,439
py
def rotation(arr): new_arr = [] xd = len(arr) # x dimension yd = len(arr[0]) # y dimension for row in range(xd): tmp_row = '' for col in range(yd): adj = [] for x in (-1, 0, 1): for y in (-1, 0, 1): i = 1 i...
[ "jakubmatyszewski1@gmail.com" ]
jakubmatyszewski1@gmail.com
ffd75793ca5d720d2024a3556765bc80e7c4c7e1
c2dae49452480b7611e7dcfe90cc1e97af667e45
/accounts/serializers.py
7638fc69df2064f2f74dbd3d0c717498910e62fb
[]
no_license
jcperezbanuchi/barbershop_app
ad8792dc3854c554b80e8b8e8ac2c139ac925cbd
5288335bfc0562f2f8d2f7923b51a510c1966fa7
refs/heads/main
2023-05-31T21:54:23.483059
2021-07-13T20:06:48
2021-07-13T20:06:48
383,232,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,029
py
from rest_framework import serializers from django.contrib.auth.models import User from django.contrib.auth import authenticate # user serializer class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('id', 'username', 'email') # register serializer class RegisterSe...
[ "juanco@Juans-Air" ]
juanco@Juans-Air
7c37e6aef8973598ad64ad4f06841a103149c17a
9ae3a94afb8a7affcfb9eba8ed041099d2b5c13b
/estimators/linear_model.py
19ee30c868bd68f7be26f8ddc87a7e82cf15e003
[]
no_license
Leo-Bright/TensorFlow2.0
83bd07ce0cbbb2381f3bff54451c097754016b28
72b33332d0a57d9855f67499979925162122000d
refs/heads/master
2020-06-18T11:40:07.733003
2019-08-11T15:27:02
2019-08-11T15:27:02
196,292,248
0
0
null
null
null
null
UTF-8
Python
false
false
3,019
py
from __future__ import absolute_import, division, print_function, unicode_literals import os import sys import numpy as np import pandas as pd import matplotlib.pyplot as plt from IPython.display import clear_output from six.moves import urllib import tensorflow.compat.v2.feature_column as fc import tensorflow as tf f...
[ "564312023@qq.com" ]
564312023@qq.com
e10f76bdb851ff9faa30ab7ffb5dfac9ac70f5e4
56482e0b2ce6517fff41d0f78e0c0ed000d977a1
/fmcapi/api_objects/object_services/variablesets.py
6d55f6aeb55cabfd00004ef6be0d725acdb058fb
[ "BSD-3-Clause" ]
permissive
banzigaga/fmcapi
ab4d7aaaf4be4f2b0686d07b6272f8b9531577da
fd924de96e200ca8e0d5088b27a5abaf6f915bc6
refs/heads/master
2020-12-11T14:45:07.896571
2019-12-12T20:02:07
2019-12-12T20:02:07
233,876,405
1
0
BSD-3-Clause
2020-01-14T15:46:26
2020-01-14T15:46:26
null
UTF-8
Python
false
false
1,588
py
"""Variable Sets Class.""" from fmcapi.api_objects.apiclasstemplate import APIClassTemplate import logging import warnings class VariableSets(APIClassTemplate): """The VariableSets Object in the FMC.""" VALID_JSON_DATA = ["id", "name", "type", "description"] VALID_FOR_KWARGS = VALID_JSON_DATA + [] U...
[ "dmickels@cisco.com" ]
dmickels@cisco.com
d2c11e7a18fdf03551a270f0adb16eb6a7b4a84c
3b660ddf98c162535558d5d8b90656cddf67554a
/acl_project/settings.py
a4bfa3d6482911272e27d8c9b3bc72583334cc82
[]
no_license
kylenicola/acl_project
a22acf068ebbdf075ade01332c85226209a8e41a
5690cb5402094e6459d1721590ba84a0b74433cb
refs/heads/master
2020-05-17T15:15:48.870040
2014-07-09T02:42:40
2014-07-09T02:42:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,014
py
""" Django settings for acl_project project. For more information on this file, see https://docs.djangoproject.com/en/1.6/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.6/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ......
[ "kyle.a.nicola@utexas.edu" ]
kyle.a.nicola@utexas.edu
0cb53c5f1f5e228f46b876f1f6b566519a1b9b0e
cdeeeb769e70b8fc87eabd15fd2d18e5438d3215
/project/epi/urls.py
000eebe45973e759af0ac1b43a9766a1e9660eb7
[ "MIT" ]
permissive
nlewycky/hawc
b897be18499fcd018c0c5e8ba866db3e9f360bc9
8310ab549ea6bcc2d890314258ebef8f04970be3
refs/heads/master
2020-05-18T09:02:03.045370
2019-04-11T10:43:12
2019-04-11T10:43:12
184,313,167
0
0
null
2019-04-30T18:37:14
2019-04-30T18:37:13
null
UTF-8
Python
false
false
5,054
py
from django.conf.urls import url, include from rest_framework.routers import DefaultRouter from . import api, views router = DefaultRouter() router.register(r'study-population', api.StudyPopulation, base_name="study-population") router.register(r'exposure', api.Exposure, base_name="exposure") router.register(r'outc...
[ "shapiromatron@gmail.com" ]
shapiromatron@gmail.com