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
528fdb89634d853ef8ee5161ca4b647ab15dc579
cd941f5f6e9dcf33ead0581b9c3c2fc62ff532ec
/check_database/check_database.py
8850f14600fd367f4c1d190e588d29faf44c8c7c
[]
no_license
uzixxx/pythoncode
a7cea32ef6e8c73232295affd4bbdfdebcac0644
36a171ba5ef3ee9f9a9303b466cb12082ae71e23
refs/heads/master
2023-03-25T08:18:55.434727
2020-12-22T13:04:53
2020-12-22T13:04:53
320,172,493
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
import subprocess oracle_home = 'D:/app/Administrator/product/11.2.0/dbhome_1' user_name = 'xxxx' user_passwd = 'xxxx' user_tns = '127.0.0.1:1521/orcl' user_sqlplus = oracle_home + '/bin' + '/' + 'sqlplus' default_shell = user_sqlplus + ' / as sysdba' user_shell = user_sqlplus + ' ' + user_name + '/' + user_passwd + '@...
[ "595865975@qq.com" ]
595865975@qq.com
98b24527a49dde6f431800e65ba9394fb4c3a89e
503d2f8f5f5f547acb82f7299d86886691966ca5
/atcoder/abc288_e.py
70c4f614907f574c7e19042d8ed2d2ab4cc3fcdb
[]
no_license
Hironobu-Kawaguchi/atcoder
3fcb649cb920dd837a1ced6713bbb939ecc090a9
df4b55cc7d557bf61607ffde8bda8655cf129017
refs/heads/master
2023-08-21T14:13:13.856604
2023-08-12T14:53:03
2023-08-12T14:53:03
197,216,790
0
0
null
null
null
null
UTF-8
Python
false
false
2,214
py
# https://atcoder.jp/contests/abc288/tasks/abc288_d # from numba import njit # from functools import lru_cache import sys input = sys.stdin.buffer.readline INF = 1001001001001001 N, M = map(int, input().split()) A = list(map(int, (input().split()))) C = list(map(int, (input().split()))) X = list(map(int, (input().spl...
[ "hironobukawaguchi3@gmail.com" ]
hironobukawaguchi3@gmail.com
2ee2dcf3dcd8da231a4ddae3d99e7792e2185f23
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/3o.py
6d08125d0b91f6c1763e4b9719945ab4e63276fb
[]
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
485
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
c82e9d1d48077221ebd7c1d33228d3e2e26cffdb
fbfd051d3448d350efb94ea5571d5b1a3989ead6
/hackathon/exoticPet/app/db/dbscript.py
cfc14cc52b2c2111b78b2b272b0c3d350ac86727
[]
no_license
cliffmin/rapid_prototyping
08cb64e8d9ac90a748aa6f082cb2f38fdad0677d
bd0485745cff352b73ad0b74d8c4bc8cd89ff038
refs/heads/master
2016-08-05T06:41:03.823213
2014-03-08T23:40:31
2014-03-08T23:40:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
import datetime from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from table_def import Pokemon engine = create_engine('sqlite:///pokemon.db', echo=True) # create a Session Session = sessionmaker(bind=engine) session = Session() # Create an artist pikachu = Pokemon("Pikachu", "male", "elec...
[ "cliffmin@gmail.com" ]
cliffmin@gmail.com
90b417bedd17743c79571e8607da6f6a022d1f12
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03024/s808391195.py
bd7e39cfcdbb36cf608ec3f0dbb696430bf5c305
[]
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
163
py
s = list(input()) counter = 0 k = len(s) for i in range(k): if s[i] == "o": counter += 1 if counter+(15-k) >= 8: print("YES") else: print("NO")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3b4c743f75615f62c7429fe6b6ce779f1b9f4d18
627e78797b40c2140fdb62020bef37c9640d51d1
/packets/PluginMessage.py
84ecd77294375a049435f51d2c6b9f49e4a89674
[]
no_license
magnusjjj/tuxcraft
fefcca0f81541c5976c05324a4dc3dad7dd7c494
3586b366b16f3795d9ba238dfbb6de38efcdb6bc
refs/heads/master
2020-05-26T01:55:43.364377
2012-09-27T08:56:30
2012-09-27T08:56:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
# -*- coding: utf-8 -*- import time import struct import tuxcraft_tools def command(thread): print 'Pluginmessage' channel = tuxcraft_tools.minecraft_read_string(thread.channel) # Message string length = tuxcraft_tools.minecraft_read_short(thread.channel) # Message string data = thread.channel.recv(length) # Messag...
[ "tuxie@tuxie-mint.(none)" ]
tuxie@tuxie-mint.(none)
94bca947c8473901ff7ae6d069379f1cceededab
51d8a1ce1cadde093a9e1a1810f75714068de941
/alphatracker.py
1fab71cceb3c062d5848556f70e9703285d627ad
[]
no_license
Acescout92/IT106-AlphaTracker
3ec58bec8cae8d2a2b8adda26537edf468add9dd
caea082f859efe8c97fb8417d851b786b38bc00e
refs/heads/master
2020-03-23T06:08:51.849145
2018-07-16T20:34:03
2018-07-16T20:34:03
141,191,681
0
0
null
null
null
null
UTF-8
Python
false
false
22,655
py
#------------------------------------------------------------------------------- # Alpha Tracker # Student Names:Bryce H and Ashok S. # Assignment: project_2.py # Submission Date: 5/6/2018 # Python Version: 3.6 #------------------------------------------------------------------------------- # Honor Code Statement: I r...
[ "bryce.hollandsworth@gmail.com" ]
bryce.hollandsworth@gmail.com
11e4cf3d438647c71cea8aba3c12937c79216d11
7d81464b641105a1dcf2b7ff21b1c03931734367
/Statistic/env/bin/distro
e23a8d54cab13f6f871cb2a27fefa57357223d22
[]
no_license
Syxoyi/potential-enigma
140dbd11bf7adc00a72ef315fcf39ec45d820b62
020aead1b48bd8dd944786151812158fab6c71af
refs/heads/master
2021-02-10T12:15:57.307328
2020-09-11T15:10:03
2020-09-11T15:10:03
244,380,999
0
0
null
null
null
null
UTF-8
Python
false
false
258
#!/home/max/scrCATALOG/Python/potential-enigma/Statistic/env/bin/python # -*- coding: utf-8 -*- import re import sys from distro import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "m.travushkin@r77.center-inform.ru" ]
m.travushkin@r77.center-inform.ru
f4d26a6a61e49126688770ec6fef27cf124a97c2
d73aee2dbbef252318ffcc168da6dc007f46a381
/GermanQuinonez/employee/person.py
1b60e9a408c90b6a677c40e3ca245466ce6a5a5d
[]
no_license
oscarDelgadillo/AT05_API_Test_Python_Behave
e8c1641afc47888c7a2b6620e4948e3d5412a817
7755c0c296aeee61538ce11649a718dfb0f17a9c
refs/heads/master
2021-05-12T07:41:33.278396
2018-01-22T23:42:47
2018-01-22T23:42:47
117,254,934
0
0
null
2018-01-12T15:08:34
2018-01-12T15:08:34
null
UTF-8
Python
false
false
227
py
class Person: def __init__(self, name, last): self.name = name self.last_name = last # self.age = age # self.ci = ci def get_name(self): return self.name + " " + self.last_name
[ "German.Quinonez@fundacion-jala.org" ]
German.Quinonez@fundacion-jala.org
ee826811812b750833f028442f9616d4112a68c3
c52486d99f3b3d24bbe8c4130297f037cea02e0f
/website/admin.py
d765828a8b4160ee604151aa876b040a1afc1615
[]
no_license
boolow5/ESDI
99a954143241a3d55f67e82f4c679dfe9ad5bbfe
58a6b6347391b92cdb4c555a6be2451ea470cad3
refs/heads/master
2021-01-19T14:27:50.590711
2017-05-08T22:25:15
2017-05-08T22:25:15
88,163,432
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from django.contrib import admin from website.models import * # Register your models here. admin.site.register(Page) admin.site.register(Image) admin.site.register(Person) admin.site.register(Organization) admin.site.register(Country) admin.site.register(PageSection)
[ "boolow5@gmail.com" ]
boolow5@gmail.com
579eb0fb7ac8eff088fd85e5a549022f8acc47eb
91a90d3ea05a2a64f4c2cec12832932a683269ca
/ex1.py
668f7a82c2b1f2d76ee88f1522ab9a768795d594
[]
no_license
CataHax/lab3-py
c1e8048bcf51210bef380b64d2975ee4c52cf0fb
78c1e275f5196e7ef58770ead08e1fdecc8fcf64
refs/heads/main
2023-05-05T10:23:18.863114
2021-06-04T16:33:24
2021-06-04T16:33:24
373,899,828
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
x1 = int(input("Enter the first number:")) x2 = int(input("Enter the second number:")) x3 = int(input("Enter the third number:")) # now I must do three "if-s" if x3 > x2 > x1: print("increasing") elif x1 > x2 > x3: print("decreasing") else: print("nothing")
[ "noreply@github.com" ]
noreply@github.com
bfc3e9d0d6532309de3193b86d7f7002dd5b8709
265de8ea95605438664ace712a1a3f7f406b287a
/databass-flask/databass_api.py
577138bebf54e7e30f5145dac9d5aa6933c8ae38
[]
no_license
flyingdust777/CS411-DataBASS-public
f42090c874ca99c3c29743cf829a12765b4b842f
6f0c95ddb7616cb4012c80eaf7d4280ea7f8201c
refs/heads/master
2021-08-29T15:47:12.486064
2017-12-14T06:38:45
2017-12-14T06:38:45
113,407,278
0
0
null
null
null
null
UTF-8
Python
false
false
45,008
py
# To-Do List: # 1. Map country and region codes to their actual names # 2. TEST THE FUNTIONALITY EXTENSIVELY! # -------------------------------------------------------------------------------------------------------------------- # # Import flask libraries from flask import Flask, request, jsonify from flask_api impo...
[ "gautham.bommannan@gmail.com" ]
gautham.bommannan@gmail.com
020475e06a3527c5a07704bb84ea5c04a8b97fcf
3f8aca7a66b717872ff6f4d811417c3861f514c2
/django/airline/flights/migrations/0001_initial.py
9cc5d610781220b9d7b6828ed790fa57f3b95898
[]
no_license
anasahmed700/python-web-programming
297f47cba76715df0fc576bcc6254eb926fdc40d
505233cb76e33e00e7838bbab62740ac5c4ea01c
refs/heads/master
2022-09-05T21:45:49.885195
2020-06-04T12:44:50
2020-06-04T12:44:50
269,036,613
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
# Generated by Django 3.0.6 on 2020-06-02 08:05 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Flight', fields=[ ('id', models.AutoField(a...
[ "anasahmed700@gmail.com" ]
anasahmed700@gmail.com
6e69b5b44498b70dbb7ec604c2bc824d7cd54d73
31e10d5f9bbdf768a2b6aae68af0c2105b43120c
/web+多线程/miniweb框架/web服务器/application/utils.py
fc5a398094a52747dd43aa00a08d209b8d724c5b
[]
no_license
664120817/python-test
6d0ce82923b3e7974f393fc8590c5e47e4117781
418085378ca0db8019e4fa3b5564daebed0e6163
refs/heads/master
2023-02-16T13:10:55.403774
2022-08-02T17:01:52
2022-08-02T17:01:52
200,843,808
8
11
null
2023-02-15T16:53:44
2019-08-06T12:08:19
Python
UTF-8
Python
false
false
435
py
def create_http_response(status,response_body): # 拼接响应 request_line = "HTTP/1.1 {}\r\n".format(status) # 请求行 request_header = "Server:python80WS/2.1;charset=UTF-8 \r\n" # 请求头 request_header += "Content-Type:text/html\r\n" request_blank = "\r\n" # 请求空行 request_data = (request_line + request_h...
[ "51182039+664120817@users.noreply.github.com" ]
51182039+664120817@users.noreply.github.com
5e739a9617a64bc798515aecdab7050c7538a08e
9141400a88839683c5bc87a6174883ef59131db8
/Classification/random_forest_pipeline.py
2a8c511698f734f3489b837edc97a4f363cbf3c8
[]
no_license
Arunkalyan/MLModel
1fed51d5638c83c4e463d141f3cd88e64de7ab33
de24420c9100dab3a5689261eb89080173664836
refs/heads/master
2021-01-11T21:13:14.316169
2017-02-15T04:41:06
2017-02-15T04:41:06
79,271,500
0
0
null
null
null
null
UTF-8
Python
false
false
308
py
#!/usr/bin/python from math import sqrt def randomForest_pipeline(total_features): pipe = Pipeline(steps=[ ('clf', LogisticRegression()) ]) parameters = {'n_jobs': [-1], 'max_features': [sqrt(total_features)] } return pipe, parameters
[ "noreply@github.com" ]
noreply@github.com
1576e37fbebbe3a657de3c680f4091835cf9f3b4
b82d3d0adda51667d8a87ff8a85d0a246777f7db
/scripts/googlebooks/bindb/test_bindb_ac_encoding.py
b125fcbdfd07726d5876338e828dd6f08eb218df
[]
no_license
kkom/steganography
2da3352fd92f4cece89d2a7034a068aa292c97ba
fb0981dc8f1aa7367801043aefc422921bb46d8b
refs/heads/master
2020-12-05T00:51:25.873394
2014-06-01T23:16:22
2014-06-01T23:16:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,600
py
#!/usr/bin/env python3 from pysteg.coding.rational_ac import encode from pysteg.googlebooks import bindb from pysteg.googlebooks.ngrams_analysis import normalise_and_explode_tokens from pysteg.googlebooks.ngrams_analysis import text2token_strings # Set language model parameters n = 5 start = 322578 end = 322577 beta ...
[ "5056119+kkom@users.noreply.github.com" ]
5056119+kkom@users.noreply.github.com
355bad883e1856a58efb8f5443bb7e97796d4067
baf5d1e7b8cd8fda0d3cc6f7114c5fa3bd3bc090
/4.4.py
b1f77d6c0738c76bb9c42116b90fce573199298f
[]
no_license
joc44/PtyhonPractice
6b13d791cb3265cebdbc9f11cb2252837ff1067e
81302d40741bd5fa00fe238f5adc7e12554cdafa
refs/heads/main
2023-02-23T06:28:13.075327
2021-01-25T20:30:18
2021-01-25T20:30:18
332,872,341
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
#Írjon egy programot, ami kiír egy 12 számból álló sorozatot, aminek minden tagja vagy #egyenlő az előző taggal, vagy annak háromszorosa a = 1 b = 1 while b < 13: print(a) a = a * 3 b += 1
[ "noreply@github.com" ]
noreply@github.com
3de69451167cf6131f831c5e279f59ff0f2bb404
0b460481c25f884abdaa1d1b54e513169b19c4b0
/user/views.py
8d350274285948617d361a11234d205a3960eb68
[]
no_license
mubasharehsan/reservation_task
3540d121090c9be8564825b0cd12599bbbf6b2ac
51df08c662b969d68eb2d3c2fe8ef5da78351cf3
refs/heads/master
2022-05-06T08:42:12.725775
2020-05-19T07:48:39
2020-05-19T07:48:39
156,724,899
0
0
null
2022-04-22T21:00:41
2018-11-08T15:09:09
Python
UTF-8
Python
false
false
988
py
from rest_framework.generics import CreateAPIView, RetrieveUpdateAPIView, ListAPIView from rest_framework.permissions import IsAuthenticated, AllowAny from .permissions import StaffPermission, NotLoggedIn from .serializers import ProfileSerializer, UserRegisterSerializer from .models import Profile class ProfileView...
[ "noreply@github.com" ]
noreply@github.com
4ab479c270e0bbf4c306512a937ec81e262f746d
cb00fe13083728c540076600e41710081b7ef0ce
/site/venv/Lib/site-packages/setuptools/__init__.py
1258043a1b3d8fa9c3586104a43f761e58c9972d
[]
no_license
Wamadahama/ner-framework
069464342512bab9f429b11be735f6cb487afb74
4cb699469ec8733f74cb67f67af995e734231974
refs/heads/master
2023-03-28T14:28:42.791453
2021-03-29T22:27:33
2021-03-29T22:27:33
209,624,138
4
1
null
null
null
null
UTF-8
Python
false
false
7,272
py
"""Extensions to the 'distutils' for large or complex distributions""" import os import functools import distutils.core import distutils.filelist import re from distutils.errors import DistutilsOptionError from distutils.util import convert_path from fnmatch import fnmatchcase from ._deprecation_warning import Setupt...
[ "evanscruzen@gmail.com" ]
evanscruzen@gmail.com
1fbe0a4108c18ccc55dfbbaa1af3c6e0af91ea16
12fa96a5e304ae85fd65726fee0b58bf1b4d1567
/PlacementBuddy/Newsfeed/admin.py
3ae5fc89b086708f148243f1ef59e42e4572ee3a
[]
no_license
ramkishor-hosamane/Placement-Buddy
eb1b16c4901fc0ee3a81f9373963910bb756ca5e
4ed65cea3f13129143d64178cb5ea258e3a9ca81
refs/heads/main
2023-02-03T08:45:01.564191
2020-12-21T19:04:17
2020-12-21T19:04:17
319,855,391
0
0
null
2020-12-12T13:17:17
2020-12-09T05:47:15
HTML
UTF-8
Python
false
false
237
py
from django.contrib import admin from .models import Post,Comment,FavouritePost,Question # Register your models here. admin.site.register(Post) admin.site.register(Comment) admin.site.register(FavouritePost) admin.site.register(Question)
[ "ramhosamane@gmail.com" ]
ramhosamane@gmail.com
ee9ea4d11f545f46aa88dcf699a6500010c37f2d
c6d9e353d19e0b92da72602ce274493dbb179525
/Setup_custom.py
ca095135168082bb68b2205c98650d75d777c9fc
[ "BSL-1.0", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
davidbrownell/Common_cpp_Common
a337f0d589316f28950e93acd518d4e82b7cc14a
7346273b79628514af1c584c447003a638def15d
refs/heads/master
2022-03-01T19:31:12.571884
2022-01-03T17:56:37
2022-01-03T17:56:37
187,749,343
0
0
null
null
null
null
UTF-8
Python
false
false
7,579
py
# ---------------------------------------------------------------------- # | # | Setup_custom.py # | # | David Brownell <db@DavidBrownell.com> # | 2018-05-03 22:12:13 # | # ---------------------------------------------------------------------- # | # | Copyright David Brownell 2018-22. # | Distributed...
[ "db@DavidBrownell.com" ]
db@DavidBrownell.com
6bb17ba7ec485b1287ac16c15187bb1d7a62ed84
70fc02e04892bc099e48f75ccbe339feb1317c0c
/HistogramMatching.py
b582fa97fc89e911cc7c3b94b0823d940bc771f1
[]
no_license
yougis/geoscript
e1a329763396fbebb674eea2c08fe06d1034e17c
f42ad416703af85f203662ba31724158cd888e11
refs/heads/master
2021-06-03T05:02:10.788966
2021-04-22T23:25:28
2021-04-22T23:25:28
38,092,844
0
0
null
null
null
null
UTF-8
Python
false
false
21,235
py
# -*- coding: utf-8 -*- """ *************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as pub...
[ "hugo.roussaffa@province-sud.nc" ]
hugo.roussaffa@province-sud.nc
e91547d2eac2de1f861288acbabd52cd114d8f97
6af9456a7d28b8e0688da062232ecfbb0cfa1644
/sieve-of-eratosthenes.py
784e2cff375dc6fcf401e851f1bfff07f4bed5ad
[]
no_license
vishalgupta99/algorithms
322659bc02f28585bba6cb4f0dbf98d3d771fac2
f3f43615999408b8a8b76eed1d4d02fb660982b2
refs/heads/master
2022-03-23T14:35:16.076562
2019-12-21T04:36:12
2019-12-21T04:36:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
def generatePrime(n): prime = [1 for i in range(n+1)] prime[0] = prime[1] = 0 for i in range(2,n+1): if prime[i]==1: for j in range(2,n//i+1): prime[i*j]=0 l=[i for i in range(2,n+1) if prime[i]==1] return l
[ "noreply@github.com" ]
noreply@github.com
1c6e4bbb0fea1dd4e79f4dcbafb910d5774243f0
0c9b9084b7043f0e9d60b2dc3fb9c3f06292d5c6
/django_project/urls.py
410a5d628f204fa4778e5ea84c16529a5b7c39c3
[]
no_license
tulsivanol/Django_Blog_Full_Framework
5d349241d8feee17129b6148ad64c9b51ad3b647
8b1830e09fd3f97d5be11cae5137c00ea3b22af7
refs/heads/master
2022-12-15T05:16:07.426922
2020-02-12T03:48:20
2020-02-12T03:48:20
195,090,509
0
0
null
2022-11-22T04:38:41
2019-07-03T16:23:52
Python
UTF-8
Python
false
false
2,527
py
"""django_project 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.home, name='home') Clas...
[ "tulsivanol@gmail.com" ]
tulsivanol@gmail.com
1b52f997a4a8cab3a5632bba2673f94fcfa4afa6
1ae59950632eb42be218f475b11ec8d5421d25c3
/app/models/user.py
0197d203851fcbbd6681788ecbe04e9c784eca9c
[]
no_license
peterjuse/proyecto-ati
7006678b2411ef3d4dca4d94e33f2aec6edb8295
9db19fff562c470c3083cd1d3df1ee8759f8a687
refs/heads/master
2016-09-06T02:13:43.928970
2015-04-08T04:34:54
2015-04-08T04:34:54
33,454,533
0
0
null
null
null
null
UTF-8
Python
false
false
9,899
py
import psycopg2 import hashlib from werkzeug.security import generate_password_hash, check_password_hash import re class User: def __init__(self): self.id = None self.username = None self.password_hash = None self.email = None self.name = None self.lastname = None self.country = None self.city = None ...
[ "pedro.boll22@gmail.com" ]
pedro.boll22@gmail.com
be89e3bb2bcbb432edbcf5ef7805532ee5823d5d
30dc32fd39cf71c76fc24d53b68a8393adcac149
/OWDTestToolkit/apps/Marketplace/__main.py
a24d1a6405e92cfdd242bbf8fe55cd7389288a89
[]
no_license
carlosmartineztoral/OWD_TEST_TOOLKIT
448caefdc95bc3e54aad97df0bff7046ffb37be1
50768f79488735eba8355824f5aa3686a71d560a
refs/heads/master
2021-01-15T17:14:03.614981
2013-06-11T12:48:18
2013-06-11T12:48:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
from OWDTestToolkit.global_imports import * import installApp ,\ searchForApp ,\ selectSearchResultApp class Marketplace ( installApp.main, searchForApp.main, selectSearchResultApp.main): def __in...
[ "roy.collings@sogeti.com" ]
roy.collings@sogeti.com
fe23f1d97649e353b053a3620c8b511e663df446
b11e02c71b0076906cb67599ffef25bf4682d72a
/server/community/models.py
fc2c6c3093222bbfbfae359f5a677d4e71c9d91d
[]
no_license
kimth1113/SMB
e4a8d8ad7723c4e7752e3ba5c5bd35828d2b7443
5ebb9e458631348872a15524c15283933a7662b3
refs/heads/master
2023-08-17T04:19:45.389507
2021-10-05T17:01:26
2021-10-05T17:01:26
413,904,194
1
0
null
null
null
null
UTF-8
Python
false
false
748
py
from django.db import models from django.conf import settings # Create your models here. class Article(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) username = models.TextField() title = models.CharField(max_length=200) content = models.TextField() cre...
[ "kimth1113@gmail.com" ]
kimth1113@gmail.com
df9384d60dcde3fb318a9b646d98debfab15d79a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03578/s404612965.py
ac57b84158a4259a926ce398a0358c3c359d58d5
[]
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
740
py
# -*- coding: utf-8 -*- import sys from collections import deque, defaultdict from math import sqrt, factorial # def input(): return sys.stdin.readline()[:-1] # warning not \n # def input(): return sys.stdin.buffer.readline().strip() # warning bytes # def input(): return sys.stdin.buffer.readline().decode('utf-8') de...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
62f20dcdc8cee3063b8ddfaabbbb4f14a6f03aad
a52f4e1a3f8961fe0bcb5728848d5b9b3e9b705f
/analysis/study_definition.py
b8ce30ffbdb771aa3afa9abf1fa3b5058a7daab6
[ "MIT" ]
permissive
opensafely/SGTF-CFR-research
0caaf68906172fa67d06686fedc6d5ad5b99e508
4163e86b22b9a7056476db57ab8f88d37a1f65a7
refs/heads/master
2023-08-23T10:48:08.243296
2021-11-16T12:23:46
2021-11-16T12:23:46
335,903,520
0
0
null
null
null
null
UTF-8
Python
false
false
19,524
py
# IMPORT STATEMENTS # This imports the cohort extractor package. This can be downloaded via pip from cohortextractor import ( StudyDefinition, patients, codelist_from_csv, codelist, combine_codelists, filter_codes_by_category, ) # dictionary of MSOA codes (for dummy data) from dictionaries impo...
[ "73470020+dgrint@users.noreply.github.com" ]
73470020+dgrint@users.noreply.github.com
2bc39bcc1beee6e7c11228aeb0f44298cf6663e7
50fb142226d75ed4a9d991555b9ee266f02260e5
/include/HydrusThreading.py
bb9db952a7e15cd4f0b5f668c9b9a4383f881b68
[ "WTFPL" ]
permissive
codelizard42/hydrus
85a4ee0f90f96de01e2fcc0336d8bc57dcf418fe
4bb6c317040819c87bf6085f74620441587ef2d1
refs/heads/master
2020-04-05T22:48:40.514900
2018-12-12T22:15:46
2018-12-12T22:15:46
30,299,239
1
0
null
2015-02-04T13:09:35
2015-02-04T13:09:34
null
UTF-8
Python
false
false
17,836
py
import bisect import collections import HydrusExceptions import Queue import random import threading import time import traceback import HydrusData import HydrusGlobals as HG import os NEXT_THREAD_CLEAROUT = 0 THREADS_TO_THREAD_INFO = {} THREAD_INFO_LOCK = threading.Lock() def ClearOutDeadThreads(): with TH...
[ "hydrus.admin@gmail.com" ]
hydrus.admin@gmail.com
6d2f69de2487fa86a348999f7695b0190ce4b725
78d7d7aeb78a8cea6d0e10b89fc4aa6c46c95227
/3995.py
a3eefaf7f66a32547cbdcc5db18db51791b52a02
[]
no_license
GenryEden/kpolyakovName
97db13ef93061a8c2afc6cc5acd91337f79063f1
c5d7f631ae7ec8770e56170574b82ea2b7d8a4d9
refs/heads/master
2023-05-23T21:22:51.983756
2021-06-21T08:56:49
2021-06-21T08:56:49
350,466,773
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
def check(x): if sum([int(s) for s in oct(x)[2:]]) % 19 != 0: return False m = 1 for s in oct(x)[2:]: m *= int(s) return m % 5 == 0 cnt = 0 minimal = 0 for x in range(12345, 67890+1): if check(x): cnt += 1 if cnt == 1: minimal = x print(cnt, minimal)
[ "a926788@gmail.com" ]
a926788@gmail.com
a81de31ca3b7bff30edbf232df80154a71a6a675
ce36305a43aad1ed7df25e73d7b90a811c257f29
/dashboard/migrations/0005_major.py
c77b73080582844b38d317916cbf0c0235373e03
[]
no_license
EngHell/pm2-practica3
10f6623a73c3e284da85024f05ad6c86e7393644
2dbe08a27a56616c7f15aac9eaac2deb3a8cd489
refs/heads/master
2023-04-21T05:59:56.909702
2021-05-12T10:53:54
2021-05-12T10:53:54
364,018,556
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
# Generated by Django 3.1.7 on 2021-03-18 20:19 from django.db import migrations, models def seed_database(apps, schema_editor): Major = apps.get_model('dashboard', 'Major') Major(code='M01', name='Matematica').save() Major(code='F01', name='Fisica').save() class Migration(migrations.Migration): de...
[ "migueln6@gmail.com" ]
migueln6@gmail.com
bd6d1d5a395d1a59e39358b8164d34d56dbcb1cb
82e78f606f8c203cb77b1e3e8fd3b13158f31af8
/thenewboston/transactions/validation.py
8612d11da9a8ba93fe0d80accb79bbd627413987
[ "MIT" ]
permissive
rajat4665/thenewboston-python
1f0b8aea02fb8dbfb2eea60cd1ef07ac12fad667
df842c793fe7bfd8731fd8746abf25747c9e569e
refs/heads/master
2022-11-26T00:46:54.848608
2020-07-26T00:12:06
2020-07-26T00:12:06
283,263,021
0
0
MIT
2020-07-28T16:07:08
2020-07-28T16:07:07
null
UTF-8
Python
false
false
403
py
def validate_transaction_exists(*, amount, error, recipient, txs): """ Check for the existence of a Tx """ tx = next((tx for tx in txs if tx.get('amount') == amount and tx.get('recipient') == recipient), None) if not tx: raise error({ 'error_message': 'Tx not found', ...
[ "buckyroberts@gmail.com" ]
buckyroberts@gmail.com
4220d040287852ff2cb51884d1f88a13f9e80009
af9268e1ead8cdb491868c14a2240d9e44fb3b56
/last-minute-env/lib/python2.7/site-packages/django/contrib/admin/templatetags/admin_static.py
62b8691f9c135756c86c3975ad0fb508ab08de89
[]
no_license
frosqh/Cousinade2017
d5154c24c93ca8089eeba26b53c594e92cb6bd82
c34d5707af02402bf2bb7405eddc91297da399ff
refs/heads/master
2021-01-20T07:57:34.586476
2017-10-22T18:42:45
2017-10-22T18:42:45
90,074,802
1
0
null
null
null
null
UTF-8
Python
false
false
315
py
from django.template import Library from django.templatetags.static import static as _static register = Library() @register.simple_tag def static(path): # Backwards compatibility alias for django.templatetags.static.static(). # Deprecation should start in Django 2.0. return _static(path)
[ "frosqh@gmail.com" ]
frosqh@gmail.com
ff74e48bde7614a0015fb731371ce9c36ee3cf1f
194848d309f1b5ea1e7749d3560d99f9aa158431
/sea_ice/scripts/Ice_data_stations.py
fd462e081d21a680b99789843e60ea0c66e0fcf3
[]
no_license
siirias/nemo_analysis
967d7012a1b963e46290b7d83a7d23293f0d168c
d20181750406445a259c2c0de02f5c1eabd51d0d
refs/heads/master
2023-03-16T08:16:21.595165
2023-03-09T16:17:45
2023-03-09T16:17:45
177,143,292
0
0
null
null
null
null
UTF-8
Python
false
false
5,666
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jun 18 09:54:54 2020 @author: oikkonea """ # This script extracts sea ice data (concetration, volume) for coastal stations. # Daily data is saved in txt files for further analysis and plotting # Stations: Kemi, Oulu (Saapaskari), Kalajoki, Kylmäpihlaja ...
[ "simo.siiria@fmi.fi" ]
simo.siiria@fmi.fi
24053881224fa4eeef0ad6eded09146927976cc0
5b3d8f56f4d18dc8809f9f5aa7d2a7089cdbf489
/.c9/metadata/workspace/FrequenciesMain/PMchecksSPINT.py
3fc1d903ca16a8e76e8844d6096538a62339ba3c
[]
no_license
heyliljill/edpsych-cloned
89ba1a827ed66651b7387b25bc2c188ff344e8d1
ba02e4789e390bb6488b11608b994ee5678a4b30
refs/heads/master
2020-07-26T00:51:41.004018
2019-09-14T17:26:45
2019-09-14T17:26:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,118
py
{"filter":false,"title":"PMchecksSPINT.py","tooltip":"/FrequenciesMain/PMchecksSPINT.py","undoManager":{"mark":18,"position":18,"stack":[[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["S"],"id":2}],[{"start":{"row":2,"column":19},"end":{"row":2,"column":20},"action":"insert","lin...
[ "jillyma@gmail.com" ]
jillyma@gmail.com
558a6dcac84f11a72034f4701f4143645c0414fd
63b864deda44120067eff632bbb4969ef56dd573
/object_detection/fast rcnn/roi.py
f7f8c76fbc257a5e40c8450b8615c8b335e4a852
[]
no_license
lizhe960118/Deep-Learning
d134592c327decc1db12cbe19d9a1c85a5056086
7d2c4f3a0512ce4bd2f86c9f455da9866d16dc3b
refs/heads/master
2021-10-29T06:15:04.749917
2019-07-19T15:27:25
2019-07-19T15:27:25
152,355,392
5
2
null
2021-10-12T22:19:33
2018-10-10T03:06:44
Jupyter Notebook
UTF-8
Python
false
false
1,310
py
import numpy as np import torch import torch.nn as nn class ROIPool(nn.Module): def __init__(self, output_size): super().__init__() self.maxpool = nn.AdaptiveMaxPool2d(output_size) self.size = output_size def forward(self, images, rois, roi_idx): # images:特征图 image_batchsize * ...
[ "2957308424@qq.com" ]
2957308424@qq.com
ceedc1bc32ee20e37272738dadc016703a5e4cf7
7e66af5e484f73de3f237a17d8fa42a8af947b22
/6_2/mnist_backward.py
51c7f8cbc384c83f08f7b3a023dc5e2181e7a072
[]
no_license
yuangezhizao/Tensorflow-Study
12107c6ef8f058123d590a3a7044a6215c4ab457
1316922eec2a99cd13317d83553e0a5f279dcbee
refs/heads/master
2020-05-01T03:03:37.077435
2019-03-24T09:45:00
2019-03-24T09:45:00
177,236,402
0
0
null
null
null
null
UTF-8
Python
false
false
11,083
py
#!/usr/bin/env/ python3 # -*- coding: utf-8 -*- """ :Author: yuangezhizao :Time: 2019/3/24 0024 11:19 :Site: https://www.yuangezhizao.cn :Copyright: © 2019 yuangezhizao <root@yuangezhizao.cn> """ import os import mnist_forward import mnist_generateds # 1 import tensorflow as tf BATCH_SIZE = 200 LEARN...
[ "root@yuangezhizao.cn" ]
root@yuangezhizao.cn
a401716579994e1c9f7e98b968725c0421e3183f
2e072e0ebc25dda2548a097e3ed70ea378b7b3c5
/models/primitives.py
fec84fc69b48c939e4246953fab00b4a96e84088
[]
no_license
YuliaRubanova/mutation_prediction
5f6341b14f8968de8b43d9fdd936de20136962f2
d7e7348d21c33fa7273897ece030fe8323cc3740
refs/heads/master
2021-05-08T06:29:53.728118
2018-03-03T21:06:59
2018-03-03T21:06:59
106,626,293
1
0
null
null
null
null
UTF-8
Python
false
false
6,780
py
import tensorflow as tf import tempfile import numpy as np def deepnn(x): """deepnn builds the graph for a deep net for classifying digits. Args: x: an input tensor with the dimensions (N_examples, 784), where 784 is the number of pixels in a standard MNIST image. Returns: A tuple (y, keep_prob). y i...
[ "julia_erise@mail.ru" ]
julia_erise@mail.ru
3e5bb2da81c38b22767d8afd2e83e828dff49772
8ba33fabe2760b66256a0ae66e3983b83dc63a4d
/mr8.py
e4700d4f9bf00ff217e26effecd23fa09fea311f
[ "MIT" ]
permissive
AdilBaaj/Fisher-Vectors
a06eea868aac87af0ffd34f6bd7b2337b333b684
b948c220896e438e34d68d29f5e38fd7bb28290e
refs/heads/master
2021-05-05T00:58:34.553875
2016-08-09T11:10:06
2016-08-09T11:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,613
py
#!/usr/bin/env python ''' Utility to generate MR8 Filter Bank ''' __author='Ameya Joshi' __email = 'ameya@sigtuple.com' from skimage import filters import numpy as np import scipy as sp from matplotlib import pyplot as plt import pickle as pkl import numpy as np import matplotlib.pyplot as plt from itertools import p...
[ "ameya@sigtuple.com" ]
ameya@sigtuple.com
74ddb7055e05ca9419e736b7f3c2b526625a7f53
a03b076528ef50b95e906b32097865de607a4578
/automate3.py
b411b61930652edebec100ee181635b0a0091e53
[]
no_license
Hiroaki0422/WebScraper-db
7dc306d6adaad035993375e6457af993f5b1051e
0bd470c4c156627205bd834cd96c3008dfc1c466
refs/heads/master
2020-04-07T06:36:04.416831
2018-11-19T01:13:41
2018-11-19T01:13:41
158,142,675
0
0
null
2018-11-19T00:57:08
2018-11-19T00:57:08
null
UTF-8
Python
false
false
325
py
import sqlite3 conn = sqlite3.connect('automa_job.db') mydb = conn.cursor() mydb.execute(''' CREATE TABLE jobs (title text, company text, link text, term text)''') mydb.execute("INSERT INTO jobs VALUES ('semi-professional waffle cosplayer','Office of Carol Christ','pornhub.com','20XX-20YY')") conn.commit() conn.cl...
[ "kifa0422@gmail.com" ]
kifa0422@gmail.com
dff0eb2acf4da0a475156ff795a327f9c89bcde3
a5ada23f0c9d429cd7afa2351368e46bc23255e4
/meta_models/meta_layers/conv3d_meta_layer.py
b3542d2d43a0dafcd10873c1e253f60dafba31d8
[ "MIT" ]
permissive
AnacletoLAB/meta_models
ef6df0205f88832897e7ebdcd8057635b90024a9
9c70eb0bf080f0ec4bd24b7764f0f71d92d467d5
refs/heads/master
2023-04-11T14:01:47.678710
2021-04-27T08:25:53
2021-04-27T08:25:53
286,005,232
0
0
null
null
null
null
UTF-8
Python
false
false
5,515
py
"""Class implementing meta-model for a Conv3D Layer.""" from typing import Dict from tensorflow.keras.layers import (Activation, BatchNormalization, Conv3D, Layer) from .regularized_meta_layer import RegularizedMetaLayer from ..utils import distributions class Conv3DMetaLayer(Re...
[ "cappelletti.luca94@gmail.com" ]
cappelletti.luca94@gmail.com
b4fb01470f103a8299e89e3f93c3972b0997a026
e04d618fa665dfadadb221a6803dd3531b08145c
/bot.py
f87458a69d7639c626bdc9f4bddb1d60131bb424
[]
no_license
vivonk/assesment-submission
321d63ff01f4d41850eafdc37a715b0f72440487
038f8181573bff126102c522d670c3fdb70e8bc1
refs/heads/master
2020-04-02T01:39:20.096184
2018-10-20T20:13:41
2018-10-20T20:13:41
153,867,822
0
0
null
null
null
null
UTF-8
Python
false
false
5,883
py
import json import sys # global file syntax function_def_head = '\ndef ' bracket_without_params = '():' for_base_syntax = 'for i in range(' def input_formatter(input_text): return 'raw_input(\"' + input_text + '\")' def generate_for_loop(print_obj, list_len): for_loop = for_base_syntax for_loop += list...
[ "nirmalsarswat400@gmail.com" ]
nirmalsarswat400@gmail.com
d2f015b935dcc34b97c3b8b90fcc2535d339ab30
f80e5d24b6a3d4dff69ea92f067b67b18ee09540
/project/core/tags/models.py
46df645d98f3c44eb7bc88f292aad4b5b6d2e16e
[]
no_license
ZAS-Store/school
94b2898d5d9454aa52f7a679cb5b213511a66593
61809f90161f084f6a520d1fa41c3dd562980f83
refs/heads/master
2021-08-07T17:04:56.721457
2017-11-08T15:45:17
2017-11-08T15:45:17
109,995,242
1
0
null
2017-11-08T15:41:27
2017-11-08T15:41:27
null
UTF-8
Python
false
false
265
py
from django.db import models from core.models import BaseModel from django.utils.translation import ugettext_lazy as _ class Tag (BaseModel): title = models.CharField(max_length=40, verbose_name=_('title')) def __unicode__(self): return self.title
[ "relekang@gmail.com" ]
relekang@gmail.com
7acf321b627548740ec489d42fa54289135a8065
e660317c6e46912ac0b6c2362ca97aaf418ce2e7
/once_on_a_time/ooat/serializers.py
f8f0938d5ea6c126d3ce2c79a80bd67dc9f9a95b
[]
no_license
onceonatime/backend
3a35d1171f0e1765d430598e60eed3e53f8473d3
ad5cbfe4b4d85e5f5781946cc5aeb3b205120bf3
refs/heads/master
2022-04-30T04:31:27.959090
2019-07-12T05:01:23
2019-07-12T05:01:23
195,342,803
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
from rest_framework import serializers from .models import Datas class DatasSerializer(serializers.ModelSerializer): class Meta: model=Datas fields = ('ccbaKdcd','ccbaAsno','ccbaCtcd','ccbaPcd1','ccbaMnm1','ccbaMnm2','ccmaName','ccbaCtcdNm','ccsiName','longitude','latitude','content')
[ "giyeon0312@gmail.com" ]
giyeon0312@gmail.com
19a21ee52daecddd0c86aa200f154fb3a8ffcb6b
68a1b4a74beec2876da6b0375221f85f0bb47ba6
/Training/Nested While - Menu.py
9556bce6a59a281aaa294982e16c432815406e70
[]
no_license
rsthecoder/Python
c8f42d4fe1df524eb1c0454639532e15e8b1c4ca
4e69a2eafa10288eba8a7869d3563d7ba8b358c9
refs/heads/main
2021-06-28T08:24:36.665301
2021-03-21T17:35:46
2021-03-21T17:35:46
226,655,714
0
0
null
null
null
null
UTF-8
Python
false
false
2,512
py
""" first = True second = False while first == True: print('this is the first level') level = input('choose level:\t') if level == "second": print('going down to second level') first = False second = True while second == True: print('this is second level') level = input('choose level:...
[ "ramazansakrs@gmail.com" ]
ramazansakrs@gmail.com
69c5f69164eed21cf0ed953345f5fed4d702daf5
1633258aff76252b660534eae6d70a9e95a468ec
/cost_management/urls.py
4443c8d4c8e5ca1952519e7048671ed5a7cfe38d
[]
no_license
kxplorer/banglai-django
7077117f66128cb2bbaa8d50c1a28c076b303987
0d764f744ef165b078e856eb9374dba93cb614e8
refs/heads/master
2021-09-24T20:27:14.726832
2018-09-16T08:50:42
2018-09-16T08:50:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
from django.urls import path from . import views urlpatterns = [ path('list/', views.my_expense, name='cost-list'), path('add/', views.add_expense, name='add-expense'), path('edit/<int:expense_id>/', views.edit_expense, name='edit-expense'), path('delete/<int:expense_id>/', views.delete_expense, name='...
[ "harun1393@gmail.com" ]
harun1393@gmail.com
283e56d68b23561dbee0a7d3cdbf52dab4597543
aebb9e6f6de07d6dbfd51c271aad8f783afbf698
/gpuPriceCheckerDjango/settings.py
397cf32e1369eb608a2b12993fed91d4d74bb33f
[]
no_license
honzikv/gpuPriceCheckerDjango
c435869cf0f643fe3f08667917567695787d2753
93f3385b51e2044a0d19de81c9985212a3416f9c
refs/heads/master
2023-07-25T18:24:34.184445
2021-09-07T20:03:15
2021-09-07T20:03:15
404,087,181
0
0
null
null
null
null
UTF-8
Python
false
false
3,315
py
""" Django settings for gpuPriceCheckerDjango 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/ """...
[ "honzikv@students.zcu.cz" ]
honzikv@students.zcu.cz
ee8c7d6f381dd505987844fcbbda21733eff0e8a
3788b8015de66deeadce4080fdd151bde2bcd974
/backend/articles/models.py
812e41764697a32f14595c79df6bf9265bcf8cd4
[]
no_license
qsoo/GNM
d050d9c50fd03027006c7b8ff2e4d654cd899a46
754b5bb3f4eb56de01739080163462cc825f2221
refs/heads/master
2023-05-26T12:42:43.355249
2021-06-17T02:32:44
2021-06-17T02:32:44
357,010,293
4
0
null
null
null
null
UTF-8
Python
false
false
445
py
from django.db import models # Create your models here. class Guestbook(models.Model): user_nickname = models.CharField(max_length=15) guestbook_comment = models.CharField(max_length=144) guestbook_password = models.CharField(max_length=20) guestbook_image = models.CharField(max_length=500 ,null=True, ...
[ "dryans@naver.com" ]
dryans@naver.com
6e820f78ab2c3d468a74928b2b66659a395bac47
cbe5195efc63d62220bcb95211ce802d988ff0ee
/test_protoDyn.py
f9ff44bbb74b1fd7e4dab96ad0dcbf6807f273aa
[]
no_license
wgilpin/shout
6d68d357fc96efa38653c08b350a17c85a449cd3
1146587305fa4113142eb87f3401b22d8ec18c7a
refs/heads/master
2020-03-22T03:53:15.921141
2018-07-02T15:10:02
2018-07-02T15:10:02
139,458,182
0
0
null
null
null
null
UTF-8
Python
false
false
2,065
py
from unittest import TestCase from protoDyn import protoDyn __author__ = 'Will' testProto = [ {"name": "field1", "required": True, "no": 1}, {"name": "field2", "required": False, "no": 2}, {"name": "field3", "no": 3}, ] class TestProtoDyn(TestCase): def test_validate_all_pre...
[ "wgilpin@gmail.com" ]
wgilpin@gmail.com
cb0abb7803753d6eb75cdac081833a6020167949
821f403a3afc9055d40893eca033c369a4c3831e
/Easy/No206.py
c2200da24597a13f4e107a7fd6caac6856ee93e2
[]
no_license
kikihiter/LeetCode2
29f91b6992a01ba23e7da04b2b2c862410cc563b
7167f1a7c6cb16cca63675c80037682752ee2a7d
refs/heads/master
2023-05-01T03:45:44.482932
2021-05-19T13:12:16
2021-05-19T13:12:16
277,283,525
4
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def reverseList(self, head): """ :type head: ListNode :rtype: ListNode """ temp = None # 空,用来存储上一...
[ "noreply@github.com" ]
noreply@github.com
6c1124e32f0b834747f296c146061b0728d51d69
408a9f48c8914c7932dcd9aac8dd0fdaca555474
/Web App/cgi-bin/predict.py
168b887433047c9eb66b0360fa369da55e13560b
[]
no_license
redyjq/Significant-Preprocessing-Method-In-EEG-Based-Emotion-Classification
1ec99e50fdfd00d316309f7d3159ff7d4da377ea
bbbc094a84395071cf52c461e4d04c33bf2676c5
refs/heads/master
2020-05-07T18:30:46.826749
2016-02-17T14:14:00
2016-02-17T14:14:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
86,006
py
#!/usr/bin/env python # Import modules for CGI handling import cgi, cgitb import matlab.engine print "Content-type: text/html\n" # Create instance of FieldStorage form = cgi.FieldStorage() # Get data from fields file_input = form.getvalue('file_input') preprocessing_method = form.getvalue('preprocessing_method')...
[ "nadzeri.munawar94@gmail.com" ]
nadzeri.munawar94@gmail.com
38d0615979c2b6f9212e065f17ac55ac9e8a8d52
37b00ed96501afdac30c67a5d5535b9e18825ff0
/posts/tests/test_views.py
2fd774d538641a438d8549667fcba761aac7f4f1
[]
no_license
Iki-oops/hw05_final
b7b117c8ca8fcb3b39a2a8b54d40b2cc0ee9fe79
9962f5b380ba43de21d86d4d46048643882ad875
refs/heads/master
2023-03-26T13:22:24.052420
2021-04-02T18:21:11
2021-04-02T18:21:11
347,539,772
0
0
null
null
null
null
UTF-8
Python
false
false
8,335
py
import shutil import tempfile from django.conf import settings from django.core.files.uploadedfile import SimpleUploadedFile from django.test import TestCase, Client from django.urls import reverse from django.contrib.auth import get_user_model from django import forms from django.urls import reverse from posts.model...
[ "bambagaevdmitrij@gmail.com" ]
bambagaevdmitrij@gmail.com
7663da85496ea77c6a7e9bcf0370b46364ca7856
936f5d7ba1e1282af705c746fb814973fe11102f
/ksconf/commands/filter.py
a415c1e40b37d211d66c0ff75b5d0b0ef8e290f4
[ "Apache-2.0" ]
permissive
Splunk-App-and-TA-development/ksconf
53199617ef92440ef8bcde4f9b9a12db7e0e9221
6a7e1a56f59ced76b9c95f48359bc7a6052183ed
refs/heads/master
2023-01-10T12:31:40.993763
2020-11-04T14:53:46
2020-11-04T14:53:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,841
py
""" SUBCOMMAND: ksconf filter <CONF> Usage example: ksconf filter default/savedsearches.conf --stanza "My Special Search" -o my-special-search.conf Future things to support: * SED-like rewriting for stanza name or key values. * Mini eval/query language for simple data manipulations supporting mixed used of m...
[ "lowell@kintyre.co" ]
lowell@kintyre.co
738caa12cbe1616e2d305dc41021a1cf74c290ad
6d50ee04db4c75ebd5f0ca59780c6b093f6d2860
/leetCode-remove-duplicate-letters.py
b0022b3ca04d71f2c32d1bc353b2b1fe517fa829
[]
no_license
toontong/leetCode
bcdb42aa5a4c4dd54c2dfa5e6ea175add52f9ab9
28a69fff382c580a2f062c1e2c2577eed20d785c
refs/heads/master
2021-01-10T01:55:49.340774
2016-01-18T07:59:12
2016-01-18T07:59:12
49,860,291
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
class Solution(object): def removeDuplicateLetters(self, s): """ :type s: str :rtype: str """ r = [] m = {} for i in range(len(s)): c= s[i] for j in range(i+1, len(s)): if c == s[j]: if r and c in m...
[ "chuantong.huang@gmail.com" ]
chuantong.huang@gmail.com
100dc312e0f57dc4f71b1e521b5415281621a075
8efb83504f25c45dcdd23ac1649a42501fddd5e6
/heat_map_processing/district_mapping.py
1fae08e43404527d06a42bf64340f97f752e9df2
[ "MIT" ]
permissive
ameliadogan/Philly-Police-Data
a5041dfdbeb7eac1d8666d69c1f65b13a6be0aee
24608c39651830928b1f0019c4afad82c2cc8884
refs/heads/master
2021-04-18T05:14:18.266769
2020-09-17T16:48:15
2020-09-17T16:48:15
249,507,786
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np import re, datetime import matplotlib.pyplot as plt csv1= 'policedata/ppd_complaints.csv' csv2 = 'policedata/ppd_complainant_demographics.csv' csv3 = 'policedata/ppd_complaint_disciplines.csv' csv4 = 'policedata/Boundaries_District.csv' ##prepa...
[ "ameliadogan@gmail.com" ]
ameliadogan@gmail.com
ed531ac39f4e836f0ef9223d8913f55327376982
8c825730f6fd253e58902b150a9800de8f766943
/capture/noworkflow/now/cmd/cmd_history.py
2e5d8da0a5ca9eab5b4e964956f6cef37e97c90f
[ "MIT" ]
permissive
rmparanhos/noworkflow
aeb92695c34e65edf9cc4d4dc31d80467b085773
8f703a14503345568e91957659b43654036f8154
refs/heads/master
2020-05-17T12:39:04.231204
2019-06-21T03:42:49
2019-06-21T03:42:49
183,716,529
0
0
null
2019-04-27T01:58:31
2019-04-27T01:58:31
null
UTF-8
Python
false
false
1,849
py
# Copyright (c) 2016 Universidade Federal Fluminense (UFF) # Copyright (c) 2016 Polytechnic Institute of New York University. # This file is part of noWorkflow. # Please, consult the license terms in the LICENSE file. """'now history' command""" from __future__ import (absolute_import, print_function, ...
[ "joaofelipenp@gmail.com" ]
joaofelipenp@gmail.com
04747c7c8266e99f1a85acf17f1ae88fef5da79d
03d68f032ab0e8cf269413d0309fc6d36281504f
/src/l2hmc/utils/tensorflow/history.py
d66fe35509b67f88da6d0b9dd0b405dac0889a21
[ "Apache-2.0" ]
permissive
saforem2/l2hmc-qcd
560026cd4d63f786247170a2b8641a7402b7e81e
46ada488bc5c8b0a31be0bf23ea11b95b3b06767
refs/heads/main
2023-09-06T03:20:19.577196
2023-08-23T19:26:58
2023-08-23T19:26:58
176,870,361
57
8
Apache-2.0
2023-08-23T18:56:02
2019-03-21T04:32:54
Jupyter Notebook
UTF-8
Python
false
false
1,812
py
""" tensorflow/history.py Implements tfHistory, containing minor modifications from base History class. """ from __future__ import absolute_import, print_function, division, annotations from typing import Any import tensorflow as tf import numpy as np from l2hmc.utils.history import BaseHistory class History(BaseH...
[ "saforem2@gmail.com" ]
saforem2@gmail.com
7dd5572eb2f7345c5c19117511b278a267f52dbb
0cf7dd2c3c0b28b52f1273e8fe2ea0a87cacc6af
/calc_area_circum.py
2bd6a681d10b6c96d0890ec76ce91d3e8c64ef23
[]
no_license
EngrDevDom/Everyday-Coding-in-Python
61b0e4fcbc6c7f399587deab2fa55763c9d519b5
93329ad485a25e7c6afa81d7229147044344736c
refs/heads/master
2023-02-25T05:04:50.051111
2021-01-30T02:43:40
2021-01-30T02:43:40
274,971,215
1
0
null
null
null
null
UTF-8
Python
false
false
95
py
R = 7 PI = 3.141592654 print("The area is", R**2 * PI) print("The circumference is", 2*R*PI)
[ "60880034+EngrDevDom@users.noreply.github.com" ]
60880034+EngrDevDom@users.noreply.github.com
2978fb1c34d97eec4de27f3fc9df73995099d1c1
b3ac70325aaa45150f3a8c772087555fcf5751fb
/Codecademy/writing_CSV_files.py
692d98a5b34514a98231a36227286062af552a1c
[]
no_license
ShaunMadziva/Codecademy
c4b6ef3b8ffae5ed1c42fb9aad134590cb3969d9
852d99d417eb21991ebf25b3df8bd79b323920c6
refs/heads/main
2023-05-30T13:56:48.584103
2021-06-24T17:59:24
2021-06-24T17:59:24
380,010,007
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
access_log = [ {'time': '08:39:37', 'limit': 844404, 'address': '1.227.124.181'}, {'time': '13:13:35', 'limit': 543871, 'address': '198.51.139.193'}, {'time': '19:40:45', 'limit': 3021, 'address': '172.1.254.208'}, {'time': '18:57:16', 'limit': 67031769, 'address': '172.58.247.219'}, {'time': '21:17:13', 'limit': 90...
[ "noreply@github.com" ]
noreply@github.com
654671700188a0cf97b551f4f3716dcebb0ade85
48832d27da16256ee62c364add45f21b968ee669
/res/scripts/client/gui/wgnc/events.py
7291b9a2e8cb59d82254603badc1df9740d57f17
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
957
py
# 2016.08.04 19:53:34 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/wgnc/events.py import Event class _WGNCEvents(object): __slots__ = ('__eManager', 'onItemShowByDefault', 'onItemShowByAction', 'onItemUpdatedByAction', 'onProxyDataItemShowByDefault') def __init__(self): super(_W...
[ "info@webium.sk" ]
info@webium.sk
0aeb6218a917a30db42b3a1d8ecf90be05825eea
288c9f231021c529d9eb8da6ae55aed779a68fe1
/manage.py
1e73e2222a941404e1ccc2eb0c45a15b50ea1c7c
[]
no_license
eddir/DiscreteMath
7571b1d5314c1d121bb0c79e6324ac88e84aaff4
db8b80f93a77a37fa6b84b40793337cae8dd3c67
refs/heads/main
2023-02-02T14:38:43.815430
2020-12-14T06:49:14
2020-12-14T06:49:14
313,072,471
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'DiscreteMath.settings') try: from django.core.management import execute_from_command_line except...
[ "eddirworkmail@gmail.com" ]
eddirworkmail@gmail.com
74aeddee7276ced1388155ecfd993003fe1085f4
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/NhPYFqfQcFXWvdH8t_5.py
f7d2eb52db8c7a1424e591f89c82b393d52cea0d
[]
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,614
py
""" A positive integer multiplied times its inverse is always equal to 1: `17*(1/17)==1`. Modular arithmetic has a similar inverse function, although, for modulus `m`, we are confined to integers from 0 to m-1. The modular multiplicative inverse of 3 modulus 5 is equal to 2 because `(3*2)%5==1`. Another example: the...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ee8b3323e5379d9b8638bc70813f9fd8634ea62e
362b8828ad4a79fe899d2b66ce2f5c516f338f20
/python-solutions/classRoomHandsOn-Day02/04.py
990c7a80933e273358446767c5c97609f64692d5
[]
no_license
Snehagovindharajan/GraduateTrainingProgram2019
770e888c2615de438bab5899cf2b4331582b4803
019a8fdbd5d372b6914be9f5f6427cfc034c761f
refs/heads/master
2020-07-07T00:58:02.652838
2019-12-27T11:06:20
2019-12-27T11:06:20
203,193,092
0
1
null
2019-08-19T14:49:51
2019-08-19T14:49:51
null
UTF-8
Python
false
false
429
py
# Write a program which accepts a sequence of comma-separated numbers from console and generate a list and a tuple # which contains every number. Suppose the following input is supplied to the program: 34,67,55,33,12,98 Then, # the output should be: ['34', '67', '55', '33', '12', '98'] ('34', '67', '55', '33', '12', '9...
[ "snehag2205@gmail.com" ]
snehag2205@gmail.com
ef89ebbee0f0db544ff5bf1b817aff77405ecae0
7d274ce8dae971228a23157a409b561020c22f66
/tools/packages/SCons/Tool/sunc++.py
00fb8c85284d59226fd62f3cfb8e577783661690
[]
no_license
Eigenlabs/EigenD-Contrib
a212884d4fdf9ae0e1aeb73f6311606212e02f94
586fe17471571802295c792697f255e6cab51b17
refs/heads/master
2020-05-17T07:54:48.668925
2013-02-05T10:20:56
2013-02-05T10:20:56
3,239,072
3
2
null
null
null
null
UTF-8
Python
false
false
4,744
py
"""SCons.Tool.sunc++ Tool-specific initialization for C++ on SunOS / Solaris. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method. """ # # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The SCons ...
[ "jim@eigenlabs.com" ]
jim@eigenlabs.com
b6f5269544504643167d88068a179f4d257d958c
0b81ac4f400a0880ca8fa48886c6928822cd42f4
/Code/1- Getting Started/Start/storefront2/storefront/settings.py
520a04eb9189e33510eb3b73609781dbe96b8278
[]
no_license
ojaoc/Django-MoshHamedani-Part2
850828d6cc6cee2a50f2f84e9c36fcc2c066dc64
0c63833de4e7fa66eeb51964df716dca5d8d470d
refs/heads/master
2023-07-31T10:21:37.827555
2021-10-03T13:12:44
2021-10-03T13:12:44
409,772,085
0
0
null
null
null
null
UTF-8
Python
false
false
3,622
py
""" Django settings for storefront project. Generated by 'django-admin startproject' using Django 3.2.3. 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 path...
[ "correia.jafonso@gmail.com" ]
correia.jafonso@gmail.com
dbd8e45621f1bb91a4e6dec314813333eca56509
30e2fd75141ef6b200b9b7d038fa154af183df3d
/paparajotes_y_bellotas/conftest.py
7a3969f7c42ca02cf06c4fae9ea69dd8fb5a81bc
[ "MIT" ]
permissive
palvarez89/paparajotesybellotas
7ee6c2f881ada3b69b40cb9ee6418b9f0cf16aab
0600b4bc5cd9962d1ce6425ceb0db173f7d32b71
refs/heads/master
2022-05-01T07:13:29.513604
2019-09-10T15:50:59
2019-09-10T15:50:59
159,998,294
0
0
MIT
2022-04-22T21:25:24
2018-12-01T23:59:24
CSS
UTF-8
Python
false
false
436
py
import pytest from django.conf import settings from django.test import RequestFactory from paparajotes_y_bellotas.users.tests.factories import UserFactory @pytest.fixture(autouse=True) def media_storage(settings, tmpdir): settings.MEDIA_ROOT = tmpdir.strpath @pytest.fixture def user() -> settings.AUTH_USER_MOD...
[ "palvarez89@gmail.com" ]
palvarez89@gmail.com
c417369002aaab9703e24ab5f01270d20b30868a
5090ee217ce19d912ff91715ed1d01dfd3511f02
/actions/vmwarelib/tagging.py
a4061b7eeba904a36fdde9803d647d6e0f32ce6d
[ "Apache-2.0" ]
permissive
jschoewe/stackstorm-vsphere
a12e7a7f570504ff65da47763e6032174b9de538
db822e9c3b05d939053dafaeed2f0bf81384abd0
refs/heads/master
2020-04-28T12:57:00.884520
2020-03-10T15:06:00
2020-03-10T15:06:00
175,292,523
0
0
Apache-2.0
2020-03-10T15:06:01
2019-03-12T20:37:20
Python
UTF-8
Python
false
false
9,142
py
# Licensed to the StackStorm, Inc ('StackStorm') 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 use th...
[ "john.schoewe@encore.tech" ]
john.schoewe@encore.tech
29e3a9b62615e575e92f4df9dfc8008797700006
23c3b980df2cb37928ddf430ed62c1b4de7d4a9a
/ParseJsonOld.py
6258be6d11875a09222d6de57e659c9c99075e55
[]
no_license
DeviceObject/PythonCode
6a95eb59fc33b218d5f930780eb73df7f06760e6
24191bc099c28333f976cbbc06b255e156e7da78
refs/heads/master
2022-10-17T22:03:26.913913
2022-10-12T02:46:01
2022-10-12T02:46:01
92,244,336
3
2
null
null
null
null
UTF-8
Python
false
false
4,708
py
import os import json import urllib import xlrd import xlwt import time from xlutils.copy import copy def write_excel(excel_file, write_data): if not os.path.exists(excel_file): line_title = ["RuleId", "CVE Number", "CWE", "BID", "Descript"] new_file = xlwt.Workbook(encoding='utf-8') new_sh...
[ "deviceobject@gmail.com" ]
deviceobject@gmail.com
3b4f8d5f9825913e31189eddb81b7034aebe454f
46669c775591b38f71382f690cb93a4879366595
/src/020_create_xml.py
2cdeed0319fdbdfe0862a1c99e4fb20e25ad7850
[ "CC-BY-4.0" ]
permissive
kouigenjimonogatari/kouigenjimonogatari.github.io
e234abe0e4145bbe879756f6af19a546c01a2ff4
c0ec798d550bda5670d8af15c4028ff925e6495d
refs/heads/master
2022-10-12T19:52:05.229525
2022-10-04T09:34:51
2022-10-04T09:34:51
223,747,725
0
0
null
null
null
null
UTF-8
Python
false
false
5,077
py
import sys import urllib import json import argparse import urllib.request import unicodedata import collections import os import xml.etree.ElementTree as ET import csv import glob import urllib.parse def get_mdata(manifest): print(manifest) res = urllib.request.urlopen(manifest) # json_loads() でPythonオブジェ...
[ "na.kamura.1263@gmail.com" ]
na.kamura.1263@gmail.com
1345771bc1b47bd1670f09a40a36343b34214e39
f3110c8d0d1a232a0511ec559695882c1eb8594e
/DJANGO/quiz/views.py
884b75847a4fa12c352577e3ce03ff8523cc36d7
[]
no_license
SeungWookHan/Flutter-DRF
feb1394d52961824eac2a6e88c667a0e03375c47
c793ccdacee1a4053a33471c226ff2ce8c5797dc
refs/heads/master
2023-02-04T23:15:45.945139
2020-12-29T15:50:02
2020-12-29T15:50:02
324,955,539
3
0
null
null
null
null
UTF-8
Python
false
false
570
py
from rest_framework.response import Response from rest_framework.decorators import api_view from .models import Quiz from .serializers import QuizSerializer import random # Create your views here. @api_view(['GET']) def helloAPI(request): return Response("hello world!") @api_view(['GET']) def randomQuiz(request, ...
[ "hswook12@me.com" ]
hswook12@me.com
fd3c07e0d681e20aeacc974d84e95c92b8462904
a08ea65c1ef699171e11c10da75f8291cb0c743c
/JSON work 28/app.py
902f284a1f33ee91f4953513b256f50f2d70a30d
[]
no_license
hussainMansoor876/Numpy-And-Falsk-Exercise
476551257d940965eadbea27f5c61d978475ed1f
1930dee5ac07dc9a18c30c45e196060cf73095d0
refs/heads/master
2020-03-28T19:23:50.718360
2018-09-16T07:17:39
2018-09-16T07:17:39
148,971,926
2
0
null
null
null
null
UTF-8
Python
false
false
236
py
from flask import Flask, jsonify app=Flask(__name__) @app.route("/") def index(): stud=[{'name':'mansoor','age':19}, {'name':'Qasim','age':23}] return jsonify({'stud':stud}) app.run(host='0.0.0.0' , port='3000' debug=True)
[ "“hussainmansoor876@gmail.com”" ]
“hussainmansoor876@gmail.com”
ba1076a3246d6802d9ea52c4729fe3b0503f4722
60448d1467b5a2531bab91e8bc721294a397e754
/nmrpyschedule/generator.py
6ae0f758186b260b88d0c9eb2eb10be36e7e9cae
[]
no_license
mattfenwick/NMRPySchedule
8c7fda460b32f09138f08f15d302df4096075fb9
22e3399e9964137cb3e382b5805d457bb82e751f
refs/heads/master
2021-01-18T16:32:23.013635
2013-06-11T15:36:29
2013-06-11T15:36:29
10,610,035
0
1
null
null
null
null
UTF-8
Python
false
false
2,688
py
''' @author: matt ''' import itertools import math def uniform(ranges): ''' Generate a table of n-dimensional points containing all grid points within the given ranges. Includes both boundaries. ''' theNums = [range(low, high + 1) for (low, high) in ranges] return itertools.product(*theNums) ...
[ "mfenwick100@gmail.com" ]
mfenwick100@gmail.com
66c71b03c28c724553f740d6e72d6d54448e2888
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-bcs/huaweicloudsdkbcs/v2/model/show_blockchain_detail_request.py
0799bf411b855abd953b527d517b0231e35885cf
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,836
py
# coding: utf-8 import re import six class ShowBlockchainDetailRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is js...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
6fc0fccb0a32e68f70a12fb6df50a35d82b0050b
3db76c7e67c3112f893c6226d424d4206744b1be
/jogoForca.py
b694eef9bd4014227866162d1edf6afcda73039e
[]
no_license
igorsantos314/Hangman-Game
699f6d4209ffffc7152c0b15b5809ca531bb38fb
4ddfb9895b4b062905a471bbba396991f00dce2d
refs/heads/master
2022-12-18T04:23:57.226503
2020-09-22T10:53:14
2020-09-22T10:53:14
294,830,158
0
0
null
null
null
null
UTF-8
Python
false
false
13,583
py
from tkinter import * from tkinter import messagebox from hangman import * from random import choice from time import sleep import winsound, _thread as th class game: def __init__(self): self.colorTheme = 'White' self.titleColor = 'DarkGreen' self.banner = 'SeaGreen' self.fontCour...
[ "55886200+igorsantos314@users.noreply.github.com" ]
55886200+igorsantos314@users.noreply.github.com
8c7a067fdb895eab44d1aa3b5283a5653c4fd265
50c55625354580101a8dae8504e8dc887a694ed7
/editor/Welder/Editor/core/script_editor/panels/script_editor_panel.py
f636982c96f8f729949b58610001140958a7d816
[]
no_license
johndpope/arcreator
def50d06e9634abda2ff968d2e165d882cd26bf9
db81dd3ec415619ea8f5e9c74ee852d171a36e93
refs/heads/master
2020-03-21T23:40:53.489419
2015-08-30T00:40:17
2015-08-30T00:40:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,042
py
import wx from wx import stc import os import re import welder_kernel as kernel from PyitectConsumes import ScriptEditorManager as SM from PyitectConsumes import PanelBase, ScriptEditor_Panel_Template, ScriptSettings_Dialog # ------------------------------------------------------------------------- # ScriptEditor_P...
[ "ryexander@gmail.com" ]
ryexander@gmail.com
f819671abf5f9bd7beeb31f17f6f1cadd1e481c9
13a89d514738db263aab7952fbc4d827e84cdc63
/tornado_server.py
5e47ee975b0fcfa45cb3c81c0252210714806197
[]
no_license
kejukeji/pub_py
f94f8acdf7703f1f5a1d4a95d3da8c7475759829
619690547f1c8ba1a326c22c070577093512ec87
refs/heads/master
2020-04-06T06:59:47.149855
2014-01-21T11:19:04
2014-01-21T11:19:10
13,577,587
0
1
null
null
null
null
UTF-8
Python
false
false
293
py
# coding: utf-8 from pub_app import app from tornado.wsgi import WSGIContainer from tornado.httpserver import HTTPServer from tornado.ioloop import IOLoop http_server = HTTPServer(WSGIContainer(app)) http_server.listen(7071) # flask默认的端口,可任意修改 IOLoop.instance().start()
[ "exthen@gmail.com" ]
exthen@gmail.com
432833db9cf0ca962085ecf6c3b5689183f149a1
031aa63c4d807d828a916ad09d60dc4bd855e201
/Cod sursa/Cod_Raspberry_Pi/www/arduino/led_motor3_off.py
51c1ad6611bb467cd18c67d5367ab3573e8284c8
[]
no_license
alexantighin/Smart-Vending-Machine
5fbc5661d83830aab16fa035e6634235032ad1cf
8b4fc0905c19b4fc1ded5a7fa0abbc7d7757406e
refs/heads/main
2023-02-18T17:49:22.256507
2021-01-21T23:03:40
2021-01-21T23:03:40
331,774,251
1
0
null
null
null
null
UTF-8
Python
false
false
142
py
#!/user/bin/env python import serial port= "/dev/ttyUSB0" Arduino_UNO = serial.Serial(port,baudrate=9600) Arduino_UNO.write('led_motor3_off')
[ "noreply@github.com" ]
noreply@github.com
8667dc804bc863ecbd252923a7c0a0bb5bd6e785
c4f13f49c55084cf0680f48529d73ed8b4cc4dd3
/metrics/__init__.py
cc2dd4cb5277f118c9d6b840fdafdafa120e4f61
[]
no_license
shilad/cartograph-server
69629f87fad1161c3cae852c86bed22ed451cb91
a59e580768760453d62833c71f1178de98dbbbba
refs/heads/master
2021-05-18T17:41:15.031374
2020-08-03T19:03:14
2020-08-03T19:03:14
251,341,602
1
0
null
2020-07-15T05:20:55
2020-03-30T15:08:12
HTML
UTF-8
Python
false
false
545
py
from metrics.DivergingMetric import DivergingMetric from metrics.SequentialMetric import SequentialMetric from metrics.QualitativeMetric import QualitativeMetric def getMetric(js): args = dict(js) del args['type'] del args['path'] mType = js['type'] if mType == 'sequential': return Sequen...
[ "ypang@macalester.edu" ]
ypang@macalester.edu
6c9f457dd03976df5e0f09804e8679cfce387513
be0069d3acb9c151eec77e1d127645a3b193cdae
/try-except1.py
664f6b7dd0bbfab9c70c3892199625612f403528
[]
no_license
muhidham17/Penanganan-Eksepsi
d60d4930a030a5d9b3069952acd07a9446d48158
477def9f6d691e08bde6c7f3526b0a0ab0089f1d
refs/heads/master
2020-08-07T19:37:44.417555
2019-10-08T07:49:00
2019-10-08T07:49:00
213,567,006
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
import sys def main(): print ("Program Pembagian Bilangan") a = float (input("Masukkan a: ")) b = float (input("Masukkan b: ")) try: hasil = a / b except ZeroDivisionError: print ("\nError: Nilai b tidak boleh nol") sys.exit(1) print ("\na : ", a) print ("b : ", b) print ("a / b =...
[ "noreply@github.com" ]
noreply@github.com
2f7c9d26fcc2bf586f983f5a458750c3f69184e8
5cf1b1e9cefde910acb8309fc7c9abf04eff5bc0
/view/welcome_page2.py
e543a8cbe619cbbf789f40c28d6f70e846f6b4be
[]
no_license
adika3121/Network-Learning-Application-with-Packet-Sniffer
64f4bd151b222608b0db3fc156fd3b93692bca8f
2dd89b365d3c03aed1c80bc78bc788a7ed352130
refs/heads/master
2022-11-27T05:51:57.879444
2020-07-29T14:03:55
2020-07-29T14:03:55
283,414,045
0
0
null
null
null
null
UTF-8
Python
false
false
7,044
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'welcome_page2.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! import self from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QPushButton, QGraphicsDropShadowEffe...
[ "adikadarmesta8@gmail.com" ]
adikadarmesta8@gmail.com
3f9379943d8445f0a65b38ee633c6c1d526a46e9
c5c6e54a9f3139f1df2e5896fc0c8b1c05a0b0e3
/category/models.py
f7caa045cfd4cbf23636a3d22553d8ec5ddccdbf
[]
no_license
npwaters/item-catalog-web-application
03ba146712b26bfe248b036eaa67eaaf5c4bd072
d358bd1f59b31f706bab61289ddc38927862256f
refs/heads/master
2022-12-10T00:39:44.873106
2019-12-09T05:51:06
2019-12-09T05:51:06
222,643,120
1
0
null
2022-12-08T06:54:27
2019-11-19T08:12:06
Python
UTF-8
Python
false
false
537
py
from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.orm import relationship from app import Base from user.models import User class Category(Base): __tablename__ = "category" id = Column(Integer, primary_key=True) name = Column(String(80), nullable=False) user_id = Column(Intege...
[ "40352015+npwaters@users.noreply.github.com" ]
40352015+npwaters@users.noreply.github.com
3ec60458eceee57fc72037f687c461ce3fa0b78e
7de6ddf76a60519dacde732a546c24dff536f51a
/Linkedin_crawler/profile_html_handler.py
4360708ee8788d3a5380cb311a755344baf21f0a
[]
no_license
J-Pascual-Rocamora/Linkedin_crawler
08c1923099ee32d1ad6ee3728a01050568b33457
58b0ab23953bb66b0a5878db669a53dfef571d2d
refs/heads/master
2021-05-10T08:25:06.356575
2018-01-25T17:17:37
2018-01-25T17:17:37
118,890,046
0
0
null
null
null
null
UTF-8
Python
false
false
65,917
py
# -*- coding: UTF-8 -*- import os import re from bs4 import BeautifulSoup def get_top_card(web_html): '''Recieves a LinkedIn profile html and returns a list with the information on the header, just below the name title. Parameters ---------- web_html Html code of a LinkedIn profile. Returns ------- ...
[ "javierpascualr@gmail.com" ]
javierpascualr@gmail.com
16d0afee5579f5327094a63c8498acf5c907d634
ddcd523c50aabf23cea5f409036499b5fa4859df
/book/models.py
2445ad754ce9c3aca7a3e30754f7d731fcb4eae5
[]
no_license
nadyrbek97/kitep_back
6edb7ea7255bb697777535bff0b9474821c2361b
8691a75538711bdd8070a6f3351cd4a17ec70f00
refs/heads/master
2023-04-29T14:15:38.710373
2019-07-07T15:06:56
2019-07-07T15:06:56
192,690,079
0
0
null
2023-04-21T20:32:40
2019-06-19T08:21:18
CSS
UTF-8
Python
false
false
3,514
py
from django.db import models from django.urls import reverse from django.contrib.auth.models import User from taggit.managers import TaggableManager from . import choices class Writer(models.Model): full_name = models.CharField(max_length=250) def __str__(self): return self.full_name class Catego...
[ "nadyrbek97@gmail.com" ]
nadyrbek97@gmail.com
541e437fb4ea37f3049fb19b4f1687b8576a3ff7
b9ffd9b9e88d497ee904e42dfd825080ee7713a9
/files_from_working_server/waterscan-api/venv/bin/virtualenv
a6ba8866dbc0c5dce7c6083a719ce94eacc20629
[]
no_license
naturalis/waterscan-ecosoft
a3d8e91d6634108b585a71c051f15216c8c3fdf4
a2bcc3e656bbfb6ca08cd7e8ef7f119f0004d049
refs/heads/master
2021-06-15T05:26:15.457593
2019-06-21T09:39:22
2019-06-21T09:39:22
191,738,087
0
0
null
2021-05-06T19:36:36
2019-06-13T10:01:34
Python
UTF-8
Python
false
false
239
#!/home/ubuntu/waterscan-api/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from virtualenv import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "martenhoogeveen@gmail.com" ]
martenhoogeveen@gmail.com
23d620c4b360e8d3af9b8c9bca1267847ffdc581
d9a720e7e550579578ba66ee9135b3d4d333dc53
/fabfile.py
f586cc4beaedbf96beb8679ceb720079aa883a6c
[]
no_license
fromageball/taxi
7a99d46d7901322f9f103a6311f1600c5f74ac8b
aaba5673a27b0185f9519d9b8ee81633dfe6b81d
refs/heads/master
2020-05-17T00:14:57.483690
2013-08-06T01:34:50
2013-08-06T01:34:50
null
0
0
null
null
null
null
UTF-8
Python
true
false
36
py
def hello(): print("Hello world!")
[ "fromageball2@ps200061.dreamhostps.com" ]
fromageball2@ps200061.dreamhostps.com
7920769fb9df2c743760034190be86dff1f1947a
65c0ef56c2e2c3e1646a610f49e6dd06f2c6102d
/src/libs/cmd/implement/emulator/fastboot.py
e8c8437bb490f5e1cb28f6289ccb8449e2873cad
[ "MIT" ]
permissive
VirtualVFix/AndroidTestFramework
d3411f328a793ee7b007c4736983204aae81b739
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
refs/heads/master
2020-08-11T14:48:12.454415
2019-10-12T10:20:43
2019-10-12T10:20:43
214,582,560
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
# All rights reserved by forest fairy. # You cannot modify or share anything without sacrifice. # If you don't agree, keep calm and don't look at code bellow! __author__ = "VirtualV <https://github.com/virtualvfix>" __date__ = "09/22/17 14:27" from .cmd import Cmd from libs.cmd.implement.base.fastboot import Fastboot...
[ "github.com/virtualvfix" ]
github.com/virtualvfix
d38cc05d6855728cca643e5465316346c6fc15f0
964fbc4bf2950cbbe463a33dafcf0e54dedc4c81
/Webeloperss/wsgi.py
4321494600271535f62d9e4081dbd74ab9145361
[]
no_license
fast-falcon/django_project2
057ff6904fbb8f28aae06c248db8a526cf725866
2bd99ec5891635edea5180a488b0d51c840ed752
refs/heads/master
2020-04-14T00:31:38.884572
2018-12-29T19:34:22
2018-12-29T19:34:22
163,535,482
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for Webeloperss project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "pouriaff7171@gmail.com" ]
pouriaff7171@gmail.com
3eee4d4542d35cf399d9ec34d7297cd55f76de42
1eca4c0a9f738bb0ab6257256d3bbf05376344a9
/DemoHour/spiders/DemoSpider.py
39a2827ea004fd86d86b647e4ece0a57e3277689
[]
no_license
gzou107/DemonHour
257de668ce5a1bf9b05a11fc1dfd26abf3727682
636c68244b2c5c8c4aa3aac91565e00cfbc85ffe
refs/heads/master
2016-09-05T17:51:33.531343
2013-07-11T06:50:05
2013-07-11T06:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,358
py
from scrapy.spider import BaseSpider from scrapy.selector import HtmlXPathSelector from DemoHour.items import Proj_Item, Proj_Owner_Item, Proj_Supporter, Proj_Topic, Proj_Incentive_Options_Item, User_Item from scrapy.http.request import Request from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.contrib....
[ "guixiz@microsoft.com" ]
guixiz@microsoft.com
1926722da71183f936fd15d9c412fe2e5f789af4
35fb71dd7b67fcee5e01e090e5f2a04dbbf30a15
/network_base/week01/day02/lqueue.py
a2b102948e76f64e135371e6dfc924f57c1832a7
[]
no_license
zlz2013/zlz
3119795848ed9cc43708482a2aa3e764c1312394
228d04a30b0782d859323e507ddd0c7459635bfb
refs/heads/master
2020-06-05T17:44:47.975328
2019-09-10T11:57:23
2019-09-10T11:57:23
192,500,784
1
1
null
null
null
null
UTF-8
Python
false
false
967
py
""" lqueue.py 链式队列 重点代码 思路分析: 1.基于链表模型完成链式栈 2.链表开端作为队头,尾端作为队尾 """ class LQueueError(Exception): pass class Node: def __init__(self,data,next=None): self.data=data self.next=next #链式队列类 class LQueue: def __init__(self): #初始头尾指向一个没有实际意义的节点 self.front=self.rear=Node(N...
[ "229165631@qq.com" ]
229165631@qq.com
362ffe4c25bda56646b8da422d6aabfb857c97ff
e86ffb722f7fd243ab2bc0b3e20763ab8f74b034
/brain_games/cli.py
4242fe41eaf49bb9ed1683159b47e3f7e745d99e
[]
no_license
ivan-shumilin/python-project-lvl1-v2
88ed921fac148df889974ce79623d9f7841cdd9b
3e09daf9ba749fdfa448fd37f9b4c0956be35657
refs/heads/main
2023-08-04T05:11:39.716275
2021-09-21T15:21:02
2021-09-21T15:21:02
407,498,617
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
"""Function welcom_user.""" import prompt def welcome_user(): """Print welcome.""" name = prompt.string('May I have your name? ') print('Hello, {0}!'.format(name)) # Noqa:WPS421
[ "shumilin.i.v@gmail.com" ]
shumilin.i.v@gmail.com
2ac67697625c5683ebdb5b5288b6b5a298e1b8ee
270ad55914ca6c1b75c2ef694db992d1f4443dfb
/restfultv_app/migrations/0001_initial.py
85a67bb44c8d2d37b5a61acad456a5587734234f
[]
no_license
alitahir6001/semirest_tv
a53a974b82f7f0059a37f15724ab91224d13f839
b908d18bbe766e8f11bbce4e5eaba693257452c9
refs/heads/master
2023-06-10T07:15:10.700424
2021-07-01T21:03:11
2021-07-01T21:03:11
322,084,634
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
# Generated by Django 2.2.4 on 2020-12-16 01:48 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Show', fields=[ ('id', models.AutoField(aut...
[ "alitahir6001@gmail.com" ]
alitahir6001@gmail.com
a3cf0ec1a60c0488d760b56a6bbf60c6b1bb6c07
91863aa943df50cdcf3b8965239eb4c8b5688e0b
/examenrecuperacion.py
9efd342ed6ad4d564b4836fe578083a85cae9c34
[]
no_license
Danemora23/ExamenRecuperacion
dc2428b675bf72da600b6c06ac7b5fc02e7736e9
3bc3478b670b174156183176a4201e3471efe25f
refs/heads/master
2020-06-08T13:40:22.580022
2019-06-22T16:40:30
2019-06-22T16:40:30
193,237,135
0
0
null
null
null
null
UTF-8
Python
false
false
3,424
py
#Logica de sistemas #primer semestre #Darwin Daneri Morales López #0907-19-11615 from tkinter import ttk from tkinter import * class Desk: def __init__(self, window): #ancho ancho = 400 #alto alto = 250 # asignamos la ventana ...
[ "noreply@github.com" ]
noreply@github.com
93a8bc8d49919f8877dea6d420bb5f3010c25371
43625b3ef2c599920d0b5044c49537ed90cfada2
/instagram_private_api/endpoints/upload.py
c35272273dc868573fadbf14388efcb1d269baab
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
comtong/instagram_graw_fans
adc5225e8a3339b96327673758db08dce6375dd0
2b9ecdf957acecab1adb222664f8cea5cbb42889
refs/heads/master
2021-01-06T20:40:37.980950
2017-09-18T12:49:50
2017-09-18T12:49:50
99,544,073
1
0
null
null
null
null
UTF-8
Python
false
false
31,727
py
import json import time from random import randint import re import warnings from ..compat import compat_urllib_error, compat_urllib_request from ..errors import ClientError from ..http import MultipartFormDataEncoder from ..utils import ( max_chunk_count_generator, max_chunk_size_generator, get_file_size ) fr...
[ "com.tong@dingtone.me" ]
com.tong@dingtone.me
cffecf521887b256704c2687151498010ff2288d
d1c9ff2dcc126d29f29ac0d47d48900b8413137e
/bite_242/test_zodiac.py
d779f465679abf977a6adcb16419e5249b747456
[]
no_license
Accoustium/PyBites
d8aa2f7405ad33a0432340209b4a98e229058d16
4f57cc0243d4888edb3355c9517f53569ac37632
refs/heads/master
2020-09-20T09:31:45.088079
2020-07-17T20:59:28
2020-07-17T20:59:28
224,437,950
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
from datetime import datetime import json import os from pathlib import Path from urllib.request import urlretrieve import pytest from zodiac import (get_signs, get_sign_with_most_famous_people, signs_are_mutually_compatible, get_sign_by_date) # original source: https://zodiacal.herokuapp.com/api...
[ "tim.pogue@cybera.net" ]
tim.pogue@cybera.net
874a69d989a964f5f0210a7eafbf994cd3c38d0c
6ddcdda679089b228d55ef098addfe8193287d88
/py/lpthw/test.py
500c610d2d9010ee315cb403153222d93a1680c9
[ "MIT" ]
permissive
danyfang/SourceCode
518e4715a062ed1ad071dea023ff4785ce03b068
8168f6058648f2a330a7354daf3a73a4d8a4e730
refs/heads/master
2021-06-06T16:36:50.999324
2021-04-23T08:52:20
2021-04-23T08:52:20
120,310,634
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
#!/usr/bin/python from __future__ import division #lambda function to calculate factor x = int(raw_input("Please input an integer\n > ")) print reduce(lambda x,y: x*y, range(1,x+1)) def add(x,y): return x+y def sub(x,y): return x-y def mul(x,y): return x*y def div(x,y): return x/y operator = {"+":add, "-":su...
[ "danyfang7@gmail.com" ]
danyfang7@gmail.com
184e76acc81ef96d91ecfc5efccadfcb8455eaea
7f00f425e3ffe87716a010c7c2a13af8b8ebd790
/search/binary_search_iterative.py
6a6cc3550aff63c7843fcd16c65ccd314ed3ea43
[]
no_license
barmansurajit/trees
7601bdc3229356949551127184e95f6a23b0c30a
75f03d44a7197ba0334104216925ade8b2c73c6d
refs/heads/master
2023-03-07T06:33:29.610186
2021-02-17T02:34:21
2021-02-17T02:34:21
339,591,231
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
def binary_search(arr, data): n = len(arr) l: int = 0 r = n - 1 while l <= r: mid = int(l + (r - l) / 2) if data == arr[mid]: return mid elif data > arr[mid]: l = mid + 1 else: r = mid - 1 return -1 array = [5, 9, 17, 23, 25, 45...
[ "Surajit.Barman@cognizant.com" ]
Surajit.Barman@cognizant.com
df505e9af0f2f820295ab64a09f370c98512ade5
20e8c4fe06e05873e212cfb31942208a10b7d502
/source/observers/observer_pricefluctuation_multistock_dailyclose.py
440a0b67831abc1a53305e0b68ef51f7d093021f
[]
no_license
abednego1979/tipster2
adafd85e65904c957c8bf248790b4f781c0737b0
556d36e409be117230585fffa9a6ee40008ccd47
refs/heads/master
2019-07-11T22:39:34.699695
2018-07-10T10:17:29
2018-07-10T10:17:29
110,588,227
0
1
null
null
null
null
UTF-8
Python
false
false
8,941
py
#*- coding: utf-8 -*- #Python 3.5.x #utf8编码 import os import sys import logging import json import traceback from .observer import Observer import myGlobal import config import numpy as np import pandas as pd from concurrent.futures import ThreadPoolExecutor, wait from BaseFunc import BaseFunc from database.DB_Ex impo...
[ "abednego1979@163.com" ]
abednego1979@163.com
0f82382175538ed0c951b9a4c59db262db7e5556
969776e5af5b190dd579c710a86f8b9e0382e9ff
/twittertools/tweetfetch/views.py
a8fd22d8a74b893c575f7b0a3b3a5b0b14014ec8
[]
no_license
krdpk17/django-twitter
b36a2ee0e565e53ed1af4b57f204a0467d27206c
37840a1835987250ae4731f9d9f63e4f517d0b08
refs/heads/master
2023-04-22T13:37:02.221538
2021-04-26T08:41:20
2021-04-26T08:41:20
262,332,817
0
1
null
null
null
null
UTF-8
Python
false
false
1,772
py
from django.views import generic from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.urls import reverse_lazy from django.shortcuts import render, redirect from django.views.generic import View, ListView from django.contrib import messages from .forms import FetcherCreateForm from .fet...
[ "62544105+krdpk1717@users.noreply.github.com" ]
62544105+krdpk1717@users.noreply.github.com
88c6f9687795855780c7f84d69dc1ac0aaf87deb
eff3b7a036be3191b8844364339c2c36c5cadc5b
/sistema.py
ac18f36c924b8deb5311ba56d101bdf37f2da85d
[]
no_license
eliabepaz/rede_social
bfde47d7defb71f2f416437299e9fbc1bb475950
bbef6446999ed64f5b7c56e812425b0ff9cf3d56
refs/heads/master
2021-09-07T02:00:13.211422
2018-02-15T12:20:18
2018-02-15T12:20:18
109,072,042
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
from acounts import Bd from acounts import Conta from acounts import Loguin from feed import Perfil banco = Bd() log = Loguin() perfil = Perfil() class Sistem: def __init__(self): pass def menu(self): print('1 - Cadastrar conta') print('2 - Loguin') print('x - Sair...
[ "noreply@github.com" ]
noreply@github.com