blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
de35fb058bdbe263a29ae0dac01e21f4af547f8a
d4a2b7a18a93c7a53909bd89ee210bed6191d33e
/MG3/3_3.py
00fa9a0fa144ff2b4371995da7b68a7b47dd3467
[]
no_license
MichalGk94/Python
bbcf80237a26778cc54a88011eab2add3dfbd2e5
e7f45de336241b9bc9d8bc9f7a6f4175ab746e20
refs/heads/master
2021-09-08T01:58:00.673264
2018-03-05T18:19:30
2018-03-05T18:19:30
106,870,996
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
for i in range(31): if (i%3 != 0): print i
[ "noreply@github.com" ]
noreply@github.com
5e06516278e173e3b4afa26269f8a92ff15e0680
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/micronet_challenge/counting.py
fc60cb7e50cb23b0261ed8cfb1c9bd63868554a1
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
16,442
py
# coding=utf-8 # Copyright 2023 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
7f2d1e41aec4d8c1e88832f5a46b4b9cbe6b8fa1
fe683ebe3cbf794dd41121d67bff86278f2721cf
/src/nanocurrency/__init__.py
4ed3cec39a3578103a5ea9c514610109bacfda29
[ "CC0-1.0" ]
permissive
marcosmmb/pynanocurrency
3966ab61dc10c1b892c0fdd3d62c41b7df2a038a
dd1a4f093068447f9f2421b708843df4e6eb17c9
refs/heads/master
2020-04-26T06:44:21.634468
2019-03-02T02:45:49
2019-03-02T02:45:49
173,374,825
1
0
null
2019-03-01T22:11:47
2019-03-01T22:11:47
null
UTF-8
Python
false
false
450
py
""" nanocurrency ~~~~~~~~~~~~ pynanocurrency is a Python library allowing to work with NANO cryptocurrency functions such as block creation and manipulation, account generation and proof-of-work validation and solving """ from .accounts import * from .blocks import * from .exceptions import * from .units import * from...
[ "jannepulk@gmail.com" ]
jannepulk@gmail.com
af815ff89cb5d9b1273a7cc8d98677c1eba8e801
51a2fb45db6a074c7bd5af32c8ee8471251436f4
/Project/企业微信/PageObject实战/PO/Login_PO.py
9d221d18c4bee9c5f5fe323ce5232fbca8a85d1b
[]
no_license
JiangHuYiXiao/Web-Autotest-Python
c5e2cf61a5a62d132df048d3218dfb973be8784e
65b30360337b56b6ca4eba21f729c922f1665489
refs/heads/master
2021-08-26T07:46:42.957744
2021-08-12T02:24:11
2021-08-12T02:24:11
253,945,694
1
1
null
null
null
null
UTF-8
Python
false
false
704
py
# -*- coding:utf-8 -*- # @Author : 江湖一笑 # @Time : 2021/2/26 16:01 # @Software : Web-Autotest-Python # @Python_verison : 3.7 from selenium.webdriver.remote.webdriver import WebDriver from Project.企业微信.PageObject实战1.PO.Register_PO import Register class Login(): def __init__(self,driver:WebD...
[ "1163270704@qq.com" ]
1163270704@qq.com
99607a1473dacf9adfb44123dad7e292c20b1475
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_21109.py
89613ead4826be15b1709bbf5083157639370ada
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
# Is an infinite for loop bad practice? # Endless loop for p in players: # Do game things...
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
8ae6dc58fabe5dc6dbf800993d750ac542401593
93e5f79329c5f87d0497686b8ae9d1bde427d548
/array/217_contains_duplicate.py
416ed020cbed3ea5973bbbbdf357d48f109d53d9
[]
no_license
nasingfaund/Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time
d0b774e05140ddb55b88528f7786ab6e2761b6d5
d931caae8d723608d9a56bc6a5730a2cb93d4a01
refs/heads/main
2023-06-13T08:28:28.632015
2021-07-12T11:31:48
2021-07-12T11:31:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
""" https://leetcode.com/problems/contains-duplicate/ """ def contains_duplicate(nums): table = {} for i in range(len(nums)): if nums[i] in table: return True table[nums[i]] = 1 return False assert contains_duplicate([1, 2, 3, 4]) is False assert contains_duplicate([1, 2, 3...
[ "noreply@github.com" ]
noreply@github.com
f0fa6332a9848795f15f4159d733774fbb3d9112
1a718087722b4db8ed0782e0eb29a179c1fb07c7
/problem1.py
d54b58547aad8b766b537ec65ce36821954702f6
[]
no_license
valbyte96/Project-Euler
39e164d7f23701c33d5e495f882600a61680099d
08720ca076f1f1383392bed6a8ba3c60ea0fc389
refs/heads/master
2021-01-22T06:27:51.708051
2017-05-27T12:07:00
2017-05-27T12:07:00
92,556,000
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
'''PROJECT EULER PROBLEMS AUTHOR: VAL MCCULLOCH PROBLEM 1: If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. SOLUTION: 233168 ''' def main(): s=0 #sum for i in ...
[ "valeriemcculloch@Valeries-MacBook-Pro.local" ]
valeriemcculloch@Valeries-MacBook-Pro.local
3a76d4635e0bb5d2cc7ad43f7b550ae2ecf9ac3b
6bee16bb3020e18d1f7967038e09b6624c035a68
/posts/views.py
f625de397a842691ebc88c344ebc42e153f905fe
[]
no_license
mlytvynchuk/Posts-Rest-API
c6d887fa0bac7366773d54f0e08fa946a6c21c61
1a7a83c2ddfec1f49e18bd10cb191da27826e327
refs/heads/master
2022-12-27T05:47:55.574903
2020-10-13T08:18:53
2020-10-13T08:19:05
303,635,443
0
1
null
null
null
null
UTF-8
Python
false
false
2,635
py
from django.shortcuts import get_object_or_404 from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from rest_framework.status import HTTP_201_CREATED, HTTP_400_BAD_REQUEST, HTTP_200_OK from rest_framework.views import APIView from rest_framework.viewsets import ModelViewS...
[ "lytvynchuk.official@gmail.com" ]
lytvynchuk.official@gmail.com
2de7e7940cae12563e03ab358d6cf15bc187e78a
cf42ac4c70f9a82091d356586e6d47d6f45f6444
/manage.py
a2fe6537d0edc9c121204709c8d20636b7d8bade
[]
no_license
hideki-hayami/my-first-sample
f0e5d795778409e81429379ea8130b325b441de1
ebeed94b45dab025211372b26da7f935b5ae323e
refs/heads/master
2021-07-24T20:08:25.616107
2017-11-04T03:42:43
2017-11-04T03:42:43
109,465,588
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python3 import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sample.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "hideki.hayami@gmail.com" ]
hideki.hayami@gmail.com
896e40d4255f32860379afbe8a7112b45b7b29b6
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/tbz5ji3ocwzAeLQNa_11.py
fce155cea3aba702b57ec473a17f33d65c5f76ee
[]
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
1,903
py
""" Given a two-dimensional list of `maze` and a list of `directions`. Your task is to follow the given directions. * If you can reach the endpoint before all your moves have gone, return `"Finish"`. * If you hit any walls or go outside the maze border, return `"Dead"`. * If you find yourself still in the maz...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f29bf0a87147656a334df83bd98b5b23ce43c685
a09aa02e7ceadf844435b250c831642524e7c36b
/Palindrome Number.py
5f3d7aeb4d01e7467b28f8e26e3c9c000c697f4f
[]
no_license
halfcrazy/Leetcode_python
96daecfe993b39ce4fa79224a4a37f7a1f7714a2
1e036cd985d20bfbf856aea95e0ce6132765b61c
refs/heads/master
2020-04-15T22:50:03.190149
2015-03-10T09:43:21
2015-03-10T09:43:21
30,481,474
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
#!/usr/bin/env python # -*- coding: utf-8 -*- class Solution: # @return a boolean def isPalindrome(self, x): if x == 0: return True if x < 0 or x % 10 == 0: return False length = 0 tmp = x while tmp > 0: tmp /= 10 length +=...
[ "hackzhuyan@gmail.com" ]
hackzhuyan@gmail.com
191b798213302896a213ca9e6c05176db634ba6c
d327c20643fc8b2aa012e60f40d9506220408f5d
/01.03/mytugas/mytugas/asgi.py
9be5a9b09b0dbe14120a6ef38492fe1788b1a071
[]
no_license
Rifqi202/praxis_rifqi
9a86c599f2cc3280a9d8b6a5493a36bb083f8a6e
4568b0da451e349d8484f82b6b7522a4203c92f7
refs/heads/master
2023-08-31T12:13:04.398710
2021-10-25T09:39:26
2021-10-25T09:39:26
413,651,680
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
""" ASGI config for mytugas project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTI...
[ "febriawanrifqi@gmail.com" ]
febriawanrifqi@gmail.com
13bf4a7fd5084195d2910ef53bfc773f3bf9c760
754ad2907344e0bda8fe8e16979f5a73391f6523
/api/pagination.py
1c65ec13854843e5a1cff4229aac1e2fee8e468b
[]
no_license
arthurmeireles/testeback
4d0c680a954d50acd5ac6288c294b1a2810980b4
00290addf9645774cf2a82db97b49f48d644d3b5
refs/heads/master
2023-02-04T20:41:27.615144
2020-12-23T18:38:21
2020-12-23T18:38:21
323,976,729
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from rest_framework import pagination class PaginationDefault(pagination.PageNumberPagination): page_size = 50 page_query_param = 'page' page_size_query_param = 'per_page' max_page_size = 200
[ "arthur.silva@navi.ifrn.edu.br" ]
arthur.silva@navi.ifrn.edu.br
02198abd7a11d9c421b1a3309c3c69768f83f2f0
d26ee6cdaeb0475e6a417ca2223c6933b0e522ee
/Les 02/Practice Exercise 2_1.py
bf9356720339090805c512a5d1d7a537d157784d
[]
no_license
Iris104/TICT-V1PROG-15-Iris
a02f35a501dd00c95a5ba68a4a23515821de7b12
a3fd0c6ababa9a6f0a835e9af7f37f462989365c
refs/heads/master
2021-08-08T13:20:05.245529
2017-11-10T10:45:55
2017-11-10T10:45:55
103,406,027
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
letters = ('A', 'C', 'B', 'B', 'C', 'A', 'C', 'C', 'B') print([letters.count('A'), letters.count('B'), letters.count('C')])
[ "iris.kroon@student.hu.nl" ]
iris.kroon@student.hu.nl
d60766307392d8b3cabae2919ad3e26875d8d771
1b6f786c8576f0bd6b851e14dfe2be25f452de80
/cameraSum.py
5449a6fa117eeb2efe9c8a784e2cef14196545b6
[]
no_license
LaceyAPCS/ap-computer-science-final-project-A-very-Cunning-ham
eeb73015770b99d4de4b5897bbcfd84f4b6b3532
fded448d88410b85928578c62a2a6e56d0ae130f
refs/heads/master
2020-03-20T06:27:40.817114
2018-06-13T02:19:18
2018-06-13T02:19:18
137,249,665
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# Avery Cunningham # NDVI Image Processing import picamera import numpy as np from signal import pause from time import sleep import sys def main(): with picamera.PiCamera() as camera: # Capture the infrared picture to a numpy array camera.resolution = (320, 240) #camera.awb_mode = 'off' #camera.awb_gains = (...
[ "ave210knife@gmail.com" ]
ave210knife@gmail.com
0c2348b09331edf4334ffcbad33307c921f6929c
d93c11f0f1c85073ca9534b099fa3e25f1c88ae1
/highscore.py
82c54157f5b8dc188557aed769be48cb66869865
[]
no_license
albertrosa/DetaGameLytics
ffb1e5171a1e7c3c8739d66e856d93bfc47ff2d1
acac87ae33e7ed6d8a1026446a34ced92ec49aeb
refs/heads/master
2022-05-18T13:07:38.839714
2020-05-02T03:30:30
2020-05-02T03:30:30
260,526,933
0
0
null
null
null
null
UTF-8
Python
false
false
4,057
py
from deta.lib import Database import secrets import json db = Database("highscores") class Player: id = None name = None score = 0 def __init__(self, id, name, score): self.id = id self.name = name self.score = score def toJSON(self): return json.dumps(self, defa...
[ "arosa@insomniacookies.com" ]
arosa@insomniacookies.com
7d7c389fb376acfdc20bf4e716c06d47bd68b176
cf2507ebf35fb705917bd82563317d0195c4f33e
/Django_0627_nosvm/py_background/post_test/views.py
47772db899e1a1ba3aeb00f44d1bdded8f63884b
[]
no_license
abbysychen/MachineReading_notes
31b836ed19a8fe6128c3bafdfe5c8909b8505ea2
ac40b03be563a41940f3cc79732751743e476c0b
refs/heads/master
2020-03-21T12:50:21.648905
2018-06-27T03:46:03
2018-06-27T03:46:03
138,574,493
0
1
null
null
null
null
UTF-8
Python
false
false
18,219
py
from django.shortcuts import render from django.http import HttpResponse from .forms import AddForm,AddForm2 import os import pandas,nltk,pickle,pycrfsuite,re import numpy as np import re from django.views.decorators.csrf import csrf_exempt path=os.getcwd()+'/post_test/' # 记录输入的聊天记录,并存放在sentence.txt中 def write_sen...
[ "abbysychen@163.com" ]
abbysychen@163.com
e9a1fae3749f53ba0f93c11b8432510a4e7f8af0
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/pandas/tests/util/test_assert_interval_array_equal.py
8a537308063a13fd91d44a09de45484ac058bbb0
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:82edae2255ec8fcb3927eb50fad5b0eda9ea8dbaaa2cb6dc12188b8a9fac142b size 2364
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
d25ad941d53fda126c646c173f4cb243d4f51f3b
a123ea0f8d9be8acb48c772646586d6f7e260b99
/workshop/d14/d14/urls.py
2e876e1f7e48501258f60bcfff920b7bb5aae84b
[]
no_license
pjh6315/TIL-C9
8007057cdaa3b9e9c38c3cdcf2b5addc88eefac8
681f9c95665302adb64d02022ede7b94cce5e47e
refs/heads/master
2020-04-17T17:17:55.652973
2019-02-12T08:46:07
2019-02-12T08:46:07
166,777,127
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
"""d14 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vie...
[ "bluetruddnjs1@gmail.com" ]
bluetruddnjs1@gmail.com
7423cd99de1f81071c55cbd26611befbb8a941b8
09c461d51875a6b02e8e106e50507db5ae0dde09
/Day01_15/code/Day06/greeter.py
8a8171b77167403c106a0fd68b63302fd32ac780
[]
no_license
code4happylife/Python-100-Days
fbd24566b59ac76a17326ca9b80bce65cff01a5a
d415d17c0c42f762f9062eec81cc636a4612be28
refs/heads/master
2023-08-10T00:07:02.207874
2020-09-22T12:46:15
2020-09-22T12:46:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# encoding: utf-8 ''' @author: developer @software: python @file: greeter.py @time: 2019/12/15 18:45 @desc: ''' def greeter_user(username): """显示简单的问候语""" print("Hello, "+username.title()+"!") greeter_user('jesse') greeter_user('sarah')
[ "1559273720@qq.com" ]
1559273720@qq.com
4b6dfee3d76e4d2e4db360ad4f77ce8f1a2e9d5b
670ba9ccd648a16ce379f02e3d7a38e716e95dbe
/utils/db.py
5e01790cc1dbfecf8a843dfe3b9d8b1bbba0f392
[]
no_license
luxorv-io/auth
cc35bc005203239b08827e05a9a7867c1b93a35a
2cf7a5632332a68de6d993728f2ac95f189f27bf
refs/heads/master
2021-07-23T21:17:38.217676
2017-10-10T03:19:40
2017-10-10T03:19:40
106,232,088
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
from app import db class BaseModel(db.Model): __abstract__ = True id = db.Column(db.Integer, primary_key=True) date_created = db.Column(db.DateTime, default=db.func.current_timestamp()) date_modified = db.Column(db.DateTime, default=db.func.current_timestamp(), onupdate=db.func.current_timestamp())
[ "vmp2408@gmail.com" ]
vmp2408@gmail.com
15f73a0fede90c02acc83ecac4a5477345c6b0a4
811cf9b2b5de4ba9b90ef93a9e68e3f0bb4c65a0
/cars/migrations/0007_auto_20210211_2228.py
9555a685882427cf7bbe3c18f7f5636fea30a7f9
[]
no_license
ninos77/alex_automobiler
9f69c434b0fa6a510607b77b0d9838da6d63e1a8
a0f4dc351c7986f991f6eaaf705dd5346ef5e7ba
refs/heads/master
2023-04-10T11:23:27.717015
2021-04-04T16:45:29
2021-04-04T16:45:29
335,749,656
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
# Generated by Django 3.1.5 on 2021-02-11 21:28 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('cars', '0006_auto_20210211_2005'), ] operations = [ migrations.AlterField( model_name='car', ...
[ "ninos_zaiya@hotmail.com" ]
ninos_zaiya@hotmail.com
b66bd06abd3bf875afad489cae81330f335e27e8
cc78de009a8e7805f9f6a852774e0384b11bfdcb
/testcase/api/login/postman_login_post.py
18b31c0cc29699bb94201354eab342239c45f319
[]
no_license
williamzxl/app_test_many_devices
c1806e54c17a84f18a04c3808604633c2deba052
dd5434018fadd11d5462903cafaafbb5b387c24a
refs/heads/master
2020-03-29T21:20:51.239295
2019-03-05T03:13:56
2019-03-05T03:13:56
150,361,766
1
1
null
null
null
null
UTF-8
Python
false
false
731
py
import requests import json url = "https://proxy.langlib.com/accounts/loginByAccount" headers = { 'platform': "Android", 'appkey': "CEE_AA8F55B916AB", 'appversion': "10000005", 'appsecret': "3DB5159C-EB1E-47FE-8584-47115EF5E443", 'app': "cee", 'content-length': "55", 'host': "proxy.langlib...
[ "1053418947@qq.com" ]
1053418947@qq.com
23d02fd53995f1f7f375d9eb765516b7314df762
e34b228d94ea4571f1a127560824a9059bf99b22
/11_Searching_for_elements_in_the_array.py
aca94fa65b1b1e8fe8d0e9fa50d6b657b5171704
[]
no_license
rahil1303/ARRAYS_USING_PYTHON
076f8d174210af1960c0c9774d3e72e7c604e788
30b96ea021128852e3c21e8491e985ce35933eb4
refs/heads/main
2023-07-31T20:07:32.097554
2021-09-23T10:26:29
2021-09-23T10:26:29
407,763,328
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
newarr = np.array([[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]]) print(newarr) def searchelements(array,value): for i in range(len(array)): for j in range(len(array[0]): if array[i][j] == value: return "The number was found at the index "+str(i)+" "+str(j) return "The ...
[ "noreply@github.com" ]
noreply@github.com
4d80e29465564fe027ba2eecdcfd77a5d524357c
ed581afeaa6a4a63d0de9751db222a86c7dcce8b
/python/2_Control_Development/test_PID.py
138670476ba12911937b7e20d9bdef5bd7048493
[]
no_license
rFeijoo/tclab
5c7437b8f76606631262fb538aff96e3baa6d2cb
7a1fe5477eecec373f50c4c77ce85066227a7368
refs/heads/main
2023-04-10T10:53:33.843775
2021-05-07T18:59:58
2021-05-07T18:59:58
322,382,674
0
0
null
2020-12-21T18:40:50
2020-12-17T18:43:42
MATLAB
UTF-8
Python
false
false
8,449
py
import tclab import numpy as np import time import matplotlib.pyplot as plt from scipy.integrate import odeint ###################################################### # Use this script for evaluating model predictions # # and PID controller performance for the TCLab # # Adjust only PID and model sectio...
[ "noreply@github.com" ]
noreply@github.com
d4656c1a3c9c77ace9534ffe71b6a42d0cfb0ff6
97959e8f049e1877931e85b9965fc48e1d7b7616
/27.py
452de52776bed556ec31c7166f8038ef60774ca9
[]
no_license
mahabaleshwarabairi/mahabaleshwarabairi
403911a7e9a0ec93730845eea6e27ee55363113f
27935ac9165f049c48153455768709e6d8c8a374
refs/heads/master
2023-04-26T08:26:17.574774
2021-06-05T08:36:35
2021-06-05T08:36:35
351,385,527
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 22 11:13:22 2020 @author: Mahabaleshwara.Bairi """ states={ 'TN' : {'capital':'Chenai','language':'Tamil'}, 'KL': {'capital':'trivandarm','language':'Keralla'}, 'KK':{'capital':'BNG','language':'KAN'} } labels ={'capital':'capital...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
e786bb0910edeb8a92c9603f0026e39d8bd43844
fa539d52ea4f0e8f61e6b08e29ea4d0100d62823
/ECE/ECEapp/migrations/0021_auto_20210411_0328.py
de34fa05d659c838fe5c9c5345a8ce147702596b
[]
no_license
tambibhavika2000/SMPC-COWEB1
ee2ae33c4aac96c31af75298c964c1d893a6df27
6e4761ccbe5e0f9df8e492a0bae8390d930d3e37
refs/heads/master
2023-04-04T05:16:48.947081
2021-04-11T05:14:34
2021-04-11T05:14:34
354,961,928
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
# Generated by Django 3.1.7 on 2021-04-10 21:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ECEapp', '0020_auto_20210411_0225'), ] operations = [ migrations.AlterField( model_name='company', name='doamin', ...
[ "46815932+tambibhavika2000@users.noreply.github.com" ]
46815932+tambibhavika2000@users.noreply.github.com
c006ed88e64449434124f484ad182b92e9893bd3
734f26b0cce9a3f4463dc128a7eb367677db011f
/SolveGWFlow/GWmodel.py
09cefbdadbf678100815251d5803a580e8182787
[]
no_license
UMN-ESCI-Computational-Methods/CompMethodsProject
1febbc6e4c59b2664d7805e9181bcce6381fcdc1
3c689c0c58866133ac4f46a2d54307f135df7e37
refs/heads/master
2021-01-20T05:07:59.959866
2017-03-20T15:04:02
2017-03-20T15:04:02
83,855,011
0
0
null
2017-03-04T01:05:33
2017-03-04T01:05:33
null
UTF-8
Python
false
false
8,124
py
################################################################################################## # An object that is capable of solving the GW flow equation. Currently it is # capable of solving the one dimensional, homogenous, steady-state or transient case. # ...
[ "lange679@umn.edu" ]
lange679@umn.edu
aba23e15484ba52b9c914d1bc782ef1edc4635e5
275fcdf1b24c6afc999fe4ff922c0a2926a63f0c
/report_generator.py
48c0760457c6e6783b12d20cff7c8d71a26cb448
[]
no_license
alejandrorodriguezspoheimer/MILP-Optimisation-E-scooter-Sharing-Scheme
1d54d0ae54f51dd842e5973dc80d7f31fbafe2ed
490e58a530ad4e44d7c56915e9de12ff799455a5
refs/heads/main
2023-03-24T11:57:11.158471
2021-03-19T20:34:06
2021-03-19T20:34:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
622
py
import os import pandas as pd import numpy as np class Report(): def __init__(self, fname, modelName, loc, minimize=True) -> None: self.fname = fname self.modelName = modelName self.loc = loc self.minimize = minimize try: os.mkdir(modelName) except OSEr...
[ "zori.asanska@gmail.com" ]
zori.asanska@gmail.com
c3ec958efce2bd232e95be3dfba8e8fb19ed83ab
b4e7305d035b48a1c89d55066a98702f036b9723
/test.py
0650e91cf2a7df7ccb1dd405ff09b9f41bffc6ab
[]
no_license
jacktsmi/ganimate
301d58608343e54bee9a060ae450ed9357c83708
bf4671c080c6e77b2bed70957c75e44a570bef9d
refs/heads/main
2023-04-14T08:25:31.151095
2021-04-22T04:26:40
2021-04-22T04:26:40
353,770,089
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
import dataset from torchvision import datasets, models, transforms import numpy as np import matplotlib.pyplot as plt from torch.utils.data import DataLoader transf = transforms.Compose([ transforms.ToTensor(), transforms.Resize((128, 128)), transforms.Normalize(mean=(0.5, 0.5, 0.5), std=(0.5,0.5,0.5)) ]...
[ "jacktsmi@umich.edu" ]
jacktsmi@umich.edu
51ec6c5e2378707c0a32d8e17c55a6a62c056628
23e22d666cba764e880779e3dcd9ad36775fa012
/files/build.py
8c7a32641c3699b91075fc4658db1358c785c7fd
[]
no_license
megadisos/Asterik18-installation
36daad21742cb50c8bf10820ec0b014956dc30aa
247a9286d2c3c1b074f4ffbe6da59ef5b7508bf1
refs/heads/master
2023-02-25T21:20:50.380362
2021-02-05T01:16:26
2021-02-05T01:16:26
336,127,821
0
0
null
null
null
null
UTF-8
Python
false
false
1,599
py
import os import subprocess class BuildAsterisk(): def __init__(self,size,command): self.size = size self.command = command def downloadfiles(self): cnt = 1 #Get commands for dictionary for update comm = [self.command["download"] for key in self.command][0] print...
[ "jorge.reales4@gmail.com" ]
jorge.reales4@gmail.com
50f7a3dfe16a65932b0cf7b23c98cce968f7ad40
256fd75201aee7803cf666fd9933acf1f25501d9
/app/nalozi/items/models.py
312b791b3dcb91412babb25129774026160cef93
[]
no_license
deanrock/File-Hosting-App
707ef17f9fde67fa9a107a2e2c87ac19ed8bcf0d
8bb2b895347895fecb3626f4f8ae44cf90ba84cd
refs/heads/master
2021-03-12T20:01:53.079810
2011-06-18T06:56:30
2011-06-18T06:56:30
1,914,802
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
from django.db import models from django.contrib.auth.models import User from djangoratings.fields import RatingField # Create your models here. class Album(models.Model): user = models.ForeignKey(User, null=True, blank=False, related_name='album_set') name = models.CharField(max_length=200) pub_date = models.DateT...
[ "dejan@dejanlevec.com" ]
dejan@dejanlevec.com
02abde4a40072f9b6ee47ca15157b48df39d4a60
25dda94672497e3287a7403e283fb279ad171b79
/practice/정렬/선택 정렬.py
eba9f36bb4a0839f774abd388f00bb2e48c35c01
[]
no_license
woorud/Algorithm
c94b844e8c96a446c5fdee5c0abb159bfee384d7
f5b8e3cf0aea7fc4400e6f5bb0c1531fad93e541
refs/heads/master
2023-02-23T13:53:28.645036
2021-01-29T12:24:23
2021-01-29T12:24:23
230,908,288
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
array = [7, 5, 9, 0, 3, 1, 6, 2, 4, 8] for i in range(len(array)): min_index = i for j in range(i+1, len(array)): if array[min_index] > array[j]: min_index = j array[i], array[min_index] = array[min_index], array[i] print(array)
[ "woorud96@gmail.com" ]
woorud96@gmail.com
3f2e06f9b2450cd75227720cd174eafec22b9e5e
bc71db7857bc0b662ee8cc1e59fb8401d95030ac
/django/bin/django-admin.py
90329aa4bc1a8091ea1070e4bad2511841d31c95
[]
no_license
santimarro/diccionario_ffyh
793a8abca0a7d199998bc8492aeedc1f4d2a314b
2398870a77ce78dc96c7532c4f92738dd255a1b6
refs/heads/master
2020-03-26T18:56:35.517624
2019-04-03T16:18:54
2019-04-03T16:18:54
145,240,231
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
#!/Users/ophion/proyectos/diccionario_ffyh/django/bin/python3.6 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "smarro@gmail.com" ]
smarro@gmail.com
d1b92393bf9fbe4433948c91091bb196969f8bc8
8dde6f201657946ad0cfeacab41831f681e6bc6f
/1167. Minimum Cost to Connect Sticks.py
272df4236aaf86c111809a73d668d5d9118eacac
[]
no_license
peraktong/LEETCODE_Jason
c5d4a524ba69b1b089f18ce4a53dc8f50ccbb88c
06961cc468211b9692cd7a889ee38d1cd4e1d11e
refs/heads/master
2022-04-12T11:34:38.738731
2020-04-07T21:17:04
2020-04-07T21:17:04
219,398,022
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
import heapq class Solution(object): def connectSticks(self, sticks): """ :type sticks: List[int] :rtype: int """ # always start with lowest since they are added the most ans = 0 heapq.heapify(sticks) while len(sticks) > 1: x, y = heapq.h...
[ "caojunzhi@caojunzhisMBP3.fios-router.home" ]
caojunzhi@caojunzhisMBP3.fios-router.home
47fe40f8a8599fd37383ffa9528c33b4b38683d6
93f67c48b95aaf21b2efc9945e1a499301b89e67
/tiviplus/planning/models.py
40ff8f03b2cc2a6c4f36d6d79749d3f86e13f5a4
[ "MIT" ]
permissive
alexandre-janniaux/tiviplus-platform
1f01c8f44090acff9d0802ce51b8a42190c42b32
730acbe2d411d3bc591dbad8acbf6a3d871fa558
refs/heads/master
2020-06-12T21:56:30.763021
2017-01-18T09:05:53
2017-01-18T09:05:53
75,502,373
1
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
from django.db import models from django.conf import settings from stocklist.models import MaterialDef from django.utils.translation import ugettext as _ AUTH_USER_MODEL = getattr(settings, 'AUTH_USER_MODEL', 'auth.User') class Event(models.Model): author = models.ForeignKey(AUTH_USER_MODEL) title = model...
[ "alexandre.janniaux@telecom-paristech.org" ]
alexandre.janniaux@telecom-paristech.org
71d8b519a0da71cb4104b63f10c8fc170b1d943e
66757f36d5e9482058d4283835ab6534e92b48d8
/Back/temperature/models.py
90b222b4121816e45abfffb7f7c17bf9c658bd0c
[]
no_license
baldiniyuri/ihealth
4155a008cb7ce9d3b8ccf5313cde171f45e2ebb8
dedf421593e503bb80f92bb9b5cff95fbedddb75
refs/heads/master
2023-06-21T23:54:50.052907
2021-07-22T19:22:02
2021-07-22T19:22:02
388,496,360
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
from django.db import models from authentication.models import User class Temperature(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE) temperature = models.FloatField() date_time = models.DateTimeField() class Meta: ordering = ['id'] indexes = [ models.Index...
[ "yuriabaldini@gmail.com" ]
yuriabaldini@gmail.com
749bc3e93fe03051dcf0dd78e347361a4bfd5c12
3d0817d9af631d22db7d36fe7e6d67880b586de8
/newspaper_crawler/spiders/lefigaro_spider.py
cfecf383b7c2fd8567ac5132b5a8b61778824e6d
[ "MIT" ]
permissive
gbolmier/newspaper-crawler
b2756ced1e694b3965c1f11f7f3a4f7cc92d310f
0f40b9907c54fe1d477b350b6b3a7f7d45aefaca
refs/heads/master
2021-08-16T16:20:19.419531
2020-05-13T03:24:21
2020-05-13T03:24:21
180,213,942
8
3
MIT
2020-01-01T07:37:01
2019-04-08T18:56:53
Python
UTF-8
Python
false
false
894
py
from ..loaders import LeFigaroLoader from .base_spider import BaseSpider from ..items import NewspaperItem class LeFigaroSpider(BaseSpider): dirname = "lefigaro" newspaper = "Le Figaro" name = dirname def parse(self, response): loader = LeFigaroLoader(item=NewspaperItem(), selector=response)...
[ "geoffrey.bolmier@gmail.com" ]
geoffrey.bolmier@gmail.com
76438c5efc4dcab0812a1c60f57403ae0d964808
b448f3ab27e722640ef682773432f04a9d25e710
/src/sw_1_3/Q.01.py
1305d7697c0defdb969f31aa17912f5ab562e71e
[]
no_license
joun008/20185182_BAEKJOON
c2e0b5e041f82d67eb8b8c47c99b9e88aeec5671
95137e727c5ea3bf0ad512c882ed0cd4a0330081
refs/heads/main
2023-07-09T04:05:37.530295
2021-08-08T12:34:20
2021-08-08T12:34:20
383,156,994
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
#백준 15649 import sys input =sys.stdin.readline from itertools import permutations N,M = map(int,input().split()) nums = [i+1 for i in range(N)] K = list(permutations(nums,M)) for i in K : for j in i : print(j,end=" ") print()
[ "noreply@github.com" ]
noreply@github.com
3c23cd6dca90c68d7b53b47b5fea6fc1e1e672b5
721b978fa1951c1027c2e70b496792bcf0bed539
/Principles of computing/2048_game/test_suite_for_2048.py
e2b7886f92ef5fb728b818b42b1ebe4aa2cf6581
[]
no_license
KristianMSchmidt/Fundamentals-of-computing--Rice-University-
08eac552c41cdaa74d9c595a01584b789b1c416f
da0ef95469d47f6cf0c57ce57e80c706bcfaf79b
refs/heads/master
2022-11-29T18:52:30.318168
2020-08-14T15:58:36
2020-08-14T15:58:36
287,570,621
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
""" Test suites for the game """ import poc_simpletest def run_suite1(merge): """ Test merge function """ # create a TestSuite object suite = poc_simpletest.TestSuite() #create data to test line1=[2, 0, 2, 4] line2=[0, 0, 2, 2] line3=[2, 2, 0, 0] line4=[2, 2, 2, 2, 2] li...
[ "34898026+KristianMSchmidt@users.noreply.github.com" ]
34898026+KristianMSchmidt@users.noreply.github.com
e1ba6642d11c4d175e5a3165a6b49a1c6490f03d
04906cc6ffb875cc5f9efe04de0767c55a4fdb97
/djangoredis/settings.py
e56aac1f8ea38bec538739d9021c9b81212c42ea
[]
no_license
Revanth2002/DjangoRedis
e249bc7e0065e625b20354cf0f8f3b360da6c1bd
00722e6513e15938791735d674e14117c93f2705
refs/heads/master
2023-06-29T00:14:49.384629
2021-07-25T13:41:25
2021-07-25T13:41:25
389,356,241
0
0
null
null
null
null
UTF-8
Python
false
false
3,700
py
""" Django settings for djangoredis project. Generated by 'django-admin startproject' using Django 3.0.5. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import o...
[ "ndrevanth09@gmail.com" ]
ndrevanth09@gmail.com
c996f48b9c46395cb6f4fa5d539ed532fc61a582
0ffe3dc8b0b710b8c7a9752d65c6ae22b4de6bd0
/ch2/mysite/blog/urls.py
0fff07d593b8a162180b37dde38eb911fc5fa940
[]
no_license
HaochunLiang/Django-by-example
9d3a726b946a8f2fdc3bae83644da6328effee51
ea0c20cebe9da0ca8d5cff0cc3b4980f79017e6b
refs/heads/master
2021-09-09T16:30:26.501725
2018-03-18T01:36:59
2018-03-18T01:36:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
from django.conf.urls import url from . import views urlpatterns = [ # post views url(r'^$', views.post_list, name='post_list'), url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<post>[-\w]+)/$',views.post_detail,name='post_detail'), url(r'^(?P<post_id>\d+)/share/$', views.post_share,name='post...
[ "1181558801@qq.com" ]
1181558801@qq.com
9e5ab59babfe761f1d9d8deb70b3deb7c171e0d5
a3cb723f576166108b4a9f34be9e05603f82af55
/BigGANmh.py
3c905fd9c525cf44a3b938834c94936d661d94f2
[ "MIT" ]
permissive
CheshireCat12/BigGAN-PyTorch
a0f36e0b8fa6f22627faec3c9bde4ba887350b0f
857b545ab49d7f7b8066fdc8796376b8bc0d5f2d
refs/heads/master
2021-04-20T07:39:11.237071
2020-03-24T13:16:53
2020-03-24T13:16:53
249,666,264
0
0
MIT
2020-03-24T09:33:49
2020-03-24T09:33:49
null
UTF-8
Python
false
false
22,223
py
import numpy as np import math import functools import torch import torch.nn as nn from torch.nn import init import torch.optim as optim import torch.nn.functional as F from torch.nn import Parameter as P import layers from sync_batchnorm import SynchronizedBatchNorm2d as SyncBatchNorm2d # Architectures for G # Att...
[ "ilyakavalerov@gmail.com" ]
ilyakavalerov@gmail.com
e9dbe5d6eba7b220b2986a68ed7fe7c3c458c569
9cdef840f4e37889312312901db06cb2816f01ac
/python/30.py
04cbbca91c8f9b75270385957dee80fe91e31d00
[]
no_license
lacker/ai
c52c2cac63a17bd2bfff604c3923c58e0432b228
06efc48527013011209250bdb02bad3bf19306f7
refs/heads/master
2020-12-25T20:31:22.706036
2017-04-24T22:56:29
2017-04-24T22:56:29
17,164,713
1
1
null
null
null
null
UTF-8
Python
false
false
295
py
#!/usr/bin/env python # The number can be at most 6 digits def sum_of_fifth_powers(n): answer = 0 for char in str(n): answer += int(char) ** 5 return answer answer = 0 for x in range(10, 1000000): if sum_of_fifth_powers(x) == x: print x answer += x print 'answer:', answer
[ "lacker@gmail.com" ]
lacker@gmail.com
3d2dc6b7528ee3c32f9b33b5ba4ef99a9b4ce265
bd1da84576776b74b020cfaa7aaf38b2632f64ed
/solver/kernel/__init__.py
8c91cf276d0ad7f2a9670b8073ce6da30b40f953
[]
no_license
binanhphuoc/Django-Djongo-Template
5f5336b9630d60ef03f0c997199bf0bd7b9b991f
13e9e9c5c1a8a72d29e2a13308d7b3f0dbf407d4
refs/heads/master
2022-05-21T19:13:01.884075
2019-12-04T09:21:15
2019-12-04T09:21:15
222,159,231
0
0
null
2022-04-22T22:48:39
2019-11-16T21:05:02
Python
UTF-8
Python
false
false
52
py
from .test import * from .concept_reasoning import *
[ "anhtudo@Anhs-MacBook-Pro.local" ]
anhtudo@Anhs-MacBook-Pro.local
bb8c928437ec62d03e11f9dc68a00e2aaf8635fe
4ae48bfed30f2187ef7ac8b82e0355ae7faf3b23
/onamaeSecret.py
a343edd7578606cf26567a1dded95bd55020052e
[]
no_license
x-duv/onamaeDNS
9aec53615f20481ac3aa6d016b6d122d3279cc89
1b58f09a75824875cdd760a8362e00f015551a67
refs/heads/master
2021-01-20T14:53:11.146450
2016-07-07T06:35:27
2016-07-07T06:35:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
#!/usr/bin/python #-*- coding: utf-8 -*- userId = u"foo" # your user ID passWord = u"bar" # your password
[ "u.2718.taka.i@gmail.com" ]
u.2718.taka.i@gmail.com
854490c2c1af86b3ae92e8bbb3ef416c4db34c91
714ba6b4a821fd33eb3a581701175d1ba986fcaf
/BUILD
b8cb64af035a500d727bd4d6032573912b91e4f8
[ "Apache-2.0" ]
permissive
OldJohn86/power_dist
9c648943f268c23aaa664ef1ea2730c6e9b2a446
f781401e9e8b3e03826feb3902058f022cc1a164
refs/heads/main
2023-04-07T01:24:22.323244
2021-04-10T15:21:23
2021-04-10T15:21:23
329,294,259
0
0
Apache-2.0
2021-01-13T12:01:11
2021-01-13T12:01:11
null
UTF-8
Python
false
false
691
# -*- python -*- # Copyright 2020 Josh Pieper, jjp@pobox.com. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "jjp@pobox.com" ]
jjp@pobox.com
5480fa6cd8718104c3a39cfbc0bdead410c437bb
f6a8fff08385225527bbf9b27e216226936de362
/ex3.py
2338840aef4cd0a583a2b6f35dd5b0f1d64748a0
[]
no_license
Seraphineyoung/lpthw
077cab101ef82f0eca9b8e3d871afc9ef893dcc9
69842d6b1d1a37bc16e7f91ea0dbb3cd445cc0ef
refs/heads/master
2020-05-07T09:46:26.187131
2019-05-05T21:49:34
2019-05-05T21:49:34
180,391,296
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
print("I will now count my chickens:") print("Hens", 25 +30 / 6) print("Roasters", 100 - 25 * 3 % 4) print("Now I will count the eggs:") print(3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6) print("Is it true that 3 + 2 < 5 - 7?") print(3 + 2 < 5 - 7) print("what is 3 + 2?", 3 + 2) print("what is 5 - 7?", 5 - 7) print("Oh, thats's ...
[ "seraphine_ene@yahoo.com" ]
seraphine_ene@yahoo.com
811f7000715b173daf49ea61d313432fd91f60b8
6a76b0df23468318aa27f2a40bdaf7ad732ced8c
/Cadena de responsabilidad/ManejadorUno.py
6606119d4447c06a4df9806f9da266cb4bb49aca
[]
no_license
CarlosLopez98/Patron-Cadena-de-Responsabilidad
06bb2b82f2e494a0e4b87690a92a31d01fae79ad
6fdd30de5f819cbf1b8ba077c8870801684561b0
refs/heads/master
2020-03-16T13:37:34.279954
2018-05-09T03:15:59
2018-05-09T03:15:59
132,695,510
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
""" Clase que hereda de Manejador """ from Manejador import Manejador class ManejadorUno(Manejador): #Override def peticionManejador(self, opc): if opc == "F19": print "Esta ruta va hasta Banderas" else: self.sucesor.peticionManejador(opc)
[ "noreply@github.com" ]
noreply@github.com
6421d238fc1e7a830ceda511897b9031f37f657c
80196f92cf80507d546d476ea64b86f2b0845211
/src/apps/history/migrations/0003_auto_20160812_1936.py
a114ba33c22224666d6b1c74ecd707a239ce3172
[ "MIT" ]
permissive
mitrofun/kids2
60a8aee8e454f5e7c7e6f7d46a7f18ccc44f0eb8
6059422c911966e4799e5947d0fc243328bb5787
refs/heads/master
2021-09-08T21:58:13.256061
2017-07-02T17:55:21
2017-07-02T17:55:21
55,395,186
0
0
MIT
2021-09-03T07:47:52
2016-04-04T08:15:18
Python
UTF-8
Python
false
false
865
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-08-12 19:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('history', '0002_auto_20160811_1946'), ] operations = [ migrations.AlterField...
[ "mitri4@bk.ru" ]
mitri4@bk.ru
a2750f726b63cdfdcd25c510cce3c001dd441110
9fb7a1128e2fcdd209710d25e453d9518f5ee912
/env/Lib/site-packages/argh/decorators.py
3af951a6bf00d810d822edcabbc1819042759758
[]
no_license
AlexanderHerlan/syncpy
249f898cc8125d36f833031d7cb55ec694916454
7de26e1036c1e8a4a3e211e40713b5d6db018114
refs/heads/master
2021-01-19T18:07:57.280448
2020-08-21T20:14:28
2020-08-21T20:14:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,905
py
# -*- coding: utf-8 -*- # # Copyright (c) 2010—2013 Andrey Mikhaylenko and contributors # # This file is part of Argh. # # Argh is free software under terms of the GNU Lesser # General Public License version 3 (LGPLv3) as published by the Free # Software Foundation. See the file README for copying conditions. # ""...
[ "alexwherlan@gmail.com" ]
alexwherlan@gmail.com
5ca291d3669d44efd93e88d22d2a14471f5dc3f5
cfa3a277ed8e4e9ab2d2a7ff3a58640f7e642a48
/pizza/settings.py
553e49d913ff64eff306ecdd117b96e464787215
[]
no_license
taufiquenoorani/harvard-project3
969f67c00b3bd62701f9d82ad039190c07442a55
f20d45d7d588d0a6ec9f38da9df3f4a6f8f1f485
refs/heads/master
2021-05-19T23:42:02.764507
2020-04-01T06:18:41
2020-04-01T06:18:41
252,088,897
0
0
null
null
null
null
UTF-8
Python
false
false
3,475
py
""" Django settings for pizza project. Generated by 'django-admin startproject' using Django 2.2.3. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "taufiquenoorani@Taufiques-MacBook-Pro.local" ]
taufiquenoorani@Taufiques-MacBook-Pro.local
0d2ce243dc3f839ea20bc65bc292ff9905b54064
8792813206b303d4d1fdf4912925318858cd8c43
/stringReverser/venv/bin/pip3
d1f3b243b2b905a8d65fd349acd9c5a64ecbc702
[]
no_license
nisabzahid/kubeTest
6754d90bee0c45919d5048f572d8635b3e9c7f7b
da77d561c83403fe1c519f567f199a05de324c66
refs/heads/master
2022-11-23T02:06:28.459859
2020-03-15T19:52:40
2020-03-15T19:52:40
291,897,089
1
0
null
2020-09-01T04:37:49
2020-09-01T04:37:48
null
UTF-8
Python
false
false
280
#!/home/fahad/Desktop/workspace/kubertest/stringReverser/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "fahad.amin@brilliant.com.bd" ]
fahad.amin@brilliant.com.bd
c0c260114d01b127dedfbd8f2de83bd189c3b65c
c1f3e325ba9b842419d607bdaf8b0274ea201be0
/settings.py
f8b4ec4e56b51d6c04d0506be28e53008dc36d18
[]
no_license
ttecher/mon-premier-blog
bb25466e51e30c72a8cc311093b5c3b2bc61c59b
9a9c01399ba717a3702676685ead544f3a8c9586
refs/heads/master
2021-01-10T02:23:54.135138
2016-01-24T11:17:23
2016-01-24T11:17:23
50,284,293
0
0
null
null
null
null
UTF-8
Python
false
false
3,238
py
""" Django settings for monBlog project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # B...
[ "tnt.techer@orange.fr" ]
tnt.techer@orange.fr
0bdaed231fbea26e89a298c42844e73328b7ab96
a9fb3d138c4241c2feaf502491be9ea5abd359be
/20210808/audio_struct/test.py
5acd8e0b3f467e8d19d7cf3657e979bfd1415e86
[]
no_license
gani0325/iNES
e1ba918b30faec2412510ed8dd09c2f3fe88f24e
24151d808598ba1d55bae4936a5a730fcfcdcea2
refs/heads/master
2023-08-21T16:40:24.407972
2021-08-09T09:34:16
2021-08-09T09:34:16
391,834,381
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
from audio_frame import * a = AudioFrame() print(a.frame_idx) a.ShowAll() b = AudioFrame(100) b.ShowAll()
[ "lge000325@gmail.com" ]
lge000325@gmail.com
98a5436bba2136ae470959f0588878666f9736e7
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-elb/huaweicloudsdkelb/v3/model/create_listener_quic_config_option.py
ea75a64289e0119f8980032cb31fa3a3892e5e4e
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
5,568
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateListenerQuicConfigOption: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
e631e7a8aa0504603e4d96d6468d4af3b68cf8e6
e82f28c2ff6312b027d6bfbda9c5c6585864dffd
/intown/apps/institutions/migrations/0002_auto_20150820_1815.py
84505f0dd0de476d50c9421aba630a97c74e49df
[ "MIT" ]
permissive
Elika-/intown-1
a30435670c1bfcd6e3777ba41649cc045af31e7d
50742a903cff7710cda305557ca33760b3fb2a0e
refs/heads/master
2021-01-18T05:50:26.122554
2015-09-02T16:11:41
2015-09-02T16:11:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,097
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('core', '__first__'), ('institutions', '0001_initial'), ] operations = [ migrations.RemoveField( model_na...
[ "ablx@posteo.de" ]
ablx@posteo.de
721712fa1b1971e19a65d4810238c7f93c70f4b0
a19ef9e9f1f764a9c56f42512a2c4c3fb8d37140
/src/synthetic_flow_fraction.py
01cef6d844d200a1b10aca685655c27f91155af8
[ "Apache-2.0" ]
permissive
behdadebsh/LungPhD
2bfa97a970f7060c8d3fcdcad7747c982d44f56e
537a98c502e3b069e990b38c1110135bf048c248
refs/heads/master
2023-06-09T17:52:01.865376
2023-06-06T21:51:28
2023-06-06T21:51:28
122,146,773
2
2
null
null
null
null
UTF-8
Python
false
false
1,828
py
rm1_sol_path = '/hpc/bsha219/Research related/EMBC2023/Perfusion/RM1/block_mesh_flow_perf.exelem' rm7_sol_path = '/hpc/bsha219/Research related/EMBC2023/Perfusion/RM7/block_mesh_flow_perf.exelem' rm7_flows = [] rm1_flows = [] flow_fraction = [] with open(rm1_sol_path) as f_in: lines = (line.rstrip() for line in f...
[ "behdad.ebrahimi@gmail.com" ]
behdad.ebrahimi@gmail.com
07e9c8d25b7b350136b24dd02a3b8b5367245b89
a8deabe9f64e9bc6e89b22f73fec33689404d5e8
/quizWeb/wsgi.py
d7351b2e953308dc74305d2ab5f16f0c20df7ddb
[ "MIT" ]
permissive
francoBa/QuizWeb
dc82714ba13322371c6e2030557674741c8934f0
dc17e565b3c4f37d559d57b9c355e944a85fef67
refs/heads/main
2023-07-20T04:06:37.818261
2021-08-29T19:44:40
2021-08-29T19:44:40
398,281,396
0
0
MIT
2021-08-29T19:44:41
2021-08-20T13:13:58
Python
UTF-8
Python
false
false
391
py
""" WSGI config for quizWeb project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTI...
[ "gerocb.lab@gmail.com" ]
gerocb.lab@gmail.com
d6dbdf6d4303b2e24cf5f65e74b2815177a2e90f
c9debb83fe4cb295e17de1af2ac4cdfb8415dbb6
/Compara.py
0dec63258c16eabf9570fad01a817405656269b1
[]
no_license
GabrielaZarzozaPerez/APRENDIENDOPHYTON
ca767256041f0ca886f7314740181e9411866c87
014bd9d6657c9513f256d8f77ba97752523f1e85
refs/heads/master
2020-07-26T02:03:51.274552
2019-09-16T21:22:58
2019-09-16T21:22:58
208,496,927
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# Autor: Gabriela Zarzoza Perez # Fecha de creacion: 16/09/2019 numero1=input("Numero 1:") numero2=input("Numero 2:") salida="Numeros proporcionados: {} y {}. {}. " if (numero1==numero2): # Entra aqui si los numeros capturados son iguales. print(salida.format(numero1,numero2,"Los numeros son iguales")) else: ...
[ "noreply@github.com" ]
noreply@github.com
57b38b59e6438c0800acb06a2fcf6c7d6f16fc8f
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/thehive/komand_thehive/actions/get_case/schema.py
4fd641e02f199012fe05d6e6f2d54aea73510dcd
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
3,744
py
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Retrieve a case by ID" class Input: ID = "id" class Output: CASE = "case" class GetCaseInput(komand.Input): schema = json.loads(""" { "type": "object", "title": "Variables", "proper...
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
4be2904b6a4ef685b419e850bf32645725c3936a
1281315608d3b2a2e3ee49b0fa36d88c6068a7cb
/jump.py
23467a100acabdeb729a64f7fb4c61dd57985f0b
[]
no_license
Qiu-Qingzhou/Code
caf808ebcdf6b28d3c084b445aad997e60b5a7b1
53a961a2aee53e937df860ac0c8db3420a6407f4
refs/heads/master
2020-07-23T20:02:02.031603
2019-09-11T01:07:44
2019-09-11T01:07:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
for a in range(1,101): if a%10==7 or a//10==7 or a%7==0: continue print(a)
[ "752493739@qq.com" ]
752493739@qq.com
50f1526d9c10aa35d999591fa05eefa9f6a4acd9
de4bf2ee4e30dcfc4d56e7d73586d0d9ef1760fc
/edabit_py_arraymatchingNinput.py
75dcdab92eb9106ac40393c7d7d5e1808b9a5ccd
[]
no_license
thaaanks/algorithms
513691ef76c9944b1ddd850af26a1afab382b31e
72b6a191610f1c41b20b49794afe34a87c89f291
refs/heads/main
2023-03-27T09:31:57.397063
2021-03-24T14:32:30
2021-03-24T14:32:30
304,581,513
1
1
null
null
null
null
UTF-8
Python
false
false
1,098
py
################################################# # 첫번째 문제 ################################################# person = ['Darth Vader', 'Leia','Han', 'R2S2'] relation = ['father', 'sister', 'brother in law', 'droid'] def relation_to_luke(a): if a in person: i = person.index(a) print("Luke, I am your...
[ "alleswirdbesser3@gmail.com" ]
alleswirdbesser3@gmail.com
740ec99b8fc0bfc2d99cc63cffd9710c88e2fc3b
dc53edcd408cb3c9ce77eb15cfce2cd06779af45
/Final/server/packet.py
57962ffdc382248c1d6e7005ca046db41e62c002
[]
no_license
NicPoch/UDP-Server-Python
1c6d34f02901ee8e79b4a1f9ea60dc20e67c02e6
decde02bebf922a62a0c66fe6508d794af01725d
refs/heads/main
2023-04-07T11:04:09.661651
2021-04-13T19:34:03
2021-04-13T19:34:03
357,666,141
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
""" El objeto paquete que se va a usar para tranferir datos """ class Packet: """ data: los datos a transferir chacksum: el checksum para validar """ def __init__(self,data=None,check=None,flag="TR"): self.data=data self.check=check self.flag=flag
[ "n.poch@uniandes.edu.co" ]
n.poch@uniandes.edu.co
a2afaeaa65353fdb373325801df3cad28536c0c8
a5966614f0a9266c85a5ba010863e3ec5408efbb
/0.0/mtg.py
63125cd2573e0fdaa1fbd897647853d29ee7c03e
[]
no_license
Donrwalsh/pick1pack1
429a1a424992581cf96d4c11e93fb81b33865131
335e93d59edb7091b60b5dc8d84855d7e206cd83
refs/heads/master
2021-01-17T16:02:55.872931
2017-07-12T20:06:13
2017-07-12T20:06:13
83,152,089
0
0
null
null
null
null
UTF-8
Python
false
false
4,609
py
# -*- coding: utf-8 -*- import json import os import csv import unicodedata import sys import zipfile import urllib from pprint import pprint sets = ('LEA', 'LEB', 'ARN', '2ED', 'pDRC', 'ATQ', '3ED', 'LEG', 'DRK', 'FEM', '4ED', 'ICE', 'CHR', 'HML', 'ALL', 'MIR', 'VIS', '5ED', 'VAN', 'POR', 'WTH', 'TMP...
[ "donrwalsh@gmail.com" ]
donrwalsh@gmail.com
2bf79220a4a605d9b665cad56a6c298e21d55040
98beeffab0570eb7e4bd2785fc195658e18aa6dd
/SRC/common/IO/progressbar_delay.py
cfb2f4c580665e91b96fc9caa3cc476d6de797c5
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
shkeshavarz/OOF2
27f59bb04775b76ad250ecfd76118b3760647bba
0f69f535d040875354cd34e8bbedeae142ff09a3
refs/heads/master
2021-01-15T15:32:10.713469
2016-01-13T14:44:20
2016-01-13T14:44:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
# -*- python -*- # $RCSfile: progressbar_delay.py,v $ # $Revision: 1.22 $ # $Author: langer $ # $Date: 2011/02/01 16:38:56 $ # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibiliti...
[ "lnz5@rosie.nist.gov" ]
lnz5@rosie.nist.gov
026202171d949b250bf6c6a691978c92f866ba18
dcc6b2251e5106f8862ecd8f90fcf3bfc41219f8
/adb/adbserver.py
5e1cbc54f8a36a7aa6bb8dbc00f619c77d4548eb
[ "Apache-2.0" ]
permissive
Dev-Learn/LearnPython
551eeb2ac0ab53579920c65c64b4e5054f7caa08
a601f5eeeb05236a3e179bf8c34425a95cb0c919
refs/heads/master
2023-05-07T02:34:17.964389
2019-11-03T03:39:30
2019-11-03T03:39:30
159,272,643
0
0
Apache-2.0
2021-06-01T23:45:06
2018-11-27T03:49:00
Python
UTF-8
Python
false
false
2,368
py
import subprocess from time import sleep from pip._vendor.distlib.compat import raw_input # https://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp def connect(): print("Input command : \n") while True: input = raw_input() if input == 'exit': brea...
[ "namtran09061992@gmail.com" ]
namtran09061992@gmail.com
a8d43fe5a20aa3e70b1bb13cb923670bd5227a28
e5a9d6a5d8901416ead1712e85478087f05a0a3c
/program/HWswitch_check/Gen_excel.py
b1f19f21de30194117d3b15580d0405da53e5269
[]
no_license
hanwufeng/Programs
58076d1edbc723709d143975142a5f8b9c2defcd
625f3bbddd2dcb70e705a38b5990c56e086c7f66
refs/heads/master
2020-05-29T19:25:30.157002
2019-05-30T02:18:00
2019-05-30T02:18:00
189,329,785
0
0
null
null
null
null
GB18030
Python
false
false
4,922
py
import pymssql import xlwt import datetime from xlwt import * today=datetime.date.today().strftime('%Y%m%d') txt='F51FA-HJ-S5560X-x.x.x.x.txt'#打开设备的配置信息,不建议用循环打开所有的,因为有些设备的输出会多空格等。 file = open('/root/xunjian/'+today+'/'+txt,'r+') listlist=file.readlines()#读取文档的每一行,至列表,如果不是双电源的问题,直接 for line in file.readlines(): i=1 f...
[ "nxp84216@nws.nexperia.com" ]
nxp84216@nws.nexperia.com
3f36a70b59cf9d6ad4fd514c74134960e5deec10
b6bcfd935f7876fc65416e7340fda1c9b0516fd7
/pyscf/fci/selected_ci.py
a578f20aea6156c46e77cfd1a9106d8ae2094558
[ "Apache-2.0" ]
permissive
lzypotato/pyscf
62f849b9a3ec8480c3da63a5822ea780608796b2
94c21e2e9745800c7efc7256de0d628fc60afc36
refs/heads/master
2020-09-06T22:45:04.191935
2019-06-18T06:04:48
2019-06-18T06:04:48
220,578,540
1
0
Apache-2.0
2019-11-09T02:13:16
2019-11-09T02:13:15
null
UTF-8
Python
false
false
41,236
py
#!/usr/bin/env python # Copyright 2014-2018 The PySCF Developers. 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 # # U...
[ "warlocat@zju.edu.cn" ]
warlocat@zju.edu.cn
36e62ecde5af77f52cf6fb84d9c123997b4f21c7
f8c4e471f4ae63781428810e16d8d4377b8bdd8e
/helloworld-cf-template.py
4d9fa244e48e158b9feb0ff4d7f9d1c13adae447
[]
no_license
wbqd/EffectiveDevOpsTemplates
d56aed077cf1adc7bf8b68bb83beff6a941a662d
4a7166e4f458156cc85239adc6374bd00a61ba9b
refs/heads/master
2020-04-28T08:36:13.437011
2019-03-12T05:15:05
2019-03-12T05:15:05
175,134,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,903
py
"""Generating CloudFormation template.""" from ipaddress import ip_network from ipify import get_ip from troposphere import ( Base64, ec2, GetAtt, Join, Output, Parameter, Ref, Template, ) ApplicationPort = "3000" PublicCidrIp = str(ip_network(get_ip())) t = Template() t.set_descrip...
[ "wbqdinno@gmail.com" ]
wbqdinno@gmail.com
0008fc9a0b7b53af297d7a4967222bfc406412cb
5a763efe75413d5f7591105adab1c3309692e842
/router/models.py
00fab8af959297f0076a66d8faa2a20c80370eb0
[]
no_license
bhargav-joshi/ShortLi-URL_Shortner
315aafa1834af42716c69f633e3ff17fb81f1aeb
a78bc5fe7dae35874053646fe293f9dbe5a7b766
refs/heads/main
2023-02-25T10:07:26.607996
2021-01-31T12:42:00
2021-01-31T12:42:00
324,502,095
1
0
null
null
null
null
UTF-8
Python
false
false
336
py
from django.db import models # Create your models here. class Route(models.Model): original_url = models.URLField(help_text= "Write the Original URL Which you want to shorten.") key = models.CharField(max_length=10,unique= True, help_text= "Write the customize key or text") def __str__(self): retu...
[ "noreply@github.com" ]
noreply@github.com
698ce85576475ac479f25c8050a6685b8c37d9f0
9f8ce7b4b3fd8b2d0be51e559945feded81fb0b1
/negotiator2/__init__.py
38de5a17832bb501a1dcbfee6bd6900685236cad
[]
no_license
zimeon/negotiator2
bf82d092492d11435a4db9bbf9f65211cd787f74
33dee19cd9fcf5db7cc6872c6608843f3bf1e9c8
refs/heads/master
2021-01-16T23:22:55.504372
2018-02-20T13:52:48
2018-02-20T13:52:48
95,739,871
0
0
null
2017-11-03T20:17:22
2017-06-29T04:53:53
Python
UTF-8
Python
false
false
286
py
"""Imports for negotiator2.""" __version__ = '2.1.1' from .negotiator import AcceptParameters, ContentType, Language, ContentNegotiator from .memento import BadTimeMap, TimeMap, memento_parse_datetime, memento_datetime_string from .util import conneg_on_accept, negotiate_on_datetime
[ "simeon.warner@cornell.edu" ]
simeon.warner@cornell.edu
e641711296abae71b76a2a876fd265cfd2769a21
4ec6f39f75e5895cd1589fa9b0f994309f51a0e0
/user/models.py
7fc2451d3823539398095ab71da8cf73f9c8f8d5
[]
no_license
Abin-Benny/spasalon
c57d26d37e43115328a1789ea6976e3b0cfe127b
579280053922c705f760c53de9e879387d3ebb26
refs/heads/master
2023-06-04T03:27:38.136113
2021-06-22T10:18:10
2021-06-22T10:18:10
377,420,724
0
0
null
2021-06-22T10:18:11
2021-06-16T08:12:17
HTML
UTF-8
Python
false
false
2,494
py
from django.db import models # Create your models here. class salonlogin(models.Model): Username=models.EmailField(max_length=50) Password=models.CharField(max_length=250) class salonreg(models.Model): Login_id=models.ForeignKey(salonlogin,on_delete=models.CASCADE) First_name=models.CharField(max_len...
[ "abin95benny@gmail.com" ]
abin95benny@gmail.com
3720c82d7041b1b6603305f21a1863570b0f18ff
c5850f9ead347514465db4f6e97cb8e58fef1800
/config/autoencoder_specifications.py
82ed24c21f21c853c6202781e50055bf313ffbe8
[]
no_license
LeMGarouani/SHAP_on_Autoencoder
b1095abcbf296708387fe5652f36508a3f8ba07c
9b4e3a9da3fddfa39ca36ce431b70c0dcd28757c
refs/heads/master
2023-03-16T08:12:30.953585
2020-03-04T22:28:21
2020-03-04T22:42:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
from keras.callbacks import EarlyStopping dim_hid1 = 8 dim_hid2 = 4 dim_hid3 = dim_hid1 activation = 'relu' learning_rate = 0.01 batch_size = 128 epochs = 200 early_stop = EarlyStopping(monitor='val_loss', min_delta=0.01, patience=5)
[ "yilin.liu623@gmail.com" ]
yilin.liu623@gmail.com
da954a0ed8caf750124be9eb6582ad919fab6903
258c045a25c2a4d2027c5510272b2e40fb7938ca
/ellipse_polaire.py
680918cb63cc02de291149e3ce3fe6c1e7f16f3c
[ "MIT" ]
permissive
harryturr/electron-charging-rings-detector
5395791aba2ce2264659b49c9ce4ad14c29c896a
7eeefcf2c2be7aba56daf965fe80727887b01eb7
refs/heads/master
2022-07-07T08:27:15.412680
2019-10-29T23:58:57
2019-10-29T23:58:57
218,405,876
0
0
MIT
2022-06-21T23:20:08
2019-10-29T23:54:51
OpenEdge ABL
UTF-8
Python
false
false
3,696
py
from __future__ import division import numpy as np import matplotlib.pyplot as plt import features_automatic_detection nombre_angle = 1000 features_automatic_detection.largeur_max = 256 features_automatic_detection.hauteur_max = 256 def ellipse_conversion(liste): coeff_poly_0 = -4 * liste[1] ** 2 - (l...
[ "griffin.harrisonn@gmail.com" ]
griffin.harrisonn@gmail.com
2137af80f3138287dbda1f0103e0e911d746f57d
4ec4d818bb4d3df98984f54510140a3ed0b5c4c8
/callbacks.py
25b09bd2120fb145fae63e7b4fc55860faae9d4c
[ "BSD-3-Clause" ]
permissive
Joel103/genre_classification
2ce66bce1f8273ec511dc068ce34ded617132074
756acf4eb31a3da3689b09b295afbc7d807726d7
refs/heads/master
2023-03-30T03:53:24.403403
2021-04-12T19:22:10
2021-04-12T19:22:10
348,699,921
0
0
null
null
null
null
UTF-8
Python
false
false
4,667
py
import tensorflow as tf class IncreaseEpochCustom(tf.keras.callbacks.Callback): def __init__(self, network): self.network = network def on_epoch_end(self, epoch, logs=None): # Since Keras Progbar starts counting with 1, I have to add here 1 self.network.epoch = epoch+1 # Tensorflow Ke...
[ "dev@nicojahn.com" ]
dev@nicojahn.com
8a971dcc9ae3b4848511097374e872229c28caa6
7f59209619ef5f4d6ae53081dcec1838b743b786
/projectxml.py
5c8465ec1aa8f60575cff0ad8ff400f23a9a7efb
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Riverscapes/WRAT
11ef0af17d28dcb7976d06819b1fe4d69754804a
fce4efd2c9376da4fd59db31d275d5ce45e8dfc0
refs/heads/master
2022-04-16T18:14:12.666659
2020-04-13T02:46:46
2020-04-13T02:46:46
105,100,065
0
0
null
null
null
null
UTF-8
Python
false
false
37,852
py
import xml, os import uuid import xml.etree.ElementTree as ET import xml.dom.minidom as minidom import string class ProjectXML: """creates an instance of a project xml file""" def __init__(self, filepath, projType, name): self.logFilePath = filepath # Initialize the tree self.projectT...
[ "jtgilbert89@gmail.com" ]
jtgilbert89@gmail.com
0fe8e46bec859e93f9b70c9ae8ce097263abde76
ce1dfc54ba303697863ac9e6a56674e947b0a901
/task3/app/db.py
0a1a92898f4e4bae85bc35dbf7f26b3609fb77e4
[]
no_license
max-kashin/tasks
1bf71be6a14d8b44feca63d840d11babc3069731
07d401cca195b5a0afbb63338ecf05cac9f61742
refs/heads/master
2022-12-09T22:57:48.792198
2020-08-31T14:01:06
2020-08-31T14:01:06
291,562,697
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker DATABASE_URL = "postgresql+psycopg2://postgres:postgres@db:5432" engine = create_engine( DATABASE_URL ) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) ...
[ "m.kashintcev@gmail.com" ]
m.kashintcev@gmail.com
fb3e370dfd2f9fbd26cd0812bc638c2c103bb48d
68c8e34ced2807263ed724adfc3f78b4130fa37a
/logs/terminal.py
5cb811300bb7d317b6975503000f65e2f0bc6427
[ "MIT" ]
permissive
Lanssens/aem-start-stop
bf54e8921c352926cbbd43f98c0b6e865ac4852f
8a446766e21d4af5b9f0410ecf62351611bc5eba
refs/heads/master
2021-05-12T20:01:54.924268
2018-01-16T11:36:54
2018-01-16T11:36:54
117,111,831
2
0
null
null
null
null
UTF-8
Python
false
false
33,172
py
#! /usr/bin/python import sys, os, time import subprocess class configure (object): def __init__ (self): self.dirhome = os.path.abspath(os.path.dirname(__file__)) self.diruser = os.path.abspath(os.path.expanduser('~')) self.unix = sys.platform[:3] != 'win' and True or False self.temp = os.environ.get('temp',...
[ "thijs.lanssens@ida-mediafoundry.be" ]
thijs.lanssens@ida-mediafoundry.be
b650477605a3faa43e7de1d4aa3f5a17765b0136
b31a2d70e2ae74b4faca68d6123ed2d5a6621eb9
/XOR_one_element.py
5dd79a5b9541268333340aad3d290d8274ce6631
[]
no_license
RexZChen/AlgoGo
451ef0dcf821e4b9b9996e2361ba238869802c33
5bae8af4aa18b2a9252b23e5f9d7f368d52c6aa4
refs/heads/master
2023-03-19T05:41:14.066131
2021-03-12T05:40:52
2021-03-12T05:40:52
341,339,517
0
0
null
null
null
null
UTF-8
Python
false
false
3,690
py
# Sol 1 class Node: def __init__(self, v): self.minValue = v self.left = None self.right = None class Solution: def addValue(self, root, val2add): current_node = root for i in range(31): current_node.minValue = min(current_node.minValue, val2add) ...
[ "54689268+RexZChen@users.noreply.github.com" ]
54689268+RexZChen@users.noreply.github.com
f5b4ce49234aa51d775d4794255d26f32726d67e
ce5ce3764e75774c0b7eab47893987b9f311b1b9
/.history/moments/models_20210605234329.py
2a69731e929875c9c2fe37b29fe4471a44af790c
[]
no_license
iSecloud/django-wechat
410fb8a23b50dc2343c2f0167bbae560bf6e9694
faaff9bb7f9454a63b2f8411d3577169b470baad
refs/heads/main
2023-05-15T06:53:16.252422
2021-06-07T14:00:35
2021-06-07T14:00:35
374,685,069
0
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class WeChatUser(models.Model): user = models.OneToOneField(User, models.CASCADE) motto = models.CharField(max_length=100, null=True, blank=True) pic = models.CharField(max_length=50, null=True, blank...
[ "869820505@qq.com" ]
869820505@qq.com
18a971070691aa11b74c2575b03669efea1a93a8
c600563363ecb67d022510eaf03912c5aadeb0c5
/app/project/story/routes.py
0ab629e54a2a7b53d117e944a6a96b68e54be5a2
[]
no_license
xh4vm/justbegin
527f06a33ec1a7fb0eb21966f13fdbf8fb61a970
3f9ae2a8e91e84990a33515617d6eab0b79cbb90
refs/heads/main
2023-08-30T20:10:16.001222
2021-11-12T17:18:31
2021-11-12T17:18:31
387,518,686
0
0
null
2021-11-12T16:27:15
2021-07-19T15:54:05
Python
UTF-8
Python
false
false
2,602
py
from flask import jsonify from flask_classy import FlaskView, route from sqlalchemy.orm.scoping import scoped_session from .exceptions import InvalidProjectStoryAuthorRole from .models import ProjectStory from .schemas import post_project_story_schema, put_project_story_schema from ..decorators import project_required...
[ "h4vm@yandex.ru" ]
h4vm@yandex.ru
654e36ee1139fd4e26f34bff8a5ad866723502e8
9e2bd8e828d3aeedc9b5034d847a8e1e3a381cfa
/rltk/io/adapter/__init__.py
75fd0cceb723c9a2948f88da45ca6d33433231d1
[ "MIT" ]
permissive
rpatil524/rltk
0a55c6d5f02ccf2991dc458fb38a0bf4f0caa151
aee10ed5dd561583e60db3373ed82fe1208da1e9
refs/heads/master
2021-11-01T10:41:12.158504
2021-10-06T23:41:52
2021-10-06T23:41:52
183,799,148
0
0
MIT
2021-09-04T03:42:53
2019-04-27T16:53:12
Python
UTF-8
Python
false
false
624
py
from rltk.io.adapter.key_value_adapter import KeyValueAdapter from rltk.io.adapter.memory_key_value_adapter import MemoryKeyValueAdapter from rltk.io.adapter.dbm_key_value_adapter import DbmKeyValueAdapter from rltk.io.adapter.redis_key_value_adapter import RedisKeyValueAdapter from rltk.io.adapter.hbase_key_value_adap...
[ "bigyyx@gmail.com" ]
bigyyx@gmail.com
8eb957e4e9d343c21ad64abc13676b383ca23605
5804306e22fae2f475d4bd54b3568dc6af71130c
/python_study/study_mooc/study_4.1.1.py
e6db2b3ac3052b2835d5418338ef2cff6b74e2ff
[]
no_license
chenxiang97/study_base
fd2037dffa301edf80dbc5c5fc858dcf6b87b206
146fb26b050de50d6b8a3aceffab4ebdd828621b
refs/heads/master
2022-12-31T00:35:08.039942
2020-10-20T04:43:57
2020-10-20T04:43:57
305,280,296
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
#CalBMIv1.py height,weight = eval(input("请输入身高(米)和体重(千克)[使用逗号分隔]:")) bmi = weight/pow(height,2) print("BMI指数为:{:.2f}".format(bmi)) who = "" if bmi < 18.5: who = "偏瘦" elif 18.5 <= bmi <25: who = "正常" elif 25 <= bmi < 30: who = "偏胖" else : who = "肥胖" print("BMI 指标为:国际'{0}'".format(who))
[ "18720311636@163.com" ]
18720311636@163.com
404722930d613c470eb5f285abfa459bb218f489
3025eb28d82e7bca3843acdb786bcff1ceba36aa
/sudokuSolver.py
5780b090a57f5f3ae0b122dd19e5fa1e2cdb8b7c
[]
no_license
sugarfrosted/sudokuSolver
3e483dbac6b9bf40f2db08d815399dba010d3612
26f76f952bb4ebc96435ed3ae6297bfd15ad7435
refs/heads/master
2016-09-06T08:41:03.254991
2015-01-24T20:21:48
2015-01-24T20:21:48
29,449,283
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
from sudokuClass import sudoku from puzzleSolver import *
[ "sugarfrosted2005@gmail.com" ]
sugarfrosted2005@gmail.com
be0db26ab5d36d9e7775b244a9b715b94791aee3
75c110b89813cad3bb2aa31e617b416e89eb9d35
/gnuradio/gr-beamforming/examples/eigenvalues_grabber_8signals.py
e5724fd5b229099ff510883ba87bdec8599dbef1
[]
no_license
grigosback/digital-beamforming
345fb01daeef9557ab10f171c03c2aba3967abd4
099e714b12a4c44a5098d728559ec0f66ea11228
refs/heads/master
2021-10-24T07:58:33.099041
2021-10-14T16:16:19
2021-10-14T16:16:19
202,271,953
3
2
null
2019-08-15T04:27:55
2019-08-14T04:02:54
Python
UTF-8
Python
false
false
44,789
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # SPDX-License-Identifier: GPL-3.0 # # GNU Radio Python Flow Graph # Title: Eigenvalues Grabber # Author: grigosback # GNU Radio version: 3.8.1.0 from gnuradio import blocks import numpy from gnuradio import digital from gnuradio import gr from gnuradio.filter import f...
[ "lgrigolato@skyloom.co" ]
lgrigolato@skyloom.co
60606e71554cb438050cad9706362b41e6f67a3a
e9f6698981422f386557aa5de6622396101f3d3e
/54.py
e1af0f189883ad400462c956ef52189703d9be67
[]
no_license
maksdk/python-basic
ea03734410924b305e98871058d072e0f02e69a5
b15fec24f5124ba9dc8ed22933fb4d5a010baca5
refs/heads/master
2020-10-01T03:37:38.373042
2019-12-28T08:44:38
2019-12-28T08:44:38
227,446,645
0
0
null
null
null
null
UTF-8
Python
false
false
1,507
py
if условие 1: # код, который будет выполнен, # если условие 1 истинно elif условие 2: # код, который будет выполнен, # если условие 1 ложно, но условие 2 истинно elif условие 3: # код, который будет выполнен, # если условия 1 и 2 ложны, но условие 3 истинно else: # код, который будет выполне...
[ "havryshchenko@gmail.com" ]
havryshchenko@gmail.com
895720b4139dedaaaf67df9c2105c300065a8a0f
8001e6a88312e9b2966909a817031027efdf9c3c
/scripts/Legacy/deprecated/Realtest.py
6bf61f2796cb81f7db091b733d93732daedd4fdb
[ "MIT" ]
permissive
rhong3/Neutrophil
e7e67f6773e1d943b0872afe272f1609b0948d0a
97efb7cc01dc7b1bb06e29a824352d493bb4add5
refs/heads/master
2021-07-05T00:53:26.606819
2020-07-31T15:16:57
2020-07-31T15:16:57
140,477,754
2
0
null
null
null
null
UTF-8
Python
false
false
10,704
py
# Tile a real scn file, load a trained model and run the test. """ Created on 09/28/2018 @author: RH """ import get_tile import time import matplotlib matplotlib.use('Agg') import os import sys import numpy as np import HE_data_input_te import cnnm import cnng import cnni import cnnt import cnnir1 import cnnir2 impor...
[ "rh2740@nyu.edu" ]
rh2740@nyu.edu
e7677af3ac2c6f8fdd1fde6b3e2068393a380ef5
8fd368db869a123ce24515995cfe0f3bf16311f9
/Part 2 - Regression/Section 8 - Decision Tree Regression/decision_tree_reg.py
82f7aa13349da71fe3868729665439c6ac49125f
[]
no_license
pathakarpit/Machine-learning-refrence-folder
66b4255cc81ecd8b70c9c04719f32d706d732ed9
bc4cfec2098b942978278d7f057f9798b0a43377
refs/heads/main
2023-07-11T22:57:55.197586
2021-08-15T21:29:46
2021-08-15T21:29:46
384,494,577
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np #for decision tree from sklearn.tree import DecisionTreeRegressor #importing datasets dataset = pd.read_csv('Position_Salaries.csv') X = dataset.iloc[:, 1:-1].values y = dataset.iloc[:, -1].values #making decision tree regressor =...
[ "noreply@github.com" ]
noreply@github.com
252c04a3b98c4e8e2387b8c722ae45e021a67465
5051b5add22e11169f12be6e088c04208d58127e
/04 - Django/mainsite/url_short/admin.py
b892fa2624a784f5a59f5239146f27ed1f4265b3
[]
no_license
cmirza/FullStackDay-PdxCodeGuild
be8c6fe2683986ea9dfe3aa7f105d18a5f145c4c
9a99bc505e3e96d03d8579996f749a569e676338
refs/heads/master
2021-09-06T05:47:16.060665
2018-02-02T21:25:23
2018-02-02T21:25:23
105,681,945
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
from django.contrib import admin from .models import URLItem admin.site.register(URLItem)
[ "mail@cmirza.com" ]
mail@cmirza.com
dc082b66174d49644420c7d2c4777c3a050f2f16
9dfe6b8c07b8c782544c166042d59b5189788516
/evaluation/runMain-One.py
087a93b4e583b8a63326169e5051e59345c475aa
[ "MIT" ]
permissive
kipronokoech/Mask-R-CNN-for-Fruit-Detection
62b0880d20caec872d625474eb3dbcde89ff51da
8604dc0c617711be336cb67b1b929b310d785942
refs/heads/master
2023-08-13T06:41:33.841709
2021-09-23T14:43:20
2021-09-23T14:43:20
307,998,698
7
1
null
null
null
null
UTF-8
Python
false
false
5,824
py
import os import numpy as np from matplotlib import pyplot as plt import cv2 as cv from MaskReconstruction import MaskConstruction from Evaluation import MaskRCNN_Evaluation import random import json import pandas as pd # changing the font size in matplotlib import matplotlib font = {'weight' : 'normal', 'size...
[ "kiprono@aims.ac.za" ]
kiprono@aims.ac.za
0e961003dcb191f892a1ebafa66c42a9f3c130d3
78011517bc7fe931f736b81297d0603f7dc01819
/Python/kettle_set_mode.py
bd205cdc3f9d36d16e56196725915e22b9f34f4c
[]
no_license
BorisE/RedmondKettle
47c040f90be4ccf7cee76720d793b4ab908ccfc3
dec016e65a8cd9663719c279ef6bb98fda60f923
refs/heads/master
2021-05-17T18:17:43.429333
2020-04-05T18:08:14
2020-04-05T18:08:14
250,914,477
0
0
null
null
null
null
UTF-8
Python
false
false
1,614
py
#!/usr/bin/python # coding: utf-8 #from kettle.kettleclass import RedmondKettler #from kettle.logclass import logclass from kettle.logclass import log import sys #Use main wrapper library from kettle_wrappers_lib import * #Private part if __name__ == "__main__": log.debug(f"Arguments count: {len(sys.argv)}") ...
[ "email@example.com" ]
email@example.com
9ca6db7957cc31ae72b2b5347b7994b5447e1f08
1f63dde39fcc5f8be29f2acb947c41f1b6f1683e
/Boss2D/addon/tensorflow-1.2.1_for_boss/tensorflow/python/kernel_tests/rnn_test.py
09160c41e472bbfb860179d0c5268646f827273e
[ "Apache-2.0", "MIT" ]
permissive
koobonil/Boss2D
09ca948823e0df5a5a53b64a10033c4f3665483a
e5eb355b57228a701495f2660f137bd05628c202
refs/heads/master
2022-10-20T09:02:51.341143
2019-07-18T02:13:44
2019-07-18T02:13:44
105,999,368
7
2
MIT
2022-10-04T23:31:12
2017-10-06T11:57:07
C++
UTF-8
Python
false
false
22,334
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "slacealic@gmail.com" ]
slacealic@gmail.com
1339b0178281e99e4eb5bae3eac88fa217821e6d
e263d15bb90a684f3ebfc3f91cadf25387d2fbc3
/venv/bin/easy_install
ac888d077e6dcedeecceea3b0381486dc668e8ac
[]
no_license
sparki093/git-repo
4ef956e8ffc9b4442569befbda87130dc062c809
feb2feb27ba9083adad6d869bfb87d767655f415
refs/heads/master
2023-03-20T06:08:43.656936
2021-03-01T12:49:55
2021-03-01T12:49:55
340,649,804
0
0
null
null
null
null
UTF-8
Python
false
false
252
#!/home/alex/VSCode/blog/venv/bin/python # -*- 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())
[ "valakh2607@yandex.ru" ]
valakh2607@yandex.ru
5ad66c95f951ffa394489df37abe95203ee60013
415b8198e967f7084592ab564a3e5f12e9deccc8
/Codes/First_semester/Read_hf_files.py
a9955d51c45b8234bb387162fb8d52eb1e16f440
[]
no_license
ierdembayar/Classification-of-Satellite-and-UAV-Images-for-Communication-Systems
99ec03bd1bbeebb3a34d9d97978a6c482f0a2959
0b1af0a8c3683f6daf10c89f3e79f0f3701884c9
refs/heads/master
2021-05-18T01:06:55.340096
2020-03-29T13:17:50
2020-03-29T13:17:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
import h5py import os from PIL import Image import numpy as np import matplotlib.image as mpimg import pandas as pd import matplotlib.pyplot as plt from keras.preprocessing.image import array_to_img file_path = os.path.dirname(os.path.abspath(__file__)) filename = file_path + "/900Mhz_300m_imWithHisto_train_da...
[ "noreply@github.com" ]
noreply@github.com
d1a8a52cfbf35438a187599eb96006576f455b17
1f2b05dbe818ff922269717389187e5ced71d198
/blog/feeds.py
1abe7ca5675208ef1cc195782b747a4c6430f792
[ "BSD-2-Clause" ]
permissive
Pythonian/suorganizer
e665b0c642b62172156bbbd6537485d66709c339
c835cf1647b2b980d3eaf744c9dd91f33dec7e33
refs/heads/master
2022-04-24T10:19:09.722026
2020-04-19T09:07:37
2020-04-19T09:07:37
256,956,925
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
from django.contrib.syndication.views import Feed from django.urls import reverse_lazy from django.utils.feedgenerator import ( Atom1Feed, Rss201rev2Feed) from .models import Post class BasePostFeedMixin(): title = "Latest Startup Organizer Blog Posts" link = reverse_lazy('blog_post_list') descriptio...
[ "prontomaster@gmail.com" ]
prontomaster@gmail.com
252dcf468e2f7a8486144abbbbd8991296a8ff2c
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/ETFMM_K/YW_ETFMM_SZSJ_403_K.py
3b875095e4f9841ff364c4ae9f79cb0c40b3692f
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,078
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
9c91e73a5440b8c28e4620927f5a5026b41dba99
d49fbd7874b70a93cbc551afed1b87e3e47617a8
/django/example/functions/auth.py
77a3a3bacddb35d18816e9b9d8c1217f663a1b2b
[]
no_license
gitter-badger/tutorials-4
bbdbb673e978118f9fec3212baa13f6f99226be0
3ce1cdb7c6d26f6df4d6bb94e82f83e8cab9389b
refs/heads/master
2020-04-04T20:52:28.181616
2018-10-28T22:05:17
2018-10-28T22:05:17
156,264,177
0
0
null
2018-11-05T18:32:17
2018-11-05T18:32:16
null
UTF-8
Python
false
false
470
py
from attr import attrib, attrs from django.contrib.auth import login, password_validation from django.core.exceptions import ValidationError def validate_password(raw_password): try: password_validation.validate_password(raw_password) except ValidationError as error: return False, error e...
[ "proofit404@gmail.com" ]
proofit404@gmail.com
2976e8654cde6b64a1c1350a8f837bf3166e7683
c363b1cbcc7d22957a6cd3df4f64ce64171a1f54
/online_library/comment/urls.py
08b7f433ecb763b9eb38f261f82b76f1a454a296
[]
no_license
iris-j/Online-Library
29ea7c6bb94370a1bcd76af6a8cf85183b290b88
92feee4880f20b342cb71c753d3129ce531c89a6
refs/heads/master
2020-04-27T01:26:00.031596
2019-03-06T15:10:07
2019-03-06T15:10:07
173,965,221
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from django.conf.urls import url from comment.views import create_comment, view_comment, delete_comment urlpatterns = [ url(r'^comment/create/(?P<isbn>\d+)/$', create_comment, name='create_comment'), url(r'^comment/view/(?P<isbn>\d+)/$', view_comment, name='view_comment'), url(r'^comment/delete/(?P<commen...
[ "1342640516@qq.com" ]
1342640516@qq.com
394f3e43110d7d691d9c5b0e211589ffc8f858be
868d1bd002a66bce3f86054b00a69c49f285126f
/books/01.DeepLearningScratch/chapter01/11.class/class.py
78dafb4d812c53418e5c227e0f92a5a41abc8daf
[]
no_license
doukheeWon-gmail/DeepLearningStudy
cf81ac5867373c8028519133a1cca80024f8f0ff
d346d0572c45e2f2229bd14e5aadeb077074ffa9
refs/heads/master
2023-03-16T19:05:49.594092
2021-03-08T09:03:46
2021-03-08T09:03:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# coding: utf-8 class Man: def __init__(self, name): self.name = name print("Initialize") def hello(self): print("Hello " + self.name + "!") def goodbye(self): print("Good-bye " + self.name + "!") m = Man("David") m.hello() m.goodbye()
[ "fain9301@yahoo.com" ]
fain9301@yahoo.com