blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
45e08d9b88f2b7b3c5a10edeb9df093dca0a64b5
b87afd6e709349dc1ee75179061c00faa115a6d3
/Warmup 2.py
a243f29c80282ea9252af30cec45cb7d980807b1
[]
no_license
DrQuestion/PoCS2-Assignement-2
0403ccb912a0ee2c93b5077606e651822ee1b42c
2a4660e5b22f555d9811caff190c515a8d5620b1
refs/heads/master
2021-08-18T20:09:24.862356
2017-11-23T19:36:22
2017-11-23T19:36:22
108,999,682
1
0
null
null
null
null
UTF-8
Python
false
false
193
py
#!/bin/python3 import sys def simpleArraySum(n, ar): return sum(ar) n = int(input().strip()) ar = list(map(int, input().strip().split(' '))) result = simpleArraySum(n, ar) print(result)
[ "alessiokurosaki97@gmail.com" ]
alessiokurosaki97@gmail.com
e81cabf420f4de9517a2d9dfb950464584a62284
c77af74f854d1cff9527b84d0b27a6a9ffd63f90
/1-basics/5-functions/3-parameter/bot.py
12bbf070979433ab6db2a95c71bb6e6d87ecb1ed
[]
no_license
4whitp37/COM404
75a573e5ac622120637b589d2190139d746a0964
492445748b513d81e63d9afe4ac2756e49721c04
refs/heads/master
2020-07-31T09:17:12.713718
2019-12-10T06:12:52
2019-12-10T06:12:52
210,557,408
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
#function with parameter def escape_by(plan): if plan == "jumping over": print("We cannot escape that way! The boulder is too big!") if plan == "running around": print("We cannot escape that way! The boulder is moving too fast!") if plan == "going deeper": print("That might just work...
[ "4whitp37a@solent.ac.uk" ]
4whitp37a@solent.ac.uk
c05c093706617910400ebe1532819cde8c97efeb
f4578e55ea7cf0bc3a7d69381ff64bd31b0c3a5a
/src/Models/ReferenceLog.py
fe46e61d1f9e3044aa5bd784d4aec4d5754dfc0d
[]
no_license
shareil23/JULO_Code_Exercise
c3202bf40293a5b478fc9c0845c74d995587834c
eb6d1a200fe82fcec04200b20dda29f6c3fe53e2
refs/heads/master
2023-06-16T02:22:07.702021
2021-06-26T18:44:08
2021-06-26T18:44:08
380,564,657
1
0
null
null
null
null
UTF-8
Python
false
false
560
py
from sqlalchemy.dialects.postgresql import UUID import uuid from ..Config import db class ReferenceLog(db.Model): __tablename__ = 'reference_log' id = db.Column(UUID(as_uuid=True), primary_key=True, default=uuid.uuid4) reference_id = db.Column(UUID(as_uuid=True)) category = db.Column(d...
[ "derandi.hermanda@hotmail.com" ]
derandi.hermanda@hotmail.com
3fb37e4e8de34e4048105e131d3210363d9df6c5
911f43f3e5154a4eb18f9f312eacc7e6a3155ced
/gail/main.py
6e84b71110ae03bfeaecbf17f18595a3681b8afa
[]
no_license
BinaryKR/GAIL_Sketch
c7a0a4f5f0234f0b7cf30a5650ecc9ea42b07115
ae2ed87ec014b3835d1caa77d54474c5ddf55669
refs/heads/master
2022-04-13T17:08:21.342269
2020-04-06T03:49:52
2020-04-06T03:49:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,165
py
import os import gym import pickle import argparse import numpy as np from collections import deque from environment import Env import torch import torch.optim as optim from tensorboardX import SummaryWriter from utils.utils import * from utils.zfilter import ZFilter from model import Actor, Critic, Discriminator ...
[ "60927808+js-lee-AI@users.noreply.github.com" ]
60927808+js-lee-AI@users.noreply.github.com
352b804747cc226f09e7a42316e6262c0a63a77b
15581a76b36eab6062e71d4e5641cdfaf768b697
/LeetCode_30days_challenge/2020/August/Design HashSet.py
8ac9ddd111bec7159b93c31f2ee92c9ef039863d
[]
no_license
MarianDanaila/Competitive-Programming
dd61298cc02ca3556ebc3394e8d635b57f58b4d2
3c5a662e931a5aa1934fba74b249bce65a5d75e2
refs/heads/master
2023-05-25T20:03:18.468713
2023-05-16T21:45:08
2023-05-16T21:45:08
254,296,597
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
class MyHashSet: def __init__(self): self.numBuckets = 15000 self.buckets = [[] for _ in range(self.numBuckets)] def hash_function(self, key): return key % self.numBuckets def add(self, key): i = self.hash_function(key) if not key in self.buckets[i]: sel...
[ "mariandanaila01@gmail.com" ]
mariandanaila01@gmail.com
94675a9a4c3a35afe8b4a98198dd51c0877c1b33
0ad3f130560a342cceb47889ab7ceac6d8442834
/ltdmason/s3upload.py
0d89112f890c34645e75833dfcb596932d59229c
[ "MIT" ]
permissive
AvdN/ltd-mason
dfd4cf4df19170e9422282b986ef95a06d566e51
b14940037010b1399bd66888c4caef3dd350d76c
refs/heads/master
2021-01-24T06:44:00.270568
2017-03-13T17:44:27
2017-03-13T17:44:27
93,316,933
0
0
null
2017-06-04T13:58:02
2017-06-04T13:58:02
null
UTF-8
Python
false
false
13,865
py
"""S3 upload/sync utilities.""" from __future__ import (division, absolute_import, print_function, unicode_literals) from builtins import * # NOQA from future.standard_library import install_aliases install_aliases() # NOQA import os import logging import mimetypes import boto3 log = loggin...
[ "jsick@lsst.org" ]
jsick@lsst.org
10cb00f7943485eae5beb38a5ae8ece16a0487f0
a5679e425c39296503008c5c86e327dde01cd3e6
/Tkinter/hello_world.py
d9544876eb91e0f264eaffe79e8c9b5687055ae5
[]
no_license
dinhky0204/SoundHandlingPython
93cf0a1c64b41f4cf52b3cd87fbf45fc05a1c0ab
f2647fc8a21d13cd2ffbcffba7ad08101dbf7990
refs/heads/master
2021-05-07T08:41:09.373425
2018-01-17T08:50:53
2018-01-17T08:50:53
109,397,072
1
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
from Tkinter import * class Application(Frame): def say_hi(self): print "hi there, everyone!" def say_goodbye(self): print "Good bye" def confirmMessage(self): print "Confirmed" def createWidgets(self): self.QUIT = Button(self) self.QUIT["text"] = "QUIT" ...
[ "dinhky0204@gmail.com" ]
dinhky0204@gmail.com
ed8b7dbd7403201e805b8dbacb2d97cfdf5005eb
0f59e486ea9d7c96b8c3f7f92bf063fc8389f1e8
/vivisect/analysis/amd64/__init__.py
2b48787dc8ec2faa3d32624e5f1ca487682d33a5
[ "Apache-2.0" ]
permissive
vivisect/vivisect
ac259918b6281d9431c32a0b2307c61f9cab0dec
b07e161cc28b19fdda0d047eefafed22c5b00f15
refs/heads/master
2023-08-25T09:02:00.526532
2023-07-26T03:07:07
2023-07-26T03:07:07
26,651,759
833
181
Apache-2.0
2023-09-07T03:43:53
2014-11-14T18:28:47
Python
UTF-8
Python
false
false
34
py
''' Amd64 Analysis Modules '''
[ "invisigoth@kenshoto.com" ]
invisigoth@kenshoto.com
7e2257eb51b068c89208b78c292a100a5a7d2186
b65d1e76b8ad204e0e3cc5a67fb4de8982e7b2f5
/lib/FunctorManagement.py
76b1e85c8e1f4723f3b428c826f88c4e67dfdebf
[ "BSD-3-Clause" ]
permissive
rmmilewi/pira
251f8ff1be1ac21a66778243bbda585b39d521f9
58d6510af3d3dfc0581921d9e00bf24d026a8c44
refs/heads/master
2021-01-06T19:53:07.295855
2020-02-19T21:59:39
2020-02-19T21:59:39
241,468,154
0
0
BSD-3-Clause
2020-02-18T21:10:11
2020-02-18T21:10:09
null
UTF-8
Python
false
false
6,419
py
""" File: FunctorManagement.py License: Part of the PIRA project. Licensed under BSD 3 clause license. See LICENSE.txt file at https://github.com/jplehr/pira/LICENSE.txt Description: Module to load and manage the user-supplied functors. """ import typing import lib.Utility as u from lib.Configuration import PiraConfig...
[ "jp.lehr@gmail.com" ]
jp.lehr@gmail.com
a986b3acd7d80ca4f18e2f26b9117e0a6a58b09d
1ef7fe1655dc84acaa3a04c16c4cf313e113ae49
/social/logic.py
c770e0ae7fb773eb259b8b02b6702eb0073f20bf
[]
no_license
szpython1812/swiper
80d43542392b94785fe9a9a0d6f65125c5a47d50
b2e85f0224f943ce6c070ca875ff29b58f4340f6
refs/heads/develop
2020-05-22T21:12:23.345910
2019-05-17T08:44:01
2019-05-17T08:44:01
186,523,229
1
1
null
2019-05-16T02:54:52
2019-05-14T01:40:22
Python
UTF-8
Python
false
false
4,460
py
import datetime from django.core.cache import cache from django.db.models import Q from common import keys from lib.cache import rds from social.models import Swipe, Friend from swiper import config from user.models import User from common import errors def like(user, sid): Swipe.like(user.id, sid) # 判断对方是...
[ "380982916@qq.com" ]
380982916@qq.com
2adf288db73ef957c82ad3b82c56653c52cf1dfb
53e58c213232e02250e64f48b97403ca86cd02f9
/16/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisQCD_HT200to300.py
ca9031e1be70ac3888d31407f97e120bf09f4de2
[]
no_license
xdlyu/fullRunII_ntuple_102X
32e79c3bbc704cfaa00c67ab5124d40627fdacaf
d420b83eb9626a8ff1c79af5d34779cb805d57d8
refs/heads/master
2020-12-23T15:39:35.938678
2020-05-01T14:41:38
2020-05-01T14:41:38
237,192,426
0
2
null
null
null
null
UTF-8
Python
false
false
2,331
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'QCD_HT200to300' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Summer16_07Aug2017_V11_MC_L1FastJet_AK4P...
[ "XXX@cern.ch" ]
XXX@cern.ch
9ce38efa925e54d65942de595186c26e3cb97597
e7a74d4385dcaa0f998340fe944805eb2798e81e
/flatfield/nonLinCorr.py
c1492110b29b2592f762f4be20246c1919a0b7bb
[]
no_license
shenglan0407/run16_notebooks_dump
3c197977eeb225de97d7165d955107e11a5a09ee
3513595809e21ac639560056088f1f2472188348
refs/heads/master
2020-03-28T15:07:21.737099
2018-09-13T00:24:24
2018-09-13T00:24:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,065
py
""" Python example to correct for image spatial dependent non-linearity. Use function "getCorrectionFunc" in order to generate a correction function from a intensity dependence measurement of an identical signal. """ import numpy as np import copy from scipy import linalg def iterfy(iterable): if isinstance(it...
[ "qiaoshen@pslogin7c.slac.stanford.edu" ]
qiaoshen@pslogin7c.slac.stanford.edu
85c3158111d9b047512556ed7c13b3065ba202d2
57a20109f134ec979e2a3ef408c78b8375e089d2
/bidpazari/core/runtime/user.py
f9a774513d7dfb56f95fa34b511a038286759fe0
[]
no_license
akca/bidpazari
2e166225b0f6fbbb87f1f4bf879de29453c9525c
f69627ce51a5bd9fd23ea4772b27c037adb48fc3
refs/heads/master
2022-11-28T16:17:13.704175
2020-01-11T12:06:43
2020-01-11T12:06:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,323
py
from decimal import Decimal from functools import wraps from django.utils.functional import cached_property from bidpazari.core.exceptions import ( InsufficientBalanceError, NonPersistentObjectError, ) from bidpazari.core.models import User, UserHasItem from bidpazari.core.runtime.common import runtime_manage...
[ "berkozbalci@gmail.com" ]
berkozbalci@gmail.com
347f42ae15c798ecf8ca8ac0f5ffdc4317729626
1dffbdb1301297b0e7eadc7bfb67cd49601e6322
/treshold_enhanced_method.py
aa37bb86d54514ef3cf776f2a350737c408342ec
[]
no_license
Thunrada01082548/record.
7d1879e17b8ca8d23105276da5ea6b0170e9fa3a
cbcf31369e7937e11989f5e21905504de164c0c1
refs/heads/main
2023-08-10T09:06:36.311228
2021-09-08T14:17:15
2021-09-08T14:17:15
387,848,188
0
1
null
null
null
null
UTF-8
Python
false
false
2,364
py
import numpy as np #importing libraries import matplotlib.pyplot as plt #importing libraries import scipy.io.wavfile as wavfile #importing libraries import sounddevice as sd import scipy.fft as fft import scipy.fftpack as fftpk plt.rcParams['figure.figsize'] = [10,16] plt.rcParams.update({'font.size': 18}) pl...
[ "noreply@github.com" ]
noreply@github.com
1ca9421c30d507ffd0c20ef335be2cd7e57b5697
347a6aac6fc40edab03d75a53e89053aeeb8fd72
/quizzes/Quiz7.py
f9e8bdc18bfc69f7deba22dcd76922245d4bc853
[]
no_license
jwilke/cs373
0d5de4676c13e83c8b9dbcab66140be53cebeaf9
7923f3710eaa76d38d8261d6dc596f2bfaf12a8e
refs/heads/master
2021-01-16T00:23:35.227487
2012-07-05T22:53:14
2012-07-05T22:53:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
#!/usr/bin/env python """ CS373: Quiz #7 (9 pts) """ """ ---------------------------------------------------------------------- 1. In the paper, "A Bug and a Crash" about the Ariane 5, what was the software bug? (2 pts) the conversion of a 64-bit number to a 16-bit number """ """ -----------------------------...
[ "downing@cs.utexas.edu" ]
downing@cs.utexas.edu
af8a2ebd0fe7f5f06e5aeccc636bf8704d77ef8a
ccf6945c819e25a3eae92103116b7d1063e21871
/chess_piece_detection/app/other_models/alexnet.py
6da26d5ea58921656765650c08f6ac477852e5d1
[]
no_license
ace-racer/Extending-Board-Games-using-deep-learning
67355eabec91ed8afb1150e4c2d6bb0068e74910
7171b14c80be35b0ee882322c318307779379e9a
refs/heads/master
2020-04-10T05:32:18.705335
2019-04-22T11:42:47
2019-04-22T11:42:47
160,830,611
0
1
null
null
null
null
UTF-8
Python
false
false
4,261
py
# Import necessary components to build LeNet # Reference: https://github.com/eweill/keras-deepcv/blob/master/models/classification/alexnet.py from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation, Flatten from keras.layers.convolutional import Conv2D, MaxPooling2D, ZeroPadding2D f...
[ "anuragchatterjee92@gmail.com" ]
anuragchatterjee92@gmail.com
97358e87fe7c34d33d52c336aed1c0e46d87e94c
fc8d217261d47198b71fdd611b62d08522bd0a39
/OOP/oop2.py
39bef5385ec4d6a2e6df4a72df7b2275531122b2
[]
no_license
PatrickBruso/Code_in_Place
dbd1e57f3dabea33a8fc7f24af703699d9d1930a
99fdd278c638b29c90032f3b737b518a55a62f3f
refs/heads/master
2023-07-13T08:06:11.167278
2021-08-26T23:04:29
2021-08-26T23:04:29
369,669,202
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
""" Extra lesson in object-oriented programming """ import csv from participant import Participant # importing our Participant class from participant.py STUDENT_DATA = "students.csv" def read_student_data(): with open("students.csv") as f: reader = csv.DictReader(f) for line in reader: ...
[ "pkbruso@gmail.com" ]
pkbruso@gmail.com
3415d6c90827899f16903882ab9e54d437fd5b09
34eb0a65adb4290d6224075a2700d432d5649de6
/tachyon/common/restclient.py
1d6c499cbfc98be41954791218186029b21669a2
[ "BSD-3-Clause" ]
permissive
Vuader/tachyon_common
ae950e13ac14df590cc76b3c7f98c26434104217
a675d13a251aeda16dba7a416354872ee41509e6
refs/heads/master
2021-01-19T09:51:55.904274
2017-02-15T11:50:00
2017-02-15T11:50:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,684
py
# Tachyon OSS Framework # # Copyright (c) 2016-2017, see Authors.txt # All rights reserved. # # LICENSE: (BSD3-Clause) # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain th...
[ "christiaan.rademan@gmail.com" ]
christiaan.rademan@gmail.com
b26f76a2669cc4d09dca8971a42e76453803ec6c
154b94193e7a0997921508bbbaee52816c844ed6
/six_channel_model_whole_datasets.py
1e7602cb024b3bc0bb6b08543561d56ea13800cf
[]
no_license
Chris-XY/git_for_win
803121e68362a3f2647fd6a90fa9832687d44bae
bb1ebd378508d4eb0b5fc0cf87e72e6f7cda334f
refs/heads/master
2022-06-16T03:02:18.242943
2020-05-07T01:19:01
2020-05-07T01:19:01
261,312,412
0
0
null
null
null
null
UTF-8
Python
false
false
17,153
py
import torch import pandas as pd import math import numpy as np import torch.nn as nn import modules import utils if __name__ == "__main__": if torch.cuda.is_available(): device = torch.device("cuda:0") # you can continue going on here, like cuda:1 cuda:2....etc. print("Running on the GPU") el...
[ "collinqianxy@gmail.com" ]
collinqianxy@gmail.com
ea3dafcec5cd664291f7873db6aee0a381378a84
11523d908822a9949bd40f17c42971b40d99af6b
/EduDLProj/exercise/dnn.py
3a7881fb79a4abd02a4265f512d100d045aea3d7
[]
no_license
cocoriel/myWiki
bd2496222d7f9b69fd3c88abbafde46256b86306
bec52c473194f7d9421e1e5a5cce124f73774a89
refs/heads/master
2021-01-12T10:56:01.274801
2018-06-02T09:17:45
2018-06-02T09:17:45
72,761,793
1
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
import tensorflow as tf import numpy as np xy = np.loadtxt("../data/07train.txt") x_data = xy[:, :-1] y_data = xy[:, [-1]] X = tf.placeholder(tf.float32, [None, 2]) Y = tf.placeholder(tf.float32, [None, 1]) W1 = tf.Variable(tf.random_normal([2, 5])) W2 = tf.Variable(tf.random_normal([5, 4])) W3 = tf.Vari...
[ "noreply@github.com" ]
noreply@github.com
4783edc0803cf779c56a934137bef41d5775c607
b45e134f1ba6aebb4cf05df81acc7c95d909f9c5
/declarations_json_by_year.py
2c19b86b0e3914f6c290d651ab8b32166e392a90
[]
no_license
yonadaaa/hive_declarator
001df1bae2cb25d22e1cd6f21892429f90318247
40cc19b78cf855e3453078cb3e3fd83f8fef8bbe
refs/heads/master
2023-02-17T10:38:31.144695
2020-02-07T15:52:23
2020-02-07T15:52:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
import json import requests def get_declarations(year): declarations = [] # api-endpoint url = "https://declarator.org/api/v1/search/sections" max_pages = 403 page_number = 0 while url and page_number < max_pages: print(page_number) # defining a params dict for the parameters ...
[ "fraserdscott@gmail.com" ]
fraserdscott@gmail.com
772c732aadfc888fd8118998d74695a359e85d78
c953e8a7d251e4aba08910156a1bcf6997940c80
/2016/24/24_1.py
a285a6e8dd42b8750bb76e86651fb037a0b4c552
[]
no_license
simonbrahan/adventofcode
848ca9ab2fdd7b22e1eb13d43bb5cf93972e2e5f
8e0053399defb2a8a83cd4bb4062f7e213b10174
refs/heads/master
2021-06-04T00:52:30.269561
2018-12-12T22:55:04
2018-12-12T22:55:04
56,775,275
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
import networkx, itertools, datetime start_time = datetime.datetime.now() rows = [] for line in open('input'): rows.append(line.strip()) num_rows, num_columns = len(rows), len(rows[0]) hit_locations = {} # # Build the maze # The generator builds a graph of num_rows by num_columns, with each node connected horiz...
[ "tntpiranha@gmail.com" ]
tntpiranha@gmail.com
12f85dfe3b746c02305c2dd7cc147b806129fb82
391d648132c1a05e7da575205eef89a7208a892a
/scripts/playground/phase.py
0fe2427793d433ebdd4a2e65cbfcf3a84a814b9a
[]
no_license
michaelbateman/DemographicInference
c3ceaf69f8b554f3973473607d6b5201cca423f9
b1e2529b1ce0710f82d2867d08588ae4a6c72bb2
refs/heads/master
2021-01-10T06:28:43.698581
2015-10-06T18:25:45
2015-10-06T18:25:45
43,770,029
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
import subprocess in_file = 'ag1000g.phase1.AR2.3L.PASS.vcf.gz' region_size = 5000000 num_regions = 50e6 / region_size print num_regions print int(num_regions) for k in range(0,int(num_regions)): i = int(num_regions) -1 - k left = i * region_size right = (i+1) * region_size window = str(left) + '-' + str...
[ "bbeeefcake@gmail.com" ]
bbeeefcake@gmail.com
2a8058588ffdcb2d86ce6799fbbe81d880108b51
d41c59d9a55dfa07663c863dd4d47f2f3a443bad
/exercicios-extras/exercicio-extra-01-break.py
1a10bd6e8da5fce031080fdbca62cf192ce58628
[]
no_license
yrto/python-coding-tank
b9ae29cd8b85a274693e848de7293e315ef50ae7
d75670d43b23c8e77ebc1af0807d46de947f0066
refs/heads/master
2022-12-17T13:47:45.245531
2020-09-25T00:35:37
2020-09-25T00:35:37
293,183,721
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
while True: genero = input("Informe seu gênero: ") if genero == "M" or genero == "F" or genero == "outro": break else: print("Genero inválido.")
[ "ayrton.mugnaini@gmail.com" ]
ayrton.mugnaini@gmail.com
79c5b6261dc41cb10d40f2d6f68e42876b62adbf
5d987bfce3dc6862339aa0139d9370d1447ee3e5
/models/plm_approval.py
16d0e596e4740228c2762eee5a0140d1b179ee8e
[]
no_license
jcambert/weOdooErpPlm
f299cc21d260fd1a00c14480e147cf27523bc67a
a54e9a316c8ce265f8c855da540de70db9c877dc
refs/heads/master
2023-05-31T13:42:03.205013
2021-07-04T17:56:26
2021-07-04T17:56:26
326,800,722
1
2
null
null
null
null
UTF-8
Python
false
false
2,951
py
from odoo import models, fields, api from .models import Model,INNER_MODELS class PlmApproval(Model): _name=INNER_MODELS['approval'] _description="Mrp Plm Validation " approval_date=fields.Datetime(string="Date de validation") approval_template_id=fields.Many2one(INNER_MODELS['approval_tmpl'] ,ondelete=...
[ "jc.ambert@free.fr" ]
jc.ambert@free.fr
a95882637047320b85c2d0c76750fc0b25ee61ce
192d920524840f30c2392af7959afe2d0a3ef6f3
/simulation/vision_simulation_agent.py
b4f3a766c47db1495fca29595eedfef11f8e78e2
[]
no_license
camman3d/Differential-Drive-Robot
8f2f8ddb833837c9f927529a357f8041f0ea8115
d805e20cf701907777aca8e8797e8c7d7fd31d40
refs/heads/master
2020-05-02T10:31:29.830693
2014-04-27T00:37:42
2014-04-27T00:37:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,964
py
import math import cv2 from simulation.blender_source import BlenderSource import image_processor __author__ = 'josh' rotation_granularity = 0.25 reading_threshold = 0 robot_translation_speed = 10 robot_rotation_speed = 0.4 cap = 20000 sigma = 0.5 image_width = 1024 destination_constant = 1 obstacle_constant = -1...
[ "camman3d@gmail.com" ]
camman3d@gmail.com
454aae705cffe315959a21168b5c3bab031884ba
e1a737819e95fe535abec061018f2b64789f85c3
/unit_tests.py
d809ed90254e5fd0285c80ff2f3586b03f89ebdc
[]
no_license
debbiemaborekhe/myVAATool
b3fab5b2404b2c2c239b0ffa08ff29a8c623017b
acf4e7843c9f09c9c10e78341d6a428198774e8c
refs/heads/main
2023-08-14T21:46:17.053352
2021-10-08T12:03:36
2021-10-08T12:03:36
414,957,577
0
0
null
null
null
null
UTF-8
Python
false
false
1,727
py
import unittest from csvReader import * from timeAnalysis import * from hourlyAnalysis import * from searchAccidentByDcaCode import * from alcoholImpact import * from geographicImpact import * class UnitTests(unittest.TestCase): existingFileName = "Crash Statistics Victoria.csv" nonExistingFileNa...
[ "noreply@github.com" ]
noreply@github.com
2ec97f5c31d31374dfce457d80211216f5865676
7bc75d5cc46da19d38b86b60e5cbb5b45f71f91e
/custom_components/gazpar/gazpar.py
07af27197dddc01b31e91f3cc67effdf7b9ff679
[]
no_license
Meroje/gazpar-home-assistant
444629892143e212ed24a66c2d92f76b0f15e22f
2816fefa5f7635903c22d7b82902f0eb23ce2d37
refs/heads/main
2023-04-14T11:00:24.424900
2020-10-26T11:36:24
2020-10-26T11:36:24
307,351,615
0
1
null
2023-04-04T00:24:58
2020-10-26T11:34:32
Python
UTF-8
Python
false
false
17,138
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Retrieves energy consumption data from your GrDf account. """ # Linkindle - Linky energy consumption curves on a Kindle display. # Copyright (C) 2016 Baptiste Candellier # Adapted to gaspar (C) 2018 epierre # # This program is free software: you can redistribute it and/...
[ "cyprien@octipas.com" ]
cyprien@octipas.com
4522d4e49db3146c28c578c30ba8412a3263284e
449b002b111627dd13bc1dae2273dd14b4cdfaa4
/phonenumber/views.py
21166cd713fddd1b08089decee8b17e177237821
[]
no_license
navinbhaskar/ClassClass_fetch_username
ae20c5eaf93c2125dd25d2886331445599a8e826
997fc91d26e31c20c0f01a02a8bd65db51edf325
refs/heads/master
2020-03-22T05:41:17.188823
2018-07-03T12:58:14
2018-07-03T12:58:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
678
py
from django.shortcuts import render from django.http import HttpResponse from django.shortcuts import get_object_or_404 from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status #from .models import Flashcard from .serializers import UserProfileSerializer fr...
[ "navinbhaskariitkgp@gmail.com" ]
navinbhaskariitkgp@gmail.com
153500c3dd34e92cadc95e1b1da10b33f0c05b8a
56cac31cbecee7c5f3206d869d0956b0b4eaf4f5
/SkilletLoader/utils/panoply.py
4d17c5b7a446a00383f49b9357a9eb9488cf424a
[ "Apache-2.0" ]
permissive
omshankar1/SkilletLoader
a22fc747e6144b78bb089dc9cb80aca748e5ed67
f8a6f88b6b3bf085b81f5f741d5a5bbd27497629
refs/heads/master
2020-06-28T08:20:28.561835
2019-07-31T18:41:56
2019-07-31T18:41:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,848
py
# Copyright (c) 2018, Palo Alto Networks # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
[ "nembery@gmail.com" ]
nembery@gmail.com
0ce6316d272b83c711221cef8a622474c6efa751
a201ab654fdfca6faeb805c2713c9dc10251b6dc
/Python3 (old)/ex2.py
e65e5a6cce3346f3859e8c2f744afed3f73daf57
[]
no_license
somnitrix11/automate
6991dcb0198c305a125be19aaf2fc6d908f1c1b6
e6b8bc504328349864b3b1e626bb67fa311e065f
refs/heads/master
2022-11-30T04:43:54.120529
2020-07-26T15:12:50
2020-07-26T15:12:50
282,665,103
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
#This program calculates speed and distance problems print("Input a speed and a distance:") speed= float(input("Speed(in m/s):")) distance= float(input("Distance(in m):")) Time=speed*distance print("The time taken by the object would be",Time,"seconds.") #To convert C to F c=float(input("Input temp. in Celsius...
[ "noreply@github.com" ]
noreply@github.com
051901ba60282e7bc6afd98f010b913ac85977d3
9c56573bd524149afbf4175f271ade7b91a4c6b0
/pre.py
01c02e8a485c9afa56ecd8d28f05cb728d2c0157
[]
no_license
oikiou/CNN_for_HVAC_FDD
fc379b2b04bf40aca3487b57781f4589b1edeb70
17ad773a9eef49ce48b41a3aecc4f97e47422626
refs/heads/master
2021-06-26T19:15:49.336056
2017-09-11T10:58:11
2017-09-11T10:58:11
103,123,529
0
0
null
null
null
null
UTF-8
Python
false
false
2,061
py
import numpy as np import pandas as pd import tensorflow as tf #input row_data = np.loadtxt("7.csv", delimiter=",", skiprows=1) #标准化 row_data=pd.DataFrame(row_data) standed_data=np.nan_to_num(row_data.apply(lambda x: (x - np.min(x)) / (np.max(x) - np.min(x)))) #随机分 7成train 3成test def sprite(standed_data,...
[ "noreply@github.com" ]
noreply@github.com
4d8d26efe3b7019edb01e9d8bda2c443a49b9e38
3b504a983f1807ae7c5af51078bfab8c187fc82d
/client/adapters/IStatsAdapter.py
09fc72b393427f042a93a4eee9e8594f486462b9
[]
no_license
SEA-group/wowp_scripts
7d35fd213db95ea6b3dbd1ec6d3e0f13de86ba58
2fe54a44df34f2dcaa6860a23b835dcd8dd21402
refs/heads/master
2021-09-07T23:10:13.706605
2018-03-02T17:23:48
2018-03-02T17:23:48
117,280,141
0
0
null
null
null
null
UTF-8
Python
false
false
9,718
py
# Embedded file name: scripts/client/adapters/IStatsAdapter.py from locale import getpreferredencoding from time import localtime, strftime import Settings import db.DBLogic from HelperFunctions import wowpRound from Helpers.i18n import localizeAchievements, getFormattedTime, localizeAirplaneLong, localizeTimeIntervalH...
[ "55k@outlook.com" ]
55k@outlook.com
f6a772815183c864a504e01a1ad49b1f99be9bf8
cbac194e831c94291627d2a94a5713cb8e0e6ed4
/chainer-feature-extraction/copy_model.py
aa39c3fed4d4e66079d67f4f355b4311558ddf77
[ "MIT" ]
permissive
Doarakko/chainer-playground
4e6f5f41f1adfe0569578c4a3c7b89b0b0e0a76e
5d5eb0078f7d2f6dc5693fb76369a434cbc7d730
refs/heads/master
2021-09-24T08:11:31.726822
2018-10-05T13:36:59
2018-10-05T13:36:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import chainer #学習済みのモデルのパラメータをコピーする関数 def copy_model(src, dst): assert isinstance(src, chainer.Chain) assert isinstance(dst, chainer.Chain) for child in src.children(): if child.name not in dst.__dict__: continue dst_child = dst[child.name] ...
[ "2wua4nlyi@gmail.com" ]
2wua4nlyi@gmail.com
5177f2f778ab81b6e955d5b38dd9d053885d4200
f0ce82edf0b66d70375841242108168ea7cfe925
/LegoRL/targets/GAE.py
a88f26a4e7b73a3748e7e4eadde520f8ff03bd66
[]
no_license
FortsAndMills/Lego-Reinforcement-Learning
45b547ce398a3d2fa34f7b49b139a18983249bc2
92e07a085396e993657e3985672c3b3bb205c1c6
refs/heads/master
2021-07-11T05:43:35.701048
2020-12-04T15:56:23
2020-12-04T15:56:23
220,832,981
4
2
null
null
null
null
UTF-8
Python
false
false
1,260
py
from LegoRL.core.RLmodule import RLmodule from LegoRL.buffers.storage import stack import torch class GAE(RLmodule): """ Generalized Advantage Estimation (GAE) upgrade of A2C. Based on: https://arxiv.org/abs/1506.02438 Args: tau - float, from 0 to 1 Provides: returns, advantage "...
[ "qbrick@mail.ru" ]
qbrick@mail.ru
2bd5217c33d6decf4c58aaa786f5784e0daf3bce
aee0b03365591da00a927c1275f680e6b726a11c
/venv/bin/wheel
04553c18a8708dbc0abf8b3cf63f288b684bd2f2
[]
no_license
H-u-g-o/Chatbot_flask
e66c22cf0d9e90985b0e465a114ea5637cde1093
8643f9870577366eda65b0f03606ba0a3fb03e39
refs/heads/master
2020-05-20T06:11:06.648962
2019-06-07T10:23:09
2019-06-07T10:23:09
185,421,196
1
0
null
null
null
null
UTF-8
Python
false
false
243
#!/home/hugo/Desktop/cours/flask/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "hros38@gmail.com" ]
hros38@gmail.com
ad673c95708181aa0d00a8c6610b7a39a39d5c7b
1a698cc48f23ddfc0f607366f462466ddc764c7e
/Code/ManualTextClassification.py
7661d322465bb077dd9adb33e657fb48b74e5fc2
[]
no_license
dyp6/Technical-Test-Sorcero
6608fa398d992f5964db27688998b751ae93c1fe
61c03b35d311d5b16ed1fa2b27a0a25595b253e4
refs/heads/main
2023-05-31T07:21:23.599808
2021-06-25T18:05:28
2021-06-25T18:05:28
377,518,542
0
0
null
null
null
null
UTF-8
Python
false
false
4,333
py
# MODIFIED FROM: https://atheros.ai/blog/text-classification-with-transformers-in-tensorflow-2 import pandas as pd import tensorflow as tf import tensorflow_datasets as tfds from transformers import TFBertForSequenceClassification, BertTokenizer def convert_example_to_feature(tokenizer,claim,max_length): ...
[ "dyp6@georgetown.edu" ]
dyp6@georgetown.edu
04f4ba77e44ef8c6c0a5d643240ccd75565461aa
5837619fafb9381a87e3eab9665ef1ed2353a88b
/CodigosEnLosQueNicolasNoCree/obstaculos.py
fbe5593e38ab01e73d12367ba3e253a273dcd9cf
[]
no_license
Switchfools/AutonomousRobotR-Boost
1a7e11563e976a4880147ae6c46284e956f987e8
ddbe465100dfbb0f48863a42ac17caf13950e913
refs/heads/master
2021-04-09T11:52:02.218373
2018-05-02T15:59:54
2018-05-02T15:59:54
125,576,096
0
0
null
null
null
null
UTF-8
Python
false
false
3,870
py
import imageio import numpy as np from scipy.spatial import Voronoi, voronoi_plot_2d import matplotlib.pyplot as plt def Voro(): M=500 N=700 Obstaculos=np.zeros([M,N]) centros=np.zeros([M,N]) Undos=list() Nodos=list() ConNodos=list() for i in range(int(M/2 - 50),int(M/2 + 50)): f...
[ "noreply@github.com" ]
noreply@github.com
434ddc0a39dad34c4020a3bcc9b6b089cde7d888
6b383d1e73be85cde74b1b01f4038236d32dfb24
/tienda/migrations/0001_initial.py
ff052e554fa2fbbe1857a6e82b32e438411fe468
[]
no_license
luthors/MiTindaOnLine
73e63f19b84400c11c18159a1f65eb78260a93f3
d788ac91d80358ace370926501d8b97c3c5bcced
refs/heads/main
2023-08-05T18:08:41.136855
2021-10-12T22:29:50
2021-10-12T22:29:50
414,015,428
0
0
null
null
null
null
UTF-8
Python
false
false
1,483
py
# Generated by Django 3.2.7 on 2021-10-03 04:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='CategoriaProd', fields=[ ...
[ "luthors@hotmail.com" ]
luthors@hotmail.com
3336ab7328f75eaee6ce53e5339baef12dbb3f37
cf639124cc2ea83a459b028817e63446addbc4f6
/tours/apps/tour/migrations/0002_auto_20150807_1158.py
ac59f92e250bbb2280668f00f81c83838e896a43
[ "Apache-2.0" ]
permissive
resilientred/OpenTourBuilder-Server
ff605b3d439643a2752b2438e382ca7383248d65
e0afa39b27839cbb4db0445ade204b28dafd6c1d
refs/heads/master
2020-04-11T11:32:50.452512
2017-06-07T15:22:42
2017-06-07T15:22:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import autoslug.fields class Migration(migrations.Migration): dependencies = [ ('tour', '0001_initial'), ] operations = [ migrations.AddField( model_name='tourinfo', ...
[ "jayvarner@gmail.com" ]
jayvarner@gmail.com
19180fe87d05b23f4942f5c69caa88c9fb25a645
8e38169331b6fdec8cb61e2a8ed564023e2cba9a
/telluricpy/__init__.py
5a1309d60edfe354a8ebb966a91bde80ceca426f
[ "MIT" ]
permissive
OpenGeoVis/telluricpy
20b4dd0f77e9a60c3dd61dbfac2668c3994ffdc3
b5cd5ac9e373137c33b2ecc98d4dfed4d0784699
refs/heads/master
2020-03-19T13:31:31.479146
2018-06-29T07:11:24
2018-06-29T07:11:24
136,583,691
0
0
MIT
2018-06-29T06:50:30
2018-06-08T07:32:21
Python
UTF-8
Python
false
false
102
py
from . import dataFiles from . import modelOperations from . import vtkTools from . import modelTools
[ "banesullivan@gmail.com" ]
banesullivan@gmail.com
867173ba1b83c430168b8a64f31c0ddd394a8acf
a9439676d1df659f1647ade7dd7f827604c3ff73
/Source/Renamer/builder/BuildConfig.py
9fbf54f36d96a45e361a2fd61ae3e9cc96974ab2
[ "BSD-2-Clause" ]
permissive
KSP-RO/KerbalRenamer
b5dcd364119e2ca3f001e41f0ee1b6e5a65e457f
bb2d11d443e51b21f06355aa4e748d7c550074c1
refs/heads/master
2023-04-15T02:31:32.034511
2023-04-09T11:47:39
2023-04-09T11:47:39
53,220,293
7
21
BSD-2-Clause
2022-12-28T11:27:20
2016-03-05T19:53:00
C#
UTF-8
Python
false
false
5,621
py
''' This scrip builds a Renamer config file from a few csv. This can be useful if anyone wants to add cultures, or add names to existing ones without editing the cfg file itself. NOTE: 1) the excel workbook is the source to generate the CSV *LASTNAME.transposed.csv The data comes from wikipedia (list of s...
[ "noreply@github.com" ]
noreply@github.com
8aaa163787dc262da38565496f748908143f20f2
fe1d428a926f0ae63efa25335545bd0fbdbaf849
/captain_room.py
4db345ec1f2e0182837d2f64ff668028d37cd74c
[]
no_license
Dhanshree-Sonar/Interview-Practice
e0b20365f2106b89df17637c89d77ae7acf12c1b
5b14190bd98d1d7bb7b61cc66835efccc50450c0
refs/heads/master
2021-01-24T10:04:51.182818
2018-04-17T03:25:05
2018-04-17T03:25:05
123,035,336
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
##Reference: ##https://www.hackerrank.com/challenges/py-the-captains-room/problem ##Read the problem on hackerrank page def find_captain_room(k, rooms): ## room_nums = set(rooms) ## for room in room_nums: ## if rooms.count(room) == 1: ## return room # Multiply all the unique room by group n...
[ "sonardhanshree@gmail.com" ]
sonardhanshree@gmail.com
c3adcbeba8fc8166b6429a87de5ab17b4187ccfd
aabe7008e0eb77617f1a76cddb98e4b17fd5ce27
/nni/experiment/rest.py
bdacc7c215ac759fdb551e7d4fa3d6e296e45fd1
[ "MIT" ]
permissive
penghouwen/nni
a09a374a81be46fe246c425275585d5fe79404af
2e6a2fd2df0d5700cb028b25156bb535a3fc227a
refs/heads/master
2021-12-21T14:02:32.228973
2021-12-13T16:54:39
2021-12-13T16:54:39
435,926,123
1
0
MIT
2021-12-07T15:09:36
2021-12-07T15:09:35
null
UTF-8
Python
false
false
1,156
py
import logging from typing import Any, Optional import requests _logger = logging.getLogger(__name__) url_template = 'http://localhost:{}/api/v1/nni{}' timeout = 20 def request(method: str, port: Optional[int], api: str, data: Any = None) -> Any: if port is None: raise RuntimeError('Experiment is not ru...
[ "noreply@github.com" ]
noreply@github.com
b072589f2271dcbb0fa60ed730ced44bb17c6fdd
5b4823772981be8a9c6be22ad2974101163b209b
/server/travelitinerary/migrations/0002_itinerary_owner.py
3d11856f692ea84271f2efc1017520682b4c2aac
[]
no_license
christineyinho/cs50-travel-itinerary
69bd3828bd509fd29dc88d7f5a29f109d7c57f9b
581c129e83dc95f92ee3b204eb17a83914d98b5e
refs/heads/master
2023-02-03T07:02:29.956434
2020-12-23T01:57:42
2020-12-23T01:57:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
# Generated by Django 3.1 on 2020-12-07 05:41 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('travelitinerary', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "christineyinho@gmail.com" ]
christineyinho@gmail.com
8a55b7afe474d1c272fa8bafa22e87a27f6efa37
a9eede607432904dc80931f5c0cd7226ca3436b4
/showcase/migrations/0002_auto_20160930_1654.py
10f0fdc3fbf851aa0170dcde4fdf3c51b7e1e1cc
[]
no_license
DO2016/mysite
c979c0f5f7e7cef26a95465b1026bbf878877fca
ee0b6713a36420e8cab13f3b1d24504beed0c2c0
refs/heads/master
2020-09-25T00:07:49.169447
2017-01-10T14:32:54
2017-01-10T14:32:54
67,704,686
0
0
null
2016-12-09T10:22:29
2016-09-08T13:17:10
Python
UTF-8
Python
false
false
707
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-30 13:54 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('showcase', '0001_initial'), ] operations = [ migrations.RenameField( mode...
[ "dorlov@Mac-mini-dorlov.local" ]
dorlov@Mac-mini-dorlov.local
f48ee2cabb3338d40b3aaae10b3b34cc45096973
168d0e69d0d072659084e5d274672d83df2925e7
/KCEF/sampler/hmc.py
9637fff07fcc21ba9aa8fa7c19b4cdf1888c8614
[ "BSD-3-Clause" ]
permissive
MichaelArbel/KCEF
130d3eb05a087f8031bedcb5af873805ed2afa66
cda1b6e4be5f172695e00aa3bc3cc58ccc30ecc2
refs/heads/master
2020-03-09T03:47:53.703923
2019-11-25T18:16:03
2019-11-25T18:16:03
128,572,868
3
2
null
null
null
null
UTF-8
Python
false
false
6,846
py
from abc import abstractmethod import numpy as np def standard_sqrt_schedule(t): return 1. / np.sqrt(t + 1) def leapfrog(q, dlogq, p, dlogp, step_size=0.3, num_steps=1): # for storing trajectory Ps = np.zeros((num_steps + 1, len(p))) Qs = np.zeros(Ps.shape) # create copy of state p = n...
[ "michael.n.arbel@gmail.com" ]
michael.n.arbel@gmail.com
decf87e0b30debfc4eb0e9ec4befffa7a1c251d5
29c24714cf9af9cbe6bfb3f2fa2c031c85b348f1
/src/handlers/form.py
7949e4ae7db2f7171c9f0dc8436f15c23051afa0
[]
no_license
IP89/octopus
66e8aa5bb366b75cc096888b53b4b56703f761a7
b94c9148831ee3e2e7d9ea4ebce5dc319fb89986
refs/heads/master
2021-08-22T18:32:25.131364
2017-11-30T23:50:07
2017-11-30T23:50:07
112,670,339
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
import tornado.ioloop import tornado.web import json from models.scrapper import Scrapper from helpers.processing import * from helpers.db import * class FormHandler(tornado.web.RequestHandler): def get(self): self.render("../templates/cloud.html", title="Cloud") def post(self): self.set_head...
[ "ivo@zeroheight.com" ]
ivo@zeroheight.com
8290bd478a8c2d44f9a3fa85685a885200c59165
81cbf9cc47c3efe1eb21723bf044d7f447be140d
/NumPy_Tutorial_7.py
234e656ebccdd053beba01d9b5e04023b356ca56
[]
no_license
code-of-the-future/Python-NumPy-Tutorials
584cfffbdb982de96cdddc5ced071edb7f60ce9b
ea7ff6815b4b3e8ed73ddf6671b30de48054d5aa
refs/heads/main
2023-06-07T14:55:04.183576
2021-06-28T17:01:10
2021-06-28T17:01:10
326,231,132
3
1
null
null
null
null
UTF-8
Python
false
false
774
py
# NumPy Tutorial 7 - Handy Operations for Data Analysis # Importing relevant modules import numpy as np # Operations that come in handy for data analysis! one_dim = np.array([1, 2, 3, 4, 5]) # [1 2 3 4 5] two_dim = np.array([[1, 2, 3], [4, 5, 6]]) # [[1 2 3] [4 5 6]] # Summations print(sum(one_dim)) # Produces 15...
[ "noreply@github.com" ]
noreply@github.com
07e2654cb106940a7a39446d3f174317dd6f4f79
c5d1e1abeb7f125ed366da99085975157e4cc995
/example/examples_src/merge.py
d388679e5ec4def303d086d7042e716ae77a60a2
[ "MIT" ]
permissive
Nouzan/scrapy-example
63fd832a5ee164be0cf3b5f74e9b17967f1eebbc
6d38419d5435dee351d5fca44aadc67de67d41ac
refs/heads/master
2020-04-21T21:00:47.192274
2019-05-12T15:44:25
2019-05-12T15:44:25
169,864,987
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
import pandas as pd from sys import argv output_name = argv[1] for filename in argv[2:]: df = pd.read_csv(filename, header=1) df.to_csv(output_name, mode='a', index=False, header=0)
[ "clobraindie@outlook.com" ]
clobraindie@outlook.com
53d56b5295ef1c0c91985657a505ca7778a240d0
f1913a497f430feb1d12e494ec1e3ae39e5ed913
/KMeans/Kmeans.py
f4839236399dded8cbabbce4ea6426f493075647
[]
no_license
rtapan25/ML-algos-from-scratch
6dbb25915dca6c2751264a767637ad8956b2bae6
524f9158872e738e9abbd0523ac902386cd67ef6
refs/heads/main
2023-04-15T01:21:24.777098
2021-05-05T10:20:47
2021-05-05T10:20:47
364,537,242
0
0
null
null
null
null
UTF-8
Python
false
false
1,370
py
#Implementing KMeans algorithm from scratch import numpy as np from sklearn.metrics import pairwise_distances class KMeans: def __init__(self, k = 3): self.k = k def fit(self, data): self.centeroids = self.init_centeroids(data) self.no_of_iter = 1000 for _ in rang...
[ "noreply@github.com" ]
noreply@github.com
0307735a5c3a1b93215f0dbb6079311a511130aa
cee6275046e371ed26d10e1288a7c555e34306c1
/projeto2_2020/venv/bin/tkconch
5471b3bc00741567cc39e296eb7e2050c2acb9de
[]
no_license
DanielJMPinto/sio_proj_2
1060616a91e3f1e754344894aef53f1fd40e82a8
518d0e97b0660d255c34273c612a258602d493ad
refs/heads/master
2023-02-15T05:52:52.777248
2021-01-03T22:24:18
2021-01-03T22:24:18
323,598,701
0
0
null
null
null
null
UTF-8
Python
false
false
260
#!/home/daniel/uni/sio/projeto2_2020/venv/bin/python # -*- coding: utf-8 -*- import re import sys from twisted.conch.scripts.tkconch import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "dmatiaspinto@ua.pt" ]
dmatiaspinto@ua.pt
fd6336527e32ba23233ed80c3af41fb92d405132
d669444387b731a452c60a3e144dd33b8af04621
/vowela.py
f5025a2c9ae62755a97ffac4c0a81845d561c0a7
[]
no_license
vamsikrishna6668/python
8116a4d3f5836bea636fd4ba9c035adc1d764034
dc805a0096b27d5feda3b03ae4118f668777c0cb
refs/heads/master
2020-04-01T19:48:01.590508
2018-10-18T10:05:12
2018-10-18T10:05:12
153,571,906
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
sk =input('enter a single character:') if sk in('a','e','i','o','u','A','I','E','O','U'): print('It is a vowel') else: print('''It is a consonant''')
[ "noreply@github.com" ]
noreply@github.com
fcd4db8356379cec770d77f2f31c758e4e6a01a0
de84f9d44b59aa39a1612c683cf2de150ef59e9b
/easy_thumbnails/migrations/0013_auto__del_storage__del_field_source_storage__del_field_thumbnail_stora.py
9b429e51b2880464524de0c7aae7c47d013fe624
[]
no_license
evrenesat/uygulamatik
25d7617d4ae6c10623b30d4a57731242efa9a4a7
c90da279c6571549e35f51e097524752d9cc2936
refs/heads/master
2021-01-19T05:39:26.908079
2014-06-05T21:57:00
2014-06-05T21:57:00
65,093,382
1
0
null
null
null
null
UTF-8
Python
false
false
3,748
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models from django.core.files.storage import default_storage import pickle #from django.utils.hashcompat import md5_constructor import hashlib class Migration(SchemaMigration): def forwards(self, or...
[ "esat.ozkan@grow-is.com" ]
esat.ozkan@grow-is.com
07c2b83ed32a76879df18b6b26849c9c4974513a
683f0a9fb5617654a5bd9ced0a5572f799e53dbd
/server/IntegrationServers/gui_outline.py
99acd32eb62adb3cc9cbf601e244e32726a397f8
[]
no_license
samhmcg5/embedded
27e35a000c9c6075227cef538745df86b144d66b
4c7e98b6973786d53d0633b59ebab23987d1121a
refs/heads/master
2021-03-22T01:30:21.167266
2017-12-09T18:04:58
2017-12-09T18:04:58
102,485,356
1
1
null
null
null
null
UTF-8
Python
false
false
5,628
py
from PyQt5.QtWidgets import QWidget, QApplication import PyQt5.QtWidgets as qtw import PyQt5.QtCore as qtc from PyQt5.QtGui import QFont import sys from styles import stylesheet ############################### ### TOP LEVEL GUI COMPONENT ### ############################### FONT_SIZE = 18 class TopLevelUI(...
[ "samhmcg5@vt.edu" ]
samhmcg5@vt.edu
7f56a9ddb77ca93b0aba27a74961e627b2c5415e
444cf9d995e1149dacbcbb2a217d6fd8b394608e
/met_ml/train/models.py
42146b4806619126114930367bba27a1bce89002
[ "Apache-2.0" ]
permissive
jhamman/met-ml
ca44f9e45964ded268bbd127efe09553e675fec2
d1e971f0a472bfe563fa5cbc7eedd8b2183e1130
refs/heads/main
2021-06-29T17:16:28.930256
2021-03-01T06:28:37
2021-03-01T06:28:37
222,575,254
2
2
Apache-2.0
2021-03-17T23:43:00
2019-11-19T00:51:34
Jupyter Notebook
UTF-8
Python
false
false
1,515
py
import numpy as np import pandas as pd from sklearn.compose import ColumnTransformer from sklearn.preprocessing import FunctionTransformer, StandardScaler, MinMaxScaler def elevation_scaler(x, feature_range=(0, 1), data_range=(-420, 8848)): '''MinMaxScaler for elevations on Earth''' fmin, fmax = feature_rang...
[ "jhamman@ucar.edu" ]
jhamman@ucar.edu
7ce4eb04206168d652015920e49fcf4d6f28653f
cffd82720d2c819e08751d6fd930f4b5bdc55d81
/nested.py
f84d22c0b6ac1fe0288965aeb508a1064f4c8d35
[]
no_license
royangsuman/pythonFiles
304011fa8c8c000ae801024639457755306c7c31
e22090cc0b0f3e2d93416b12ee48b33426984bc5
refs/heads/main
2022-12-23T11:39:56.767126
2020-10-02T23:58:12
2020-10-02T23:58:12
300,760,967
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
for x in range(4): for y in range(4): print(f'({x},{y})')
[ "noreply@github.com" ]
noreply@github.com
a1b49240c1dcc7ac8fcb700867ba14e85dfafdbd
318aeabbb28b90a3fe25d002201027e673a8e4a4
/scripts/fuzzy_willingness.py
99fcf8f136d369e836e028a4e420e9fffb684dcd
[]
no_license
gitting-around/gitagent-sar
5e9125a01f7c97e5e5fa1f7cdf3d5ab877d887ab
b1075ed4649f11bc38a75916e01cf3ecf8faa455
refs/heads/master
2021-04-06T01:58:18.319453
2018-05-07T08:33:49
2018-05-07T08:33:49
124,538,513
2
0
null
null
null
null
UTF-8
Python
false
false
2,955
py
#!/usr/bin/env python #Fuzzy algorithm which considers only one input --> health import sys import random import numpy as np import skfuzzy as fuzz from skfuzzy import control as ctrl #Define some parameters hmin = 400 hmax = 4000 #hmin = 1 #hmax = 200000000 hdiff = 10 unitmin = 0 unitmax = 1 unitdiff = 0.1 #Define...
[ "mirgita.frasheri@gmail.com" ]
mirgita.frasheri@gmail.com
4ed4b10a56b29656b1368f2736acf86ca60e3ca5
03ef5d01281af62beb5ea562ddc3512130334aa8
/apiFeitaTeste/venv/bin/pip
251a8be510dd5ac88902ff03111fddaba91d329b
[]
no_license
gregoryls1/apiFeiraTeste
d86bbbda1e8d3a681e1fbc6570496a8e885579c2
6cbf139ae1faf069d6a1d0df6258e05aed255289
refs/heads/master
2020-03-16T18:34:03.304600
2018-05-11T18:09:03
2018-05-11T18:09:03
132,878,410
0
0
null
null
null
null
UTF-8
Python
false
false
389
#!/home/gregory/apiFeitaTeste/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "contatogregory@gmail.com" ]
contatogregory@gmail.com
7f377a78fed5bceca5225f286b162f4366085d4d
9ae20f40b0a07352f7d5ec9c81a98a01039d9347
/hazelcast/protocol/__init__.py
22744369964eac18b0e4c219392a7c007d3ee2e3
[ "Apache-2.0" ]
permissive
ihsanmertatalay/hazelcast-python-client
edbb4857dcae039a2dc6bdc3f70908ee4ce3609c
364ee181d84a270086aff53e2356862e771f9025
refs/heads/master
2023-08-26T16:44:42.073356
2021-10-18T09:00:13
2021-10-18T09:00:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,362
py
from hazelcast.six.moves import range class ErrorHolder(object): __slots__ = ("error_code", "class_name", "message", "stack_trace_elements") def __init__(self, error_code, class_name, message, stack_trace_elements): self.error_code = error_code self.class_name = class_name self.messag...
[ "noreply@github.com" ]
noreply@github.com
2be58aa42be5d9593ef75e0651cfefb8cbdd0f51
3b66632458e2463db62a800f9a0cf9e13c71a47e
/examples/template_tfe_multiple_optimizers/edflow.py
d0c88a39f566f2597d3f743824684633f16c3834
[ "MIT" ]
permissive
pesser/edflow
eddb6d9341b861670946c157363933e9add52288
317cb1b61bf810a68004788d08418a5352653264
refs/heads/dev
2022-12-09T05:19:35.850173
2020-07-21T16:29:15
2020-07-21T16:29:15
146,750,121
27
15
MIT
2022-12-07T20:55:50
2018-08-30T12:59:11
Python
UTF-8
Python
false
false
7,162
py
import functools import tensorflow as tf tf.enable_eager_execution() import tensorflow.keras as tfk import numpy as np from edflow import TemplateIterator, get_logger class FullLatentDistribution(object): # TODO: write some comment on where this comes from def __init__(self, parameters, dim, stochastic=True)...
[ "supermario94123@gmail.com" ]
supermario94123@gmail.com
f5dd8c1bee04adeb3f5e226f1533e97d2e71d4cb
32083cd96b3d5c784a4ecc6885a463110c4bb090
/primeNumber.py
bdd2a5be83cf2bf97b75dc44843771377a485a93
[]
no_license
ManrajSingh1805/Prime-Numbers
98e463864f6fef615e352b2fddf4ef236ff180dd
61f5ec3f0473d1ddeaf186d60ac441e4fba644dc
refs/heads/main
2022-12-22T16:13:11.767902
2020-10-03T18:53:12
2020-10-03T18:53:12
300,952,784
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
# THIS code will help people tell whether a number is prime or non prime. fim = input("Enter a number to check whether it's a prime or not:") p=None y= None import sys try: f= int(fim) except: print("Not a number") sys.exit() h =f/2 i=2.00 while i<h: if f%i==0: p=1 else: p=0 i=...
[ "noreply@github.com" ]
noreply@github.com
42c475f886494994630be73c948f242ac4e2bd17
706e57fbb805e37d8b36e3d6bde01fc9981eb9a1
/Advent2015/01/day1.py
e1f0cbc045444705fb9fc78969e9bbc49049c8e3
[]
no_license
micaswyers/Advent
f4257d7454b2408c38aa7ab01ce2c71ab28862e1
c0ed8f1669dd7f1053cd989c7cb8600a5571557e
refs/heads/main
2022-12-09T06:24:20.949096
2022-12-08T21:03:49
2022-12-08T21:03:49
47,536,546
2
0
null
2022-12-07T18:17:20
2015-12-07T07:32:46
Python
UTF-8
Python
false
false
827
py
# Part 1 def parse_floors(directions): """Determine ending floor for Santa based on () directions. Args: directions: Some string composed of ( & ) Returns: start_floor: Int representing Santa's final floor """ start_floor = 0 for letter in directions: if letter == "(":...
[ "mica@eventbrite.com" ]
mica@eventbrite.com
14da982650fc9436cd96801a7cb3dd626f19761d
31b9451a61773b765ccf1d8aee54b9caa338cef3
/lesson5_jan31/lesson5_ex_db.py
33af83777e2353504d169e116b5eb00255c1ad6d
[]
no_license
pninitd/devopscourse
4f5d71b0e3581bf982acf07ab565451256b7133a
06472ce6dbc4402859c2d6d8d024eda019fec24c
refs/heads/master
2023-04-25T16:15:58.966551
2021-04-28T06:09:41
2021-04-28T06:09:41
338,870,958
0
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
import json import pymysql db_con = '' db_cur = '' def open_connection(): user = 'QzeMAiiWP6' password = 'r8Dopb5X8y' dbname = 'QzeMAiiWP6' schema = 'QzeMAiiWP6' host = 'remotemysql.com' port = 3306 global db_con # Establishing a connection to DB db_con = pymysql.connect(host=ho...
[ "pninit.dvir@gmail.com" ]
pninit.dvir@gmail.com
e863dd63cbdebcdde8ab59e51515cb89041ea034
f1048b499804ecdef80a0b0b5c5d3a50b0da8f3e
/venv/bin/soup
ff723f94b7631133e63d47c471e7404e039d92f9
[]
no_license
ps0317ix/mansionProject
1c274d66dc5675d60ce43dba7f31e2c9822f9710
98628df47d1304b3da5783c4990b91fc5e1abdca
refs/heads/master
2023-02-19T01:38:38.708880
2020-10-15T11:55:34
2020-10-15T11:55:34
332,578,621
0
0
null
null
null
null
UTF-8
Python
false
false
992
#!/Users/yukinoguchi/PycharmProjects/mansionProject/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'soup==0.1.0','console_scripts','soup' import re import sys # for compatibility with easy_install; see #2198 __requires__ = 'soup==0.1.0' try: from importlib.metadata import distribution except ImportError: try: ...
[ "38696393+ps0317ix@users.noreply.github.com" ]
38696393+ps0317ix@users.noreply.github.com
1ce01c3e5eafef0398c727f2132d92cef69b14ab
2b93a5f46980e475375e796de139ed46a53809a6
/Functions/Calculator.py
0095b099701cd2e5bbf751a81ce9b7acc2e6e00c
[]
no_license
ravi4all/PythonMay_11
c9996cb0a2741a5a022c74129aa21c1f4b495aba
f0f3fb5e99a67e704df2a109a7af3d8d18010f9d
refs/heads/master
2020-03-16T21:28:06.549963
2018-05-30T05:34:50
2018-05-30T05:34:50
133,000,051
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
def add(x,y): z = x + y print("Addition is",z) def sub(x,y): z = x - y print("Subtraction is",z) def div(x,y): z = x / y print("Division is",z) def mul(x,y): z = x * y print("Multiplication is",z) # Menu Driven Programs print(""" 1. Add 2. Sub 3. Div 4. Mul """)...
[ "noreply@github.com" ]
noreply@github.com
6f09ba818f72b8483cc98fb36385efd7f148d4be
020f3a9bed41fc4463f97f0add254d235ad63c5e
/repository/UserRepo.py
02fd7d5d5b0804e30256ce370fc76260e9fb91c3
[]
no_license
Blank199/MobileAppServer
ee0611710d1ad308657b7370048bc6540ec24696
d9ea80bc4e44e5d38c40450d5d7db360b01ccb21
refs/heads/master
2023-02-12T23:52:16.792417
2021-01-09T13:48:58
2021-01-09T13:48:58
308,892,207
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
from tinydb import Query from domain.User import * class UserRepo: def __init__(self, db): self.db = db self.table = db.table("Users") def addUser(self, user): self.table.insert(user.toDict()) def returnOne(self, username): user = Query() elem = self.table.search...
[ "tatoiu_christian@yahoo.com" ]
tatoiu_christian@yahoo.com
5aee269541c1ab7a359961a7d1f60d4495f2c529
a23436abc25f6526ade03c6c68651bf7ac8c83aa
/env/bin/alembic
9cf917118f3776bbbea669b6906e55d2d9125ba5
[]
no_license
annejones817/pettracker-cloud9
f92f8d93b3870130104e4ab40c6fcf5794b77b41
fb13eae9ee6240ad6944a177ea7df63897eb1d8e
refs/heads/master
2021-01-12T10:15:43.145496
2016-12-13T21:34:11
2016-12-13T21:34:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
354
#!/home/ubuntu/workspace/thinkful/capstones/pettracker/env/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'alembic==0.8.9','console_scripts','alembic' __requires__ = 'alembic==0.8.9' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('alembic==0.8.9', 'con...
[ "annejones817@gmail.com" ]
annejones817@gmail.com
e6bd6f44f4b8d52a1fe03affd4b5296e02733784
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03435/s544670590.py
b7a33f056509c825aa6f270f9dacfc4421f64bb9
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
c1= list(map(int, input().split())) c2 = list(map(int, input().split())) c3 = list(map(int, input().split())) a1 = 0 a2 = c2[0] - c1[0] a3 = c3[0] - c1[0] b1 = c1[0] b2 = c1[1] b3 = c1[2] if c1[0] == a1 + b1 and c1[1] == a1 + b2 and c1[2] == a1 + b3 and c2[0] == a2 + b1 and c2[1] == a2 + b2 and c2[2] == a2 + b3 and c...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
70393418981766bfdf6ee019e49f8ca4810916a3
56b8dc29292e32d76c27a6613d693f7a27ab1fa0
/converters/main_converter.py
e6f5890c9743a6d36dccb730bc86cc1dcb2e4a81
[]
no_license
benrap/Assembly2Brainfuck
4cbb121975e8f43db7414d80c89679d69736468c
4c2ff2f4210bbb29398faff320af86e45fe42f13
refs/heads/master
2022-05-29T17:03:31.338498
2020-05-03T22:23:17
2020-05-03T22:23:17
260,976,111
10
0
null
null
null
null
UTF-8
Python
false
false
878
py
import sys from inspect import getmembers, isfunction, getsource import converters.ASM2HBF import converters.HBF2BF from constants.CONSTANTS import CASM, HBF, BF, N, M def ASM2HBF(code): return converters.ASM2HBF.ASM2HBF(code) def HBF2BF(code, n, m): source = getsource(converters.HBF2BF) functions_list = [o for...
[ "t8794265@talpiot.huji.ac.il" ]
t8794265@talpiot.huji.ac.il
0e13abc5d0f1db296489986d8c87fe051cd753f9
ecb1825d126a4100a1617637db4d296e5688b091
/Preprocessing/SignalD.py
ef60adb51991654f655bd91624994f5eeefb8d16
[]
no_license
abhi1998das/MMHAREnsemNet
0194a4a19ed3b09cd273746ff373f81060cf1081
416ca226450fadf6cd17a92069ca6f5c4e2e0b2e
refs/heads/master
2022-12-25T09:21:19.599959
2020-09-16T08:47:55
2020-09-16T08:47:55
295,641,161
1
0
null
null
null
null
UTF-8
Python
false
false
1,220
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun May 10 04:07:23 2020 @author: taichi10 """ import numpy as np import os from PIL import Image import glob import tqdm import math import time from pathlib import Path from sys import exit data_path = "/home/taichi10/Documents/college/ML/Signal" ...
[ "abhigyan.smarajit@gmail.com" ]
abhigyan.smarajit@gmail.com
465c90222f3efec528b9e202c2192587eac18c06
0b893ad7ce787539a7534dfdb9b62908fddafdab
/src/api/welcome_api.py
df5482276aee4eaa6c6389d856a2ac89c21be6c0
[]
no_license
dingdan539/healer
7a990bd4769568e1f6aa0c8022e2ff1582c7f5c8
386ed5c76235aaa9e6de2665e3eb9b7ed74a98db
refs/heads/master
2021-01-10T12:04:45.283571
2016-04-26T10:38:12
2016-04-26T10:38:12
45,183,823
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# -*- coding:utf-8 -*- import falcon import json import os from father import Father class WelcomeApi(Father): """master have the api_path""" api_path = "/hc" error_msg = "" # 提供给AuthMiddleware做判断,如果不为空,说明有错误,日志记录要记录进去 no_auth = True def on_get(self, req, resp): resp.body = 'ok' ...
[ "dingdan@NH01ITNB7001126.yihaodian.com" ]
dingdan@NH01ITNB7001126.yihaodian.com
6c5bf8f2813dab2bf186ad429a1552e331903925
328b339d8befaa515593876db30dc2a0a1c3eba7
/python/set1/single_xor_file.py~
c7c027be93608514b66f708fbeb0c0eec386df6f
[]
no_license
Dhole/matasano
f9731877aedc8a60a1e6a3d621ac36266c4a137b
4c9fa062f595ac6c853ae5bdfe3227b264269949
refs/heads/master
2020-06-02T21:51:45.349825
2016-10-31T06:20:11
2016-10-31T06:20:11
27,048,347
1
0
null
null
null
null
UTF-8
Python
false
false
1,181
#! /usr/bin/env python3 import sys, operator LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ 1234567890\',.?!-"$#=*<>/' ETAOIN = 'ETAOIN SHRDLCUMWFGYPBVKJXQZ1234567890\',.?!"$#=*<>/' def xor(a, b): x = b'' for n in range(len(a)): x += bytes([a[n] ^ b[n]]) return x def letterCount(msg): count = {} ...
[ "bankukur@gmail.com" ]
bankukur@gmail.com
2983a873d801ab0ebf4602895cbc7188cd6c679e
f02bf676e5fea7a94814b5afaf46e762f1781489
/src/resource.py
8ca43fe2a5ce19f8cf911be5902db91c21a1af32
[]
no_license
PASTAplus/pastaplus_adapter
b514a0274eada7543fc742fbd7757b13c0e58940
369688ea41bf87dd27e50eb89376ce894dc828b1
refs/heads/master
2020-04-02T01:51:52.549760
2017-08-12T19:47:07
2017-08-12T19:47:07
83,488,157
0
0
null
null
null
null
UTF-8
Python
false
false
8,851
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """:Mod: resource :Synopsis: :Author: servilla :Created: 3/10/17 """ import logging import hashlib import xml.etree.ElementTree as ET import requests import d1_common.resource_map import d1_common.types.exceptions import d1_common.types.generated.dataoneTypes_...
[ "mark.servilla@gmail.com" ]
mark.servilla@gmail.com
1b168c8660752d0007441aec85f837fc3f33b6f2
ca831a9dc9d6dc0b2cedc4d998b26600439b5f10
/python/numpy/q4_np_concatenate.py
d47d611fb6d9b69f1a21103ef45d97b89b76e8e9
[ "MIT" ]
permissive
mxdzi/hackerrank
c2579f4351fba5af1dec21a49485e043421c2dd8
c8da62ac39a0c24f535eded74c102a9c0ccd7708
refs/heads/master
2022-12-26T20:10:36.948961
2022-12-08T18:27:51
2022-12-08T18:27:51
225,469,479
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
import numpy def main(): N, M, P = map(int, input().split()) array1 = numpy.array([input().split() for _ in range(N)], int) array2 = numpy.array([input().split() for _ in range(M)], int) print(numpy.concatenate((array1, array2))) if __name__ == "__main__": main()
[ "michal@dziadowicz.it" ]
michal@dziadowicz.it
febe416c583126b6493c589aee13a27726c07b5f
876cd0697e019009bd513a43e6d82c997111ad81
/watches/urls.py
5804402826df94732ac23a34136ee982077514b5
[]
no_license
l0nelyhermit/p4-timeless
2d9a141f8f767228dfd069bcb534fc114c778bcc
e1c88b8a629be5886a511b5dcedfc7b0e68ce13e
refs/heads/master
2023-04-03T12:56:17.702090
2021-03-18T03:22:05
2021-03-18T03:22:05
348,276,123
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
from django.urls import path from .views import index, create_post, show_post urlpatterns = [ path('', index, name='index'), path('create_post/', create_post, name='create_post'), path('show_post/', show_post, name='show_post'), ]
[ "mrjonathangoh@gmail.com" ]
mrjonathangoh@gmail.com
4b11dd4cd2213194d38521b0f83f8f3b572200c8
d79c152d072edd6631e22f886c8beaafe45aab04
/nicolock/users/migrations/0004_user_user_type.py
92f9060fd70d6a9a282d30ca0b5d03f2722b99e2
[]
no_license
kabroncelli/Nicolock
764364de8aa146721b2678c14be808a452d7a363
4c4343a9117b7eba8cf1daf7241de549b9a1be3b
refs/heads/master
2020-03-11T11:02:43.074373
2018-04-18T17:38:33
2018-04-18T17:38:33
129,959,455
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-12-06 23:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0003_companyprofile'), ] operations = [ migrations.AddField( ...
[ "brennen@lightningkite.com" ]
brennen@lightningkite.com
9e62d7926cfd8cb4e1ee9e4ddcbb8f46125fd006
46eb1dc4aaa30c5af38eb0c8464cd198dd671b58
/applications/migrations/0020_new_applications_20200402_1036.py
0e08d1676ed8c671d42694bc78619c54cc25f47d
[ "MIT" ]
permissive
oxford-hack/registration
e94250aa0fb709d2491394dee8b7ad7c07a31dad
d729f9a990d6f63dc29e14c1657dba87c3233971
refs/heads/master
2023-01-09T12:43:28.910506
2020-11-12T15:54:37
2020-11-12T15:54:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,814
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.28 on 2020-04-02 17:36 from __future__ import unicode_literals import applications.validators from django.conf import settings import django.core.validators from django.db import migrations, models import django.utils.timezone import uuid def convert_for...
[ "iliamanolovuni@gmail.com" ]
iliamanolovuni@gmail.com
080b1e4286c8c2c84610c574e16d75accadb8136
e2c4fc612bf0095b5a7e39540978f3f8626626c1
/comparinglists.py
ead60691a262320b12205b8b2e35dbb83f6ce640
[]
no_license
MauriceMorrey/Python
b0582478188a1b99fcfeffff85b42c8b8b7c70f1
5ca9f587e9d19627af0b06e57086dca0163e5f2d
refs/heads/master
2020-03-08T06:27:44.297555
2018-04-03T21:48:26
2018-04-03T21:48:26
127,972,506
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
list_one = [1,2,5,6,2] list_two = [1,2,5,6,2] list_three = [1,2,5,6,5] list_four = [1,2,5,6,5,3] list_five = [1,2,5,6,5,16] list_six = [1,2,5,6,5] list_seven = ['celery','carrots','bread','milk'] list_eight= ['celery','carrots','bread','cream'] def compare_list(list_a,list_b): if list_a == list_b: print...
[ "morreydson@gmail.com" ]
morreydson@gmail.com
4cc5fa1c5d42c3b5b3744dc1eb24a06ed4c8e10c
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/test/test_siurl_list.py
094c867212270e09508ac2b3c62b72a81fd28872
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
7ba0744fc18c12981135e6b474843ce4bdb643e4
14bca3c05f5d8de455c16ec19ac7782653da97b2
/lib/requests_oauthlib/oauth2_auth.py
d8712fd46c49685f885010eb48c0e21094a5eea6
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hovu96/splunk_as_a_service_app
167f50012c8993879afbeb88a1f2ba962cdf12ea
9da46cd4f45603c5c4f63ddce5b607fa25ca89de
refs/heads/master
2020-06-19T08:35:21.103208
2020-06-16T19:07:00
2020-06-16T19:07:00
196,641,210
8
1
null
null
null
null
UTF-8
Python
false
false
1,578
py
from __future__ import unicode_literals from oauthlib.oauth2 import WebApplicationClient, InsecureTransportError from oauthlib.oauth2 import is_secure_transport from requests.auth import AuthBase class OAuth2(AuthBase): """Adds proof of authorization (OAuth2 token) to the request.""" def __init__(se...
[ "robert.fujara@gmail.com" ]
robert.fujara@gmail.com
262f3516ed9b97ec15c6b602731188fef2efd36d
aee7a6cca6a2674f044d7a1cacf7c72d7438b8b1
/cup_skills/stats/average_rewardtest_score.py
c332ccef793a04daac6ef2eea3f62649d5182885
[]
no_license
lagrassa/rl-erase
efd302526504c1157fa5810e886caccba8570f1b
0df5c8ce4835c4641a2303d11095e9c27307f754
refs/heads/master
2021-05-13T13:36:12.901945
2019-08-01T02:13:15
2019-08-01T02:13:15
116,709,555
1
2
null
null
null
null
UTF-8
Python
false
false
2,107
py
16.363636363636363,46.36363636363636,28.18181818181818,20.909090909090907,18.181818181818183,38.18181818181819,52.72727272727272,31.818181818181817,2.727272727272727,30.909090909090907,17.272727272727273,17.272727272727273,49.09090909090909,11.818181818181818,50.0,27.27272727272727,46.36363636363636,31.818181818181817,...
[ "lagrassa@mit.edu" ]
lagrassa@mit.edu
387e5d4c1dec8530f2c1937bba41a86f238a0b49
d517bed2e778072afe99e130d4f4eff4050adec7
/venv/bin/jsonschema
cbd595a945ee73e8436c2d208a38cc58fee5ed17
[]
no_license
Siyuan-gwu/K-mean-and-PCA-Human-Activity-Recognition
7a08322d9d65d6e4939cc4f4b3a8c2eeca8f6be6
009bf87f253c2ba659b75503af69b991edc37286
refs/heads/master
2022-12-04T21:56:10.875929
2019-11-12T04:33:07
2019-11-12T04:33:07
221,090,912
1
1
null
2022-11-15T11:49:02
2019-11-11T23:47:29
Python
UTF-8
Python
false
false
260
#!/Users/zhangsiyuan/PycharmProjects/project3/venv/bin/python # -*- coding: utf-8 -*- import re import sys from jsonschema.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "imsiyuan.z@gmail" ]
imsiyuan.z@gmail
c695b0339ee0c1738a0bf26630659bfdefc11fe2
9d938842ead461614d9e7a9d4d2dcff49cb96810
/receptor/valle_libs/__init__.py
7cbd11906b4e25b0d8ea07f2a797d891807fb060
[ "Apache-2.0" ]
permissive
vallemrv/tpvB3
74e89b6b7c8e72875cf3551eaceed1052b2a8e92
9988a528b32692b01bd042cc6486188c4dc2109b
refs/heads/master
2021-01-13T11:22:13.764243
2018-05-01T16:52:36
2018-05-01T16:52:36
76,935,092
3
1
null
null
null
null
UTF-8
Python
false
false
192
py
# @Author: Manuel Rodriguez <valle> # @Date: 05-Mar-2018 # @Email: valle.mrv@gmail.com # @Last modified by: valle # @Last modified time: 05-Mar-2018 # @License: Apache license vesion 2.0
[ "valle.mrv@gmail.com" ]
valle.mrv@gmail.com
ec4d20e2bca5302042900987f93525861d3a228b
58f68405f9d5efb394044666873419dc9155cb47
/Heap/HeapMax.py
1624208522ea72ca63ddbdc21f01dd14384bc17c
[]
no_license
janak11111/Data-Structure-With-Python
204ac0cfca3cbd0f3596669d96fdb6d4a3800e5e
adf7871c578972fc2a23097a84084606d20befdf
refs/heads/master
2023-03-15T00:40:06.042525
2021-03-05T12:31:13
2021-03-05T12:31:13
277,209,921
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
from heapq import heappop, heappush array = [1, 4, 6, 2, 5, 3, 9, 8, 7] heap = [] for item in array: heappush(heap, item) ordered = [] while heap: ordered.append(heappop(heap)) print(array) print(ordered) array.sort() print(array == ordered)
[ "noreply@github.com" ]
noreply@github.com
61e6bedda6a835f388a54f4c5a89689c8118b1a6
0eec9f07a208130afcaa275f3a625b02dec7bf6e
/sysprepi_front/urls.py
4d5f2eeae0b669e7820f80085ab8318594c3dc61
[]
no_license
rabeloAndre/sysprepi_front
0a76bf26e5696347e5f72db143533783c5e157e7
3bbb3f2a59c831e2626e4f819e06ddc6051ad34e
refs/heads/main
2023-02-23T06:05:23.070872
2021-01-26T01:19:59
2021-01-26T01:19:59
330,966,969
0
0
null
2021-01-19T12:12:38
2021-01-19T12:06:54
null
UTF-8
Python
false
false
637
py
"""sysprepi_front URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "andrerabelo1001@gmail.com" ]
andrerabelo1001@gmail.com
3b81146f3186fdd1e173d2df67a9c142f415d844
a7ae94eb4a109341aa5cba0837affa694d0f1783
/pages/tests.py
730c21e53d1856385d3bd8dfcf4e0911b53f7f45
[]
no_license
nandreik/NetflixMoviePicker
64dcf2e5497182a8f82711ed781b0b64efc49bcd
f4bd04e8805e4728cced02f3a6a453934140cfbd
refs/heads/master
2023-03-15T08:19:41.760246
2021-02-17T22:40:37
2021-02-17T22:40:37
295,871,501
0
0
null
null
null
null
UTF-8
Python
false
false
8,300
py
from django.test import TestCase, SimpleTestCase from .models import Movie, User from django.contrib.auth import get_user_model from webdriver import webscraper from django.urls import reverse # TestCase for db, SimpleTestCase for without db class SimpleTests(SimpleTestCase): # tested in homepagetests # def...
[ "nandreik@gmu.edu" ]
nandreik@gmu.edu
cca703832a386f8607f5a4d65cce34c685b8b4c8
0b17d3176aa5591d1f74172b05dad5f568e5211e
/m9/task9.1/task9.py
2fad87fb7e28cc5c7982e47b2d61bfd1273ba1f2
[]
no_license
alex-kay/DevOps_online_Kharkiv_2020Q42021Q1
270ce003c8d58c0d17865d7896c3c62a09ebbc34
8d12568adde9602e407b38c1852215b40e7435b2
refs/heads/master
2023-08-10T17:03:43.093823
2023-07-28T06:59:10
2023-07-28T06:59:10
320,379,455
0
1
null
2023-07-28T06:59:11
2020-12-10T20:13:54
HCL
UTF-8
Python
false
false
1,311
py
#!/usr/bin/env python import unittest def fizz_buzz(i): if i % 3 == 0 and i % 5 == 0: return "FizzBuzz" elif i % 3 == 0: return "Fizz" elif i % 5 == 0: return "Buzz" else: return "" def count_vowels(string): vowels = 0 for character in string: if charac...
[ "alex-kay@MacAir.local" ]
alex-kay@MacAir.local
2ff08ce98fe9ac05dce4fb5c1cdc0304678339eb
2db7d724b27d34ea0b99b8197f4a744dea9ecf1a
/day 12/peeyush_goyal37.py
c69cd5460c899c729920cbcc6a8b61ebfbeb36db
[]
no_license
ashupeeyush/summertraining
b518441a16c0d0bc4f87a113cc47ca9bf205c6ef
068c1476e12177023c9e264df0255a49daeb764c
refs/heads/master
2020-03-21T07:19:13.247419
2018-06-22T07:59:36
2018-06-22T07:59:36
138,273,716
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# -*- coding: utf-8 -*- """ Created on Fri May 25 11:48:40 2018 @author: Peeyush Goyal """ import numpy as np import matplotlib.pyplot as plt incomes = np.random.normal(100.0, 50.0, 10000) print incomes plt.hist(incomes, 50) plt.show() np.mean(incomes) np.median(incomes) incomes=np.append(incomes,[10000000]) n...
[ "ashupeeyush@gmail.com" ]
ashupeeyush@gmail.com
2c497da33e3cd5556dea27e22b8051da20dae87c
a24d1d772d8e1e8cebbc2517adba40e63cc01669
/spark-mooc/ML_lab4_ctr_student.py
a0af0aee8d9fd78692f7db464b3d11e548d2bca3
[]
no_license
feamster/spark-mooc
964bdd661d45a70902c61f8bc6ac3714e78eba38
3a29387fe61002f9b8a6ef0e15f1abc7d33c7147
refs/heads/master
2022-11-13T09:20:43.020131
2015-07-22T07:31:30
2015-07-22T07:31:30
275,682,835
0
0
null
null
null
null
UTF-8
Python
false
false
55,523
py
# coding: utf-8 # ![ML Logo](http://spark-mooc.github.io/web-assets/images/CS190.1x_Banner_300.png) # # **Click-Through Rate Prediction Lab** # #### This lab covers the steps for creating a click-through rate (CTR) prediction pipeline. You will work with the [Criteo Labs](http://labs.criteo.com/) dataset that was us...
[ "feamster@cs.princeton.edu" ]
feamster@cs.princeton.edu
20407bfda932d7e6b053febedd6a5e1883e14e76
b3c070597742904f963f44414e9195511770520b
/venv/lib/python3.8/site-packages/openapi_client/models/first_last_name_origined_out.py
2563afe3a3c76fa871e515944e62259fec07abc6
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
akshitgoyal/NLP-Research-Project
7d98cf0bccd8fdfcc13a23e5f17fcc703aa4b565
6adf80cb7fa3737f88faf73a6e818da495b95ab4
refs/heads/master
2022-12-11T05:51:08.601512
2020-09-03T18:05:56
2020-09-03T18:05:56
270,881,124
1
0
null
null
null
null
UTF-8
Python
false
false
13,677
py
# coding: utf-8 """ NamSor API v2 NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't fi...
[ "goyalakshit.ag@gmail.com" ]
goyalakshit.ag@gmail.com
beb923b2521bb0f9e00e5a892115a68855650a54
a4ea525e226d6c401fdb87a6e9adfdc5d07e6020
/src/azure-cli/azure/cli/command_modules/servicebus/aaz/latest/servicebus/namespace/private_link_resource/_show.py
eae4030227ceaa104f1f40abb9b01954ee7cdcc9
[ "MIT", "BSD-3-Clause", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MPL-2.0", "LGPL-2.1-only", "Apache-2.0", "LGPL-2.1-or-later", "BSD-2-Clause" ]
permissive
Azure/azure-cli
13340eeca2e288e66e84d393fa1c8a93d46c8686
a40fd14ad0b6e89720a2e58d4d9be3a6ce1535ca
refs/heads/dev
2023-08-17T06:25:37.431463
2023-08-17T06:00:10
2023-08-17T06:00:10
51,040,886
4,018
3,310
MIT
2023-09-14T11:11:05
2016-02-04T00:21:51
Python
UTF-8
Python
false
false
6,208
py
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # # Code generated by aaz-dev-tools # --------------------------------...
[ "noreply@github.com" ]
noreply@github.com
780226916dc06308a04f61617df5d245870357b4
30c4c80abb019a86f7830fd95745653994ef3862
/2018/6/code.py
f29ec4acc510265e6cecf1b61448711e67591ff6
[]
no_license
dmyers2020/adventofcode
844a81572fa5522b385c68c1da9e6e228bc4df1c
58c58b718fc33e4b12e1f2379e8ecac364778236
refs/heads/master
2021-10-08T06:10:19.484192
2018-12-08T22:17:08
2018-12-08T22:17:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,220
py
# Advent of code Year 2018 Day 6 solution # Author = Alexe Simon # Date = December 2018 with open((__file__.rstrip("code.py")+"input.txt"), 'r') as input_file: input = input_file.read().split("\n") # By turning the problem around (starting from the coordinates and expanding through the territory) it was actually ...
[ "simon.alexe@outlook.com" ]
simon.alexe@outlook.com
d19143232beee0ca95b690e77300f2564b439978
91a1f6e5ea33772ffeba3d9540d68d5dd625f09c
/main.py
0840e6b7f6a64afcfd843ea91a6aa4759343674d
[]
no_license
joaovieira23/email-bot
0422a5d2be5ac9839d3a0ecbf818f9a9a17e467d
694593ce1dc3119832de6fb2c3a986820eaf7f7a
refs/heads/master
2023-02-06T10:24:49.245630
2020-12-22T18:12:30
2020-12-22T18:12:30
323,662,793
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
import smtplib import speech_recognition as sr import pyttsx3 from email.message import EmailMessage listener = sr.Recognizer() engine = pyttsx3.init() def talk(text): engine.say(text) engine.runAndWait() def get_info(): try: with sr.Microphone() as source: print('Ouvindo...') voice = listener....
[ "joaovictorvieira.23@hotmail.com" ]
joaovictorvieira.23@hotmail.com
77bd1762c4aaac19096157edc60a32d1f6d81374
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/uribv6/db.py
b29be36943d31f0ffadcc44b5729663096da2e21
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
4,200
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
38df3e8b48e43618b3e5ab052a99c7efa76be283
ae111b84c908a2a3483a9aded33aded9a3116494
/final_project/tester.py
f698a6fbff5409ece29d262101d1f2a88a255b12
[]
no_license
vojtob/personal.ud120-MachineLearning
13aaaf23e0d5f3ba8606e400b37672966800f9a3
48a74937232f58e540d36c8829174aa581a191d5
refs/heads/master
2020-04-08T11:20:31.224158
2018-11-27T08:42:01
2018-11-27T08:42:01
159,302,431
0
0
null
null
null
null
UTF-8
Python
false
false
4,515
py
#!/usr/bin/pickle """ a basic script for importing student's POI identifier, and checking the results that they get from it requires that the algorithm, dataset, and features list be written to my_classifier.pkl, my_dataset.pkl, and my_feature_list.pkl, respectively that process should happen a...
[ "38936748+vojtob@users.noreply.github.com" ]
38936748+vojtob@users.noreply.github.com
240469b64e179b7d6b65efba99fe6dfb5ea81a1e
faa0a02ec5de01ed031c6f10f9a30a184cc9dbdb
/ltebands/urls.py
1000d4ed13fe7c8e409df5ff193019c4317229d1
[]
no_license
favososo/PyScrapASUS
54433ed5b844e6c33a9c383d418534c82426ef09
2df38201296a8b5f075fdec89d642f6888d3628d
refs/heads/master
2021-08-14T09:50:18.506271
2017-11-15T08:46:33
2017-11-15T08:46:33
110,773,002
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
"""ltebands URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "danny_lai@asus.com" ]
danny_lai@asus.com
de04ff18aa543550c8a41b7c046605778e5f1f33
3d9caed98443a5f3dd68e26b169dc52c97a401d4
/xmlcls/__init__.py
6c75a86f84d9d5c0780f76937c67e578fc4228de
[ "MIT" ]
permissive
chsergey/xmlcls
567436f48e392d7acc887d68fce1e204cc18acb8
bddaa8612fcede767635c14f66d1add2893b9cad
refs/heads/master
2020-03-08T15:24:26.562661
2018-07-06T07:20:16
2018-07-06T07:20:16
128,211,089
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
# -*- coding: utf-8 -*- from .xml_elem import XMLElement from .xml_file import XMLFile
[ "su.chunizhekov@tensor.ru" ]
su.chunizhekov@tensor.ru
6e582ff2da36a22f18e22eb29dba3dabff92a0d8
37968f9d017dde05c231515abc713e8bffd74f1c
/watchlist/interface.py
59925eae37770448ed0407b2eb4617abb1307e3d
[]
no_license
freedomskying/mysite
c03c08ea001e21da360a3ae4636dc414019d8ec8
93b3d4d5753e1019979a32a4d62d3ff532223793
refs/heads/master
2021-08-09T01:54:34.084463
2018-11-19T13:38:20
2018-11-19T13:38:20
143,217,554
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
class IdentifyResult: record_name = '' id_value = '' id_type = '' result = 0 def __init__(self, record_name, id_value, id_type, result): self.record_name = record_name self.id_value = id_value self.id_type = id_type self.result = result
[ "freedomskying@gmail.com" ]
freedomskying@gmail.com
51b4d394824411e8488ff400df0a553116936ee9
9d3b8d5f45e5407f3275542cf5792fd2510abfe4
/Chapter8-Practice/test_8.3.3.py
be0013a975a93a720f793d9350d06c6bec324a9c
[]
no_license
Beautyi/PythonPractice
375767583870d894801013b775c493bbd3c36ebc
9104006998a109dcab0848d5540fb963b20f5b02
refs/heads/master
2020-04-23T09:58:50.065403
2019-04-08T02:55:52
2019-04-08T02:55:52
171,088,504
2
0
null
null
null
null
UTF-8
Python
false
false
804
py
#返回字典 def build_person(first_name, last_name): """返回一个字典,包含一个人的信息""" person = {'first': first_name, 'last': last_name} return person musician = build_person('jimi', 'hendrix') print(musician) def build_person(first_name, last_name, age=' '): """返回一个字典,包含一个人的信息""" person = {'first': first_name, '...
[ "1210112866@qq.com" ]
1210112866@qq.com