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
cb036973b6b10d9a97cf5c01c03aa9f66500336d
77de000e7d9f11a5c00ec8f6a9502c9c772bbe65
/paying_for_college/admin.py
c20f0c8dd6e545bd09c7cbbdf82b523da4dd7fad
[ "CC0-1.0" ]
permissive
mistergone/college-costs
5081ceedfd2bb560adfb6ac412471d79dc3e4b80
7fcb9155d23f363d7d1a22da4df8887996c4b8a6
refs/heads/master
2021-01-17T07:52:45.351978
2016-05-27T18:21:01
2016-05-27T18:21:01
45,491,267
0
0
null
2015-11-03T19:45:04
2015-11-03T19:45:04
null
UTF-8
Python
false
false
1,661
py
#!/usr/bin/env python from __future__ import absolute_import from django.contrib import admin from .models import School, Program, Alias, Nickname, Contact, Disclosure from .models import BAHRate, Feedback, Worksheet, ConstantRate, ConstantCap class DisclosureAdmin(admin.ModelAdmin): list_display = ('name', 'inst...
[ "higs4281@gmail.com" ]
higs4281@gmail.com
1ea9b9d12aa2d29c8695d3633efd804228328fd3
498fcf34fa4482be5c9fefc488666e60edcf46c7
/math/0x00-linear_algebra/100-slice_like_a_ninja.py
528b04754521035294e7fdf6a8121f20db0302c4
[]
no_license
MansourKef/holbertonschool-machine_learning
7dbc465def04c311c1afb0e8b8903cbe34c72ad3
19f78fc09f0ebeb9f27f3f76b98e7a0e9212fd22
refs/heads/main
2023-03-12T16:18:08.919099
2021-03-05T09:42:09
2021-03-05T09:42:09
317,303,125
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
#!/usr/bin/env python3 """ np_slice. """ def np_slice(matrix, axes={}): """Slices a matrix.""" len_dic = len(axes) args = [] list_axes = [] max_val = max(axes.keys()) for j in range(max_val + 1): list_axes.append(j) for i in list_axes: if i in axes.keys(): sl =...
[ "2798@holbertonschool.com" ]
2798@holbertonschool.com
bfa9ffcb67ecb8f3f11b99354fea28007c4a8464
1c4d4c4d42bdb189876c15bf6f2fb654915a1689
/aa_pairs.py
a70efb000ae72311f66b7f355732287f874f2255
[ "MIT" ]
permissive
aislinnm12/learning_python
b977b2a227539c20fe68d215bc791960868a939b
54125180f405a92c9778eb19ac42c013f51d67c4
refs/heads/main
2023-05-17T16:55:13.775461
2021-06-03T23:03:35
2021-06-03T23:03:35
353,085,409
0
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
#!/usr/bin/env python3 # Print out all the unique pairwise amino acid combinations # AC is the same as CA # Skip AA, CC etc. # Also print out how many combinations there are alphabet = "ACDEFGHIKLMNPQRSTVWY" import itertools for i in itertools.combinations(alphabet, 2): print(i[0], 1[1]) count += 1 print(count) "...
[ "aislinnmcmahon@Aislinns-MacBook-Air.local" ]
aislinnmcmahon@Aislinns-MacBook-Air.local
fa5c18b71f9d7bcdcbbf8653f4a68492204a16b0
2c3186992507ab0eb104ee9e281d2af9c08a914c
/webservice/samples/clients/python/settings.py
093ee5b83bc9446550257c861806fdc0834a7187
[]
no_license
fatty-/daisy-pipeline
946fba4a267f2e0f08b94c6906f7115e6c0af76d
94a60429a418a92af35d2a9b63b9fd87facb45d5
refs/heads/master
2021-01-16T00:56:49.456948
2012-12-19T19:24:51
2012-12-19T19:24:51
39,065,607
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
"""Global settings""" TIMEOUT_SECONDS = 100 BASEURI = "http://localhost:8181/ws" PX_NS = "http://www.daisy.org/ns/pipeline/data" JOB_NOTIFY_MESSAGES = "http://localhost:8080/ws/jobmessage" JOB_NOTIFY_STATUS = "http://localhost:8080/ws/jobstatus"
[ "marisa.demeglio@gmail.com" ]
marisa.demeglio@gmail.com
da395c5baf505dd2c85899caa66af04c2d72a538
bc1ea338abeeecef764a2f2467ef4ce266622cc5
/spiral_matrix.py
bb44b882265f52553125e5f7247bb6fcbb10f8ad
[]
no_license
aliciavissuet/leetcode
d1a5fbdb7e5e6fc8afc967e363f8d56ee53d6f71
c7bbd287fce55b982b7b41dc33b39953d80f41a0
refs/heads/master
2020-05-04T11:09:24.730208
2019-04-12T05:45:58
2019-04-12T05:45:58
179,102,042
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
def spiralOrder(self, matrix: List[List[int]]) -> List[int]: result = [] while len(matrix) > 0: #get first row first_row = matrix.pop(0) result += first_row #get last col for row in range(len(matrix)): try: ...
[ "aliciavissuet@gmail.com" ]
aliciavissuet@gmail.com
36d55ad1789df5d8a264a3c8b0327beb9ac63d28
71c65a2b99a3a7f4cfaf3af7039fd5af1da80437
/local/offline.py
c7f0d99e7e2b030c6ee5da76099ee07aac23f5b0
[]
no_license
neuralinterfacinglab/closed-loop-seeg-speech-synthesis
1419b0ff48c66c9679a4812a7d13bb8f2b154e4c
f80da4527490d7c172a9d29d86480f9e47cb30b9
refs/heads/master
2023-06-25T07:26:16.645423
2021-07-30T08:43:57
2021-07-30T08:43:57
414,936,812
1
0
null
null
null
null
UTF-8
Python
false
false
11,284
py
import numpy as np import scipy import scipy.signal import local.MelFilterBank as mel from local.utils import suppress_stdout import mne from scipy.stats import pearsonr from scipy.signal.windows import hann as hanning from sklearn.model_selection import KFold def herff2016_b(eeg, sr, window_length=0.05, window_shift...
[ "s_62ydc2@uni-bremen.de" ]
s_62ydc2@uni-bremen.de
719ace7a500e2ae03f5085c9e039d764c2bd91d6
19f095a94b1adf1e3deabba1128d30c66a643cbf
/death_utils.py
376b1e09d60d82a2d5898c0678ea680508d61134
[]
no_license
dovinmu/death_utils
53d3684871c3e872620116f1883c0d304de3acf9
e5abbea8c933f518e3f0b6e3b3b2888d8a817d79
refs/heads/master
2020-12-24T16:23:53.175258
2016-03-18T04:48:32
2016-03-18T04:48:32
38,131,109
0
0
null
null
null
null
UTF-8
Python
false
false
16,036
py
''' Datasets came from whatever generous person made this website: http://ssdmf.info/ ''' bnames = None dnames = None def get_dmf(num=1): '''Load the specified subfile of the Death Master File into memory as a list.''' dmf = [] count = 0 with open('ssdm' + str(num), 'r') as f: for item in f: ...
[ "dovinmu@gmail.com" ]
dovinmu@gmail.com
d4e3ee7c168ed5040d94f700a43f6c68d9c1a138
139af68b78734a6bc53bd942ffa05476baf3d71d
/PYTHON OOP/TESTING/Labs/Lab_tests/person_test_1.py
cf0380641466bfbfc54561a972c3b5ad046b7f8f
[]
no_license
MiroVatov/Python-SoftUni
7fe3fc0a3928848c5317fb120f789c773bfc117e
0d0d6f116281b4de8c413d254386e27d992d047b
refs/heads/main
2023-08-24T09:44:31.261137
2021-10-18T14:04:03
2021-10-18T14:04:03
317,510,574
1
0
null
null
null
null
UTF-8
Python
false
false
615
py
import unittest from demo_2.solution_1 import Person class PersonTests(unittest.TestCase): def setUp(self): self.person = Person("Luc", "Peterson", 25) def tearDown(self): self.person = None def test_get_full_name(self): result = self.person.get_full_name() expected_resu...
[ "mirovatov@gmail.com" ]
mirovatov@gmail.com
7f2c089465d69d06d084c109ad84d7088060ca5d
cad35dc744779798138015c7b0d674e5784a0d68
/BOT/fakeSMTP-latest/received-emails/received-emails/regex.py
9049bc5e3579432a69996f8e0791b00ea3395e1c
[]
no_license
snsubir1997/BOT
ae2867fb064f48ffa918b28d85fac74963dd6865
6e94d16e64c546fdec149a56842e5b0978fa8cc6
refs/heads/master
2021-05-09T13:03:37.447172
2018-02-18T05:08:33
2018-02-18T05:08:33
119,022,769
0
0
null
null
null
null
UTF-8
Python
false
false
17,813
py
#CLIENT TO SYSTEM MAIL #!/usr/bin/python import smtplib import re import os import time sender = 'sn.subir1997@gmail.com' receivers = ['coolsubir1997@gmail.com'] message = """From: SN <coolsubir1997.com> To: To Person <sn.subir1997.com> Subject: Regarding leave due to emergency. Respected Sir, this is to inform you...
[ "sn.subir1997@outlook.com" ]
sn.subir1997@outlook.com
e366bc13803422c14f98bd569c6808943f20d8ee
d3a582fcaebf7a16127b1b02c20643aa4ffb737b
/speedreport.py
6bd912600862bfaabdab552ca665d553e0595916
[]
no_license
zonar-systems/Python
550a0847bf5e1962c4471fb49348ed098aae75b5
bfa24b1183d6dbf5255bafff3cbaa67453e7b20c
refs/heads/master
2021-01-10T01:48:12.564996
2015-11-23T19:05:28
2015-11-23T19:05:28
46,512,956
1
0
null
null
null
null
UTF-8
Python
false
false
495
py
# python3 required. urlib2 was combined in v3 with urllib. import urllib.request # build request string response = urllib.request.urlopen( 'https://qa1.zonarsystems.net/interface.php?username=&password=&action=showposition&operation=speed&format=xml&customer=9944&fromdate=1141397988&todate=1141398000&vers=2') # r...
[ "rmossuto@outlook.com" ]
rmossuto@outlook.com
f075cc1e44d0b6fd06f17ced75db1a58d65295bb
cb9d709f66be57938781a43fee428180418732f4
/wordcount/settings.py
43624ccdc3874e9550a67d358d8f9065b6a28138
[]
no_license
qwerlancer/wordcount-project
7ea1c0ea19fa33ced8b951bafc00f4cb812a3a03
cbae3fdc070578f07263c0f097579f597689a09c
refs/heads/master
2020-03-29T09:23:41.770513
2018-09-21T12:03:12
2018-09-21T12:03:12
149,755,987
0
0
null
null
null
null
UTF-8
Python
false
false
3,108
py
""" Django settings for wordcount project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os ...
[ "qwer12421@gmail.com" ]
qwer12421@gmail.com
7379ddf6460cf8ab6e080cce17dce051db5d4bee
549472447e82e0a25e9f388326484c8e2000173e
/NanoAOD/config/config_v1/Config_21_4_1.py
0ef6d3fc1ec0e089c788729220914200cca72540
[]
no_license
gqlcms/Check_B2G_VV_temp
0968a052089aa7e2e5d6a4c14e04ba58c9178fbb
d568dd963a6a5023500e3603189a3e53556db7cf
refs/heads/master
2023-04-04T06:49:37.515875
2021-04-16T09:01:43
2021-04-16T09:01:43
358,537,423
0
0
null
null
null
null
UTF-8
Python
false
false
8,243
py
self.CreateBranch_Templete ={ 'single' : 'ana.tx.createBranch<{0}> ("{1}");',\ 'vector' : 'ana.tx.createBranch<vector<{0}>> ("{1}");',\ } self.FillBranch_Templete = { 'vector':'ana.tx.pushbackToBranch<{0}>("{1}", nt.{2}()[{3}]);',\ 'single':'ana.tx.setBranch<{0}>("{1}",...
[ "qilong.guo@cern.ch" ]
qilong.guo@cern.ch
a44f913b2b3dfe6e31cbba513045c3cd8023fcdb
d701f3b0a85f22cc0551ae1d2bfd4b37aed8724b
/gen-py/user_profile/test_client.py
c34736f13c6bdea746a0291623b8109fcb404a8c
[]
no_license
truncs/thrift-example
8eb9bec53134d793ddc10df0233c4fbbdaad93a0
8995496bc5d49093116c4f9103959e5f7b92131a
refs/heads/master
2016-09-06T21:37:49.620798
2013-10-22T20:33:18
2013-10-22T20:33:18
13,763,648
1
1
null
null
null
null
UTF-8
Python
false
false
587
py
from thrift.transport import TSocket from thrift.transport import TTransport from thrift.protocol import TBinaryProtocol from ttypes import UserProfile import UserStorage transport = TSocket.TSocket("localhost", 9090) # Buffering is critical. Raw sockets are very slow transport = TTransport.TFramedTransport(transpor...
[ "aditya@uber.com" ]
aditya@uber.com
7c471625541b733f36856a2d6b99e6fce6e7cd04
1694e5db78ed6adf38a407b2d84c49a0723fa934
/tutablr_app/migrations/0001_initial.py
5b840e2896f7309ede9718b797a9a2ec2314d4c1
[]
no_license
bidhanvaidya/Tutablr
cf88fe89d702661aace4c8ccf5f175c1ed5da0ca
07fb26c6487562f690959e2eb0f35e121e12ce0f
refs/heads/master
2021-01-19T07:39:08.818101
2012-10-25T08:15:59
2012-10-25T08:15:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): pass def backwards(self, orm): pass models = { } complete_apps = ['tutablr_app']
[ "ashwinramesh92@hotmail.com" ]
ashwinramesh92@hotmail.com
5666f9c55f3024b927bcbc8e0fdb60ceb72db8de
12485bb945ab8af6ff6a5f3d9d4c542a7bcf95f8
/server/src/uds/services/Xen/xen_client/__init__.py
8c47e66b14c2d59e66552db5c9142effdefdc5b3
[]
no_license
morfeuj/openuds
6ef0c4bed624def0090efa6abdd2600b9be81a8b
26e429019e5fe5b01ee1a476c879d8f8333b0ab0
refs/heads/master
2020-12-15T15:11:33.598430
2020-01-20T16:42:33
2020-01-20T16:42:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,495
py
# -*- coding: utf-8 -*- # # Copyright (c) 2014-2019 Virtual Cable S.L. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notic...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
25b6963dcf868790e9f87ce2967f5a3f2a951c6f
f4065bf6dc0f42a802ffbe7a13dff2628d357144
/main.py
bb592bf7d31652370bf3e2b5cf25a7e9c7014822
[]
no_license
paulbygrave/cert-slayer
40cdc106729b5fdedbfe9073efccc0534e4831c0
ecb4edaa776739bc581905836ce0d925b8b0cefc
refs/heads/master
2020-08-07T10:45:49.507423
2019-10-10T15:17:02
2019-10-10T15:17:02
213,417,789
0
0
null
2019-10-10T12:19:04
2019-10-07T15:19:25
Python
UTF-8
Python
false
false
12,884
py
from classes.colours import bcolors from classes.battle import Character from classes.magic import * from classes.inventory import * from assets.storytext import intro_text, quest_text, epilogue_text, end_credits from assets.logos import * import random import sys # # Print the prologue intro_text() # # Print the lo...
[ "paulrpbygrave@gmail.com" ]
paulrpbygrave@gmail.com
ac95e55e51e4a45b5d32403509d34f501b77358a
bacaf5520a381b9043fc8003a3b5e970f055a0b7
/Software/utils.py
a8ef8bc95066e8b268c25d48c7c91021859c9e1a
[]
no_license
hemjyoti/MI-MPC
494900afd31e69e8677fef8c389fd5af70f30741
703b93b02b952434defd08d30fd3f29060c82630
refs/heads/master
2023-03-07T09:59:41.276419
2021-02-22T12:51:55
2021-02-22T12:51:55
341,198,821
0
0
null
null
null
null
UTF-8
Python
false
false
40,872
py
import numpy as np from typing import Sequence import matplotlib.pyplot as plt from matplotlib import rc from matplotlib.gridspec import GridSpec from mpl_toolkits.mplot3d.axes3d import get_test_data # This import registers the 3D projection, but is otherwise unused. from mpl_toolkits.mplot3d import Axes3D # noqa: F40...
[ "hemdu23@gmail.com" ]
hemdu23@gmail.com
f4bfb83c2408bd57b3ce899378717e5b6fe39407
5552380060fd8be832a61d1cc4020c16dde40452
/home/migrations/0004_bank_branch_file.py
244237a150562d68ccb2eac9f7f5cf4d1998f799
[]
no_license
rayhancse08/LawChamber
a1f4121a911d92cdf7cd4c885767b2080fa5fbb0
40f2306d50bc9c2d2b7c08b44e527ab45a7dc756
refs/heads/master
2021-09-10T06:32:48.473590
2018-03-21T16:12:58
2018-03-21T16:12:58
125,860,987
0
0
null
null
null
null
UTF-8
Python
false
false
2,087
py
# Generated by Django 2.0.3 on 2018-03-19 13:31 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('home', '0003_contact'), ] operations = [ migrations.CreateModel( name='Bank', field...
[ "rayhancse08@gmail.com" ]
rayhancse08@gmail.com
cee59d6f621e33b97ad0d92b13d623a6e7b75408
666f609658266a87bb3c1fb78c23a3c9b5ea30e0
/Lab_4/lab 4.py
c03a89842aa83518d24e8bc512a35ab1e54cf532
[]
no_license
Quindeci/MOPE1
e679eb1a534dc4a01575ab7d36d4c6e780f43a5c
f347af09684d010390ec9cb752b80ce3467ffdff
refs/heads/main
2023-05-27T23:10:54.515939
2021-06-19T19:49:15
2021-06-19T19:49:15
363,998,532
0
0
null
null
null
null
UTF-8
Python
false
false
11,174
py
import random import numpy as np import sklearn.linear_model as lm from scipy.stats import f, t from numpy.linalg import solve def regression(x, b): y = sum([x[i] * b[i] for i in range(len(x))]) return y def dispersion(y, y_aver, n, m): res = [] for i in range(n): s = sum([(y_aver[i] - y[i...
[ "zzzkiritozzzzzzz@gmail.com" ]
zzzkiritozzzzzzz@gmail.com
efa9169a5663a0c34cd035eaf9a6c8eb588d6625
0485a490f466bd1d02eaae96d277888781208c0e
/tests/single_instruction_translation_validation/mcsema/register-variants/xaddb_r8_r8/Output/test-z3.py
0f72e6bf891b173f5c8d4ce6b1ee4ac725000960
[ "LicenseRef-scancode-unknown-license-reference", "NCSA" ]
permissive
Mthandazo42/validating-binary-decompilation
c0e2d54cd79e609bfa35802975bddfa52e646fad
c0fcd6f099e38195dcbbac9e8c13a825865c5cb5
refs/heads/master
2022-11-11T13:18:13.033044
2020-06-25T05:49:01
2020-06-25T05:49:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,327
py
############################################# ######## Auto Generated Proof Scripts ####### ############################################# import z3 import sys status=True test_name="UnK" if(len(sys.argv) > 1): test_name = sys.argv[1] def solve(msg, lvar, xvar, s): global status s.set("timeout", 60000) res =...
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
fc46327b637817362b96ebdbbc1b23c06a9c6cc4
4a3ca3bd0e371cdd6e24a8b8a0769c3e25539b40
/test/ntust/meal/eat/migrations/0002_auto_20180608_1549.py
3a1c75d5a28dff01cfbf8f480c1a7ffb659092fe
[]
no_license
NTUST/107-team12
d63b3d48d31413ec5342e6398630c8157ce92ce4
d92ee5ca8a5d5471f8ea9c35ddd71551eaae1207
refs/heads/master
2022-11-23T22:21:34.496145
2018-06-11T01:57:11
2018-06-11T01:57:11
123,248,423
0
1
null
2022-11-03T04:22:46
2018-02-28T07:45:07
Python
UTF-8
Python
false
false
373
py
# Generated by Django 2.0.5 on 2018-06-08 07:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('eat', '0001_initial'), ] operations = [ migrations.AlterField( model_name='restaurant', name='votes', fi...
[ "claire0230025@gmail.com" ]
claire0230025@gmail.com
17d6e1584f491e8f5ffd92347535889c77e41139
8b68ab8567bfb36b310135a293b68b08f999e4a9
/Ch06ProjTablePrinter01.py
eabbc18990a3c26ca5095f0da8e343655ff019ef
[ "BSD-2-Clause" ]
permissive
steveayers124/AutomateTheBoringStuff
544faa8ddb212132462bc215e37303b3b6e252d0
9bb9190fab0bc81d7acc8f90e1d162af961d6048
refs/heads/master
2020-06-07T07:55:28.080508
2019-08-22T14:41:19
2019-08-22T14:41:19
192,966,807
0
0
null
2019-06-25T15:18:24
2019-06-20T18:11:55
Python
UTF-8
Python
false
false
1,352
py
#! python3 # Given a list of a list of strings, each inner list having the same number of items, # display all this in a well-organized table, having each column right-justified. # Example: # tableData = [['apples', 'oranges', 'cherries', 'bananas'], # ['Alice', 'Bob', 'Carol', 'David'], # ['d...
[ "steveayers124@gmail.com" ]
steveayers124@gmail.com
5ca7bb44464eb2b8bc4a97eed49157497214cee6
aced407b41f6669f69e9eb8bd599260d50c0bd3f
/server/libs/top/api/rest/TaobaokeItemsDetailGetRequest.py
13b1b69b497043b5f31870c254d245496fe97a64
[]
no_license
alswl/music_sofa
42f7d15431f11b97bf67b604cfde0a0e9e3860cc
c4e5425ef6c80c3e57c91ba568f7cbfe63faa378
refs/heads/master
2016-09-12T18:37:34.357510
2016-05-20T11:49:52
2016-05-20T11:49:52
58,946,171
1
1
null
null
null
null
UTF-8
Python
false
false
472
py
''' Created by auto_sdk on 2013-11-07 12:53:22 ''' from top.api.base import RestApi class TaobaokeItemsDetailGetRequest(RestApi): def __init__(self,domain='gw.api.taobao.com',port=80): RestApi.__init__(self,domain, port) self.fields = None self.is_mobile = None self.nick = None self.num_iids = None self.ou...
[ "alswlx@gmail.com" ]
alswlx@gmail.com
05b743ce281ac33fb022e5863f590c58b54543bb
ed21529844d95422e3375b7fe51f7775ab6c751c
/lkliondjango/oldman_blog_project/oldman_blog_project/asgi.py
924b4fbd169cc587b8b1e0ae8d5108f2db2d975b
[]
no_license
wlight96/likelionworkspace
d842af8b269fe72314508e1a99eb94cce70b659b
6634efd0105a0e93750b7a695f39907683257b32
refs/heads/main
2023-06-24T08:19:38.859740
2021-07-14T07:37:38
2021-07-14T07:37:38
366,376,720
0
1
null
null
null
null
UTF-8
Python
false
false
415
py
""" ASGI config for oldman_blog_project project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('...
[ "wlight96@naver.com" ]
wlight96@naver.com
47eccdae8acbd25874bd94626617616ed0ee61fe
5fdcf15f818eb2d0c7b5dd39443064d5bc42aff9
/lc_reorganizing_string.py
8ab639672dbe010d9b0fc8e9842a0ca17c1438dc
[]
no_license
vincentt117/coding_challenge
acf3664034a71ffd70c5f1ac0f6a66768e097a6e
5deff070bb9f6b19a1cfc0a6086ac155496fbb78
refs/heads/master
2021-07-02T05:43:08.007851
2020-08-27T02:16:19
2020-08-27T02:16:19
146,027,883
1
0
null
null
null
null
UTF-8
Python
false
false
886
py
# Optimal solution retrieved from Leetcode - https://leetcode.com/problems/reorganize-string/ class Solution: def reorganizeString(self, S: str) -> str: pq = [(-S.count(x), x) for x in set(S)] heapq.heapify(pq) if any(-nc > (len(S) + 1) / 2 for nc, x in pq): return "" a...
[ "vincentt117@gmail.com" ]
vincentt117@gmail.com
9ca6d92b19008f566d7bad5323b3263b78cd3d47
09e0efb05c9cd29c7aa4301cec7fb95d24d2bdc2
/nionui_app/nionui_examples/ui_demo/StatusBar.py
99f1fd1396a4fbf0ae59bae7916bfa90a1e1e115
[ "Apache-2.0" ]
permissive
AEljarrat/nionui
4c452037f7e3ee6710c19b18afeb45e35e9ec361
3714a54d56f472a8a0f7b9f8a8240103ca790374
refs/heads/master
2022-11-30T19:54:10.714060
2020-08-06T21:37:47
2020-08-06T21:37:47
286,014,692
0
0
NOASSERTION
2020-08-08T09:40:31
2020-08-08T09:40:30
null
UTF-8
Python
false
false
686
py
from nion.utils import Model class Handler: slider_value_model = Model.PropertyModel(50) def reset(self, widget): self.slider_value_model.value = 50 def construct_ui(ui): label = ui.create_label(text="@binding(slider_value_model.value)") button = ui.create_push_button(text="Reset to 50",...
[ "cmeyer1969@gmail.com" ]
cmeyer1969@gmail.com
0e1ef1f8754a256009137ccd90ba7bcef7730e98
71e2c08ee2df6104522f06a173d4445abc7e2f82
/createandupload_mvt.py
85a5ac48687917fd597f2a7b61dfbfb943999a18
[]
no_license
GeographicaGS/mapbox-mvt-helpers
5f3f3750ab3922bb287fd01977b98c8af970c9ca
61059a79c7848162cb7ff1a05bf6628277befabc
refs/heads/master
2021-01-19T11:21:50.279523
2018-01-16T17:43:06
2018-01-16T17:43:06
87,959,595
0
0
null
null
null
null
UTF-8
Python
false
false
5,255
py
# # Author: Cayetano Benavent, 2017. # https://github.com/GeographicaGS/mapbox-mvt-helpers # # This program 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 2 of the License, or # (at your ...
[ "cayetano.benavent@geographica.gs" ]
cayetano.benavent@geographica.gs
a35aa60f59bebb4861691d0b50e50090c5e43684
26b8b7da6f5b1e1767155138d69782827b8dadaa
/python/twitter/connecttwitter.py
dd40769a76499bb9c3b35ff3991d54ab6c6f664a
[]
no_license
hyunghunny/asdl-playground
84d744e95f41489b44155210efbe82a33375881b
a84bf358eaade8939e48e124d25c921be0dea0f4
refs/heads/master
2021-01-19T15:34:00.067047
2015-03-18T08:25:51
2015-03-18T08:25:51
32,057,357
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# Social Computing Tutorial #1 # First Twitter Connection # Copyright (C) import twitter import credential auth = twitter.oauth.OAuth( credential.getOAuthToken(), credential.getOAuthSecret(), credential.getConsumerKey(), credential.getConsumerSecret()) twitter_api = twitter.Twitter(auth=auth) print twitter_api
[ "hyunghunny@gmail.com" ]
hyunghunny@gmail.com
97c63ac9e665a2d66342e42e241c92b0489a2ee3
18d51ac0a6ca14c8221c26f0dacd8d3721ca28e9
/73_hun.py
5a18a272bbd749e2a12f95c01d715dc788f4067d
[]
no_license
mahakalai/mahak
05f96d52880ed7b2e5eb70dd1dbf14fc533236e8
613be9df7743ef59b1f0e07b7df987d29bb23ec7
refs/heads/master
2020-04-15T05:01:58.541930
2019-07-15T16:28:32
2019-07-15T16:28:32
164,406,486
0
2
null
null
null
null
UTF-8
Python
false
false
176
py
s=input() s1=input() l=[] if s==s1: print(s) else: for i in range(0,len(s)): for j in range(i+1,len(s)): k=s1[i:j] if k in s: l.append(k) print(max(l, key=len))
[ "noreply@github.com" ]
noreply@github.com
ad38656e01d8b7af25583df1759432cb561cbe06
3ae13e6d49a549598f7de303630cc5dcd85edb67
/manage.py
1da5ae32e92c0060f4504dfdfa5f244678fe22c9
[]
no_license
fanlion/dream_blog
03e2b73ad463a841f3a5a1b2ace75ba34e7b2736
bdcfb2d8786ae522d955e2c497021c60c2804eb7
refs/heads/master
2022-12-11T02:56:17.590091
2018-02-27T07:34:54
2018-02-27T07:34:54
93,694,858
6
1
null
2022-12-07T23:59:01
2017-06-08T01:28:38
Python
UTF-8
Python
false
false
808
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dream_blog.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that t...
[ "fan.li@changhong.com" ]
fan.li@changhong.com
f442a8f384330fe844ce830763e3fb4134cb9238
d46e6ecd926ebcdfdf47c1ca2f13f8d4f7b11f06
/Messages/migrations/0001_initial.py
ab07537ead78c25997f8c5b00f2fe82771c1be8c
[ "MIT" ]
permissive
gordiig/Swimple-Server
a23b62e119e998d5238a5b601232d59ae0c34d00
5181b51a7809ab6868f87129b6a4e1efaf779f6f
refs/heads/master
2020-04-10T16:11:11.175502
2018-12-10T08:22:31
2018-12-10T08:22:31
161,136,428
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
# Generated by Django 2.1.4 on 2018-12-10 07:51 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "gordiig@gmail.com" ]
gordiig@gmail.com
830deb8c085adda6c6f247353257bb26a505967b
c0997d6da33a0821b35e7b9b2b2e60f6b8ab252c
/IT 14/14.1.py
7b601217d0ef96e0b59af8cd8fd6551524e35e0a
[]
no_license
GeorgeGalaxy/IT_PY_2021_05
2015d7282cc083a4871d6441db577841c6ea9285
160130c4709e24f298eefabf1d75eb10ff0a7140
refs/heads/main
2023-05-03T08:30:34.538408
2021-05-26T17:17:55
2021-05-26T17:17:55
371,113,184
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
print("Galaktionov "+" George"+" BASO-01-19") number_1 = float(input("Enter number 1: ")) number_2 = float(input("Enter number 2: ")) summ_1_and_2 = number_2 + number_1 print(f"Summ = {summ_1_and_2}") x = float(input("Enter x: ")) funct1 = x**5 - 2*x**3 + 1 print(f"Func = {funct1}")
[ "georg1506@mail.ru" ]
georg1506@mail.ru
0900e25488befc06a072f8331763d920546e11f0
4c67b3913ff451841d2877a57e201d926b44c177
/video_bylenth.py
d9e61f9218655a4e14c3c50997234b929cbdf195
[]
no_license
notalent01/oms_test
9dacc67266d6d9aa1fbe225eeaf35dad37f7ace5
b12f31706a19b44754615b3b0dd25214b1c78b73
refs/heads/master
2021-01-15T18:00:01.423019
2017-08-17T07:05:29
2017-08-17T07:05:29
99,770,750
0
0
null
null
null
null
UTF-8
Python
false
false
3,003
py
#-*- coding:utf-8 -*- import requests import login_oms import re import sys import datetime from bs4 import BeautifulSoup expectd_len = float(sys.argv[1]) #接受输入参数 expectd_min = expectd_len - float(sys.argv[2]) #接受最小范围 expectd_max = expectd_len + float(sys.argv[3]) #接受最大范围 pageSize = int(sys.argv[4]) name_list = [] # ...
[ "chriswangs@pptv.com" ]
chriswangs@pptv.com
c1c2f08f213c1883d5c0d7e36a037127caeebd14
29ab920cf5c02ca6351e1c98824b8ebdb08933b0
/src/core/models.py
d6b1641b0977a3f01e92bd8e2d76097fcb2dff09
[ "MIT" ]
permissive
yordan-marinov/su_dj_todo_app
237c8a14c17d349a75a437ab810c396269d3b571
34adcf3c17fcda30e57d76099780d0cf5f3f0fe6
refs/heads/main
2023-05-15T12:05:08.948196
2021-06-16T08:01:03
2021-06-16T08:01:03
375,369,149
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Task(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE, null=True, blank=True) title = models.CharField(max_length=120) description = models.TextField(null=True, blank=True) ...
[ "jordanmarinov8@gmail.com" ]
jordanmarinov8@gmail.com
21e0a4a5c520b5364f7115b1ed1387993123f14b
bea2c1ad58a1d45705ba8f9e4527e4ffac4969cb
/sfepy/discrete/parse_regions.py
c0b71f0ee8b1d0bc7fd05dcd16232c367e61ac0b
[ "BSD-3-Clause" ]
permissive
fethio/sfepy
8423e9083e3144e1fd97d24c31eda1646167ff5b
78efe51d6038dc92f5bfeac4c57614746fe28117
refs/heads/master
2021-01-16T20:59:29.459626
2016-07-01T15:06:11
2016-07-01T15:06:11
61,715,917
1
1
null
2016-07-01T15:06:11
2016-06-22T12:06:07
Python
UTF-8
Python
false
false
6,738
py
""" Grammar for selecting regions of a domain. Regions serve for selection of certain parts of the computational domain represented as a finite element mesh. They are used to define the boundary conditions, the domains of terms and materials etc. Notes ----- History: pre-git versions already from from 13.06.2006. """...
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
1f139cc7860e6b6a2ccf91630684bc4cc2032544
cfb599cdf099c5c7b0d476b4e6f19c887fe584b6
/scrapy_spider/MovieComment/MovieComment/MovieComment/spiders/CommentsCorpusSpider.py
ebe85dc1e865b078f6157fa9c52dfe1bc6b7c2b8
[]
no_license
kakayuw/Sentiment-Analysis-Based-on-Douban-Movie-Critics
bc2ada9ec3e36690976c5dccbe13bb27a4a6407b
7be32dd5fdd8007f4922220d75e6844b502762a0
refs/heads/master
2021-07-12T10:19:09.163470
2020-07-04T03:50:53
2020-07-04T03:50:53
162,956,843
9
5
null
null
null
null
UTF-8
Python
false
false
2,852
py
import csv import os import re import time import jieba import scrapy class MovieCommentSpider(scrapy.Spider): # 爬虫唯一标识符 name = 'CommentCorpus' # 爬取页面地址 base_url = 'https://movie.douban.com/j/search_subjects?type=movie&tag=' \ '%E7%83%AD%E9%97%A8&sort=recommend&page_limit=20&page_star...
[ "yuhang012@sjtu.edu.cn" ]
yuhang012@sjtu.edu.cn
e678647f567f69e613f9801f9ae2ac7ac80e1659
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/63/usersdata/185/30193/submittedfiles/swamee.py
cf9c5669d5d51a92ee3a60133f07bc131b3da0cc
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO AQUI f=float(input('digite f:')) L=float(input('digite L:')) Q=float(input('digite Q:')) DeltaH=float(input('digite DeltaH:')) V=float(input('digite V:')) g=9.81 E=0.000002 D=((8*f*L*(Q*Q))/((math.pi**2)*g*DeltaH))**1/5 Rey=(4*Q)/(math.pi*D*V) K=0.25/(math.log10((E...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
16afd9ce21d2dba67e85bb80f5d5278878afce2e
6296c3f5128f4c82d8f85708bb6e98b3c5e2addd
/task1/main.py
e5b313285988faf80cb1c71a32792223ba53b249
[]
no_license
gblazq/qosf-fall-2020-st
2f36ed752fb546f7fd9b7421c8fc70adacb8699d
dd9b8aee03604fc2018ad92c113a9937d544294d
refs/heads/master
2022-12-19T06:42:17.440823
2020-09-21T21:31:59
2020-09-21T21:31:59
296,953,251
3
1
null
null
null
null
UTF-8
Python
false
false
3,820
py
#!/usr/bin/env python3 import argparse import logging import sys from exitstatus import ExitStatus import numpy as np from scipy import optimize from qiskit import Aer from qiskit.quantum_info import random_statevector from task1.circuit import build_circuit from task1.optimizer import objective_function # Define a...
[ "guilleblazquez+github@gmail.com" ]
guilleblazquez+github@gmail.com
93d70c998b5ffa9aa7583bfab766cfc5b0a7927b
bc82de9237a6aa28fd7623a27b35c02ae8416702
/allennlp/modules/seq2seq_decoders/decoder_net.py
aa73863dd2f546fc9ee2b7c5a40ada2af3ff2e00
[ "Apache-2.0" ]
permissive
Snnzhao/GrailQA
78190a8a5bae934c07f4035786f658ef4764c510
e89e66380402e51bac56f59c7d24d4400bcd11b6
refs/heads/main
2023-04-26T19:49:21.683922
2021-04-11T09:40:34
2021-04-11T09:40:34
370,937,323
1
0
Apache-2.0
2021-05-26T07:00:21
2021-05-26T07:00:20
null
UTF-8
Python
false
false
4,117
py
from typing import Tuple, Dict, Optional import torch from allennlp.common import Registrable class DecoderNet(torch.nn.Module, Registrable): # pylint: disable=abstract-method """ This class abstracts the neural architectures for decoding the encoded states and embedded previous step prediction vectors...
[ "gu.826@cse-cnc196739s.coeit.osu.edu" ]
gu.826@cse-cnc196739s.coeit.osu.edu
9df46ecf280ec9b0f935a81e7ed92bb330202dc3
baace6d0e857655f41b509c90280a4fe749f12c4
/twitchy.py
701163c0d8586ecfd2897b780186597ab6fd89a6
[ "MIT" ]
permissive
andrewalexander/hon_bot
5981177997e164ca0dc223da5428ad982cd0348c
d1503b7f09891830b365fb37cc01afcbc0dbe967
refs/heads/master
2016-09-05T20:47:44.746345
2015-07-13T01:50:41
2015-07-13T01:50:41
38,977,019
0
0
null
null
null
null
UTF-8
Python
false
false
7,257
py
import requests, re, time, praw, HTMLParser, json, webbrowser from config import subreddit # from PIL import Image from StringIO import StringIO class configuration(): def __init__(self): self.r, self.subreddit = self.reddit_setup() self.config = self.get_config() self.streams = self.wikipage_check(self.config...
[ "andrewalex.1992@gmail.com" ]
andrewalex.1992@gmail.com
befb49d4dbdb7cb938cabe95b0ce64fc371134a3
93a10a77cfed19f6f43987d5f7333c7599990ab1
/vpy27/Lib/site-packages/cms/cms_toolbars.py
963e7378c772e5cbb3cd448e37d3d387bf6db174
[]
no_license
zfanai/vpy27
8cd00a49cadccd462276f685dfa30d51cfdfe3d6
57ae83d393c569cb632b1ad0bb093a13851e10ed
refs/heads/master
2021-07-15T20:25:41.383490
2017-10-21T02:18:50
2017-10-21T02:18:50
107,623,345
1
0
null
null
null
null
UTF-8
Python
false
false
27,153
py
# -*- coding: utf-8 -*- from classytags.utils import flatten_context from django.conf import settings from django.contrib import admin from django.contrib.auth import get_permission_codename, get_user_model from django.contrib.auth.models import AnonymousUser from django.contrib.sites.models import Site from django.cor...
[ "zf_sch@126.com" ]
zf_sch@126.com
446ccd7e5f607f8cfa6cb6a321573ab0f61353eb
35cccb6f98985031f2e82ce0e7ac29045df31747
/CoNet_new/model.py
a25c7c0e93d85a687daf8679db53960f94533259
[]
no_license
iwtlu/Machine-learning
7fd0a90aa6feec90f941e97fc0a7013aff2a893f
d96b75bba4030aae40123f28678135c95e771ea9
refs/heads/main
2023-08-26T22:09:42.235132
2021-11-07T16:44:56
2021-11-07T16:44:56
425,526,829
0
0
null
null
null
null
UTF-8
Python
false
false
39,052
py
import numpy as np import tensorflow as tf from past.builtins import xrange from Dataset import Dataset from collections import defaultdict import time import sys import math import random import os class MTL(object): def __init__(self, config, sess): t1 = time.time() # data corpu...
[ "noreply@github.com" ]
noreply@github.com
39f9db6893ed5b9a99a7a7c13ff1ebb6b66b445f
d5fbecbd18f44e30201d80255eeb50565c9a976a
/takeout/migrations/0007_auto_20201122_0415.py
419fce1a395da2ff5768743db8ebc73e9c222c5d
[]
no_license
earthtomemphis/RestaurantOnlineOrderForm
51a2d13726e0ee2d5d4da2a63dbad4300329ffbd
e0faca26b73eef084d1e781e444f6b015e784b8d
refs/heads/main
2023-01-14T08:17:07.614114
2020-11-23T04:30:10
2020-11-23T04:30:10
314,916,976
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
# Generated by Django 3.1.3 on 2020-11-22 04:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('takeout', '0006_auto_20201122_0406'), ] operations = [ migrations.AlterField( model_name='menu', name='dish_image', ...
[ "earthtomemphis@gmail.com" ]
earthtomemphis@gmail.com
540b1e207d9d6ca9788b0f7943f280f2b8351728
bc7c9df185cd7ab30b1c8b50bc50fe3fd8a79a7e
/lesson_6/lmparser/items.py
8dab6484cfadbec0a2de4f9d9a1f57be7fc81eb9
[]
no_license
Sharovatov-N/Web_Scraping
feb2df131883c4aeb627f145bd529f2744ec1304
094481b6fb7e21f0e797f31e939fb3e5d07eb77f
refs/heads/master
2022-12-18T14:15:11.504550
2020-09-23T14:27:39
2020-09-23T14:27:39
291,339,109
0
0
null
null
null
null
UTF-8
Python
false
false
884
py
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy from itemloaders.processors import TakeFirst, MapCompose def price_to_float(price): if price: return float(price.replace(' ', '')) return price def clean_str...
[ "nn1959@mail.ru" ]
nn1959@mail.ru
f469e7db405db18259b6a734309b541d8c906bec
d9cda40bcb8aca54d4037bf9d714956198d9ff57
/EjercicioC/Breduce.py
deb2f3b3c2e0fe62b038d07feccc6b2019957ae9
[]
no_license
flanciskinho/FIC.MUEI.ICS.MapReduce
dae56a68954a2e78e43cd155915bdf6e63de0c0b
f8856078b89d0e8703908e36a6a20493a78b8c0f
refs/heads/master
2021-01-19T05:44:42.181742
2015-01-13T16:07:33
2015-01-13T16:07:33
29,198,242
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
#!/usr/bin/env python import sys value = 0.0 for line in sys.stdin: rec = line.strip(' \t\n\r').split() if len(rec) != 1: print 'Formato incorrecto' exit() try: value += float(rec[0]) except ValueError: print 'Formato incorrecto' print '%f' % (value)
[ "flanciskinho@gmail.com" ]
flanciskinho@gmail.com
2404b325034d97f4ecca71ac3a63c427b607477a
93da83e4426b5fe84882adb21ec6ba2566252be5
/WSN_CROSS_VALIDATION_AND_SPLITING_DATA_FROM_50K_TO_300K_GRAPHS_AND_PIE_CHARTS.py
01d9670ade6aed6ad65033615c317d183f3aad9f
[]
no_license
RezviAlauddin/Intrusion-Detection-System-on-Wireless-Network-by-Data-Mining-Code-Part
cccd6e4ae43ef82373d012dac251e39abbceb1f3
ee341d9816b2c0222a6c001fe9119b3bcee1d9f6
refs/heads/master
2020-06-28T21:11:31.348349
2019-08-03T07:00:06
2019-08-03T07:00:06
200,343,267
2
0
null
null
null
null
UTF-8
Python
false
false
4,011
py
# coding: utf-8 # In[1]: # coding: utf-8 # In[1]: #all header files #import tensorflow as tf from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier from sklearn.metrics import accuracy_score from sklearn.linear_model import LogisticRegression from sklearn.naive_...
[ "noreply@github.com" ]
noreply@github.com
ae030ee10624972a845f3259a104661887ee65dd
71227ba095dd55a4c1a2bd48c7b59ae8fb8d4133
/Labo01_AgentesInt/original.py
7a58e3fafcd842e0535a695bfe2c3037c7a24619
[]
no_license
jantov/Jose_Olpo_IA_1
ef6313ba5d2f581845d2544894f64d098f8cd547
859d4ba1e11ef8f229ea788b4553f2a376418794
refs/heads/main
2023-06-15T11:40:37.339113
2021-07-17T16:29:23
2021-07-17T16:29:23
356,385,670
0
0
null
null
null
null
UTF-8
Python
false
false
28,087
py
"""CSP (Constraint Satisfaction Problems) problems and solvers. (Chapter 6).""" from utils import argmin_random_tie, count, first import search from collections import defaultdict from functools import reduce import itertools import re import random class CSP(search.Problem): """This class descri...
[ "noreply@github.com" ]
noreply@github.com
17344efc56c087a7170e129ec0ee09de2a798135
fdfbe19c3ebed78cc3b2eeab148769248a15e12f
/apps/core/views.py
c9bfe567b9f30862cb562c8b3fbfacde68db0622
[]
no_license
allwdesign/Organization-info-Rest-API
5d469a4fbb8884f01b5c07426932bb5f9d8cea92
cef30db040859c6b9fa5e217a5b60dea01aff1d5
refs/heads/master
2022-03-30T23:29:52.971571
2020-01-20T12:41:20
2020-01-20T12:41:20
112,495,771
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
# -*- coding: utf-8 -*- from rest_framework import generics from rest_framework.filters import SearchFilter from django_filters.rest_framework import DjangoFilterBackend from core.filters import OrganizationFilter from core.models import Service, Organization from core.serializers import ( OrganizationSerializer, ...
[ "allwdesign@gmail.com" ]
allwdesign@gmail.com
247a1d2d9f5a2c30d208c39d87069007bd8babe4
0770e82d0d83a1afb1a02eaa7dc836264bbfdf05
/Segundo_Semestre/Classe/Classe_basico3.py
99527f1a77b01727ef979dbfa5b1cbe2108bd1a1
[]
no_license
vinicius-carv/Ciencia-da-Computacao
db79203396f1974a9f10be4df9ab67d624261dec
763dd049752236860ea7f3ecf2b47d8ed47d89d6
refs/heads/main
2023-05-07T04:20:36.014992
2021-05-05T00:48:02
2021-05-05T00:48:02
310,368,822
0
0
null
2021-05-05T00:48:03
2020-11-05T17:16:53
Python
UTF-8
Python
false
false
1,680
py
import datetime class Pessoa(object): default=datetime.date(2000,1,1) def __init__(self,name,birth=default): self.name=name self.birth=birth def get_name(self): return self.name def get_birth(self): return self.birth def set_name(self,change): self....
[ "noreply@github.com" ]
noreply@github.com
9a4ddcf2d9c8cf00ab5ee0567fd2a2d9f2898023
cabec31ced9f68ac6d183ccdf55bee702fd62444
/utils/utils.py
a0e468db51fee0a48b2491d83724aeeb51352862
[]
no_license
superhg2012/asr-e2e
96c06333c071d43d138ad225971430d358b3542f
9aeb0c54d4a53b1c5dc2478e4dff942dd636b3cb
refs/heads/master
2021-07-09T10:38:42.284803
2017-09-30T15:51:01
2017-09-30T15:51:01
106,247,615
1
0
null
2017-10-09T07:01:15
2017-10-09T07:01:14
null
UTF-8
Python
false
false
1,646
py
import time from functools import wraps import numpy as np def describe(func): """ Wrapper for any function to log theirs estimating time Args: func: Some function Returns: The result value of the function """ @wraps(func) def wrapper(*args, **kwargs): print(func.__name__ ...
[ "niklemark@gmail.com" ]
niklemark@gmail.com
df5b840b8c55c2243221fa48aa5153e851743636
515d5d19f81324e4d021402f14028d72cb50c8f0
/team3/Sinogi.py
a6e299d8c244a2b02e00258a2543eeff89745052
[]
no_license
ophwsjtu18/ohw20f_code
88a9dc9084df537ed8879780496b7fd9f440289c
8b068fc4c53728cb5100b6c184cc7c73463562c8
refs/heads/main
2023-01-11T19:48:23.254168
2020-11-18T08:50:56
2020-11-18T08:50:56
309,934,528
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
import os,random,numpy from cv2 import cv2 print('Sinogi:还就内个一头攒死') score=0 def Q_B(event,x,y,flag,param): global score,img,QB if event==cv2.EVENT_LBUTTONDOWN: if not QB[y][x].any()==0: stp_x=y//img.shape[0] stp_y=x//img.shape[1] for a in range(1,img.shape[0]): for b in range(1,img.shape[1]): QB...
[ "1051563411@qq.com" ]
1051563411@qq.com
fa40c9f5c291d466245994d71e3b05bde8d0668f
976230c7d6270f9fbec052e01f9799e13059f79c
/tests/spatio_temporal/test_daily.py
0c473f4a8bf1f201c13a2cf6200948d00b171507
[ "MIT" ]
permissive
amet123/jyotisha
01cd60884f729814e6757d2a7186a6a4e3941a1f
83930880ca74d6ddc95cc72f7026ef63a2e1c3be
refs/heads/master
2020-03-16T09:44:13.310195
2018-02-10T02:43:19
2018-02-10T02:43:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
import logging from jyotisha.panchangam.spatio_temporal import City logging.basicConfig( level=logging.DEBUG, format="%(levelname)s: %(asctime)s {%(filename)s:%(lineno)d}: %(message)s " ) def test_solar_day(): from jyotisha.panchangam.spatio_temporal import daily panchangam = daily.Panchangam(city=City('Chen...
[ "vishvas.vasuki@gmail.com" ]
vishvas.vasuki@gmail.com
7967013853faa251a7c164a1774ad60bcab38057
84a240d463a7c286a4ff3b0c344a0e80e681ce38
/src/chap03/10_time_dependencies/test.py
1ae0ad5dbbf3e72fb61a6fcfb782ede2deaa843d
[]
no_license
perillaroc/ecflow-tutorial-code
87f12b11f942b2323e45f8f8c205f665ceaeca7f
e00d0556a161a4c221b854f99dbbd0898ee14762
refs/heads/master
2021-09-06T04:30:48.812500
2018-02-02T06:48:41
2018-02-02T06:48:41
119,969,899
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
import os from pathlib import Path from ecflow import Defs, Suite, Task, Family, Edit, Trigger, Event, Complete, Meter, Time, Day, Date def create_family_f1(): return Family( "f1", Edit(SLEEP=20), Task("t1", Time("03:00 23:00 00:30")), Task("t2", Day("sund...
[ "perillaroc@gmail.com" ]
perillaroc@gmail.com
2eed11ec265d80ff25e3c546f346c8b9f148d089
57a012d807e6b764d4a756ffbd075532e91e3d2a
/perception/implementation.py
9f40de39783115da0b30ea7c6cbe40ab66c22404
[ "MIT" ]
permissive
zbs881314/Self-Driving-Car-
730b02042728c04bdc634e7b924bc41fad4f644c
4e18a410b1ad6c542c72c7ee68f0a4042f45f9d3
refs/heads/master
2020-04-16T01:11:07.787183
2020-01-28T23:48:42
2020-01-28T23:48:42
165,163,547
1
0
null
null
null
null
UTF-8
Python
false
false
1,762
py
import numpy as np import matplotlib.pyplot as plt from sklearn import datasets import keras from keras.models import Sequential from keras.layers import Dense from keras.optimizers import Adam np.random.seed(0) n_pts = 500 X, y = datasets.make_circles(n_samples=n_pts, random_state=123, noise=0.1, factor=0.2) print(...
[ "shibo.zhou14@gmail.com" ]
shibo.zhou14@gmail.com
e07513b4008c37e78c551f70370709347e1bde89
0b4ef2684ed06cc3029226801d9b0d3a06aebb86
/scipy_stats.py
2ffd63b551efc2541762e59e61ce8f8cae694c3a
[]
no_license
haitwang-cloud/python_science
5f317992a9383c3d492b8b2486214327b6f97c3d
af53ce4054084300c1c44dcc00ce7996eaf32f27
refs/heads/master
2021-09-28T09:08:50.090240
2016-10-30T14:26:02
2016-10-30T14:26:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
# -*- coding: utf-8 -*- """ Created on Sun Aug 14 13:33:25 2016 @author: WangHaiTao """ from scipy import stats import numpy as np import pylab as pl print stats.norm.stats() X=stats.norm(loc=1.0,scale=2.0) print X.stats() x=X.rvs(size=10000)#对随机变量取10000个值 print '期望:',np.mean(x) print '方差:',np.var(x) print stats.norm...
[ "christprince23@gmail.com" ]
christprince23@gmail.com
0396fa2eb4a6c60be54c6de8b5c2e26b14e84240
90982877e08435b19934a92cd159834a2f5843f8
/UDP/UDPServer.py
7e0be3d7ceb4fb3a7061dbfdcfbc3ff0779be310
[]
no_license
Hughshine/very-simple-network-programming-demos
3d86b950fc22b97d2a0883b2b1ff59f76d78623e
56513e9bf435cd7e300a40b41dbff5834da45cea
refs/heads/master
2020-08-03T05:18:54.409647
2020-03-14T18:05:07
2020-03-14T18:05:07
211,635,766
2
0
null
2020-03-14T18:05:08
2019-09-29T09:10:08
C++
UTF-8
Python
false
false
759
py
from socket import * class UDPServer: i = 0 def __init__(self, serverName='hostname', serverPort=12000): self.serverName = serverName self.serverSocket = socket(AF_INET, SOCK_DGRAM) self.serverSocket.bind(('', serverPort)) print('The server is ready to receive.') self.st...
[ "1015545250@qq.com" ]
1015545250@qq.com
46ff505f95a812fb8e32ef840394722926fc6756
24d5bafa5f925083f6a1c8ac8d750de909e6ac8b
/Assign Category.py
be6c533cb3693aa9fe9e8a9f7d5399d6cb375905
[]
no_license
mtnekros/Trials-Project-Codes
d37fe6094cc3cbe04be0f1838aee4259649f5597
59cb10e4f7eff9f1e785649112a103fa78136d4e
refs/heads/master
2020-12-03T15:34:35.036245
2020-01-03T09:14:09
2020-01-03T09:14:09
231,373,983
0
0
null
null
null
null
UTF-8
Python
false
false
3,208
py
import arcpy print("Imports Done!!\n") way_points = r"C:\Users\PATHWAY\Desktop\Mugu Trails\all_waypoints\{AddNameFileNameHere}.shp" arcpy.MakeFeatureLayer_management(way_points, 'waypts_layer') # category wise keywords to include at 0 index and to exclude at 1 index category_keywords = { "Education Infrastructure...
[ "mtnekros@gmail.com" ]
mtnekros@gmail.com
e2b98a1c28772c9818ccbe48267a4b758985e0bb
2d34788fed3ea53e5a8d03bebf636bf29ab9dde8
/py3k-grapheq/networkxdemo.py
4d672fe0b8bc5ceda611d9c68156479883f23454
[]
no_license
kummahiih/my-never-ending-projects
60c96895bc5ef78864ac27ec0737e9dc640f155a
ba5484032a15ea8c068ce230d045a056512fd61d
refs/heads/master
2021-01-10T20:13:31.734562
2015-10-31T14:38:40
2015-10-31T14:38:40
42,805,980
0
0
null
null
null
null
UTF-8
Python
false
false
469
py
import grapheq import networkx as nx import matplotlib.pyplot as plt def graph_maker(G): def connect(a, b): print (a, b) G.add_edges_from([(a, b)]) return grapheq.from_operator(connect) if __name__ == "__main__": G = nx.DiGraph() I, O = grapheq.get_I_and_O() C = ...
[ "pauli.rikula@gmail.com" ]
pauli.rikula@gmail.com
fc60141431fdb2a1d9447306ce86f6388d1d206b
1422f408da469ec0659c6a7c182486c89f36b30c
/oops/Static class.py
7bfa36719df85a33d252ce7ccc5cd54ffce97ac0
[]
no_license
saiprasadvk/pythonprogram
df448e0ee6e5c3ecaba91b55ff01bf7ae2c98b31
6c8efaf35cc48e0cae0be30bda06bd7e543b0d70
refs/heads/master
2022-12-01T09:09:41.565623
2020-08-17T13:05:51
2020-08-17T13:05:51
281,454,175
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
1) class Mathematics: def addNumbers(x, y): return x + y # create addNumbers static method Mathematics.addNumbers = staticmethod(Mathematics.addNumbers) print('The sum is:', Mathematics.addNumbers(5, 10)) O/P:: The sum is: 15 2) class Dates: def __init__(self, date): self.date = date ...
[ "noreply@github.com" ]
noreply@github.com
b8a11afd62dda6a0c4927d7d976a193bd9afeeb3
6f49a43d03354752676ae07ebed922f60a13267b
/utils.py
2ebe25c78b4f46da273dc36cc74dfcfee5c21ec6
[]
no_license
dgrissen/mint-import
7c493c50693884306d8dffed14fa7bfa413afcb1
09beefd362651e0dd2ed1b6b702428a1394dd13d
refs/heads/master
2020-05-16T21:40:01.068609
2015-07-11T16:47:18
2015-07-11T16:47:18
20,864,044
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
def build_post_dict(description, default_category, default_merchant, txndate, txnamount, mtIsExpense, token): post_dict={ 'cashTxnType':'on', 'mtCheckNo':'', 'tag461974':'0', 'tag461975':'0', 'tag461976':'0', 'task':'txnadd', 'txnId':':0', 'mtType':'c...
[ "darrell.grissen@eflglobal.com" ]
darrell.grissen@eflglobal.com
1d1b706b79d817045a4458163d9e0a30057bb120
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_nets.py
9595b4e462c02417b87f949ef703a5e57f707413
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
from xai.brain.wordbase.adjectives._net import _NET #calss header class _NETS(_NET, ): def __init__(self,): _NET.__init__(self) self.name = "NETS" self.specie = 'adjectives' self.basic = "net" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
194ba9e2d48337aa89eb30deb90a845d278ff020
05581fa74e15416943d6d7659742080dd07f1b9a
/cache/.mako.tmp/base.tmpl.py
d6b6f1c705889461cb21a5f38262cedd8896d102
[]
no_license
demba/blog
b05ec00d89c8f2d3acea7638ca13d954e8781bd6
ddf9a6ba9f647b697371d5ebbea2be3147c93161
refs/heads/master
2023-01-12T07:03:21.854260
2021-06-26T19:12:02
2021-06-26T19:12:02
40,611,969
0
0
null
2022-12-26T19:53:45
2015-08-12T16:34:43
HTML
UTF-8
Python
false
false
13,041
py
# -*- coding:utf-8 -*- from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 10 _modified_time = 1548692602.838756 _enable_loop = True _template_filename = u'/home/demba/.pyenv/versions/blgng/local/lib/python2.7/site-packages/nikola/da...
[ "dembayel@gmail.com" ]
dembayel@gmail.com
3b60f69fc3a7ea2875c479c1321722d627e63862
0df6e77e86ba66ea4c96a0801c9f4487411eff9b
/contest/myTeam88.py
64edf31795c86931b053f782ce88cca98ed884ca
[]
no_license
victoriacuicui/AI
493e377a05aea9a1623e03580c5d5e2b7c977079
734bd39dc5186597b982b74a0b292dd1df3e2c5f
refs/heads/master
2021-05-24T15:39:40.737784
2020-04-06T23:16:41
2020-04-06T23:16:41
253,635,711
0
0
null
null
null
null
UTF-8
Python
false
false
25,763
py
# myTeam.py # --------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. # # At...
[ "noreply@github.com" ]
noreply@github.com
42490e9d628afc7166f5dcda37a9bee303d53667
0a6cdc131ec7de905717eef677b0d89447b4b325
/main/admin.py
d48cd2a6572004772a259f5db74b9054409276b4
[ "Apache-2.0" ]
permissive
madcat1991/hh_survey_gui
615cbd4ddb4cddd2d55e5257ad471af0b2043d3b
30e19f4289fbfbf5eccb59f7a4c9c738877f8ffc
refs/heads/master
2023-06-02T04:07:44.615525
2017-11-20T11:41:31
2020-04-22T15:42:01
257,945,556
0
0
Apache-2.0
2021-06-10T22:48:35
2020-04-22T15:41:12
Python
UTF-8
Python
false
false
905
py
from django.contrib import admin from main.models import HHUser, RecsReview, RecsReviewQA, ClusterRecsReviewQA class HHUserAdmin(admin.ModelAdmin): list_display = ('code', 'cluster_id') class RecsReviewAdmin(admin.ModelAdmin): list_display = ( 'pk', 'reviewer', 'hh_user', 'recs_type', 'dt', 'qa', ...
[ "tgurbanov@Turals-MacBook-Pro.local" ]
tgurbanov@Turals-MacBook-Pro.local
7a8658e2780e39c807703f1ce6d24759d56e59b6
c546a4c676828aa34fb6eec633f07b84db9082ba
/test/util/test_misc.py
277b823ae30850eab8c4f1c7852b5451029a1e21
[ "MIT" ]
permissive
gunbra32/cate-core
0bc73ef9682201f2763183c0e67d653f0b9e1c50
371ca8b1bd54ea307753917f9ebc5b2e84aeadaa
refs/heads/master
2020-06-22T22:15:03.990577
2017-06-26T08:54:30
2017-06-26T08:54:30
94,225,795
0
0
null
2017-06-13T15:05:19
2017-06-13T15:05:18
null
UTF-8
Python
false
false
9,160
py
from collections import OrderedDict from datetime import datetime, date from unittest import TestCase from xml.etree.ElementTree import ElementTree from numpy import dtype from cate.util.misc import encode_url_path, to_json from cate.util.misc import object_to_qualified_name, qualified_name_to_object from cate.util.m...
[ "norman.fomferra@brockmann-consult.de" ]
norman.fomferra@brockmann-consult.de
20c48cc4a77f45fd86724abe840615267cceb96d
4dac09a38ecfd1bec5895e82e79446522ba26a0b
/p2.py
ac71ef4688ffa96f3d67e40cc56fcf0679b1fd5c
[]
no_license
elhamrazi/ai-first-project
e63a8b4fdccef36d8e6d77400175ba74bf32297b
f733d712f1efac9f21412c7b8f6e07582c628ec9
refs/heads/master
2023-02-01T21:23:55.266016
2020-12-24T10:25:17
2020-12-24T10:25:17
321,106,901
7
0
null
null
null
null
UTF-8
Python
false
false
4,365
py
import copy path = [] created = 0 explored = 0 class Node: def __init__(self, deck_no, parent): self.decks = [] self.no = deck_no self.parent = parent def add_slots(self, slots): for i in range(self.no): temp = slots[i] self.decks.append(temp) de...
[ "elhamrazi99@gmail.com" ]
elhamrazi99@gmail.com
b8993aa7ccaea8513fd07124d6005cdbd77c5068
dd6cf539f20a0143acbdda1ed3f64b18b08a29b5
/whiteList_v5/Config/2019第一季度脚本/config_fangtoo.py
8af88ee3c64feb458b58b8f158acd47a212eef70
[ "MIT" ]
permissive
myirelias/white_list
eec6a900cc3eea0f227425327ab55a6b46ba873d
2bf344d2dc8f5cb3afbde71e248c019651ee3a7a
refs/heads/master
2020-04-15T11:10:44.850942
2019-11-05T01:51:41
2019-11-05T01:51:41
164,618,155
0
1
null
null
null
null
UTF-8
Python
false
false
2,178
py
# 房途网 TASK_NAME = 'fangtoo' # 起始URL START_URL = 'http://www.fangtoo.com/' # 控制域,必须为list格式 DOMAIN = ['fangtoo'] # 请求头 HEADERS = { 'Host': 'www.fangtoo.com', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0', 'Accept': 'text/html,application/xhtml+xml,application...
[ "myIrelia@aliyun.com" ]
myIrelia@aliyun.com
8b79882dc6fd8a4f17eb7a20d608e983099ff59a
b9a9316e1fe7ca8b91ca30edd174d28de7a3c935
/prac_04/quick_picks.py
5519f49f497cdde43552085039929f2792c8cef2
[]
no_license
NathanMarson/Pracs
124f67d1568baf2c37dd9addec5c67da4defff74
a3b9dc2b035c4f3afc28af14c85fe3b19f26b73d
refs/heads/master
2021-03-19T17:30:07.624180
2017-09-21T00:55:43
2017-09-21T00:55:43
100,543,213
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
import random NUMBERS_PER_LINE = 6 MIN = 1 MAX = 45 amount_of_picks = int(input("How many quick picks? ")) while amount_of_picks < 0: print("Invalid amount") amount_of_picks = int(input("How many quick picks? ")) for i in range(amount_of_picks): quick_pick = [] for n in range(NUMBERS_PER_LINE): ...
[ "nathan.marson@my.jcu.edu.au" ]
nathan.marson@my.jcu.edu.au
283d776bbb65004616a973203db221b48b1cdbf7
21f9562a4e2614b47635eaae143affaa05726669
/Python/List-1/common_end.py
0d6450a21923221eefa2235687b52116ac15b449
[ "MIT" ]
permissive
LucasHenrique-dev/exercicios-codingbat
a252dd0c683e4286497c01b5502a98fbbbc76e6a
ff92db10387757b9a2e3f72be6b7e51824b1ffa6
refs/heads/main
2023-08-22T17:49:56.932947
2021-10-05T16:45:31
2021-10-05T16:45:31
319,936,676
2
0
null
null
null
null
UTF-8
Python
false
false
269
py
""" Dada 2 listas numéricas ("a" e "b"), retorne true se elas começarem com o mesmo elemento ou terminarem com o mesmo. Ambas terão tamanho de pelo menos 1. """ def common_end(a, b): return a[0] == b[0] or a[-1] == b[-1] print(common_end([1, 2, 3], [7, 3]))
[ "lucas.hneto@hotmail.com" ]
lucas.hneto@hotmail.com
ea464d0736ced0fd8a1eb5f9d260007260e87d9b
bf3b1e583c3091fc4c376eba92ecd26720a02d07
/scripts/testgsw.py
6eaf39eb32277848878df65f570dfa2f7d4194d1
[]
no_license
justinecstz/dynamical_planner
f88516aa132fa5baf690e2af05758f6db7962060
6e6370f5378cc7a0cd789b3b1c0daee26bbf5282
refs/heads/master
2020-04-27T03:12:11.010896
2019-06-05T16:06:38
2019-06-05T16:06:38
174,018,244
0
0
null
null
null
null
UTF-8
Python
false
false
6,043
py
#!/usr/bin/env python import roslib import rospy import math import tf from std_msgs.msg import String from std_msgs.msg import Float32MultiArray from std_msgs.msg import MultiArrayDimension import numpy as np oldState = "" if __name__ == '__main__' : rospy.init_node('getStateWolrd') listenerMarkers = tf.Trans...
[ "justine.costaz@live.fr" ]
justine.costaz@live.fr
7e143995d7e137dcb1934363b26de9cf57999bab
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/5040/404005040.py
9579f1c988fb1681ddca7d2da3451a5a5e882284
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
3,935
py
from bots.botsconfig import * from records005040 import recorddefs syntax = { 'version': '00504', 'functionalgroup': 'SR', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'ZC1', MIN: 0, MAX: 1}, {ID: 'BX', MIN: 0, MAX: 1}, {ID: 'BNX', MIN: 0, MAX: 1}, {ID: 'M3', MIN: 1, MAX: 1}, ...
[ "doug.vanhorn@tagglogistics.com" ]
doug.vanhorn@tagglogistics.com
d9e14952e66e2cf27a24b198bdb252681cfbc12d
b8986464293fb7f59476b60a1f0ae69a8da7c0a9
/src/ansiblelint/rules/run_once.py
ea49654bee033844e590763407af7fc8f9abb7db
[ "GPL-3.0-only", "MIT" ]
permissive
utoddl/ansible-lint
e837bac16067888918b4d856c73a118fac28e347
fd90545c4a2527e6ff4c76f0c1f69893da6cb200
refs/heads/main
2023-03-18T08:06:00.445840
2023-01-26T17:22:32
2023-01-26T17:22:32
234,972,838
0
0
MIT
2020-01-19T21:46:45
2020-01-19T21:46:45
null
UTF-8
Python
false
false
2,795
py
"""Optional Ansible-lint rule to warn use of run_once with strategy free.""" from __future__ import annotations import sys from typing import TYPE_CHECKING, Any from ansiblelint.errors import MatchError from ansiblelint.rules import AnsibleLintRule if TYPE_CHECKING: from ansiblelint.file_utils import Lintable ...
[ "noreply@github.com" ]
noreply@github.com
451b171eedc679c5013c736a0918b085ca36b46c
fbea3e5d1ecab07b15887b321cd650349f22df95
/peterklepec_webpage/cms/dashboard.py
4df6b11b0df775c579e8ece440fb36e4e21e822a
[]
no_license
simonrakovic/peterklepec
2e2004c04450898107da61314ec2ba03ee93bbe7
58114cfbd4f85d08a4749aa34492f52e11a9925e
refs/heads/master
2021-01-21T07:53:35.429724
2016-09-21T12:34:52
2016-09-21T12:34:52
24,656,406
0
0
null
null
null
null
UTF-8
Python
false
false
3,632
py
""" This file was generated with the customdashboard management command and contains the class for the main dashboard. To activate your index dashboard add the following to your settings.py:: GRAPPELLI_INDEX_DASHBOARD = 'peterklepec_webpage.dashboard.CustomIndexDashboard' """ from django.utils.translation import ...
[ "simonrakovic@gmail.com" ]
simonrakovic@gmail.com
df41d124547958669afd3d7ea5b16fa84c6e8a15
867f54b7ce0c5fb8a8a86d6b4c1703b0ef2dcde2
/code/centralize_data.py
4aaf1657d21eb0758b9440919c0413b292682533
[]
no_license
lucy3/reddit-sent
800dccb8eb0ceffa898e2d4175a20746387f8942
d1cb144f0ac78d4a055ddd742bc6f0792274759f
refs/heads/master
2020-03-16T23:59:07.248572
2018-10-31T23:13:24
2018-10-31T23:13:24
133,098,656
4
0
null
null
null
null
UTF-8
Python
false
false
5,163
py
""" Takes the original input files and creates for each subreddit three files per month - 1) bigram counts of words - 2) unigram counts of words - 2) a list of username \t num_comments """ from pyspark import SparkConf, SparkContext import json from collections import Counter import time import os import string import ...
[ "lucy3@stanford.edu" ]
lucy3@stanford.edu
421f87fca9204ad25095fbf30160db01901d451d
0e0b9039af1ffbca7fd48da7c98fb0eb997832d8
/ShoppingCartApp/urls.py
bfce786564859c2c092b0f41b2214982dd5afc02
[]
no_license
aplidinio/Le-Bon-Patissier
d8ce4007300f2e1d6f2040f81657cf9f2bca4211
cc7d766dab06fbb560be019dea1cb07e9c558bcb
refs/heads/main
2023-04-16T08:10:07.233988
2021-04-29T14:48:11
2021-04-29T14:48:11
362,854,036
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
from django.urls import path from . import views urlpatterns = [ path('', views.go_to_cart, name="cart"), path('', views.add_product, name="add"), path('', views.delete_product, name="delete"), path('cart/increment_product/', views.increment_product, name="increment"), path('cart/decrement_produc...
[ "aplidinio@gmail.com" ]
aplidinio@gmail.com
6dd3dd37611b504ca0edb6b8ca13703a61b50382
e34632d5bd4f8ebd0cb8157422c532506a5bfbde
/Bagging/Distance_Classifier.py
f44a731458f47f13ec9bda98540a4f811f26c461
[]
no_license
APM150/P-value_Research
747240bf02e76edf7678832203bad47d9932696a
1fd863cc1b9499f654f3c32658ead1d4928e464c
refs/heads/main
2023-02-09T12:03:11.490176
2021-01-04T22:55:51
2021-01-04T22:55:51
326,827,369
0
0
null
null
null
null
UTF-8
Python
false
false
12,132
py
import pandas as pd import numpy as np from sklearn.neighbors import KDTree from sklearn.preprocessing import normalize, StandardScaler from sklearn.model_selection import train_test_split from sklearn.neighbors import RadiusNeighborsClassifier import matplotlib.pyplot as plt import math from collections import default...
[ "xujohnathan021@163.com" ]
xujohnathan021@163.com
043f5668a55597a335e31d67e4e1e990eb98918c
6cf7e3c06425d4c3e4c16dbb5a53faf736c81efe
/Hacker_Rank/Python/dsimpleknapsack.py
25c2100d7599f9590ac0e1da58f72ae842438a7f
[]
no_license
neuralfilter/hackerrank
0e44c75614e8ec0f502940739e44465368eaf885
564552a6d4334f5bb5924779a3f63827aa40ec4a
refs/heads/master
2021-09-06T12:08:38.389623
2018-02-06T10:30:27
2018-02-06T10:30:27
110,924,535
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
import sys sys.setrecursionlimit(10000) k = map(int, raw_input().split()) item = [map(int, raw_input().split()) for x in xrange(k[0])] memo = [[0]*int(k[1]+1) for i in xrange(k[0]+1)] def knapsack(items, capacity): for i in range(k[1]+1): for n in range(k[0]+1): if items == 0 or capacity == ...
[ "Seiji.Sakurai@outlook.com" ]
Seiji.Sakurai@outlook.com
51cf6cb246c8fc7206420f5ca0b4ca38daf503b7
9a2413b572c0f89b1f80899a10237657d9393bd6
/sdk/python/pulumi_keycloak/generic_client_role_mapper.py
7482298398ca25d54904f73e31411f577ced592b
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
jaxxstorm/pulumi-keycloak
5c25363ece6af49dad40bd693ce07b1fa0dedd74
2fc7b1060b725a40d2ada745aa0d10130243a0b5
refs/heads/master
2022-10-10T13:11:04.290703
2020-06-05T19:11:19
2020-06-05T19:11:19
270,870,883
0
0
NOASSERTION
2020-06-09T01:08:56
2020-06-09T01:08:55
null
UTF-8
Python
false
false
4,797
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from . import utilities, tables class Generic...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
e103eef8d534c592e958270e5f3e32b3c8dcd461
38b1a23208e1e9e3fe445328718b4d2bb1218051
/gait_identification_res_net.py
5b3f13f2eec438d91b01f4355c07e33cbb00666c
[]
no_license
aamirsahmad/gait-deep-learning
fe46e4ef2fbb20d1501aab66151e202feaa5a431
e3be1d9333e0124fe38119c3a9752facc14ca0bf
refs/heads/master
2022-11-21T13:40:08.265027
2020-04-25T15:04:20
2020-04-25T15:04:20
282,077,705
1
0
null
null
null
null
UTF-8
Python
false
false
19,582
py
# -*- coding: utf-8 -*- """resNet.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1yqHUQTtkjIiocgKejf1pW-WAp9EtIajE """ # Initialize runtime import tensorflow as tf print('***** TENSORFLOW version', tf.__version__) if tf.__version__ == '1.15.0':...
[ "abid.hassaan@outlook.com" ]
abid.hassaan@outlook.com
983ebd7e879bf7254691eb140325136ad1219624
a9bca0df6e7c3396f3b367b55eebedc6f02fe197
/crm/admin.py
9b5b8d04224c0d7b7e527c514e7a8c52af6fc53c
[]
no_license
jojotrujillo/maverick-food-services-crm
f53187b6cae8ca09c675b61a9903b0d4e1ea6372
87a3955c3284096dac6979bc29f5c510a695745f
refs/heads/master
2022-04-16T06:47:47.040308
2020-04-16T22:07:21
2020-04-16T22:07:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
from django.contrib import admin from .models import Customer, Service, Product class CustomerList(admin.ModelAdmin): list_display = ('cust_name', 'organization', 'phone_number') list_filter = ('cust_name', 'organization') search_fields = ('cust_name', ) ordering = ['cust_name'] class ServiceList(ad...
[ "56196564+jojotrujillo@users.noreply.github.com" ]
56196564+jojotrujillo@users.noreply.github.com
9500c48e7a7fbda723ca05e82f6932e50a80cc2a
53ba1c29d6122b8afeb6578f1a338621c61f507d
/FCCeeAnalyses/ZH_Zmumu/dataframe/plots.py
1478a35a3cf293e86dc3db7e5dd11aed9830304d
[]
no_license
selvaggi/FCChhAnalyses
dd420f5bdba60147322cc16b49479ca200e8a54c
8f397c77229c68ad87947e6912466da4b0a6654b
refs/heads/master
2021-04-27T17:08:28.824726
2020-05-21T07:42:43
2020-05-21T07:42:43
136,484,120
1
0
null
2019-05-02T13:12:39
2018-06-07T13:49:23
Python
UTF-8
Python
false
false
1,547
py
import ROOT # global parameters intLumi = 5.0e+06 #in pb-1 ana_tex = "e^{+}e^{-} #rightarrow ZH #rightarrow #mu^{+}#mu^{-} + X" delphesVersion = "3.4.2" energy = 240.0 collider = "FCC-ee" inputDir = "Outputs/FCCee/ZH_Zmumu/" formats = ['png','pdf'] yaxis = ['lin','log'...
[ "clement.helsens@cern.ch" ]
clement.helsens@cern.ch
8df7f4ec252f39264940d3b0ca9114440bf1427d
1677fa0e8b61c116164252f687501fe470a965a6
/Python Random Practice Folder/web.py
8c0ce32a65eadbbcf691f1e4b1fb217cbcf74877
[]
no_license
Badhansen/python-working-dictionary
1cfbf6d04879c7fb02c39f235dba8f5ad3040ee1
ed2ce39f6b2535a6c1c51d89436fb97adba32ec7
refs/heads/master
2020-04-29T04:55:26.079839
2019-03-15T18:34:26
2019-03-15T18:34:26
175,863,786
3
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
import requests from bs4 import BeautifulSoup def trade_spider(max_pages): page = 1 while page <= max_pages: url = "https://buckysroom.org/trade/search.php?page=" + str(page) source_code = requests.get(url) # just get the code, no headers or anything plain_text = source_code.te...
[ "badhan.cse@gmail.com" ]
badhan.cse@gmail.com
6ea7d621fefd4269a56d863f6213844eb685a7e1
50b99da2d1b565038af4b2422566504877bca512
/Pokemon_API_Testing/TestScripts/Pikachu_Move.py
ba236b8f034a7b6843bfe91423cda867c9a8963c
[]
no_license
Bindu-KHB/Intive
20d7bba3a378d343368cefc6d7a9515f575042b5
772403b9dcb7b794cc789d692ff3704e835d46ba
refs/heads/main
2023-03-23T10:01:13.512415
2021-03-17T21:51:28
2021-03-17T21:51:28
347,780,977
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
import requests import json response = requests.get('https://pokeapi.co/api/v2/pokemon/pikachu') json_content = json.loads(response.content) for moves in json_content['moves']: pikachu_move = (moves['move']['name']) if pikachu_move == "thunder-punch": print("Verified thunder-punch move found") loca...
[ "bindu.kethireddy@yahoo.com" ]
bindu.kethireddy@yahoo.com
49045f74e2997064f0e98cef7f962cae04f94c58
ece78bd2141b3ce31bb0e52b9298734b899eb05e
/Searching_and_Sorting/counting_sort.py
b9247f231a041871dc920954a4f6899045b36073
[]
no_license
code-project-done/Algorithms_for_Competitive_Programming_in_Python
cf4cacbe7e3f170a454dce59949973e6152737b2
fe13c90d1bc84e1a8858c83ea32c725182106616
refs/heads/main
2023-04-05T04:04:26.934540
2021-04-11T09:01:31
2021-04-11T09:01:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
""" Assume all elements of a sequence are between 0 and C*n we can then sort in O(n) """ def counting_sort(aa, m): counts = [0] * (m + 1) for a in aa: counts[a] +=1 ss = [] for i in range(m + 1): if counts[i] > 0: ss += [i]*counts[i] return ss #driving code aa = [1,4,9,5,2,1,4,5,7,8,5,6,3,1,2,4,5,6,8,5,4...
[ "pierre.machine.learning@gmail.com" ]
pierre.machine.learning@gmail.com
5998b15a75ebaad20a7b1706fc64dc7e5b9ddbbc
4d8095a63f935697d6fbfac43cd243f53abde937
/test-lstm.py
bb777422ceb84cf4371a7bdfa8ef89dd4f03d33b
[ "Apache-2.0" ]
permissive
xuanhan863/clstm
d9bb36407d68a1e261497ec1fe432c0e527a1a2c
d67cbab3216fad75b71014e90358e436f310b693
refs/heads/master
2021-01-17T07:04:33.966030
2015-10-23T00:30:42
2015-10-23T00:30:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
#!/usr/bin/python from numpy import * from pylab import * from numpy.random import rand import clstm net = clstm.make_net_init("lstm1", "ninput=1:nhidden=4:noutput=2") net.setLearningRate(1e-4, 0.9) N = 20 ntrain = 30000 ntest = 1000 print "training 1:4:2 network to learn delay" for i in range(ntrain): xs = array(r...
[ "tmbdev@gmail.com" ]
tmbdev@gmail.com
54000c1f3749adf95d4eaa554253e54925cac65f
9826c9d5d9e845a06ac33b80133f17eb3782bbdb
/1205_polymorphism.py
b79cb62b3efcfd1e0f5625cd2a7696654147524a
[]
no_license
sujitdhamale/Python
0a33ec12fab88df3659e311ff606d79803249828
644ea529ed87b0fa4048157f79bfe18a2c156a0e
refs/heads/master
2020-03-20T04:51:59.508929
2019-01-24T14:13:19
2019-01-24T14:13:19
137,197,180
0
1
null
null
null
null
UTF-8
Python
false
false
1,118
py
#!/usr/bin/python #1205_polymorphism.py by Sujit Dhamale #to Applying polymorphism to classes class india: def citizen(self): print("I am Indian citizen") def language(self): print("i speak Hindi") class maharashta(india): def state(self): print("i am Maharashtrain ") ...
[ "noreply@github.com" ]
noreply@github.com
ae2983b7c1a49b7a841ae018dc45418c67d67c30
824de7f2bce18c06f2f02db955ad079b89a5ad33
/Sakila/MongoDB/Models/rental.py
f666dc168afd4678c21f629ca23841b31c3dca08
[]
no_license
mariadias143/BDNOSQL
378156985dbfe433b04893f1ed0180af791aebb8
dbb9dae341d92db5e17bb0bfe9ca444f27c94619
refs/heads/master
2022-03-26T09:20:42.553158
2020-01-14T01:07:42
2020-01-14T01:07:42
213,943,525
0
0
null
null
null
null
UTF-8
Python
false
false
1,622
py
from datetime import datetime class FilmRental: def __init__(self,id,title,categories): self.id = id self.title = title self.categories = categories def toDic(self): dic = {} dic['film_id'] = self.id dic['title'] = self.title dic['categories'] = self.cat...
[ "diogosobral98@gmail.com" ]
diogosobral98@gmail.com
0e913315c0881967655bfda56a7ad9bb57aafd09
527128dab34ecde00998fd31d592d007fceaf4f1
/Programming Language/Python/Django/CRUD_EX/crud/movie/models.py
1821d06205aecc773172b264c53d1dcd91c8108e
[]
no_license
Doyuni/TIL
b1f29cd75d764076e030cbd79999796ff94dc3b2
faa4c5782b8dbab8336c7581fbdca62bfb844276
refs/heads/master
2020-04-13T13:39:20.749601
2019-08-27T12:10:47
2019-08-27T12:10:47
163,237,942
1
0
null
null
null
null
UTF-8
Python
false
false
400
py
from django.db import models class Movie(models.Model): title = models.CharField(max_length=1000) director= models.CharField(max_length=1000) actors= models.CharField(max_length=1000) date= models.CharField(max_length=1000) length= models.IntegerField() score = models.FloatField() genre = m...
[ "gdypc@naver.com" ]
gdypc@naver.com
e6184f7d2d02d159763a29f3a82e470b14b4109a
859ede6d97dc0c8a802f172aadaac13bac562be6
/FaceReco/index/migrations/0012_auto_20191202_1010.py
1372e036022894f82cb4863dca46c0accd98184f
[]
no_license
Zhora1337/diplom
b8c0725b3b299941e261c9b47f4e07903b108038
4c4909abaeea6c5c5061ef0a55047947a4a53ea4
refs/heads/master
2022-04-02T12:28:30.841442
2020-02-16T11:14:21
2020-02-16T11:14:21
233,037,979
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
# Generated by Django 2.2.7 on 2019-12-02 10:10 import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('index', '0011_auto_20191202_1004'), ] operations = [ migrations.AlterField( model_name='us...
[ "zhora1337@protonmail.com" ]
zhora1337@protonmail.com
76daed50724ba448496cf829ca671984cb8b47b7
0e6d2167a8e13c2040382a734ec3aadf221b6b61
/model_test/model_test.py
0bee584e1b7ec725e49146325a4d01cc12e5258d
[]
no_license
potatowagon/drangler
2216fde0141fb9818374f70bf32443898fb565ee
fb22ff41cf0ec35c723ffff604e32162f9302786
refs/heads/master
2020-04-21T18:27:16.307947
2019-04-21T15:23:56
2019-04-21T15:23:56
169,769,966
0
1
null
2019-04-21T14:56:11
2019-02-08T17:07:20
Python
UTF-8
Python
false
false
2,226
py
import unittest import numpy import pandas from sklearn.ensemble import RandomForestClassifier from sklearn.neighbors import KNeighborsClassifier from sklearn.preprocessing import normalize from validation import ConfusionMatrix from validation import LOOCV from validation import KFold from joblib import dump class Te...
[ "th3bomberry@hotmail.com" ]
th3bomberry@hotmail.com
e16a0a4d963ff076b3d7b228d9bb0ac8b8deefb2
d879f00448dab694cc8969578acc2a3b8fac06ea
/notebooks/pylib/regeff.py
6597edb960810d5545a8d1416b27d96fb0b39164
[]
no_license
nikita-p/kskl20
49a60ddb508bf6e5a7f89c645a4bb9613f3206f9
a1e4dcc217938007a2d20db93e3db40a47d01963
refs/heads/master
2023-08-07T07:54:20.925475
2021-09-30T08:46:20
2021-09-30T08:46:20
301,926,401
0
0
null
null
null
null
UTF-8
Python
false
false
8,106
py
from scipy.special import erfc, expit from iminuit import Minuit from iminuit.cost import LeastSquares import matplotlib.pyplot as plt import pandas as pd import numpy as np import uproot import re from progressbar import progressbar from .style import my_style from .preprocess import read_tree from scipy import stats ...
[ "nikita.petrov.1997@gmail.com" ]
nikita.petrov.1997@gmail.com
3cd0764c9f5a7b5a555056774f3636ba504dd12a
4b7a4235e6ad1afd04e0414a2260f2441c6f82a3
/CIA 2 Project/Tweets and Survey datasets/Twitter Dataset and Code/Preprocessing.py
3d654cd4c9fab7b7356286329599aa985ed8105b
[]
no_license
jonam-code/2MDS-Project-
2c9c8d037ba1dd645d9b151343594eedc0ba3344
ee2335950d50d1d8e360af54ee3c731a538c2960
refs/heads/main
2023-05-09T22:53:39.550194
2021-06-06T14:10:24
2021-06-06T14:10:24
367,129,987
0
0
null
null
null
null
UTF-8
Python
false
false
2,516
py
import tweepy import GetOldTweets3 from textblob import TextBlob import pandas as pd import numpy as np import re import os import string import matplotlib.pyplot as plt data = pd.read_excel("TN2021.xlsx" ,engine='openpyxl') # Removing #,@ RT and hyperlink def cleanTxt(text): text = re.sub('@[A-Za-z0...
[ "noreply@github.com" ]
noreply@github.com
4c10cbd3c907d2b700a4587d67043ec7b66c5280
f098c361ee79bb8b7a8402fcf20b37f17fb36983
/Back-End/Python/Basics/Part -3- Hash Maps/04- Serialization and Deserialization/_04_JSON_singledispatch.py
5bac467735833efd499c104e8e24e933427f5fe3
[ "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
rnsdoodi/Programming-CookBook
4d619537a6875ffbcb42cbdaf01d80db1feba9b4
9bd9c105fdd823aea1c3f391f5018fd1f8f37182
refs/heads/master
2023-09-05T22:09:08.282385
2021-10-31T11:57:40
2021-10-31T11:57:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,389
py
import json from datetime import datetime log_record = { 'time': datetime.utcnow(), 'message': 'Testing...', 'other': {'a', 'b', 'c'} } def custom_json_formatter(arg): if isinstance(arg, datetime): return arg.isoformat() elif isinstance(arg, set): return list(arg) print(json.dum...
[ "58447627+Koubae@users.noreply.github.com" ]
58447627+Koubae@users.noreply.github.com
0bc03a6906489336817aebc3bd23c41f53bdff07
6db56dd65aacbc3313b9b54209459f8f7819295a
/code/featurization.py
0c4fb9ae48f608df9a17437c031da969554eca58
[]
no_license
shoshosho/test
bddc4bdf8597243d30988859554be1609d486a32
731ab8e863bb7a4f704d945addd35e627be4bc76
refs/heads/master
2021-01-19T11:45:20.686550
2017-09-09T09:35:40
2017-09-09T09:35:40
87,994,665
0
0
null
null
null
null
UTF-8
Python
false
false
2,219
py
import pandas as pd import numpy as np import scipy.sparse as sparse from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer try: import cPickle as pickle # python2 except: import pickle # python3 import sys try: #python2 reload(sys) ...
[ "shoichi_tagu@r.recruit.co.jp" ]
shoichi_tagu@r.recruit.co.jp
65829eeb65794e19da467166a19446c84cae71ac
c495a029c258a2d4ad7b264aa80eb4285389d518
/main_site/main_site/urls.py
45742fbd1adc6be1517b3b50bece30511c047848
[]
no_license
xliu59/weather-powered-email
9c2cc65b64017f4cc9a4ca2f5e87e5380768866d
0243886814768414e830899d1182cfc6f6881763
refs/heads/master
2021-03-30T21:06:23.900283
2018-03-13T14:27:54
2018-03-13T14:27:54
124,992,249
1
0
null
null
null
null
UTF-8
Python
false
false
815
py
"""main_site URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "xiaoxiaoliu@Xiaoxiaos-MacBook-Pro.local" ]
xiaoxiaoliu@Xiaoxiaos-MacBook-Pro.local
73280c360773ca1128a0a64654f69ff607a7f67b
d6d3b65469b63ee71bfd829f3e3b0d807c13873e
/main.py
c3a9d36bd1135c9cdcbafeb9668e2f8566db25d3
[]
no_license
Amirhossein-Veysi/url-shortener
1205550cd1f61939980dac7ad512d4b2d4fe8079
b8a246050e8a3a357f10c134f52328757dc2ebf1
refs/heads/master
2023-07-21T17:41:29.977713
2021-09-03T12:07:50
2021-09-03T12:07:50
394,940,224
1
0
null
2021-08-13T08:15:21
2021-08-11T09:49:52
HTML
UTF-8
Python
false
false
2,548
py
from flask import Flask, request, render_template, redirect import data from flask_cors import CORS import password as pass_solver import visits app = Flask('app') CORS(app) @app.route("/") def home(): return render_template("index.html") @app.route("/api") def api_page(): return render_template("document...
[ "amirhossein_veysi@yahoo.com" ]
amirhossein_veysi@yahoo.com
13151916578e33525fc62cc87b57543a25f74961
621ef837693219b4bb39ebf38d92e9d966615234
/Server/Server.py
da820090808f2e4695e33429950061de1db2f6cc
[]
no_license
nckspec/Robot
3a7cde7e9bcadb3d0b1db1145f10f40eb3c01a70
d7dfd6652e69f54fb589c070f0c5914291f47ae0
refs/heads/master
2020-05-01T19:06:29.355508
2019-06-24T04:30:59
2019-06-24T04:30:59
177,639,797
2
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pygame import sys import os import pygame.display import time import pygame from pygame.locals import * import pickle import struct import socket from CameraViewer import CameraViewer from functions import recvall, keysPressed # PROCESSING: Initialize pygame pyga...
[ "nspectorit@gmail.com" ]
nspectorit@gmail.com
f907ff4ba829fa54dbcfe70929820da5e97f9185
6fd5dc76db76869e94484442096448fde405e41c
/dankmeme.py
273471c5927d375de373eba2c26a6d43792fbff4
[]
no_license
Rocksheep/lambot
42151a86a08ff93b12ba147f7ef1136df6d050d4
578cd1a760d36306949949f1c5bdbaa32e3b14f9
refs/heads/master
2021-01-10T15:27:43.409817
2016-02-04T10:37:04
2016-02-04T10:37:04
51,068,966
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
from configparser import ConfigParser from imgurpython import ImgurClient import random cfg = ConfigParser() cfg.read('config.ini') client = ImgurClient(cfg.get('imgur', 'client_id'), cfg.get('imgur', 'client_secret')) def get_random_dank_meme(): items = client.memes_subgallery('viral', random.randint(0, 3)) retu...
[ "rien@dailydialogues.nl" ]
rien@dailydialogues.nl
995d3364d9f1610b752d62d9502e69c61b685f68
1164dbd41b85a3f7e5849e1385fd53cd59701880
/weathermonitor/__init__.py
6c316d201844716dc841c271a40789b47305e222
[]
no_license
scizorman/weather-monitor
4f3bbd6d990a1e2b7e271d91d92ccf913cd5a59a
abc76a7a15e55e016764a59899526792eba49dd9
refs/heads/master
2022-12-15T10:22:52.127753
2018-12-04T13:17:05
2018-12-04T13:17:05
159,391,590
0
0
null
2021-06-01T23:06:39
2018-11-27T19:58:28
Python
UTF-8
Python
false
false
127
py
# coding: utf-8 from . import communicator from . import core from . import device from . import exception from . import utils
[ "tueda1207@gmail.com" ]
tueda1207@gmail.com
7eb6576a8db4d87e29120d93a3ee3c45b38431a9
8f9e1e393124565370d8256abc477c7517124021
/build/catie_test_scenario/catkin_generated/pkg.installspace.context.pc.py
cc832812d8ca90e4c36f80f50d47e28cda184f37
[]
no_license
AlexToy/SimpleNavigationGoals
8e5338d1ed0bdf1a8b344f9775e924a1fbb19ad3
5f756daa89218f267534197f3eacb8d2de25d39f
refs/heads/master
2022-04-24T05:27:30.387576
2020-04-23T13:01:17
2020-04-23T13:01:17
254,588,466
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "catie_test_scenario" PROJECT_SPACE_DI...
[ "alexandre.haristoy@gmail.com" ]
alexandre.haristoy@gmail.com