blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
c6de412847cac8da40bdee11d8c71f476058edc2
a0fecc0bd7dca191fbb181304ddfe35748a2558c
/start_survey.py
d709764b634cb05bf850604a3951f68acfd53f31
[]
no_license
ekm1987/Survey-Project
95d68576cd80e884e34468335e6dff72f03363f5
c559f377ead494feb757ac008fc8a618b8fc011a
refs/heads/master
2020-09-16T12:40:05.680704
2019-11-24T16:18:16
2019-11-24T16:18:16
223,772,738
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from Survey import Survey if __name__ == "__main__": survey = Survey() survey.start_survey()
[ "ekm1987@hotmail.com" ]
ekm1987@hotmail.com
16b6f8d61facd7e1df29f09899c6c60f23e1f304
aba4706f67feba41ed6f5042eae647c53ca1598b
/hftools/dataset/tests/test_arrayobj.py
85c42e0e94274bdf39adc2b4cb359717078f628d
[ "BSD-3-Clause" ]
permissive
arsenovic/hftools
2dc2cd1f67cf7add6c2cdcbdfc5ee8d55bbcaf5c
b829f2437fae545cffbc3d14dc9c00ae57b1a177
refs/heads/master
2021-01-18T00:45:23.652559
2015-02-13T17:45:50
2015-02-13T17:45:50
23,789,202
5
0
null
null
null
null
UTF-8
Python
false
false
36,737
py
from __future__ import print_function #----------------------------------------------------------------------------- # Copyright (c) 2014, HFTools Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #------------...
[ "jorgen.stenarson@kroywen.se" ]
jorgen.stenarson@kroywen.se
fa3700d28704f92f7e9238a93dfde63ce69a2437
0cf7ed150588b2651d57af0f68c3e139ae4e8664
/apps/goods/urls.py
899c82923d7e5a9171ebd47f39ec9f760ce18f5a
[]
no_license
wangchen1116/web-platform
03a79dc8f43483095be0cc0d2b5ae5fc9ba4d724
e3376fbeed414fa4fa0370a15647ff673c87c7c4
refs/heads/master
2020-09-04T20:14:52.770047
2019-07-23T08:40:02
2019-07-23T08:40:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
from django.conf.urls import url from django.contrib.auth.decorators import login_required from . import views urlpatterns = [ url(r'^$', login_required(views.IndexView.as_view()), name="index"), # 主页 ]
[ "291315224@qq.com" ]
291315224@qq.com
adea643887aff3852a2e273601675cdfb74efc5c
ef43494322daab2356e0a740be24f061ff986a68
/python/upd聊天器/test/面向对象练习.py
032c75618d21fc74ba935aaec3d05601655c6884
[]
no_license
shangguanouba/python
079ba8e22299f179c292ad63bfb4d6665886ce78
505beab5521897982e7596385c997004b40f5b54
refs/heads/master
2022-12-10T22:22:40.851037
2019-12-17T08:23:29
2019-12-17T08:23:29
228,567,758
1
0
null
2022-12-08T01:23:26
2019-12-17T08:20:52
Python
UTF-8
Python
false
false
526
py
# 定义类 class Cat: def __init__(self, new_name): self.name = new_name def eat(self): # 哪一个对象调用方法,self就是哪一个对象的引用 print("%s爱吃鱼" % self.name) def drink(self): print("%s爱喝水" % self.name) def __str__(self): return "%s没了" % self.name # 创建对象 tom = Cat("懒猫") print(tom) t...
[ "sghq@sxdate.com.cn" ]
sghq@sxdate.com.cn
351ffee98beaac269739f12103d72257fded664c
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r9/Gen/DecFiles/options/12267141.py
fde8c5e02df48c536fc9078ec662b3e30932602c
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
3,212
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r9/Gen/DecFiles/options/12267141.py generated: Fri, 27 Mar 2015 16:10:10 # # Event Type: 12267141 # # ASCII decay Descriptor: [B+ -> (D~0 -> (KS0 -> pi+ pi-) K+ K-) K+ pi- pi+]cc # from Configurables import Generation Generation().EventType = 12267141 Generation().SampleGenerati...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
7c8165320bc2a25cb7df9de053a85933b70f1ff3
d787d81738d4f85280c705657e5489aa783b76c0
/net-capture.py
045e8b4c0e5f4cc72eb587cb2122e2ee965c5607
[]
no_license
zephyrproject-rtos/net-tools
174dcdd9c3bd4e013a3830531849732051cf3bc6
e0828aa9629b533644dc96ff6d1295c939bd713c
refs/heads/master
2023-07-20T10:03:50.367360
2022-05-25T10:31:05
2022-05-26T14:37:54
61,154,550
28
33
null
2023-07-08T10:29:46
2016-06-14T20:44:51
C
UTF-8
Python
false
false
2,935
py
#!/usr/bin/env python3 # # Copyright (c) 2021 Intel Corporation # # 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...
[ "jukka.rissanen+github@gmail.com" ]
jukka.rissanen+github@gmail.com
ccb9edf8cb06fd2f428f6eab80dabe180bc7c43d
dac74348f46d79daa08cfa234792018a9921d652
/charcterSets.py
07c17d9cc9e613d4b7a874f3d762f993fce8caeb
[]
no_license
Katana-O/regex-learning
74c502eb7e44c4984f4397666cd7bb0037b9f4eb
3321785f516d1d75ef18b0cfa6a61e206bbd9635
refs/heads/main
2023-04-12T03:47:45.419447
2021-05-22T13:28:34
2021-05-22T13:28:34
367,648,726
0
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
import re if __name__ == '__main__': print('main') # [A-Z] '-' is a metacharacter when used in [] (custom character sets) charStr = 'Hello, There, How, Are, You 123...' print(re.findall('[A-Z]', charStr)) # output: ['H', 'T', 'H', 'A', 'Y'] print(re.findall('[A-Z,1.]', charStr)) # output: ['H'...
[ "noreply@github.com" ]
Katana-O.noreply@github.com
bd377b12e09f223c55035012502e4104a96cc5d4
132cf893e2689597deaf457732af59b6da4b770f
/pokemon/script.py
24d464145e05761f6bd8a3d227776c993d1bd669
[]
no_license
powellsr/small_python_projects
e6fa95ed6d3bbb47f7cfc504ba1b2bd4b9a27e58
795c77f15165377c87430366b54374a5c12f42b1
refs/heads/master
2023-03-31T07:49:24.377009
2021-03-30T20:57:50
2021-03-30T20:57:50
342,877,847
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
from trainer import Trainer from pokemon import Pokemon import move #print('Hello world') squirtle = Pokemon('Squirtle', 5, 22, 22, 'Water') bulbasaur = Pokemon('Bulbasaur', 5, 20, 20, 'Grass') charmander = Pokemon('Charmander', 5, 19, 19, 'Fire') pikachu = Pokemon('Pikachu', 5, 18, 18, 'Electric') ash = Trainer('A...
[ "s-powell.1@onu.edu" ]
s-powell.1@onu.edu
ae166e0250f0a92ee4829d51fde3470df29a0126
af555a19cd2ffe3e775c33d32cebc2f96d27aa4b
/vendor/git.apache.org/thrift.git/lib/py/test/thrift_json.py
40e7a47e389bd0517bdd36e4e73ecca6974bd077
[ "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain-disclaimer", "FSFAP" ]
permissive
tokend/janus
674ead9a29f437b3c05c0879d5b7f7bd20abfe72
5acf3f0ee360b975605a8995493a64d8e4362159
refs/heads/master
2020-04-12T04:12:47.673825
2019-02-28T19:25:39
2019-02-28T19:25:39
162,288,534
8
1
MIT
2019-02-28T19:25:40
2018-12-18T12:57:39
Go
UTF-8
Python
false
false
1,735
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
tokend.noreply@github.com
8d3d2215d966f624b16be052bb44bbca7ea3310d
d65384cf6e8e124c31db0d3557add2f2ada70e6c
/cbt3-client/trunk/panel_mytorrents.py
186c767f1f113200a871b7283260f626e5b5f55f
[]
no_license
BackupTheBerlios/cbt-svn
b1730f305d26f0aa1bd4d8e8dbb6dc69cb039a57
f24ecff98ad3929dd9076dbc7fdd2dde08af578f
refs/heads/master
2021-01-10T19:54:58.119371
2004-11-25T16:18:31
2004-11-25T16:18:31
40,669,706
0
0
null
null
null
null
UTF-8
Python
false
false
1,271
py
#----------------------------------------------------------------------------- # Author: warp / visualvinyl # RCS-ID: $Id: panel_mytorrents.py 75 2004-08-29 21:21:07Z warp $ #----------------------------------------------------------------------------- import wx, os, sys from wxPython.xrc import * from ...
[ "wrep@988d2a8d-7de3-0310-9b18-cefbff502608" ]
wrep@988d2a8d-7de3-0310-9b18-cefbff502608
ffd724c24a3e8a69f6d6d092e453a4544c9d2d41
311b08b547e51907fe88e177817f10e5754dedbe
/tests/test_module.py
6e800f1af7fe1dbdbb9dbd206ee1e3478bbd22a4
[ "BSD-3-Clause" ]
permissive
kernc/dill
a17187545ffd6fa3c410ae4763579744f8238326
11effa42b8c486b2139125d094988f6f68595b3c
refs/heads/master
2020-07-05T14:11:30.681507
2016-11-16T12:27:42
2016-11-16T12:27:42
74,115,619
0
0
null
2016-11-18T09:34:14
2016-11-18T09:34:14
null
UTF-8
Python
false
false
1,620
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 2008-2016 California Institute of Technology. # License: 3-clause BSD. The full license text is available at: # - http://trac.mystic.cacr.caltech.edu/project/pathos/browser/dill/LICENSE import sys import dill import ...
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
be6f6479b75c1e9c42edbd06e8c74d6132ddbf69
3d7c1f2bd01975acebb572b0de8be2ea3cbc6fdf
/visualizationData_WTB.py
36a1b492db295c934ee23ef0e96a993527519eb7
[]
no_license
kobeIsMyYouth/attention-based-fault-diagnoiss
61f5f0d4b7e7175602387f1eaf32c00f031b811c
b826587b7d34549e25ea1f61f0723503b9a03499
refs/heads/main
2023-06-09T12:47:47.876845
2021-06-21T02:46:21
2021-06-21T02:46:21
378,606,595
1
0
null
null
null
null
UTF-8
Python
false
false
615
py
# -*- coding: utf-8 -*- # @Time : 3/22/20 10:11 # @Author : huangting # @FileName: visualizationData.py # @Software: PyCharm import readDataUtils as rdu import matplotlib.pyplot as plt import numpy as np import pandas as pd data = pd.read_csv("./data/WTB_icing/train/15_3.csv").values checkpont = np.sum(data[:, 26...
[ "noreply@github.com" ]
kobeIsMyYouth.noreply@github.com
3e645aaad39524a017c8c70fe188ef0cee44a3d9
b091986ce454d83a4c1242b1c8326503edacee2b
/django_module_attr/tests/tests_admin_api.py
7925eac0c1c98d86c23e30d60df5909fc1cf45a8
[]
no_license
edunola13/libs-python-django-module-attr
68c4fcd26e6131cc06a5849870c37d6478ebb73d
781ca5bd17a495fdbb231640a2126d7a61cfc266
refs/heads/master
2022-12-30T16:20:25.387192
2020-10-11T20:08:26
2020-10-11T20:08:26
266,689,536
0
0
null
null
null
null
UTF-8
Python
false
false
16,190
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals # from mock import patch from django.urls import reverse from rest_framework import status from .test import APITestCase from django_module_attr.models import Category, Tag class CategoryAdminApiTests(APITestCase): def setUp(self): self....
[ "eduardo@bitpagos.co" ]
eduardo@bitpagos.co
e619b16274306bc6e5cfd77204ce12168bb6d41b
6cff92e1db975ccad2af7a22c2409c20cbad075d
/chatproject/chatapp/views.py
8b49b5d6d0d117ee9d634af7dd5412891212c9e6
[]
no_license
ShermanMorrison/Django-Template
888940549d9fca7e1ee26e8ad85514abfdb57c85
5ae60f2b7394af664079c16f4587f518850d99bd
refs/heads/master
2021-01-10T15:40:02.720432
2015-12-15T04:09:30
2015-12-15T04:09:30
48,194,079
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
from django.shortcuts import render, get_object_or_404 from .models import ChatRoom def index(request): chat_rooms = ChatRoom.objects.order_by('name')[:5] context = { 'chat_list': chat_rooms, } return render(request,'chatapp/index.html', context) def chat_room(request, pk): chat = get_object_or_404(Cha...
[ "jdw172@gmail.com" ]
jdw172@gmail.com
324a4c079f6246134609814a672b099ade9ef3a1
6dd77218193791249cde5abc2a78804529a0dcef
/python/basics/01 data types/08 type Tuple.py
df5f7347b54f884171f8d5a5c162d039b7aa7cb0
[]
no_license
Ficolas-Cage/Oczy
240278ddf1bf213a841c82b75c2e1671bd67648a
1789a3800674fbcf42b0369b3737ec75de0d8982
refs/heads/main
2023-06-01T03:24:15.068935
2021-06-14T20:38:33
2021-06-14T20:38:33
376,945,643
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
data = ('Ala', 'Ola', 'Basia') names = data + ('Rafał',) print(names) print(len(names)) print(type(names)) numbers = 1, 2, 3 print(type(numbers)) emptyTuple = () print(emptyTuple) print(type(emptyTuple)) print(names[1]) print(names[-1]) print(names[1:3]) cars = ( ('dodge', 'ford',) , ('pontiac') ) print(cars[0][0...
[ "ficolascage@wp.pl" ]
ficolascage@wp.pl
91f2f0326c39a0175aa8510fe1f285d347efdc54
fb383c3550cdcb1514df17a2e5d87b453240e4a5
/baekjoon/13706.py
ee0b9f933b5e253d683e4f1962ab3f59ba8fa62b
[]
no_license
mingxoxo/Algorithm
5ba84afebe1b0125d43011403610619804c107be
dc352f591c6c8ed84f7dbbeb37a2df4178270605
refs/heads/master
2023-07-30T17:38:00.190966
2023-07-30T08:51:23
2023-07-30T08:51:23
205,862,682
1
2
null
null
null
null
UTF-8
Python
false
false
381
py
# 제곱근 # 23.05.11 # https://www.acmicpc.net/problem/13706 def square_root(n: int) -> int: start, end = 1, n // 2 while start <= end: mid = (start + end) // 2 if mid * mid == n: return mid elif mid * mid < n: start = mid + 1 else: end = mid - 1...
[ "noreply@github.com" ]
mingxoxo.noreply@github.com
a20fb7eba874e898fd97c515673840bc03c54990
534010ebe215eb4c5d59e1a2fded1a1eddbd8d2d
/cache.py
ac58a9319be0031b56fdd50c8c30b41ef0cd50ab
[]
no_license
db42/PyCache
e7cf4a7c7efcb5f2a5d25f81a7a338767f0f70b3
7bbd7768a6c998c3bb7ae6df9f363a4a0544cde6
refs/heads/master
2021-01-23T13:37:27.930796
2012-03-23T13:41:33
2012-03-23T13:41:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,749
py
''' Created on 15-Mar-2012 @author: dushyant ''' import threading class Elem(object): """ This class corresponds to element of Cache. Can be further modified to extend this cache """ def __init__(self, value): self.value = value self.readers_count = 0 #Ready to evict self.count_lo...
[ "dushyant37@gmail.com" ]
dushyant37@gmail.com
cc05be083556c6d1e393e57367b1129e7f07780a
cff844b189bde8c940a02ee05e0b28ddcb7c8446
/Python/Isprime.py
8b4a8a71a660fa03f40d223f8fca29dff802ef33
[]
no_license
fraz-uddin07/Algorithms_cpp_py_java
3a4fc0ba252b985a13e72e902a2b8aed3d08a7a0
b8a71355cea97b146f5ebd4df6525d2b9fb67e5b
refs/heads/main
2023-08-31T18:33:28.775135
2021-10-09T07:39:05
2021-10-09T07:39:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
def isPrime(n): if n <= 1: return False if n <= 3: return True if n % 2 == 0 or n % 3 == 0: return False i = 5 while i * i <= n: if n % i == 0 or n % (i + 2) == 0: return False i = i + 6 return True
[ "noreply@github.com" ]
fraz-uddin07.noreply@github.com
4919f5732ce4937a183436d70beb351a2a1cff1f
60be7019d9988c36ee6842b6400d9c19b01a3ea3
/spider_slave/iaga_slave/intermagnet/middlewares.py
ed8372a6968a7b89559576d521cdc7e7203eb28a
[]
no_license
CugbLiu/scrapy
6f2faa6a09ed95248480282c4c87b99b35ff7836
0be48df4e93b2868bcdc883685ff765c63b286fb
refs/heads/master
2020-03-17T05:30:32.071007
2018-05-14T07:10:24
2018-05-14T07:10:24
133,319,114
0
0
null
null
null
null
UTF-8
Python
false
false
5,218
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2017-10-16 14:23:22 # @Author : Your Name (you@example.org) # @Link : http://example.org # @Version : $Id$ import os import random from scrapy.downloadermiddlewares.useragent import UserAgentMiddleware class RotateUserAgentMiddleware(UserAgentMiddle...
[ "528762404@qq.com" ]
528762404@qq.com
1e2c7cbc197f3f197c64768758a181d5eaaa1a02
d770edbe6b0b669a87ab3c7716ac3249f06cfaff
/manage.py
0c901b83cde9f16e7062f928837253e40bac4116
[]
no_license
mikpim01/bullet_journal_online
c2dd274674efbd13b584ab4336270080ca2afd80
aa793041cdb4667463c4a25feaac148dd3e14551
refs/heads/master
2023-04-27T08:52:49.833891
2018-07-25T15:41:05
2018-07-25T15:41:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bullet_journal_online.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "rjbman93@gmail.com" ]
rjbman93@gmail.com
0e10c471e830bfafbd2bcd793db8e36c566d2a6e
351505ca9d7febcbee61b9fa99bb5e52917926ae
/bubble.py
5619e13754e147c0c6cc689a6d3257437d8e39d8
[]
no_license
yiouejv/django_study
3b5fd19c15a784c77fc4b4135c43c40e27893ab6
d4f99e29e44b7165c553869ffbe0fb367caa0057
refs/heads/master
2020-04-06T08:18:46.355266
2018-11-21T06:05:24
2018-11-21T06:05:24
157,301,134
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
# #encoding: utf-8 # # # # # def bubble_sort(l): # # for i in range(len(l)-1): # 控制循环的次数 # # for j in range(0, len(l)-1): # # if l[j] < l[j+1]: # # l[j], l[j+1] = l[j+1], l[j] # # return l # # # # # # def main(): # # l = [1, 3, 2, 1, 5, 6, 7, 3] # # l = bubble_sort(l...
[ "yiouejv@126.com" ]
yiouejv@126.com
ea57c7126e4dac9e0f5ce7e56a0f128fa3a91ef5
a0dfeb01fd15550961b7e15c504327ea37ce4dea
/home_and_login/migrations/0001_initial.py
0436e1fa98f1ffce003621db14932c8e78e495f9
[]
no_license
theparadoxer02/Colossus
34c4d99f7d14caa0c464036d25b776dde31c4ec0
7d95024acea42b46b598923aef80080cd7890fa2
refs/heads/master
2021-01-19T22:59:25.057466
2017-09-25T18:03:37
2017-09-25T18:03:37
88,902,426
2
1
null
2020-07-11T12:45:14
2017-04-20T19:20:42
CSS
UTF-8
Python
false
false
1,320
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-26 19:50 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "abhimanyu98986@gmail.com" ]
abhimanyu98986@gmail.com
f9bf4c57805888851e2feed129501f82dccab5ac
89d7dbb2cad456fc36676173f86d02a95e610567
/main.py
59b9ce7a72668ab95121820bf2028a2085dd7b9c
[]
no_license
E-Abu/art_transtition
2822da9c0d8a8b4889c89c589f7219d28337b64f
bd388e30dc446f7738f4e9a9e3e19645fe9b00bb
refs/heads/master
2021-09-10T12:09:32.389158
2018-03-26T03:33:48
2018-03-26T03:33:48
123,777,120
0
0
null
null
null
null
UTF-8
Python
false
false
5,769
py
from __future__ import print_function from gensim.models import KeyedVectors import pandas as pd import requests import colorgram import jieba import cv2 as cv import numpy as np import random from blend_modes import blend_modes ''' -----------------------datas import-------------------------- ''' # Creating the ...
[ "13071805297@163.com" ]
13071805297@163.com
023e87a0ec57f6d6660c21fae832553ffbdaeaf3
1f9aee62aaeb8043a7bcbaabb3720472c1a1c6e1
/auctions/blog/admin.py
8be9f070b1ec584af81e1da35c05113c32f90865
[]
no_license
savvidis/pyauctions
fbd513cf5842c205e5bd8f35e5521c36dcb5e6ad
541fd3d6625ea1193a0125e3d64a058b9feab211
refs/heads/master
2020-12-24T11:46:25.277579
2017-01-27T21:02:49
2017-01-27T21:02:49
73,013,383
2
0
null
null
null
null
UTF-8
Python
false
false
828
py
from django.contrib import admin from .models import Entry, Event class EntryAdmin(admin.ModelAdmin): list_display = ('headline', 'pub_date', 'is_active', 'is_published', 'author') list_filter = ('is_active',) exclude = ('summary_html', 'body_html') prepopulated_fields = {"slug": ("headline",)} ...
[ "sabbidis@gmail.com" ]
sabbidis@gmail.com
c618de049790db248bbca34a424a4d3100160c4f
b2cf92372e2673459be1b6b4084d5c5282e83e67
/manage.py
06ab98fd1ef222ec55caf27daf2fd65adad1db0e
[]
no_license
gauravsaini964/django-instaBotness
c9993d892019a30991c6a20e1977db1cbcaa690b
347ffe78620184410b0b78c830404d13c601675e
refs/heads/master
2021-01-01T06:16:07.741909
2017-07-18T07:28:53
2017-07-18T07:28:53
97,398,808
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "instaBot.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the...
[ "gauravsaini964@gmail.com" ]
gauravsaini964@gmail.com
8a7e17c840d60a3dab0e758ff4081a2a2c3d2c76
3ec21ef8e18a68afd8c41690b3ed00b34e0573ec
/Semantic segmentation/mmsegmentation-master/mmseg/models/backbones/resnet.py
c6b0eb4ac8acbd1c24c5e4df7ab651aead63f787
[ "Apache-2.0" ]
permissive
rainfalj/InfoPro-Pytorch
95d3d3088801f9bb68c88fcb6928d13a68d5d06e
a38362a2b59949a82b7451af7b95dc0b8da31a0b
refs/heads/main
2023-02-21T18:29:37.260045
2021-01-26T15:11:54
2021-01-26T15:11:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
25,082
py
from __future__ import division from __future__ import print_function import torch.nn as nn import torch.utils.checkpoint as cp from mmcv.cnn import (build_conv_layer, build_norm_layer, build_plugin_layer, constant_init, kaiming_init) from mmcv.runner import load_checkpoint from mmcv.utils.parro...
[ "Yulin.bh@gmail.com" ]
Yulin.bh@gmail.com
da5061cdeb3a10e11f22149478bfc0a1b5a5f53f
0e03f5241485e48294d7785bf81313aa65af6a31
/Visualization/scorespie_visualization.py
5cf4e83fe53218fdc5f5ba4d0752e33fc8fa4e01
[]
no_license
patricrp/pandasbasics
2584a555b995e447952f31e1145934d2e2d8361e
5b95acf49c474ef6781c83fef7f5a1841d70d060
refs/heads/master
2021-05-22T19:19:12.629832
2020-06-15T16:00:44
2020-06-15T16:00:44
253,056,030
4
2
null
null
null
null
UTF-8
Python
false
false
346
py
from matplotlib import pyplot as plt unit_topics = ['Limits', 'Derivatives', 'Integrals', 'Diff Eq', 'Applications'] num_hardest_reported = [1, 3, 10, 15, 1] plt.figure(figsize=(10, 8)) plt.pie(num_hardest_reported, labels= unit_topics, autopct='%d%%') plt.axis('equal') plt.title('Hardest Topics') plt.show() plt.s...
[ "publizistik.try@gmail.com" ]
publizistik.try@gmail.com
79249ff646371dfb7739780a0936576f3a0329d6
07c31e9885f56a32e406208f9aa167784532c339
/Exercises/Decorator/dec.py
e0f1a1f8cb2c597f4a742ffc9a0d4d523d80ad10
[]
no_license
bibinvasudevan/PythonExercises
e86adc5ae8a06a5ff68b3ef58e06c0045649285b
d60c7aa846d1a4b9423f60e68ccf0983b73a8b75
refs/heads/master
2016-09-05T16:38:54.744895
2013-10-25T10:42:40
2013-10-25T10:42:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
def B(z): def C(a): def D(*args): return z * a(*args); return D return C @B(2) def A(x, y): return x + y; print A(2, 3)
[ "bibinvasudev@gmail.com" ]
bibinvasudev@gmail.com
525d59b6d7e7aae3b5327e1f27b2c200546cbbaa
61dbdd161d8578372e48b280418b17aa64134f9b
/Project/general_conversations.py
1001d06b1ab9d470adb802ada6da5962146153c6
[]
no_license
Pro-Sid/Smartist
0c06bf477098b48d2a751247d8965848653936e8
c181116589896b4283bd25863011b6bb80b48844
refs/heads/master
2022-12-01T13:12:36.658608
2020-08-10T14:35:44
2020-08-10T14:35:44
286,504,483
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
import random from SenseCells.tts import tts def who_are_you(): messages = ['I am Smartist, your lovely personal assistant.','Smartist, didnt I tell you before?','You ask that so many times! I am Smartist.'] tts(random.choice(messages)) def how_am_i(): replies =['You are goddamn handsome!', 'My knees go ...
[ "sodhasiddarth@gmail.com" ]
sodhasiddarth@gmail.com
ccbc6d8f3530f048465c57e27a34a9e09aa9ae60
509f5d5d00f43a04229b6e1f9d6d84ad093cebd2
/src/Charts.py
414d0feeac5565f75b3dbfc1516f1e4a01604f99
[]
no_license
valeLib/GeneticPrograming
4378d139bb5799374e9f572dd8f43dd075b4d984
460928ac5cf1fcad319df0faf318101b8b0b8312
refs/heads/master
2020-04-14T18:25:31.172627
2019-01-04T07:43:10
2019-01-04T07:43:10
164,018,407
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from matplotlib import pyplot as plt def lineChart(xdata, ydata, xlabel, ylabel, title): plt.plot(xdata, ydata) plt.xlabel(xlabel) plt.ylabel(ylabel) plt.title(title) plt.show()
[ "valentinaliberona@hotmail.com" ]
valentinaliberona@hotmail.com
de1bfd38eac03afcb416e0d76e3d9d79fa60bc44
b495ea7dff25e7e05f9af015d634f3aec5704d3a
/acoustic/stack_features.py
d4f1687e1f16904358ac9a5b68c3c63076d04ca6
[]
no_license
BerryAI/music_cortex
bf4ba14acdf8aa5eaecfdcd7553804afb9f8dc8b
e42ca6145f70a7018d7231f41e84d45095e91273
refs/heads/master
2021-05-01T10:23:19.716531
2016-09-01T04:07:36
2016-09-01T04:07:36
56,819,435
1
0
null
null
null
null
UTF-8
Python
false
false
582
py
import numpy as np import os.path import scipy.io as sio from obtain_name import * ''' : : : :Author: Chris Hu ''' input_dir = '/home/chrishu/MSD/' #match_index = sio.loadmat('match_index.mat') match_name = sio.loadmat('match_name.mat') num_el = len(match_name['name']) cnn_features = np.zeros((num_el,1...
[ "13901860r@connect.polyu.hk" ]
13901860r@connect.polyu.hk
80a26aad0a1f115f682e53ed5d47c9cbfd137809
03f9666687a147bfd6bace2adfbab6de8879e207
/plugins/action/device_credential.py
2d88230b22e84c11fad07c6f85152d6c6fde77a6
[ "MIT" ]
permissive
robertcsapo/dnacenter-ansible
a221c8dc6ab68d6ccbc710e5e5f3061b90b0de59
33f776f8c0bc7113da73191c301dd1807e6b4a43
refs/heads/main
2023-07-17T08:27:59.902108
2021-09-06T15:58:05
2021-09-06T15:58:05
376,349,036
0
0
MIT
2021-06-12T17:32:27
2021-06-12T17:32:27
null
UTF-8
Python
false
false
2,797
py
from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible.plugins.action import ActionBase try: from ansible_collections.ansible.utils.plugins.module_utils.common.argspec_validate import ( AnsibleArgSpecValidator, ) except ImportError: ANSIBLE_UTILS_IS_INST...
[ "rcampos@altus.cr" ]
rcampos@altus.cr
55c292e15e926ce3ee4f154073fca236869ff048
a8e5cc598bb7b53eee297def821af5b1e905f589
/test/test_applicaiton_tags.py
c996ef9d3a0040b6b1e1834ed90e0e5b3299c94a
[ "Apache-2.0", "LGPL-2.0-or-later", "LicenseRef-scancode-free-unknown", "GPL-1.0-or-later", "LicenseRef-scancode-other-permissive", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
wavefrontHQ/wavefront-sdk-python
eab9576a57980629b7c9acd7ae162d5feef3e52d
e09a3888cf024afcbc3d92284a78d4a10f78a59d
refs/heads/master
2023-07-24T08:00:21.670639
2023-07-11T18:44:14
2023-07-11T18:44:14
144,609,774
5
18
Apache-2.0
2023-09-06T21:29:50
2018-08-13T17:07:20
Python
UTF-8
Python
false
false
2,214
py
"""Unit Tests for Wavefront Application Tags. @author Shipeng Xie (xshipeng@vmware.com) """ import unittest from unittest.mock import patch from wavefront_sdk.common.application_tags import ApplicationTags class TestApplicationTagsImpl(unittest.TestCase): """Unit Tests of ApplicationTags.""" def setUp(sel...
[ "noreply@github.com" ]
wavefrontHQ.noreply@github.com
9394c9c8fd1b27eac0dd7b4bc2d82db67266668f
1d2bbeda56f8fede69cd9ebde6f5f2b8a50d4a41
/easy/python3/c0009_28_implement-strstr/00_leetcode_0009.py
3f3da727753e9087912c82010101009b9d93cff2
[]
no_license
drunkwater/leetcode
38b8e477eade68250d0bc8b2317542aa62431e03
8cc4a07763e71efbaedb523015f0c1eff2927f60
refs/heads/master
2020-04-06T07:09:43.798498
2018-06-20T02:06:40
2018-06-20T02:06:40
127,843,545
0
2
null
null
null
null
UTF-8
Python
false
false
892
py
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #28. Implement strStr() #Implement strStr(). #Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. #Ex...
[ "Church.Zhong@audiocodes.com" ]
Church.Zhong@audiocodes.com
840e62475a9590b58209b53be12217887f95048e
1af4fa7b1707305bb4e63ecb46b5062271d74454
/meme_image_gen.py
bd37125f31340f7604e672eb94386a36635832fd
[ "MIT" ]
permissive
grant0417/meme-bot
6cc559322573d79d13cc4943e5179460e2299d17
a9ce9a55df7ed18e09d15070ca80703a4fe4035f
refs/heads/master
2020-09-11T16:30:42.936915
2019-11-17T05:15:48
2019-11-17T05:15:48
222,126,263
2
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
import json import os import random import textwrap import predict_text_generator from PIL import Image, ImageFont, ImageDraw def print_text(draw, text, x, y, font, color, shadowcolor): for line in text: draw.text((x - 1, y - 1), line, font=font, fill=shadowcolor) draw.text((x + 1, y - 1), line, ...
[ "grantgurvis@gmail.com" ]
grantgurvis@gmail.com
a9e045aed87e6b634e964688a02ea4e50bdb9c3e
ebfffb60bcfae19cccbede8c6968fa63fcc5c06f
/manage.py
d9a2646f751f76a32cfcf5e28454dd9e08959f38
[ "BSD-2-Clause" ]
permissive
cw0102/sbo-selenium
e74a6d0c8d17e1eb49df95970c40291455e47ab4
1c29b5699cd0e2197d77b7d691630ee49415ff47
refs/heads/master
2020-09-23T12:39:42.248781
2019-12-03T01:26:01
2019-12-03T01:26:01
225,500,775
0
0
BSD-2-Clause
2019-12-03T01:12:22
2019-12-03T01:12:21
null
UTF-8
Python
false
false
287
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": default_settings = 'test_settings' os.environ.setdefault("DJANGO_SETTINGS_MODULE", default_settings) from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "jmbowman@safaribooksonline.com" ]
jmbowman@safaribooksonline.com
c7a8592d5eba5b623613846ca666cb34035faa8f
b250af9e1c4f3c7fec23f943b7a4c024df869df1
/pudding_server.py
e3709581e4e95d9ce3344b444784582071c5c1d3
[]
no_license
kittykg/film-pudding
c6f3b8dce23611b728523d90be046f1917c7e611
c7b0b5d4f71abbac55a80cb00c860daa6f935545
refs/heads/master
2021-05-16T23:18:59.626154
2020-05-25T20:32:32
2020-05-25T20:32:32
250,512,751
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
from flask import Flask, request, abort, jsonify from flask_cors import CORS from pudding_model.single_data_processor import SingleDataProcessor from pudding_model.trainer import Trainer fpm = Trainer().train_model() sdp = SingleDataProcessor() app = Flask(__name__) CORS(app) @app.route('/') def welcome(): ret...
[ "kexinkittygu@gmail.com" ]
kexinkittygu@gmail.com
f906c657f633e3a095a94e804649a72aaf3dc0af
e5af5cd215aaed5a33adc285e6a8c7a2f107a0a6
/SFM/sistemaWeb/urls.py
73ac6be96e52ebebf0957eb596404abf0368be5b
[]
no_license
graficaUNSA/Operadores
0e09ce21b37f3f22906be21afc7c5e896671078e
d30d376352c62f68f900ce7b74a4b78275b7b363
refs/heads/master
2022-12-05T17:16:44.249965
2020-08-18T23:06:12
2020-08-18T23:06:12
260,031,482
0
2
null
2020-06-05T06:31:13
2020-04-29T20:04:46
Python
UTF-8
Python
false
false
124
py
from django.urls import path from . import views from django.conf import settings from django.conf.urls.static import static
[ "jaimetr97@gmail.com" ]
jaimetr97@gmail.com
f182ccffdd233713395c76120a561d2cfd48e906
92b51f34c1b165193d018e208e463fec617f9117
/models/forms.py
923b5f0aba41d667bb885d30354161fe6a249aef
[]
no_license
LBDCode/brewit-api
8379853635738af4d2ecd192c27e2a1ec3819305
49026a756f0b064abd38179353018500dcf13bcf
refs/heads/master
2020-05-19T22:29:57.029920
2019-08-11T22:10:05
2019-08-11T22:10:05
185,247,386
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
from flask_wtf import FlaskForm from wtforms import StringField, SelectField, SubmitField from markupsafe import Markup from wtforms.widgets import HiddenInput class SearchForm(FlaskForm): query = StringField('search', render_kw={"placeholder": "Search beer name or style"}) style = SelectField(u'Beer Style', c...
[ "libby.duggan@gmail.com" ]
libby.duggan@gmail.com
68693351c8b1181bd07040fdc7d0d71f78721044
b55c9607cd140080c6a26a888f20f7991de8b375
/0x11-python-network_1/2-post_email.py
153238d3fd6e97b003f1544bd1fbc5427a520194
[]
no_license
seleniadelgado/holbertonschool-higher_level_programming
ddac9c09d23865aaa19f62c33919d2bf85ec9814
239ff141e6d82cf9fcbcdab355bdf2cb283b9f13
refs/heads/master
2020-04-09T10:26:25.953015
2019-05-17T04:53:13
2019-05-17T04:53:13
160,271,222
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
#!/usr/bin/python3 """takes URL and Email sends POST request to URL with email as parameter""" import urllib.request import urllib.parse from sys import argv if __name__ == "__main__": url = argv[1] values = {'email': argv[2]} data = urllib.parse.urlencode(values) data = data.encode('ascii') req = ...
[ "angiedelgado08@gmail.com" ]
angiedelgado08@gmail.com
2172d26d56c4e39bfb4c898fe0c9aaf62a7721de
fa959c0c8fb736788dd2d2604ea5cb0d5d69c9cc
/tests/test_ngeo.py
ed244bb22ced0d56146c80bf9d509c534e89a180
[]
no_license
skit-ai/ngeo
112d32ebd339c4b6b3591f0767ef551229366189
41e189662e0daf046b3bb18e4d63b7056445550c
refs/heads/master
2022-12-24T08:57:43.693874
2020-10-09T16:39:20
2020-10-09T16:39:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
from ngeo import __version__ def test_version(): assert __version__ == "0.2.0"
[ "abhinav@lepisma.xyz" ]
abhinav@lepisma.xyz
dd5920750bd3e3fad2fc4229e1182e6481a410ed
c1fa118c4b150b86a1cefd248ee99ac4c5bdc119
/atari.py
f770b08a9f67d7ee1554e99ed44751c72ac396e6
[]
no_license
Osj1614/RLstudy
0ff15d5e96dda3ae3566c9566364bb3e9f49f535
3696d6e14bd8f7473526010e42f5ed0131dc5db0
refs/heads/master
2021-07-14T09:42:36.496845
2020-08-29T04:36:22
2020-08-29T04:36:22
202,719,452
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
import tensorflow as tf import numpy as np import gym env = gym.make("SpaceInvaders-v0") env.reset() for i in range(1000): env.step(env.action_space.sample()) env.render('human') env.close()
[ "os1614@daum.net" ]
os1614@daum.net
ed21e3d814eebe3818eaa4b929a58d0909e9f77d
15a96b53e5a2a5dc8834097de7e71324d6615983
/counter.py
72344bb7dfdaeada1f2d46f557893c6d25093733
[]
no_license
hmzshk/WesternAI
a677cf48292ccac3e7d92196ce6b0f4675863ce2
cceec3737a6fb66fe6b39464b7da0252d0582041
refs/heads/main
2023-01-05T06:41:51.625801
2020-11-02T16:58:28
2020-11-02T16:58:28
309,434,778
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
import pathlib import shutil import os data_dir = r"C:\Users\hmzsh\Pictures\checker1" classes = ["A","B",'C','D','E','F','G','H','I','K',"L","M","N","O","P","Q","R","S","T","U","V","W","X","Y"] jpgCountdict = {} txtCountdict = {} for category in classes: path = os.path.join(data_dir,category) jpg...
[ "noreply@github.com" ]
hmzshk.noreply@github.com
9855c9b0200842716863d96c8193f9f091dcf658
70bcdd97318a85acc5bc3f4d47afde696fb7a33b
/jqdata/gta_tables/MAC_INDUSTRY_EMPLOYWAGEQ.py
2ebaaaaaf34a003becdbd973ddf86f715001b314
[]
no_license
Inistlwq/tulipquant-code
f78fe3c4238e98014f6d4f36735fb65a8b88f60d
5959bfe35b6ae2e0e2a204117bda66a13893c64c
refs/heads/master
2020-03-31T11:25:12.145593
2018-04-22T02:16:16
2018-04-22T02:16:16
152,175,727
2
0
null
2018-10-09T02:31:34
2018-10-09T02:31:33
null
UTF-8
Python
false
false
693
py
# coding: utf-8 from sqlalchemy import BigInteger, Column, DateTime, Integer, Numeric, SmallInteger, String, Table, Text, text from sqlalchemy.dialects.mysql.base import LONGBLOB from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() metadata = Base.metadata class MAC_INDUSTRY_EMPLOYWAG...
[ "wonghiu45@163.com" ]
wonghiu45@163.com
9f5e950d9099755d4c2e22f43dda1ea777edf4d7
4a0ed9c079286428e44bf8bcfc82034dac041897
/gallery/views.py
6afa3b8cfd519dce4b362fd22970809cab865f38
[ "MIT" ]
permissive
lilianwaweru/Gallery
3b57fed326e1d868c83944037fe203f35204a650
de9b02e59dac22f45df8c7cbc0570fe7ac685d3f
refs/heads/master
2020-05-21T07:06:38.468356
2019-05-14T13:03:09
2019-05-14T13:03:09
185,950,002
0
0
null
null
null
null
UTF-8
Python
false
false
1,093
py
from django.shortcuts import render from .models import Image,Category,Location # Create your views here. def welcome(request): images = Image.objects.all() return render(request,'welcome.html',{'images':images}) def search_category(request): if 'category' in request.GET and request.GET["category"]: ...
[ "lilowesh.lw@gmail.com" ]
lilowesh.lw@gmail.com
6ceecd6d6f584e7434d42aad60e70674e6a7a07b
74ea5d8ae5db20558524c8c5cf1e88eb0defd004
/userapps/urls.py
504139645dbc83cd380e662105f1681b9250f402
[]
no_license
hacky-tosh/django_login_logout
2c8607231f1ab5129532bcb2b6669623a90c959f
f1b48fdc7217c2721ac89d0f5a166742f273c258
refs/heads/master
2023-06-01T00:36:42.478060
2021-07-08T05:25:13
2021-07-08T05:25:13
373,981,896
1
0
null
null
null
null
UTF-8
Python
false
false
247
py
from django.contrib import admin from django.urls import path from userapps import views urlpatterns = [ path('',views.index, name='home'), path('login',views.loginuser, name='login'), path('logout',views.logoutuser, name='logout') ]
[ "yash566472@gmail.com" ]
yash566472@gmail.com
8f749fc482a9cdeacc9293bddd62bf1d0b62d04d
6d58081ab1bed57a63f227152251ccb7805c18fa
/Alpha_licence/data_insertion.py
aebcb9ab432d30c389e8f8c30dc80f4bdd25540b
[ "MIT" ]
permissive
AswinSampath1401/TARP-PROJECT
ce0b347a084ad71e295381ca86de2076f1aa4d2c
ae1b150bea6b3f405ca76e312c97fce27a15db35
refs/heads/master
2022-10-02T21:24:26.103715
2020-06-07T14:14:33
2020-06-07T14:14:33
270,325,732
0
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
import sqlite3 from datetime import datetime con = sqlite3.connect("cars.db") cursor=con.cursor() def printval(): command3 = """SELECT * FROM licence""" try: cursor.execute(command3) rows = cursor.fetchall() for row in rows: print(row) except: print('Failed') ...
[ "aswinsampath1401@gmail.com" ]
aswinsampath1401@gmail.com
8f2ee205fd6f086c19e77e85f64dd6059521fdac
ba210e2c4c0fb1563e946c73fb56130482ba8a28
/untitled1/venv/Scripts/pip3.6-script.py
ace657146e7b8dd2b2b90dca6f4e947f3590a490
[]
no_license
shehaodong/conv-mnist
72ec20e4507a2cd5b9263093ce4ea0a5f11009ce
d201c0a301f08fd81d18ed1fbb5eddbd1e16df2b
refs/heads/master
2020-06-22T12:28:36.467782
2019-07-19T07:38:12
2019-07-19T07:38:12
197,715,076
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
429
py
#!C:\Users\Ùܺƶ«\PycharmProjects\untitled1\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.6' __requires__ = 'pip==10.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)?$', '', s...
[ "2035046940@qq.com" ]
2035046940@qq.com
be1502b6f3be4180844db5427f5230bd60afce81
2f2a6e089f9c24c99659e1f6275f16256be4e226
/dhurba/flaskblog.py
061116dd8540d82b7e4b9b8ededaa1c08eb93aa3
[]
no_license
lanxeon/flask
a03f5ae2a09ec6896d0628e0ba0034d570e58129
c2192167ca4c4e502b419ac22c5a119c3f6d6fa2
refs/heads/master
2021-01-04T13:32:07.956567
2020-02-20T17:27:08
2020-02-20T17:27:08
240,574,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
from flask import Flask,render_template,url_for import os IMAGE_FOLDER = os.path.join('static', 'images') app = Flask(__name__) app.config['UPLOAD_FOLDER'] = IMAGE_FOLDER @app.route('/') @app.route('/home') def hello_world(): full_filename = os.path.join(app.config['UPLOAD_FOLDER'], 'unisys_logo.jpg') full_filenam...
[ "lanxeon@users.noreply.github.com" ]
lanxeon@users.noreply.github.com
75b539d5736fc81a0aa3478efb9771bb8327bb26
901f6b3dc8a9e05db23f5fdd044580d35c80f1d6
/models/seq2seq.py
e7fc0c8e6424f878752dfd5f66030344636f870c
[]
no_license
gaoyz0625/SGM-for-Multi-label-Classification
e95dc27ea9a9d4b3e19793e942140acef8b7d787
4a8220f15ad2efcf6a2d83b39634695bb4a34fb0
refs/heads/master
2020-05-22T05:54:45.376730
2018-11-16T06:42:44
2018-11-16T06:42:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,287
py
import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable import data.dict as dict import models class seq2seq(nn.Module): def __init__(self, config, src_vocab_size, tgt_vocab_size, use_cuda, pretrain=None, score_fn=None): super(seq2seq, self).__init__() ...
[ "40688514+illcat@users.noreply.github.com" ]
40688514+illcat@users.noreply.github.com
95f58fcd621c5d650f2820723c4f082e7305c00c
e833961ce3a676ceb48cae1697c0cb57155f8083
/hw3/Pr7.py
3747720afb5b87c6ae23c0ee3a69765d2bcbd371
[]
no_license
elizavetakrasova/homework_python
e43859280f12d76f3092ef7cacff5a061aeb9573
c9c375b7f49f90f920583edb30a548af0a887636
refs/heads/master
2023-08-21T10:37:09.868929
2021-10-08T11:46:55
2021-10-08T11:46:55
411,573,823
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
import string def stri(string1): d={} for name in string.ascii_letters: d[name] = string1.count(name) return d string1 = 'aabbccdd' print(stri(string1))
[ "krasova03@inbox.ru" ]
krasova03@inbox.ru
eeaef235caf718137abbbe3d6139aac575687bbc
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/oan.py
af3f217dc52107525f28568b79685a2e8f0957c2
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
0e98a91e403dae1da358f0b21c522b4bf3011b31
810db25abeaa5486c87853b4c318ffcba1dbe0bb
/3_2.py
c3d94af6500dd5e559ce693281d08ea26a645c6b
[]
no_license
jgericke620/advent_of_code
e24d1e356067547725dda0e03616643902cc8200
8c9d56b5c80725fb1f038545c0da721fd784f8f9
refs/heads/master
2022-04-16T11:50:07.966567
2020-04-12T17:12:56
2020-04-12T17:12:56
255,131,825
0
0
null
null
null
null
UTF-8
Python
false
false
7,593
py
#!/Users/jacogericke/anaconda3/bin/python3 import time import math from copy import deepcopy INPUT1 = ["R994","D213","L483","U102","L292","U153","L123","D568","R54","U482","L971","D679","L17","U492","R448","U75","R472","D209","R872","D271","L271","U175","L373","D968","R867","U191","R746","U717","L918","D171","L205","...
[ "jaco@spatialedge.co.za" ]
jaco@spatialedge.co.za
32bca1d418b08189fa972e568f2bab2f65001cab
766737a9e7addbcde0f3ad541fb572cf9d2cdd1e
/PM2.5/SQLite ver/CSVtoSQLplus3.py
ed45bec9389cda5524eb057409656bcfa05006fb
[]
no_license
b24333666/Python-exercise
15455afb0a9155e5b42b2855294b047654a764ea
596946b53e86eefcae9290181aa6a2e9ed260a35
refs/heads/master
2021-09-07T11:16:55.478022
2018-02-22T05:22:47
2018-02-22T05:22:47
113,925,944
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
import requests import sqlite3 import time import os # if not os.path.isdir('PM25'): # os.mkdir('PM25') html = requests.get("http://opendata.epa.gov.tw/ws/Data/ATM00625/?$format=csv") html.encoding = "UTF-8" dateName = time.strftime("%y%m%d") conn = sqlite3.connect("PM25"+dateName+".db") cursor = conn.cursor() t...
[ "b24333666@hotmail.com" ]
b24333666@hotmail.com
c6baf369f7e30a62780d357d74ff736e08401cc2
79fa48ef996f1eff77cf095a33fe22551767bd2d
/Pi Code/gr-collar_detect/python/collar_detect.py
ce667dfb7a9ca27d3b35db7a5a76517cd96e8681
[]
no_license
hilaskis/ZRC_PARR
2c507cda6fcba20428390b3de6ad73c1590891cf
ddf5ad1da4e1853954a101550016fff24669b8ba
refs/heads/master
2021-01-23T04:48:24.730626
2017-04-19T00:38:48
2017-04-19T00:38:48
80,382,816
0
1
null
2018-02-06T16:00:00
2017-01-30T00:25:33
Python
UTF-8
Python
false
false
2,014
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2015 <+YOU OR YOUR COMPANY+>. # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. #...
[ "kvonehr@gmail.com" ]
kvonehr@gmail.com
236b2156772d0785fdcae77e42fa711d3fe46373
9259591e4794aecd85c199b645ffb05ccbebd993
/vendor/gevent/_sslgte279.py
6941dcc0895fec259f5992087c7d35ce77bea1b7
[ "Apache-2.0" ]
permissive
swdotcom/swdc-sublime
000e20b2d2d9fa214480d2a94fcb97a88b83f67f
eab2007ab408e44d38163a121bf95c5d2018d6e4
refs/heads/main
2022-03-10T05:57:44.701151
2022-03-09T23:53:14
2022-03-09T23:53:14
127,207,312
14
5
Apache-2.0
2022-03-09T23:53:15
2018-03-28T22:47:16
Python
UTF-8
Python
false
false
28,202
py
# Wrapper module for _ssl. Written by Bill Janssen. # Ported to gevent by Denis Bilenko. """SSL wrapper for socket objects on Python 2.7.9 and above. For the documentation, refer to :mod:`ssl` module manual. This module implements cooperative SSL socket wrappers. """ from __future__ import absolute_import # Our impo...
[ "bo@software.com" ]
bo@software.com
c7189e77f3f1cd0f351c1592f9636303d3df7aca
1cbdfbe352d65a7b55d8f3120c7f18cb87229845
/data.py
641d1ec9b4edb2704586f80031b30255180730b7
[]
no_license
randallporter/finalProject
8a3b83705791446c20533fde292266c0822c66e3
fafedcfd1207c2456b8296487f25360308afaf07
refs/heads/master
2021-01-10T05:38:58.407903
2015-06-06T02:54:03
2015-06-06T02:54:04
36,701,464
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
f = open("TransactionHistory.csv") headers = True data = [] if(headers): f.readline() for line in f.readlines(): try: data.append(line.split(",")[3]) except: pass for item in data: a = item b = a.split(" ") c = " ".join(a.split()) c.split(" ") d = c.split(" ") e = "" for word in d: if(len(word) == 0)...
[ "random.davis@gmail.com" ]
random.davis@gmail.com
bf422b0aa83d0aed4cdd4a787340e97517008487
aa6e81ec4327fae5a4cc5d978e4b3fd1b79de329
/Lighting_kit_creator/lightingController.py
bc848c207d7ca5dff05c5b0bd41969c4ab084f91
[]
no_license
inachus-project/LightingController
9e51d0edd40a1c03799e55bb19b0269add3bb925
dc2ad259d2e80f49638f566e4f2686cb346d0503
refs/heads/main
2023-03-18T13:57:39.715873
2021-03-06T21:58:00
2021-03-06T21:58:00
338,918,371
0
0
null
null
null
null
UTF-8
Python
false
false
8,334
py
import serial # controller class to manage the neopixels class LightingController: # Constants # Serial constants BAUDRATE = 115200 MAXLEDS = 255 BITS24 = 0xFFFFFF # Color constants BLACK = 0 RED = 0x200000 GREEN = 0x002000 BLUE = 0x000020 WHITE = 0x20202...
[ "47373607+inachus-project@users.noreply.github.com" ]
47373607+inachus-project@users.noreply.github.com
bd8cdf2840e352ac16a84c2c7f657c9d3735b6a1
0331b7c10af6ae25c4665438ac3cd94fcd958508
/Cap_2_DecisionMaking/ex_44.py
90db2e179cfbce6010d2d0d280e1ef6c1804e377
[]
no_license
GanLay20/the-python-workbook
a8a56385fbdda00f7bd883b9307f0ec04d3875d4
a0bc47029a2db690e39f8e43b07f1b084592e42b
refs/heads/main
2023-03-18T13:20:31.152301
2021-03-21T13:28:10
2021-03-21T13:28:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
# EXERCISE 44 : Faces on money banknote = int(input("Enter the denomination of a banknote: ")) individual = "" if banknote == 1: individual = "George Washington" elif banknote == 2: individual = "Thomas Jefferson" elif banknote == 5: individual = "Abraham Lincoln" elif banknote == 10: individual = "Al...
[ "64850221+AndreaOrlando23@users.noreply.github.com" ]
64850221+AndreaOrlando23@users.noreply.github.com
6861787b8c7b973c6e321a452ccd55225ea077ae
1a9f264a7c08ee86dd90f2b93b3d196fd42bfec8
/LINETCR/Api/channel.py
c4f2374891d106a03044fbcb75689b6bfa10a0eb
[]
no_license
inneFebriani/LIN3-TCR
17816d7e882d65fff1856ca180f70ce82634a3a4
37efab3bb6d0db7ef7776957a97b449dac971f7c
refs/heads/master
2020-03-07T20:38:06.025821
2018-04-06T02:06:35
2018-04-06T02:06:35
127,702,215
3
0
null
null
null
null
UTF-8
Python
false
false
10,089
py
# -*- coding: utf-8 -*- import os, sys, json path = os.path.join(os.path.dirname(__file__), '../lib/') sys.path.insert(0, path) import requests from thrift.transport import THttpClient from thrift.protocol import TCompactProtocol from curve import LineService from curve.ttypes import * import tempfile class Channel:...
[ "noreply@github.com" ]
inneFebriani.noreply@github.com
cb5a7ad60c72cc52d78ddfbdca5cecf634886a08
539815f896acbc88b72338992f1adcd55bd7700f
/demo/movie_svc/app_instance.py
d7fce6337abd89e14700e0110df3a57cb570f72d
[ "MIT" ]
permissive
talkpython/responder-webframework-minicourse
dcb0f38ead081b75a536aca99c6f52fc172c1c0e
321d52d8ddb434952f373a127b51ef3bbfbeb6af
refs/heads/master
2021-06-16T13:39:19.149560
2021-03-11T20:29:24
2021-03-11T20:29:24
178,065,735
29
21
MIT
2021-03-11T20:29:25
2019-03-27T19:58:30
null
UTF-8
Python
false
false
251
py
import responder # CORS wasn't demoed in the course, but is required to be used from # external apps like movie exploder. cors_params = { 'allow_origins': '*', 'allow_methods': '*', } api = responder.API(cors=True, cors_params=cors_params)
[ "mikeckennedy@gmail.com" ]
mikeckennedy@gmail.com
b79582b91a17cb647ab3b09e090fdb1be5778893
b7d8ab464c8a9fe643877bf9a7e0eb20d8ef0523
/myshop/urls.py
d8ec27810c336b422d72d3ee5d0b130b9e07ea0f
[]
no_license
ltyjason/mini-programe-OnlineShop-backend
d1950ced8d7cf4423a32dc9f23e837f5bcccbef8
6d07fc77287d75a51e5530863469e34df68d680c
refs/heads/master
2022-10-31T18:47:19.431351
2020-06-11T14:03:03
2020-06-11T14:09:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
"""myshop URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.banner, name='banner') Class-ba...
[ "carzylty@163.com" ]
carzylty@163.com
13b3c318d828788fcb14f9e894eb59056bee758c
84bbd4aeb486567a45ba3709c26f1f41312e2786
/parser.py
501fe743ef70f803008072d9a3fda411cde3c7cc
[]
no_license
PlatformLab/Log-Analyzer
5aa2aeaad24c8db705eaf3f806c5979848d4b7ee
8a74cfdb0aefbf4bae95a9ff0f66016b9988ab09
refs/heads/master
2020-03-14T10:38:37.314870
2018-05-08T07:09:30
2018-05-08T07:33:13
131,571,932
4
4
null
null
null
null
UTF-8
Python
false
false
15,985
py
#! /usr/bin/python # Copyright (c) 2016-2018 Stanford University # # Permission to use, copy, modify, and 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" AN...
[ "syang0@stanford.edu" ]
syang0@stanford.edu
f67b5bcdd47f28ee943de3f5c84b1c151bce65c7
d83396434e2eb408ee4a40dc55b1c4ca338864dc
/demo5.py
977db65b519d14642c9ebd860d0cf9923e9caf7e
[]
no_license
Muralidharan17/Python
6e56eb0f8c6e8c215ef6310b91c94ce4c7a35ef8
441da8bc011ff0a39cc648322df1e9bb24ecbc7f
refs/heads/master
2021-01-22T00:06:38.359400
2017-09-02T11:31:28
2017-09-02T11:31:28
102,185,110
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from sys import argv # argv returns comand prompt variables script, filename = argv print(script, filename)
[ "murali.valiant17@gmail.com" ]
murali.valiant17@gmail.com
586fa3ad67bb267cce2b23ef540bd29c66899cba
5fda54337174d43ed4042ed0a4d7a1271396a07b
/task_3.py
52b027fa241da0e930106776ae1201c45296f835
[]
no_license
CrownedSilverFox/4_curse
4d22b2ec253e8c61d7a9de2d300a23ea5ff3f87a
10b9a7ed36663d306e35f2fe68e8603265f2fad6
refs/heads/master
2016-08-13T01:41:59.142119
2015-11-13T21:40:58
2015-11-13T21:40:58
46,139,120
0
0
null
null
null
null
UTF-8
Python
false
false
4,853
py
# Написать программу выполняющую операции(сложение и вычитание) с простыми дробями. # Дроби вводятся и выводятся в формате: n x/y ,где n - целая часть, x - числитель, у - знаменатель. # Дроби могут быть отрицательные и не иметь целой части, или иметь только целую часть. # Примеры: # Ввод: 5/6 + 4/7 (все выражение вводи...
[ "byskillcfpro@gmail.com" ]
byskillcfpro@gmail.com
95949ab6f09e6b868ce907f3e75708c216d380c7
3e455f11dea2799651ba1fb1e276dcd98ca8ddb3
/TData_data.py
4df5c5a01f83de257331bfb2ff80aa04ae0c1c9b
[]
no_license
barbarabrooks/NCAS-Data-Project-Training-Data
05505a2a1ebc8bdc30f006be7f1a1830cc7c39e7
8bfe7ba7c006eff0b0672097ead16e75ab533c4f
refs/heads/master
2023-02-11T19:43:01.718056
2020-10-07T15:25:17
2020-10-07T15:25:17
266,518,600
1
2
null
2021-01-07T12:01:27
2020-05-24T10:34:21
Python
UTF-8
Python
false
false
3,467
py
def create_time(meta): import time import calendar import numpy as np # start time tt_st = time.strptime('2900-12-25T00:00:00','%Y-%m-%dT%H:%M:%S') ep_st = calendar.timegm(tt_st) # sample interval for x in range (0, len(meta[:,0])): if 'sampling_interval' in meta[x,0]:...
[ "noreply@github.com" ]
barbarabrooks.noreply@github.com
40537c770b81557a48e11d02209aadd365a8904c
bc051b5283dcf2b72c93ad792e2f338ef579fb66
/tests/int_return_menu_test.py
dc2728c07d84b61179c743daba2813a4ab10792d
[ "MIT" ]
permissive
IXIXIXIXIXIXIXIXIX/pyMenus
a3c1902dae87dcb49053699998a945b3b561dc59
843abe73e3c19492cfdc62365bc2a4e6c5066050
refs/heads/main
2023-02-23T22:38:04.041029
2021-01-25T21:27:56
2021-01-25T21:27:56
330,808,594
1
0
null
2021-01-24T13:00:53
2021-01-18T23:10:30
Python
UTF-8
Python
false
false
2,029
py
import unittest from py_CLI_menus.int_return_menu import IntReturnMenu class TestIntReturnMenu(unittest.TestCase): def setUp(self): self.list_of_options_1 = [ "First Option - choose this", "Second Option", "Third Option", "Fourth Option" ] ...
[ "ix.scott.anderson@gmail.com" ]
ix.scott.anderson@gmail.com
371d452b19b3f9165eca4b33766c6a00481cdab6
6ce8390b9d508d66da381c467852091116c2be33
/.history/neutrinos_20210602142705.py
013d2287e5d4170efcfeab0d5e8ebaf7530e108e
[]
no_license
MichaelCullen2011/QuantumAndNeutrinos
0a269f44f35826f541b79b22d4b0f6927e0b10f8
9fd999e5e3b4248248b0e5803789d88015d5bd7d
refs/heads/master
2023-05-07T20:43:14.766929
2021-06-02T16:27:34
2021-06-02T16:27:34
317,365,182
0
0
null
null
null
null
UTF-8
Python
false
false
16,793
py
import numpy as np import matplotlib.pyplot as plt ''' To Do - tau interactions - clean up constant variables into dicts or lists ''' ''' Variables and Constants ''' # # Constants # Mass difference squared between two flavour states delta_m_sq = {'eu': 7.53e-5, 'tu': 2.44e-3, 'te': 2.44e-3...
[ "michaelcullen2011@hotmail.co.uk" ]
michaelcullen2011@hotmail.co.uk
dd29bcc6db20365f34f2d11e0c467967cf21ede4
3cc60ea611add0108866d10eabb133a6ac3506f8
/validator.py
ece42118c83ec1bf1dbac63928717e868d114e6f
[]
no_license
a-fenk/toloka_reviews_validator
ff6d8d3647b167fed9db510170889aa4e59caab2
0431f054bdbb9680da2fcee59e3d39decac36f3c
refs/heads/main
2022-12-26T17:20:54.735100
2020-10-05T16:54:45
2020-10-05T16:54:45
300,562,710
0
0
null
null
null
null
UTF-8
Python
false
false
7,395
py
from openpyxl import load_workbook from excel_service import read_data_from_workbook, CellData, Colors, write_data_to_sheet from utils import find_duplicates, find_unique, check_for_duplicates, has_stopword, stemmer from config import Config def run_validation(): print('Получаю данные из excel...') try: ...
[ "artyom.antnv@gmail.com" ]
artyom.antnv@gmail.com
d0c61a3d44fbd38581f01ca918c5f3ff6a376e41
42a80ea275e19922076331a7506735b9f2ccd7c5
/Problem050.py
e89ad5f57f655891f53f61b3cb529b52deec5719
[]
no_license
gregorgabrovsek/ProjectEuler
f96615fdbc09f1f33e72eee31d624907aead23a6
e4d0657fab2a6ecf20a798ad3ae4acae2bbc61aa
refs/heads/master
2023-03-16T16:48:49.017267
2019-06-03T17:43:51
2019-06-03T17:43:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
from SieveOfAtkin import sito primes = sito(int(1e6)) biggest = (0, 0) for i in range(len(primes)): vsota = primes[i] for j in range(i + 1, len(primes) - i): vsota += primes[j] if j-i > biggest[1]: if vsota in primes and j - i > biggest[1]: biggest = (vsota, j - i) ...
[ "gregor@gabrovsek.si" ]
gregor@gabrovsek.si
883266f36ac5e9e0b0c248acea3a4e607e5c47c5
1a60450c3e119dbfaf41f271a0b363c2ce5e6682
/project1/settings.py
a91ff5aa6ef1002a9fa9561fa40cfa8194808889
[]
no_license
mauryapam/Django-furryfriend-website
6d294a5fdf1568ce0848f4a02b5874acb23d95fa
872cfbb9f32e7dd1407fde26bcce2834fe856065
refs/heads/master
2023-06-25T20:03:03.168115
2021-08-01T08:51:08
2021-08-01T08:51:08
391,345,807
1
0
null
null
null
null
UTF-8
Python
false
false
4,095
py
""" Django settings for project1 project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathli...
[ "mauryapam@gmail.com" ]
mauryapam@gmail.com
adeec84f92547cc51fbb2582c0ad10a1e2d5708a
110a915aaebb4fefce5b607f4d1209c3e71daffc
/Abstract_feature_extraction.py
ada92ae3456ed2dfc086843139019d3365757ec1
[]
no_license
araj231996/JCDL-19
1700cfef3c202ebfa850d40bf357ee5016bbf7df
b1de32e1583d77bbf69fb1b7f1d6b45da41c403e
refs/heads/master
2020-04-18T01:37:10.799679
2020-02-10T15:53:50
2020-02-10T15:53:50
167,125,624
2
1
null
null
null
null
UTF-8
Python
false
false
5,280
py
# coding: utf-8 # In[2]: from os import listdir from os.path import isfile, join import json import re import numpy as np import nltk from nltk.tokenize import word_tokenize,sent_tokenize from nltk.corpus import stopwords import string import pickle import numpy as np import itertools as it import tensorflow as t...
[ "noreply@github.com" ]
araj231996.noreply@github.com
f35954923107394313f1f954760bca011b8ce868
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/CISCO-EVC-CAPABILITY.py
454b6d6567630d64f7fd37b6bc76b1264ec7ba05
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
3,608
py
# # PySNMP MIB module CISCO-EVC-CAPABILITY (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-EVC-CAPABILITY # Produced by pysmi-0.3.4 at Wed May 1 11:57:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
64876e9ed6c56a785bda85f43297a2f5c6c1aaa3
5f8baed3acceaf7b3127f8fbe0ed417070c0e809
/DiSAN/src/utils/logger.py
81b83bca491c2b056252a64abcb03365dde710a0
[ "MIT" ]
permissive
satwik77/Transformer-Computation-Analysis
ead241d848af51fefd85fe365a3ff87b9251bac5
82341f5f2f9cd0831e390f44b338165e45cd6413
refs/heads/main
2022-12-29T01:32:12.081865
2020-10-10T07:04:27
2020-10-10T07:04:27
301,588,833
5
3
null
null
null
null
UTF-8
Python
false
false
3,007
py
import logging import pdb import pandas as pd # Ignore warnings import warnings warnings.filterwarnings("ignore") import json '''Logging Modules''' #log_format='%(asctime)s | %(levelname)s | %(filename)s:%(lineno)s - %(funcName)5s() ] | %(message)s' def get_logger(name, log_file_path='./logs/temp.log', log...
[ "satwik55@gmail.com" ]
satwik55@gmail.com
94459e6bda61867de8e22e3ff9f53a84e81de0de
f9aa9ba6e3c7d7064849e88721da3589cfcd4574
/AIClass/settings.py
f7049315d562497475e59c2fb0b71c56a6146078
[]
no_license
hustSEteam20/AIClass
7e3825a14ae3a6d9c8cf0fa0f58b81a6e7004352
ed008bbd6a86d634727e36e9f95db8f86e5062d2
refs/heads/master
2020-04-16T02:49:51.035824
2019-02-21T00:54:20
2019-02-21T00:54:20
165,209,606
1
1
null
null
null
null
UTF-8
Python
false
false
3,821
py
""" Django settings for AIClass project. Generated by 'django-admin startproject' using Django 1.11.3. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "mamamadoge@gmail.com" ]
mamamadoge@gmail.com
594867923a2c1e6d176d8a4cb639d33ffad37153
709a4dfa8009a747654205572a857a0e5078073f
/mongo/src/query.py
98dcffbe171e8c003f6664748b65ee7e039cd154
[]
no_license
ozyinc/DIL-Implementation
7e44995be55e2e7c0ddb0d598cdd690d4013c8da
42b0121c7be0bf1b46a2e0e409415c34a2558762
refs/heads/master
2023-06-02T13:48:57.993317
2021-06-19T13:26:07
2021-06-19T13:26:07
371,419,398
0
0
null
2021-06-19T13:26:07
2021-05-27T15:22:44
Python
UTF-8
Python
false
false
49,040
py
from pymongo.database import Database # Hard to solve exercises, solved by at least 5 people, get 20 minimum average scores def hard_to_solve(db: Database): # Requires the PyMongo package. # https://api.mongodb.com/python/current return db.get_collection("students").aggregate([ { '$pr...
[ "ozyinc@users.noreply.github.com" ]
ozyinc@users.noreply.github.com
48574df92ad4eaeab67d1b8a524fb0e98bfa48b5
d12b5e1a183f9f49b0e6027c12cf81c38b37787b
/day_so_phu_hop.py
59009acf6d737b3ca003173d93ef5ae9783bddfd
[]
no_license
bakachanbaby/code_ptit
3cfd12d98712e466d93af2dd1caf6d72f0d148b9
f010c100cabb6b4fddcf32681897633b53858de3
refs/heads/main
2023-08-15T00:05:15.125959
2021-09-27T13:51:12
2021-09-27T13:51:12
410,901,753
0
0
null
2021-09-27T13:51:13
2021-09-27T13:45:37
Python
UTF-8
Python
false
false
339
py
t = int(input()) while t > 0: n = int(input()) a = list(map(int, input(). split())) b = list(map(int, input(). split())) flat = 1 a.sort() b.sort() for i in range(len(a)): if(a[i] > b[i]): flat = 0 print('NO') break if(flat == 1): print...
[ "63496788+bakachanbaby@users.noreply.github.com" ]
63496788+bakachanbaby@users.noreply.github.com
3306c942ef3a039bc64924346a682f65b7763c4d
86846b35805f298d9d43bde3ad1dc4095eb86a22
/DataPreprocessing/Stopwords.py
e52def50042d005373072076e7278cb92ede4212
[]
no_license
dipanshug124/TwitterSentimentAnalysis
c75a9baa98c541795b62496cf23597b87f138d47
64db50a295d430159dd16086e5a3c790a975f34b
refs/heads/master
2022-11-26T20:24:00.497835
2020-08-04T10:13:15
2020-08-04T10:13:15
276,952,414
1
0
null
null
null
null
UTF-8
Python
false
false
661
py
# %% from nltk.corpus import stopwords stop_words = set(stopwords.words("english")) ## Creating a list of custom stopwords new_words = ["using", "show", "result", "large", "also","iv", "one", "two", "new", "previously", "shown","covid","twitter","situation","la","corona","pic", "com","http",...
[ "noreply@github.com" ]
dipanshug124.noreply@github.com
eb09ae376760615f5b04d20e921dc431942061bc
c85b91bfdd7eb2fa5a7d6c6a9b722c8548c83105
/vscode/extensions/ms-python.python-2020.3.69010/languageServer.0.5.31/Typeshed/stdlib/3/posix.pyi
d99a4584d6d9a6efe91e80408d29b4bf3a3e89ff
[ "MIT", "Apache-2.0" ]
permissive
ryangniadek/.dotfiles
ddf52cece49c33664b56f01b17d476cf0f1fafb1
be272baf6fb7d7cd4f4db1f6812b710196511ffe
refs/heads/master
2021-01-14T07:43:12.516127
2020-03-22T20:27:22
2020-03-22T20:27:22
242,632,623
0
0
MIT
2020-09-12T17:28:01
2020-02-24T02:50:06
Python
UTF-8
Python
false
false
2,650
pyi
# Stubs for posix # NOTE: These are incomplete! from typing import NamedTuple, Tuple class stat_result: # For backward compatibility, the return value of stat() is also # accessible as a tuple of at least 10 integers giving the most important # (and portable) members of the stat structure, in th...
[ "ryan@gniadek.net" ]
ryan@gniadek.net
4757f30b3c3269279a1ba3aa0377861ce1efa3d2
453b17bf4a7addec9717859eb05e6b73b59f9a25
/src/transfer/models.py
4ecfac5e5072246298f14dfe709e8567ceec8348
[]
no_license
CJIABKA/s4u-test-assignment-master
c1aef1ae12c8bcf99d9a5979e75832afc16d4dbb
c4d99d13274a70e199b853eca3f25a2e06ab5e0e
refs/heads/master
2023-01-01T20:29:36.957713
2020-10-27T18:06:20
2020-10-27T18:06:20
307,774,943
0
0
null
null
null
null
UTF-8
Python
false
false
2,937
py
from decimal import Decimal from django.db import models from django.core.validators import MaxValueValidator, MinValueValidator from account.models import Account class InsufficientBalance(Exception): pass class NegativeOrZeroAmount(Exception): pass class Transfer(models.Model): created_at = models.Da...
[ "cjiabka86@gmail.com" ]
cjiabka86@gmail.com
1b4828705cd6829af5396d9a425754b3ab502a01
0dae1ca57bc87080ffde4eebf8ce9e9ac1338637
/qa/rpc-tests/maxblocksinflight.py
0d8ba8f82ce477dcf0d00361539f66ec6fc8e3d1
[ "MIT" ]
permissive
kiranrh/innoket-master
393cee942e2aadbeb3bc55a71b5928a1069da152
9bc414a7caea3ce1eaef8a171909d32e1e56711d
refs/heads/master
2021-04-06T05:46:22.665334
2018-03-18T14:57:56
2018-03-18T14:57:56
125,207,942
0
0
null
null
null
null
UTF-8
Python
false
false
3,731
py
#!/usr/bin/env python2 # # Distributed under the MIT/X11 software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # from test_framework.mininode import * from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * import logging ...
[ "36470139+Innoket@users.noreply.github.com" ]
36470139+Innoket@users.noreply.github.com
f200cf9467c302d5a61b4ff4e0328c0c1985a1a9
be4845e740ed36e5047424625ab5994c854203d8
/scripts/create_tfidf_feats.py
75ebb97bacce326bbe0f648cce3d73fdb868a18a
[]
no_license
TheMTank/ai-distillery-app
7af87a36cc7d189a20e0671c04a20f9828ec4c7e
2f8fc2aea900e0d07a367a3d31b83e598bf211d7
refs/heads/master
2021-07-23T00:05:27.049219
2020-01-08T18:24:39
2020-01-08T18:24:39
154,981,350
2
0
null
2020-04-30T00:34:05
2018-10-27T15:48:01
JavaScript
UTF-8
Python
false
false
1,151
py
import argparse import glob import numpy as np from sklearn.feature_extraction.text import TfidfVectorizer parser = argparse.ArgumentParser(description='Convert text files to tfidf features') parser.add_argument('-i', '--input-folder', type=str, help='Input folder path') parser.add_argument('-o', ...
[ "benfduffy@gmail.com" ]
benfduffy@gmail.com
661ae25d225ad5a2320bde85041b0ae632895b33
15454c1391959a9a009e231315bbe80fc60a55c5
/api/urls.py
e6203eda89df47a9e7908f463c52708430c38e85
[]
no_license
JoaquindeCastro/API
c8ee6749c2ff04e883332b7fc56a222c69658f38
b02a1efc32404fddbf05b1f3a6cd3de786753401
refs/heads/master
2023-04-13T18:58:59.903709
2021-04-24T07:10:48
2021-04-24T07:10:48
321,006,463
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('',include('main.urls')), path('users/', include('users.urls')), path('quotes/',include('quotes.urls')), path('trivia/',include('trivia.urls')), path('issuetracker/',incl...
[ "63779121+JoaquindeCastro@users.noreply.github.com" ]
63779121+JoaquindeCastro@users.noreply.github.com
d89afb7a24bc734fe4e6dd54ab86a30775cd1246
52d4280866bf3b5ea61aa2d1e77705bb4fa1b11f
/selling/doctype/meeting/meeting.py
ed1577c34002f94360e0c7d0f9a41e27cb67c514
[]
no_license
rangsitww/test3
b382deec071c0eb40cc4ebc152156b74bf55d0ab
a342b868c29c80f1c0814bdb674413c8c94c929f
refs/heads/master
2022-12-14T09:12:44.292566
2020-09-11T17:45:37
2020-09-11T17:45:37
294,721,064
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
# -*- coding: utf-8 -*- # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals # import frappe from frappe.model.document import Document class Meeting(Document): pass
[ "rangsit.tm@gmail.com" ]
rangsit.tm@gmail.com
f84c769e8c798ff6bedda90bda50c9fc4be16172
823bdbddf4846591b3e88c3c4188e772b961deb2
/frontends/pytorch/test/ivalue_import/methods-derefine.py
2f14ad9761da2a92c5f8cf182e7ab63cefc3a19c
[ "LLVM-exception", "Apache-2.0", "BSD-2-Clause" ]
permissive
River707/mlir-npcomp
c055eba9b3ace6e0ffe90d126a1536c252f4f676
544cb4ef549b00e12a932b68f5b15b5de01fe440
refs/heads/main
2023-04-16T05:23:38.314569
2021-04-23T01:11:40
2021-04-23T01:12:55
361,953,895
0
0
NOASSERTION
2021-04-27T02:20:20
2021-04-27T02:20:19
null
UTF-8
Python
false
false
1,344
py
# -*- Python -*- # This file is licensed under a pytorch-style license # See frontends/pytorch/LICENSE for license information. import typing import torch import torch_mlir # RUN: %PYTHON %s | npcomp-opt | FileCheck %s mb = torch_mlir.ModuleBuilder() class TestModule(torch.nn.Module): def __init__(self): s...
[ "silvasean@google.com" ]
silvasean@google.com
8088a48cbcc3c6df32757caa9395802caf4aa2ca
32a9e6cfcdd3a0d75462fb846a8f8926945d566c
/crawl.py
663c3c69205d5dc8f0af085f6e2867c3411857cc
[]
no_license
FrankChe/crawl_project
0a81f2918e6c8dd03960151acb52c95a879aa97b
eb3e7a6433fe4e98453383864b24223967192085
refs/heads/master
2021-01-22T03:49:37.922582
2015-08-13T06:30:17
2015-08-13T06:30:17
40,599,078
1
1
null
null
null
null
UTF-8
Python
false
false
6,073
py
#coding:utf-8 __author__ = 'chexiaoyu' import urllib import urllib2 import json import cookielib class Crawl: def __init__(self): self.stories_population = [] self.stories_cities = [] self.stories_GDP = [] self.stories_population_total = [] self.stories_population_type = [...
[ "chexiaoyu@haizhi.com" ]
chexiaoyu@haizhi.com
4344dd113c53ec44e77b7beb867a74a0a9abcdd1
773f6abee91e5368e43b34d8ad179c4ab9056da1
/gen/referencegenome.py
5733374a02094277fbde4887efd4b26c7b446068
[]
no_license
richstoner/aibs
3dc9489ee6a1db836d58ec736b13d35a7cffc215
bfc7e732b53b4dff55f7c3edccdd0703f4bab25f
refs/heads/master
2021-01-10T05:11:09.484238
2013-03-03T06:19:34
2013-03-03T06:19:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# -*- coding: utf-8 -*- # Rich Stoner, 2013 class ReferenceGenome(object): '''aibs.model.referencegenome (autogen)''' # Fields self.id = 0 self.name = '' self.build = '' self.organism_id = 0 # Associations self.organism = None # belongs_to Organism self.genome_locuses = [] # has_m...
[ "stonerri@gmail.com" ]
stonerri@gmail.com
b6b757c5dcfb47878c0f11cad038b9bb259f3b16
69ce7bef9923c183641367dfb07135ce80afa6bd
/src/services/exchange_service.py
d0613a9506bdc55fe468ab1c3315a827d3761dd9
[ "MIT" ]
permissive
emg110/fxdx-algo
8c31db8c4d9ccfc685c7f3a49a2e8a3a53b1ee8f
2ca66221c32947156b24e32b0434668f29f7e665
refs/heads/main
2023-08-14T18:17:28.866759
2021-09-29T04:30:53
2021-09-29T04:30:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,404
py
from src.services import NetworkInteraction from src.blockchain_utils.transaction_repository import ASATransactionRepository class ExchangeService: def __init__( self, exchange_creator_address: str, exchange_creator_pk: str, client, unit_name: str, ...
[ "danielsmith0630@gmail.com" ]
danielsmith0630@gmail.com
e0535ce76c5b51eef766507a9e347b1aa05d5447
f3013ab18c3f7457076dcba19a4ed7e014f87cc8
/setup.py
3776a947f317f5b0d1623da5a5cf1133d10712d3
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
hine/pyvsido
710788f6d16dede70219575dabd690dd8ad8e526
3ec460528b709ef2e6e84100d44f79dab5a48309
refs/heads/master
2020-04-10T03:56:00.864378
2019-07-22T15:04:40
2019-07-22T15:04:40
40,580,012
2
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
from distutils.core import setup setup( name = 'pyvsido', packages = ['vsido'], version = '0.1.6', description = 'V-Sido CONNECT Livrary for Python3', author = 'Daisuke IMAI', author_email = 'hine.gdw@gmail.com', url = 'https://github.com/hine/pyvsido', download_url = 'https://g...
[ "hine.gdw@gmail.com" ]
hine.gdw@gmail.com
948387bb24b283e77723c6196dbb34678bef7ae0
1b98d68a3d96234c09bedff48ee716bb84294144
/interconverting.py
e3e9475802751136d1c181afe47edd95fe5160c9
[]
no_license
oschwartz10612/Python-Chem
e6eee4a828e6efbf99762865cb01fa7163cda271
d649c90fb9fdbe594eacc6af5eb0f5c5c8f4c5f7
refs/heads/master
2022-11-26T22:40:33.849549
2020-08-02T15:58:56
2020-08-02T15:58:56
280,540,752
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
from helper import getMolarMass from helper import getSciNotation #Calculate the mass of diphosphorus pentoxide that contains a billion phosphorus atoms. molarMass = getMolarMass('P2O5', 6) atoms = 1*10**9 mass = 150 count = 2 # = what you are trying to find for mass and what you have for atoms moles = mass/molarM...
[ "oschwartz10612@gmail.com" ]
oschwartz10612@gmail.com
62f4f9165c5fde73f817c969f24e3f489898fadb
82871bf2328b9d2ecc78b56ff77c57e6a2c21c7a
/python/cudf/cudf/core/_internals/where.py
6c94a84fd37b56e2ca541782cfdf311f76c08fc0
[ "Apache-2.0" ]
permissive
galipremsagar/cudf
63e3a7479b38a85e99aaf26fbbfb3f0545a29712
2c6b0dac61a6671642bb5b076e910e20e2bdd1b6
refs/heads/branch-22.04
2023-08-31T10:17:42.664118
2022-01-31T23:35:47
2022-01-31T23:35:47
190,782,603
0
0
Apache-2.0
2019-06-07T17:20:57
2019-06-07T17:20:56
null
UTF-8
Python
false
false
13,727
py
# Copyright (c) 2021, NVIDIA CORPORATION. import warnings from typing import Any, Optional, Tuple, Union, cast import numpy as np import pandas as pd import cudf from cudf._typing import ColumnLike, ScalarLike from cudf.core.column import ColumnBase from cudf.core.dataframe import DataFrame from cudf.core.frame impo...
[ "noreply@github.com" ]
galipremsagar.noreply@github.com
01befad86e2015fefde7cc4e1be7a0b7ffd1363c
01b67c5447021cd5486acf36b17a7fa20783a786
/taska/settings.py
eb8f30de145f804f80ce63b25b73cb2e1e2caabd
[]
no_license
faressiouane/taska
c94e34897a7e74e1ccaa0827ae49fb0d9c08d9fb
ed28bb5150ca66390d91ae8a85bbcc46abc471c9
refs/heads/master
2021-03-02T16:02:31.111531
2020-03-11T22:04:25
2020-03-11T22:04:25
245,882,227
0
0
null
null
null
null
UTF-8
Python
false
false
3,215
py
""" Django settings for taska project. Generated by 'django-admin startproject' using Django 3.0.4. 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 os # B...
[ "fares.geek.dz@gmail.com" ]
fares.geek.dz@gmail.com
6dc7210e4f8cd00b9dae94dcc3d074d9cbffc1d3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02686/s844095657.py
f1ab4403c5eb0d0f166d68bd4338ad075c24471f
[]
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
767
py
N = int(input()) S = [input() for _ in range(N)] def solve() : T = [] for s in S : open = 0 close = 0 for c in s : if c == ')' : if open > 0 : open -= 1 else : close += 1 else : open += 1 T.append((open, close)) if sum(op - cl for op, cl ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
bb95ff7e15b98def84f528f209cee739dba68d2c
94d8243414676f71ab8c888735846a9ced25c4b6
/getEntireLineIfMatched.py
1373ee4d4b6f9050af6aede2723c6f135f192f09
[]
no_license
madhavporus/codepy
63d8c84e6ebdde351dd26e5a0f67ab3a216e81e6
5a74fe3e0fd8547fdecbcbb866381f9b403031be
refs/heads/master
2021-06-27T09:59:16.501978
2017-09-13T21:23:29
2017-09-13T21:23:29
103,449,625
0
0
null
null
null
null
UTF-8
Python
false
false
2,103
py
# -*- coding: utf-8 -*- ''' Spyder Editor In thi editor code between the block #%% and #%% is a block and it can be executed by Ctrl+b ''' #%% def senddata(): st2 = '/usr/local/google/home/madhavareddy/Desktop/test4.py' st3 = '/usr/local/google/home/madhavareddy/Desktop/test5.txt' ss = open(st2, 'r') ...
[ "madhavporusy@yahoo.com" ]
madhavporusy@yahoo.com
3e27f9f9b52e333c718439bfba11ff70347587f7
51d41c8549c568e433ab526d803cc34eb9e340a0
/launcher/launcher.py
2ed5e47093ae13b748a8388ee38365e2d7553146
[]
no_license
Novarius-GameDev/novarius
b3b9604f0a65056c7bb71fac72657f45d76f106a
89268b97559326507881880153208c189f32ea54
refs/heads/master
2021-01-19T23:41:06.818036
2017-05-16T20:24:07
2017-05-16T20:24:07
89,008,924
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
#!/usr/bin/env python import os import sys import subprocess def intro(): os.system("clear") print "" print " Welcome To..." print " _ _ ______ __ _____ _____ _ _ _____ " print " | \ | |/ __ \ \ / /\ | __ \|_ _| | | |/ ____|" print " | \| | | | \ \ / / \ | |__) | | | | | | | ...
[ "cjboucher0505@gmail.com" ]
cjboucher0505@gmail.com
73ab04b844f215c1e0f54cdf7dc68867cf940bb6
b3668055b3eedb59f98439b5d5637853340857dd
/apps/granjasalmoral/migrations/0013_auto_20161001_0507.py
8ff6fbe7d02b68ac614ca9cad6f4043af2348645
[]
no_license
ivek/granjas
d2e4551b512320ac63f8d8e795206841e494c8c6
726f4d325d8b61155285f8dee3bad0fb9c5001c0
refs/heads/master
2021-01-12T13:51:12.367410
2016-10-02T00:56:59
2016-10-02T00:56:59
69,195,256
0
0
null
null
null
null
UTF-8
Python
false
false
2,236
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-10-01 05:07 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('granjasalmoral', '0012_auto_20160929_2010'), ] ope...
[ "ivekdelfin@gmail.com" ]
ivekdelfin@gmail.com
103c08fb063ae04e2169a284e7b510c9e77c7550
9225067a96c62d16cbff0fa0e07b3b507a2a60ad
/sample_camera1.py
414618c6becc7bf81375fe50d30a011acd10de05
[]
no_license
bezelie/flitz
f1a53017e8c942428f5770edb7c8fc68a784cd9e
1b952a8768c4ea3646c67f25f68ad1b5476af779
refs/heads/master
2020-05-27T12:33:57.189486
2020-02-11T12:01:53
2020-02-11T12:01:53
188,620,049
1
1
null
2019-09-04T05:05:16
2019-05-25T23:05:00
Python
UTF-8
Python
false
false
1,273
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Sample Code : Camera Moving Test # # モジュールのインポート from time import sleep # ウェイト処理 import picamera # カメラモジュール import bezelie # べゼリー専用モジュール import sys # サーボの準備 bez = bezelie.Control() # べゼリー操作イ...
[ "nuja@live.jp" ]
nuja@live.jp
afd8ce62011e402ddc573a4592fd9f6d053622fc
ade9003361389138f03add438e9bbc7ac5699102
/MoveMouse.py
993c2c8ca54463ce8afa123e487d49127dcf143c
[]
no_license
CharlandPatrick/Project-Kinect-2
a7e93224ab0a2c7e04bf4fb4c5bee81a192def43
74a213c631c90ff281e1ac0188673187ccdad84d
refs/heads/master
2020-05-25T23:39:41.578805
2017-05-09T20:37:01
2017-05-09T20:37:01
84,979,227
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
from Xlib import X, display import Xlib.XK import Xlib.error import Xlib.ext.xtest while(True): d = display.Display() s = d.screen() infoX = s.width_in_pixels infoY = s.height_in_pixels mousePtr = display.Display().screen().root.query_pointer()._data print("{0} - {1} - {2} - {3}".format(mousePt...
[ "frechette.mathieu@carrefour.cegepvicto.ca" ]
frechette.mathieu@carrefour.cegepvicto.ca
026957b8c5f4467ad46ef5b7d27fefbe9182c32f
7eed34bb9d3054cec1135f07caf5ba3b9098b177
/FibFromPascal.py
e37b9ea50de8b7292f7e7a6346b63237e65bc620
[]
no_license
Rocia/Learning-python
108ede736e245d427c8c09e8a9c258356d876c50
46985466130b62a4c8df0fa61a3e7e91bd370d48
refs/heads/master
2020-12-30T22:36:03.705676
2018-10-30T01:37:42
2018-10-30T01:37:42
80,645,173
1
1
null
null
null
null
UTF-8
Python
false
false
856
py
''' The Fibonacci numbers are hidden inside of Pascal's triangle. If you sum up the coloured numbers of the following triangle, you will get the 7th Fibonacci number: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1 ''' def fib_pascal(n,fib_pos...
[ "noreply@github.com" ]
Rocia.noreply@github.com
fd06fd94704d0b738825aa9fc484c78bdf8ee26e
933f2a9f155b2a4f9746bf2020d1b828bfe49e81
/python基础/day1/if 语句.py
fb1eb4aef52c801e5390c18364af092d427d9f15
[]
no_license
WuAlin0327/python3-notes
d65ffb2b87c8bb23d481ced100d17cda97aef698
1d0d66900f6c4b667b3b84b1063f24ee7823e1bb
refs/heads/master
2020-03-26T04:49:34.937700
2018-12-31T11:12:58
2018-12-31T11:12:58
144,524,404
2
0
null
null
null
null
UTF-8
Python
false
false
204
py
monny = int(input("你有多少钱:")) if monny > 5000: print("I want buy a macbook") elif monny >=3000: print("I want buy a iadp") elif monny >= 2000: print("buy a phone") else: print("no monny")
[ "1032298871@qq.com" ]
1032298871@qq.com