blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
179abd03f2ae118cfb2b85da6360707ead06748a
1b10b46afdf24b4ce4f2d57e315e09e17c0a9c2b
/winding_helix.py
51d16cff03b2651355fadbdb7bd2a560ed49af5b
[]
no_license
tthtlc/sansagraphics
e6aad1541dabc85b3871e1890c9f79aa33055355
113e559fb128c93ed1f02155ec74e76878b86c37
refs/heads/master
2021-01-15T15:52:35.126301
2020-03-30T16:58:57
2020-03-30T16:58:57
15,507,431
2
1
null
null
null
null
UTF-8
Python
false
false
3,415
py
# Pygame/PyopenGL example by Bastiaan Zapf, Apr 2009 ### From http://python-opengl-examples.blogspot.sg/ # # Draw an helix, wiggle it pleasantly # # Keywords: Alpha Blending, Textures, Animation, Double Buffer from OpenGL.GL import * from OpenGL.GLU import * from math import * # trigonometry import pygame # just t...
[ "htmldeveloper@gmail.com" ]
htmldeveloper@gmail.com
80830d2c4527373672b28a60f6897f9622dbb64d
4b2df7b62246133fd3c8af2529f6544dcf2b4350
/pushups/migrations/0005_auto_20181011_1118.py
b591fed36590ad62240012ec288faed71fe7cbe2
[]
no_license
MrMacchew/LOL_CTS
24b0904f2a4b2934d0c386511c269684cfe3b3ca
cf9c7e434d73365aded766ac8703cb02ddd06104
refs/heads/master
2020-04-01T03:02:19.267620
2018-10-20T07:51:37
2018-10-20T07:51:37
152,806,859
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# Generated by Django 2.1.1 on 2018-10-11 17:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pushups', '0004_auto_20181011_1113'), ] operations = [ migrations.AlterField( model_name='match', name='accountId', ...
[ "mattcain@weber.edu" ]
mattcain@weber.edu
0dd2cef3dc56c4a4f8d361b8c08ba8662f40f907
1fd5f886a0cf83d30e95792036ffbafc2d3d12fe
/utils/affichage.py
a6992e28990667e0b213ae69265871a69cc8ca05
[]
no_license
constance-scherer/PLDAC_Recommandation_analyse_sous_titres
9a2358bdf4b564bceccedd9588f7f4d2cb8e8e67
92106d497ffceb65df35d3884dec1072913ce8d1
refs/heads/master
2020-04-20T06:59:08.606057
2019-05-29T10:50:21
2019-05-29T10:50:21
168,699,380
4
0
null
2019-02-10T16:42:26
2019-02-01T13:11:40
Jupyter Notebook
UTF-8
Python
false
false
524
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import pandas as pd def get_hist(df, x_axis, y_axis, titre, colour, font_size=None, horizontal=False): if horizontal: hist = df.plot.barh(x=x_axis, y=y_axis, color=colour, title =titre, fontsize = font_size, edgecolor = "none").get_figure() else: h...
[ "amina.djelloul@hotmail.fr" ]
amina.djelloul@hotmail.fr
d77e5c51f77650cf17fab3e34a6d2b3c30310516
7672706c2d285a6eef5689381eef56dc3d6e779c
/assignment4_4.py
26bd85ba5395ef34dd76a3c0e7795f494e26d6ae
[]
no_license
AreRex14/netprog-assignment
3fbf2f949d774f3a957297d5cb11f18b94e00815
1057bc2485a98c260320dc45c01c91a3e3a6ef18
refs/heads/master
2020-12-26T21:27:11.902369
2020-02-01T17:29:00
2020-02-01T17:29:00
237,649,985
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
import dns.resolver import json def MX_lookup(host): answers = dns.resolver.query(host, 'MX') servers = [] for rdata in answers: servers.append((rdata.preference, rdata.exchange)) servers_pref_ascend = sorted(servers, key=lambda server: server[0]) return servers_pref_ascend def JSON_lookup(host): answers...
[ "arerifxynwa@gmail.com" ]
arerifxynwa@gmail.com
c4bbebeeaa1fede9542e856ca68e24409905d33f
c0f808504dd3d7fd27c39f1503fbc14c1d37bf9f
/sources/scipy-scipy-414c1ab/scipy/io/tests/test_wavfile.py
266775ecd99e28e8010c480d95ff5fce9e266339
[]
no_license
georgiee/lip-sync-lpc
7662102d4715e4985c693b316a02d11026ffb117
e931cc14fe4e741edabd12471713bf84d53a4250
refs/heads/master
2018-09-16T08:47:26.368491
2018-06-05T17:01:08
2018-06-05T17:01:08
5,779,592
17
4
null
null
null
null
UTF-8
Python
false
false
2,146
py
import os import tempfile import warnings import numpy as np from numpy.testing import assert_equal, assert_, assert_raises, assert_array_equal from numpy.testing.utils import WarningManager from scipy.io import wavfile def datafile(fn): return os.path.join(os.path.dirname(__file__), 'data', fn) def test_read_1...
[ "georgios@kaleadis.de" ]
georgios@kaleadis.de
30bf23cbb12bb828a340c74a0d91fa08a504b30e
777e23a382d7dd84232795a929c4004c768d1837
/www/orm.py
beb91d24c8bdbfe88c890b3f0be0725751427fef
[]
no_license
Altkaka/Altkaka-Web
542126c2ec72453fb1ca8495892ef1bd4282f2e7
64773d579aa3097a1b3af2d071358105f388cf04
refs/heads/master
2021-05-04T19:14:23.648750
2017-10-12T08:40:16
2017-10-12T08:40:16
106,657,692
1
0
null
null
null
null
UTF-8
Python
false
false
13,659
py
import logging; logging.basicConfig(level = logging.INFO) import asyncio import aiomysql from myapis import APIError from myapis import * async def create_pool(loop, **kw): logging.info('create database connection pool...') global __pool __pool = await aiomysql.create_pool( host = kw.get('host','l...
[ "dongjiwukl@163.com" ]
dongjiwukl@163.com
4698d40ef6e587e24e8f464698a390215afa3948
115bf3b584b489f34167e5e9d98eb53a6c03044b
/libcrowbar/configs/cpplint.py
e60e94019c192b30e58b7b1c196a6d53fa8cb4a4
[]
no_license
npcardoso/PhDThesis
fe094414d695cf64db100d23997c0e347e2dea14
16062572cfe6e234856325c2a8c9e4c88a335236
refs/heads/master
2021-01-16T21:29:21.888085
2018-10-26T18:22:32
2018-10-26T18:22:32
63,144,416
37
15
null
null
null
null
UTF-8
Python
true
false
234,786
py
#!/usr/bin/python # # Copyright (c) 2009 Google Inc. 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 # notice, this list of ...
[ "alexandrecperez@gmail.com" ]
alexandrecperez@gmail.com
db93795161562c704ef128162efea62145d2f060
0b80b985d83f9999658f0039472af20eec97f60d
/dl_code.py
b7742e3308dd4d4b5a68b20cf86e523350536631
[]
no_license
sahilm142/imdb-reviews-analysis
83955edc362fea056b5b01270f0936118d9d6da5
0f19fd0d02c3b734936b14f569d85f5a47e16c53
refs/heads/master
2020-05-15T12:18:33.109597
2019-04-19T20:38:03
2019-04-19T20:38:03
182,245,570
0
0
null
null
null
null
UTF-8
Python
false
false
2,094
py
# -*- coding: utf-8 -*- """ Created on Thu Mar 7 11:30:32 2019 @author: Sahil """ import numpy as np import pandas as pd import csv def create_dataset(folder_name,type_rev): ''' Column names 0: Type of review from top 250s 1: TV 2: Movies 1: Serial no of type 0 in top 250 2: Ra...
[ "sahil.mansoori.143@gmail.com" ]
sahil.mansoori.143@gmail.com
117fc293b953a162050b93cb0bc575cb49d741c8
30846dedeb87be7ba9894427122f6263fc99e67f
/courseSelection/urls.py
32ccc9fee82c3d18a272e7fc0c3b235ddc065d70
[]
no_license
nslam/jwsys
003f2f6e5e4942182f6c2f9c35237a6127bc8015
c6958e128109cdffd830d69fc3a9d0bae0fac3d3
refs/heads/master
2021-01-23T05:56:05.059336
2019-03-09T15:25:54
2019-03-09T15:25:54
93,001,593
4
8
null
2017-07-05T02:10:46
2017-06-01T00:50:34
HTML
UTF-8
Python
false
false
1,825
py
from django.conf.urls import url from django.views.generic import RedirectView from .views import student_views, instructor_views, manager_views, index_views urlpatterns = [ url(r'^$', index_views.index), # manager url(r'^manager$', RedirectView.as_view(url='manager/index')), url(r'^manager/index$', mana...
[ "hanfei.ren@foxmail.com" ]
hanfei.ren@foxmail.com
41cc8cb8ec10ccb8c7eb432e8f3cc4602df5f651
d043a51ff0ca2f9fb3943c3f0ea21c61055358e9
/python3网络爬虫开发实战/数据存储/MySQL实验/删除数据2.py
7af2d45b23cc102f658c4407ee7362981f7f0c80
[]
no_license
lj1064201288/dell_python
2f7fd9dbcd91174d66a2107c7b7f7a47dff4a4d5
529985e0e04b9bde2c9e0873ea7593e338b0a295
refs/heads/master
2020-03-30T03:51:51.263975
2018-12-11T13:21:13
2018-12-11T13:21:13
150,707,725
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
import pymysql db = pymysql.connect(host="localhost", user='root', password='123456', port=3306, db='django') cursor = db.cursor() table = "friends" age = "age > 30" sql = 'DELETE FROM {table} WHERE {age}'.format(table=table, age=age) try: cursor.execute(sql) print("Successful...") db.commit() except: ...
[ "1064201288@qq.com" ]
1064201288@qq.com
8dfab12c043371b1ac8d6e3cf94c374f2d82fae4
bff707c5c0046350cc5a8f3d76b37c8403059380
/mysite/blog/migrations/0015_auto_20180831_2354.py
afb7c4fe8e7fdba1178521619a9d5e686c9ae0e2
[]
no_license
0xArt/PersonalSite
4c54259e72e3ef5971ad85490ea536e45b7603da
02b092477fa69b78aa813398c6d18a79b94a7f97
refs/heads/master
2020-04-05T16:24:21.044320
2019-04-04T00:51:54
2019-04-04T00:51:54
157,010,755
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# Generated by Django 2.0.6 on 2018-09-01 06:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0014_auto_20180831_2352'), ] operations = [ migrations.AlterField( model_name='post', name='summary', ...
[ "artinisagholian@gmail.com" ]
artinisagholian@gmail.com
84eeb4e216661d1b5592535c6727d2131a0709a8
5c84c379978ac4c663d6193ea2e4e156f1fc0922
/hard/149_maxpoints_on_a_line.py
ed5bf69070d34a3ddba151cc7ec4590f1eb836f8
[]
no_license
nraghuveer/leetcode
a46483a9fd7f990410d6b9132c618e5d54baf9a7
ca045ce2c6d23fb8f92ea9871565b21cbdbeef19
refs/heads/master
2021-07-01T15:43:43.249587
2020-10-15T17:47:38
2020-10-15T17:47:38
180,434,748
0
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
# https://leetcode.com/problems/max-points-on-a-line/ # using slope ? # if two points have same slope => colinear # calculate slope for n points with n - 1 points => O(pow(n,2)) => not good from collections import defaultdict from typing import List def gcd(x,y): while y: x, y = y, x % y return x c...
[ "raghuveernaraharisetti@gmail.com" ]
raghuveernaraharisetti@gmail.com
92ed6a36ac6f7be76144f403a841125f2a79c943
633c18a9e1931f937f7f91f05ce9749a4ac169f6
/work_with_pythest/tests/test_math.py
05d5b8bf6daeef827b40a6d56148b1075e179af4
[]
no_license
borko81/python_scripts
fb3ff79377f19233e18d20f4f150735cdbe52c29
4e8ed38550f3b90bc00c07605d7e92822b079206
refs/heads/master
2022-07-07T19:26:52.467714
2022-06-24T15:46:57
2022-06-24T15:46:57
224,904,971
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
import pytest def test_one_plus_one(): assert 1 + 1 == 2 def test_one_plust_two(): a = 1 b = 2 c = 3 assert a + b == c def test_division_by_zero(): with pytest.raises(ZeroDivisionError) as e: num = 1 / 0 assert 'division' in str(e.value)
[ "bstoilov81@gmail.com" ]
bstoilov81@gmail.com
c9830ab4f029b375f6bd3a3f24a0a151fc6d831a
0454d50b12960ef3a4a1f101f6d3bee585c7cfe9
/tests/parser/test_lieshu.py
99032d9cec5ead06d147eba826352df9a8959c42
[]
no_license
Syhen/hmqf_crawler_hy
7a99c05d1ac87bc293872aeb5efec450db3fb689
80508040340d1c5a9fd5192e2f5f623fd77cac08
refs/heads/master
2021-09-19T23:31:38.730466
2018-08-01T09:51:40
2018-08-01T09:51:40
111,872,551
1
3
null
2018-01-05T10:07:00
2017-11-24T03:36:46
Python
UTF-8
Python
false
false
1,586
py
# -*- coding: utf-8 -*- """ create on 2017-11-27 上午11:15 author @heyao """ import json from nose.tools import assert_list_equal, assert_is_instance, assert_dict_equal, assert_equal from content_market.parser.lieshu import Lieshu class TestLieshu(object): def setUp(self): self.lieshu = Lieshu() de...
[ "lushangkun1228@hotmail.com" ]
lushangkun1228@hotmail.com
21f4eac2a5d60a2dfe080bd75652381d18460ec0
d37189d84ee0fe11969fb4b591899035a5533352
/fun2.py
1e86b8658e999401565ccd3b3f43d478390d1109
[]
no_license
KebadSew/scratch_python
5654e1fe2e13f88b630b26ace21e96bac3278da2
aa460807200a6eb3b64ba17549769c4b0d023572
refs/heads/master
2023-02-16T15:34:42.924669
2021-01-19T00:58:07
2021-01-19T00:58:07
293,111,352
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
# create a function which prints sum of two input number parameters ''' def sum(x,y): print("Sum is ",x+y) sum(5, 7) # subtract def mekenes(x,y): print("Mekenes of x-y is ",x-y) mekenes(5, 7) ''' def sum(x, y, z): return x+y+z s = sum(8, 6, 2) # create a function which prints sum of two input n...
[ "lingering.quest@gmail.com" ]
lingering.quest@gmail.com
af01032059305357b2406966e9ed3d432d2a7f77
0be6bb93eda9c8fb1798bd99f15ef4acb04fc504
/src/pe0026.py
61df838294b1fd130e79832d9c2ff856ba97bc98
[]
no_license
neysene/project-euler
d7f9ec8c3a46fd7fd61eec4044632e6166146337
79f9170482000328dcddb4a34701b75ab8209638
refs/heads/master
2021-01-10T07:03:55.054443
2016-01-29T05:30:40
2016-01-29T05:30:40
49,287,376
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
if __name__ == '__main__': maxx, keep = 1, 3 for i in xrange(2, 1000): num, denom, flag = 10, i, True a = [] while flag: k = num%denom if k == 0: break elif k in a: if len(a) > maxx: maxx = len(a) ...
[ "ismailgonul@gmail.com" ]
ismailgonul@gmail.com
1c90d3231346ed0d9f466ab115158842a74a22cb
af73bf48ac21f0cdbfe1dffc9fba09172dbcfd4a
/youtube_parser.py
2a9ae0a5a08ce1e77239d36f9b8adb55521b33c4
[ "MIT" ]
permissive
cborao/youtube-xml-parser
2d92e57d3d23339f9da74d90cfd7505dc75eacf3
0ed6377cf39ba59ec762589cb1f6399cb5786081
refs/heads/master
2023-06-05T10:10:45.294835
2021-06-22T16:55:12
2021-06-22T16:55:12
379,341,177
0
0
null
null
null
null
UTF-8
Python
false
false
2,324
py
#!/usr/bin/python3 # # Simple XML parser for YouTube XML channels # César Borao Moratinos # # Based on "ytparser.py" code: # # Jesus M. Gonzalez-Barahona # jgb @ gsyc.es # SARO and SAT subjects (Universidad Rey Juan Carlos) # 2020 # # The input is a valid channel ID. The parser produces a HTML document in standard out...
[ "c.borao.2017@alumnos.urjc.es" ]
c.borao.2017@alumnos.urjc.es
7373cab884ab98deb78bcd0b60f131314c4adecb
42a5c898a3a750c54dc746429e306b9f40a8638e
/pizza/orders/admin.py
bd3ee529187b49a87581f033cfc17e3d0e95696a
[]
no_license
selbieh/Pizza
16f4198714b88ad93f354e6c0eb98d92a19e364b
c10bd78b1318d7e81128e66fa67d09241618e00d
refs/heads/master
2022-05-18T04:25:46.431748
2020-01-13T13:45:59
2020-01-13T13:45:59
233,557,658
0
0
null
2022-04-22T22:59:33
2020-01-13T09:24:18
Python
UTF-8
Python
false
false
120
py
from django.contrib import admin from .models import orderPizzaItem,order admin.site.register([orderPizzaItem,order])
[ "selbieh@gmail.com" ]
selbieh@gmail.com
f7c3fccd2351d12f60914ebd2d253e3434834656
48a29c558eba558cff4c40171d14ae92a29bccaa
/matrix/zero_matrix.py
d8982f5c0e6ab831d934c5118283c2e7cef71fb4
[]
no_license
gammaseeker/DSA_Python
ea0a3cb526d7f71136c9a6134be0947c9be65ab0
70633cb7b53dbe628e7edd0fb2b6973872f90e50
refs/heads/master
2023-07-07T02:25:50.548688
2021-08-10T20:00:56
2021-08-10T20:00:56
196,867,646
0
0
null
null
null
null
UTF-8
Python
false
false
1,237
py
def zero_matrix(matrix): # Check if top row has 0 row_zero = False for col in range(0, len(matrix[0])): if matrix[0][col] == 0: row_zero = True # Check if first col has 0 col_zero = False for row in range(0, len(matrix)): if matrix[row][0] == 0: col_zero ...
[ "jjiemjitpolchai9540@bths.edu" ]
jjiemjitpolchai9540@bths.edu
40c19d84fb25f6fed0b4af8ac7f99c567eff0950
0d86664dd973242fdf895e515fe8df5847c03980
/analyze/extensions/com.castsoftware.html5.2.0.8-funcrel/js_file_filters.py
977bcb983f010c69e2264b2241d0ef05da06bb99
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
neel7h/engineering
2de1ed914be924aabf7d3133c28efd250fc08e13
4afd87d1700a34d662453860526aef5ba1201268
refs/heads/master
2022-02-18T06:32:43.532951
2019-10-03T08:41:39
2019-10-03T08:41:39
212,519,749
0
0
null
null
null
null
UTF-8
Python
false
false
9,701
py
''' Created on 26 nov. 2014 @author: iboillon ''' import os import json import re import cast.analysers from cast.application import open_source_file # @UnresolvedImport import traceback class FileFilter: def __init__(self): jsonPath = os.path.abspath(os.path.join(os.path.dirname(__file__), ...
[ "a.kumar3@castsoftware.com" ]
a.kumar3@castsoftware.com
f2ebf591f742eb1433a9072d3c9826170e1cb8cd
2f73a3d4daac2aa2c38c3443b4f5555c49faa1c8
/Data.py
d8e917bf4fa96358299cdd241123799362a03919
[]
no_license
18021009/project
656b6c8f9a0120c1185493d04405660895db93e9
0133f412e50e3dadd13bd0028832babf846070e5
refs/heads/main
2023-05-07T17:08:41.529766
2021-06-01T04:06:38
2021-06-01T04:06:38
372,696,937
0
0
null
null
null
null
UTF-8
Python
false
false
4,718
py
from math import nan from os import name from Station import station import numpy as np import datetime import pandas as pd from Map import map from Point import point # standardline date data.csv to college.csv # ds = pd.read_csv('data.csv') def changeToDate(output_file): ds = pd.read_csv('data.csv') day_d...
[ "myEmail@example.com" ]
myEmail@example.com
a7ac6aca6ae6303875db1502f4c7a1f188290a7d
bead792530ab007addd60ce777e9ce19bc45cc74
/inception-google/utils.py
b797d03ecbf9e46c79fdd3249d8fbd5b928d25c1
[]
no_license
knowmefly/Youth-AI-SelfImprovement
aefb47bf13284509372cfd6c1ea14a81e2be21ce
bb15cdc07dc6c231b5d44acae088f98a44f97761
refs/heads/master
2020-04-25T04:26:20.997249
2019-03-06T20:33:08
2019-03-06T20:33:08
172,510,073
2
1
null
null
null
null
UTF-8
Python
false
false
1,371
py
# -*- coding: utf-8 -*- import tensorflow as tf slim = tf.contrib.slim # 定义默认的arg scope def inception_arg_scope(weight_decay=0.00004, use_batch_norm=True, batch_norm_decay=0.9997, batch_norm_epsilon=0.001, activati...
[ "knowmefly@qq.com" ]
knowmefly@qq.com
181a7dc33b61cdc418e9314d9e6ba8faa6a0d378
0d7d344edf0dc4b905b12a96a004a773191aa26f
/visas/admin.py
b00da55229665e711a24d095008554baee723958
[]
no_license
BoughezalaMohamedAimen/Amine
ae615ca64c5d0c8977e26aee2906e606439250d5
6060d48ab1308c217fe1bd8bd419369f83cb733a
refs/heads/master
2020-06-27T11:57:30.682966
2019-08-04T22:56:41
2019-08-04T22:56:41
199,948,247
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Visa)
[ "mamoumou121@gmail.com" ]
mamoumou121@gmail.com
649d3305c8a94ba9233b0341f2e5877d71f30475
79ea04b61afc43231dfdc76f290356af46598914
/FRW/manager.py
284daa87f29a5c755671f1ad31ca4ef1eac95ffb
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
PearseT/Maya_scripts
21b3abd78b7c132e5b28182f23d181050ec2b112
037fe39b1b4928dce6f967c710ecc0d1d087502d
refs/heads/master
2020-06-03T04:23:17.990529
2019-12-03T13:46:30
2019-12-03T13:46:30
191,436,434
0
1
null
null
null
null
UTF-8
Python
false
false
26,731
py
# TODO: # importDeformerWeights to perform auto-binding for some of the more common deformers like skinCluster, cluster, etc. # quadruped import sys, os, imp, inspect, shutil, glob, platform, __main__ from functools import partial import maya.cmds as mc THIS_DIR, THIS_FILE = os.path.split(__file__) sys.path.append(TH...
[ "pearsetoomey@gmail.com" ]
pearsetoomey@gmail.com
2d3d1b442af9336be133c309201d7efd2fff5c15
19692e21e740eca07b493cf4ebf22ad833ce827d
/lawsite_nogit/lawsite/wsgi.py
11149264db289cadfe32f7a73806afab1794e05b
[]
no_license
reedharder/bending_the_law
6033082d78175285983e98dc8cda0c9da72b97b2
bd85f6a3f91c3f9bb28da87177a5578a7fffb9c6
refs/heads/master
2020-04-09T11:55:49.036953
2016-08-05T15:58:47
2016-08-05T15:58:47
40,094,227
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
""" WSGI config for lawsite 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/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "reedharder@gmail.com" ]
reedharder@gmail.com
1ce65bae1f1abca5f6f1b6dcf3dd5b53a58ec9b5
a87ed28a5217101f57f387c8003ed73e4bb873d3
/cracking-the-code-interview/queue.py
deb62c3fb3c1dda57e89705ad3572c070f678842
[]
no_license
snahor/chicharron
82f65836258462a900f2dba6b4192a436e16e7d0
710e7114d8768965cd50556cbbeeed0e3604cf92
refs/heads/master
2021-01-24T14:11:32.235253
2017-07-19T06:06:42
2017-07-19T06:06:42
41,190,005
0
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
from linked_list import Node class Queue: ''' >>> q = Queue() >>> q.enqueue(1) >>> q.enqueue(2) >>> q.enqueue(3) >>> q.dequeue() 1 >>> q.dequeue() 2 >>> q.enqueue(4) >>> q.enqueue(5) >>> q.dequeue() 3 >>> q.dequeue() 4 >>> q.dequeue() 5 >>> q.deq...
[ "hans.r.69@gmail.com" ]
hans.r.69@gmail.com
236f08e901aa2811beb0f5bc228a88b8b65cf996
caf1d3bd64bbece382fcad9c38da28f8bfd7b6ea
/rules.py
7788b1ed5ac7c146bbc9bc09e96d0aaab5aa965a
[]
no_license
PavelPylypenko/kz_tagging
bf5dc192f7a3d552d9edda97ec141050204e33df
a057d3e8c26ba914bf59bc7063519e4be4090f28
refs/heads/master
2022-11-25T16:23:01.810210
2020-08-06T09:33:06
2020-08-06T09:33:06
285,529,922
0
0
null
null
null
null
UTF-8
Python
false
false
11,701
py
NNATENDS = ['шык', 'шы', 'пыр', 'мпыр', 'алар', 'ашыщ', 'лар', 'елер', 'ды', 'рдан', 'рлан', 'рсақ', 'қтар', 'ылар', 'ылык', 'нші', 'лік', 'сшы', 'пша', 'хана', 'ашы', 'ші', 'паз', 'лық', 'йлар', 'қсы', 'ылық', 'ндық', 'ім', 'ар', 'ас', 'кер', 'уші', 'шілер', 'рік', 'ктер', 'қша', 'пан', 'лшы', 'дыр', 'тыр', 'рған', 'қ...
[ "pavlo.pylypenko@anvileight.com" ]
pavlo.pylypenko@anvileight.com
31377b78b9aa2c2a50c21500d418eb84e8d65b07
ae5bc58aea259f9e633398b99e9705c89a0cea3d
/tasks/viewpoint_select/utils_data.py
15883db86b9b6068ef4ef746b53f5f631cafb115
[ "MIT-0" ]
permissive
ayshrv/visitron
3bacefd4cf62c66864cfcdba4e24af7a576590dd
2f30e6c002ed021d2be209a94a5e77c2d7e2117f
refs/heads/main
2023-06-03T17:47:06.905510
2021-06-30T22:18:55
2021-06-30T22:18:55
302,179,557
1
0
NOASSERTION
2021-06-30T22:59:18
2020-10-07T22:56:49
Python
UTF-8
Python
false
false
20,796
py
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: MIT-0 import base64 import csv import json import logging import math import os import pickle import re import sys import time from itertools import chain import lmdb import networkx as nx import numpy as np from tqdm impo...
[ "shrivastava.ayush1996@gmail.com" ]
shrivastava.ayush1996@gmail.com
3a2925faeb0eaad7e3a73932dba72170f81fdccb
26629871a6c7eaa82dcf1d7f1adf8cae2ab24991
/DressitUp/Home/views.py
fccfbe31e43ed74692670d210e631723d6a742cb
[]
no_license
RonakNandanwar26/DressitUp
2421fb62ad5e47be36f66dc3920cafe49ee43eb9
4e7ac01a9411ad2b767efb2a80ad5dc6344449ab
refs/heads/master
2022-11-30T23:14:38.989536
2020-07-11T12:17:08
2020-07-11T12:17:08
278,849,777
0
0
null
2022-11-18T10:56:10
2020-07-11T11:39:51
Python
UTF-8
Python
false
false
2,563
py
from django.shortcuts import render, redirect, get_object_or_404 from .forms import ContactForm, ProfileForm, UserForm from django.contrib import messages from django.core.mail import send_mail from DressitUp import settings from products.forms import ProductForm # Create your views here. def home(request): templ...
[ "ronaknandanwar1999@gmail.com" ]
ronaknandanwar1999@gmail.com
30295c60432b3dc86a5982db72a44530415d66b1
893577de9978f7868e7a3608ab697a320adf55f1
/python/Day1/problem1_3.py
9c71c686b36cf77b1e2c9ff80693415d699a73b8
[]
no_license
zealfory/xiyu-NLPTrainee
0d8c6ab80cfc7b3a00e886f340f34e5ed4650fc2
3e63bad5d53b478563003d0c78fa1cab63fcefb4
refs/heads/master
2020-06-13T15:24:30.589485
2019-08-26T08:15:22
2019-08-26T08:15:22
194,693,706
1
0
null
null
null
null
UTF-8
Python
false
false
1,079
py
def longestValidParentheses(s): """ :para s: str -- 字符串 :return: int -- 最长有效括号串长度 """ s_length = len(s) stack = [] start = 0 maxlen = 0 for i in range(s_length): # 左括号入栈 if s[i] == '(': stack.append(i) ...
[ "noreply@github.com" ]
zealfory.noreply@github.com
46cda83c4132a39c6286332ab4240e378fc2e4e7
e4ab9d29abcadd76e4f540d3ea5487aff4259004
/lab_7.1.py
0255a13ca5b7f91bd5fb38e43f948cf43ecf9a42
[]
no_license
swyatik/python-KPI
83332ed2fa3a49acd6c521416a08c005f4be78d2
10adac7d76790256ebe72339455a0a081433d4f6
refs/heads/master
2020-06-04T22:27:10.463697
2019-06-16T16:52:02
2019-06-16T16:52:02
192,215,205
0
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
class Sphere(object): def __init__(self, radius = 1.0, x = 0.0, y = 0.0, z = 0.0): self.radius = float(radius) self.x = float(x) self.y = float(y) self.z = float(z) def get_volume(self): v = 4 / 3 * 3.1415926535897932384626433 * self.radius ** 3 re...
[ "noreply@github.com" ]
swyatik.noreply@github.com
c47eb54349cc1aaf6624d4dd8dda17bbcb9f3a10
e1c4b32f23d8622be21db1445c9877f0de1680f1
/backend/app/controllers/home.py
c6b483330ecfcd0750b79fd1d46b35e43bca8be4
[]
no_license
AngCosmin/api-flask
8d212f0393b9a7590eeafd1b704f1a2b51bfe0a3
7c09d78cda9160b60a162ac15761ad5817c17917
refs/heads/master
2022-12-15T04:36:43.692837
2019-04-05T20:30:15
2019-04-05T20:30:15
179,749,615
0
0
null
2022-09-16T17:58:57
2019-04-05T20:24:59
Python
UTF-8
Python
false
false
133
py
from flask import Blueprint blueprint = Blueprint('home', __name__) @blueprint.route('/') def index(): return 'Hello World'
[ "cosminzorr@gmail.com" ]
cosminzorr@gmail.com
3b5eb65cc24ada0602641c43bd8365025a109f61
43bd7dce16d5dd856d9755ee44b89316ab4dcfbd
/BakeryManagement/asgi.py
7aa89e87c3a4ee6687a9cd753db29c46f5d449c9
[]
no_license
rishabh-22/BakeryManagement
86bc0e478ed954c46e734afc0ee2f9261d46b2a7
0b75306f1db2f42e047d1e65a1baeaf62c29919e
refs/heads/master
2023-03-26T01:24:18.087439
2021-03-11T19:43:35
2021-03-11T19:43:35
344,091,099
1
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" ASGI config for BakeryManagement 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJA...
[ "rishabh.bh22@gmail.com" ]
rishabh.bh22@gmail.com
b749d4bcecade6a4c865a8f3a69ebd30954dfe41
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-config/aliyunsdkconfig/request/v20190108/GetSupportedResourceTypesRequest.py
8fb02d120fe982b0df0cc395179ce63061909e27
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
1,296
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
a6b9a81031ca5ebba259e3bfd9015c0ce85b1d1f
3e0abf5d310edec9ac8cd939b83518d5f1cb753c
/feature-a.py
e0ef5294caaa47e7af55eaf6dd68035d8175d3a2
[]
no_license
anushkhasingh30/git-1
ebc13f9974bee04650e7a6aa0e8313d1ebe5eaac
4516ce4a2ac811246c50a7b8012ff4a028959695
refs/heads/master
2023-06-25T00:04:15.593702
2021-07-27T10:38:00
2021-07-27T10:38:00
389,939,561
0
0
null
null
null
null
UTF-8
Python
false
false
19
py
print('feature a ')
[ "anushkhasingh30@gmail.com" ]
anushkhasingh30@gmail.com
5b82ca7833330ee0646d306a6cef65cb5c33df37
762742b3c5cb5706e93e12dbdc3f8c46fc65f0db
/Packs/GreyNoise/Integrations/GreyNoise/GreyNoise_test.py
bc42620c600a89f5bf9c62f42f621c88f3b2320f
[ "MIT" ]
permissive
EmersonElectricCo/content
018f95f7fe7de13819e093a3661587a18407e348
82c82bbee7d428f0b14991a88c67672e2c02f5af
refs/heads/master
2021-06-17T04:54:22.938033
2021-05-06T16:39:59
2021-05-06T16:39:59
161,693,191
2
0
MIT
2018-12-18T15:16:49
2018-12-13T20:47:26
Python
UTF-8
Python
false
false
8,763
py
import pytest import json import GreyNoise from test_data.input_data import ( # type: ignore parse_code_and_body_data, get_ip_reputation_score_data, test_module_data, ip_reputation_command_data, ip_quick_check_command_data, generate_advanced_query_data, query_command_data, get_ip_contex...
[ "noreply@github.com" ]
EmersonElectricCo.noreply@github.com
6fe04aaf0e701031982130a0f867b59e8d83e3ec
42d18b5dba342099dae032ab2aa2bb19b995f9be
/ch/ch1/wxpy/helper/sendHelper.py
836277903d0cc0bfb05cfdad56a0430e3bb0d0a0
[]
no_license
wenyaodong777/python-workshop
4e38ee7f3c96e8cdac3804c980b735db304ffb18
5f7bb9aa227ec46c89f793f592f3c90e9cd50603
refs/heads/master
2020-05-26T18:14:58.354116
2019-05-24T00:52:32
2019-05-24T00:52:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
#!/usr/bin/python # -*- coding: UTF-8 -*- class WXSender(): def send(self, groups, content): for group in groups: group.send(content)
[ "wuchenbao@odc.cmbchina.cn" ]
wuchenbao@odc.cmbchina.cn
04da31593f90e147dd4899029a36daa0fe6f87e5
867d946a375a3ad9808af45c15e8b2ea3274da0f
/Scripts/Linux/SQLTimeBasedColumns.py
4bf2980aab49ca6f4911ed4cfa193946ca4187bf
[]
no_license
AmatheraeWorld/AmatheraeWorld
5985a6731221d375750d30ca22c59fe3aed52a1f
1b32d2d2fed410c9c486c1cbc21dc8fa0ac8d1a7
refs/heads/master
2023-06-16T13:41:32.443881
2021-07-11T20:26:51
2021-07-11T20:26:51
265,905,582
1
1
null
null
null
null
UTF-8
Python
false
false
1,147
py
#!/usr/bin/python3 import requests, time, sys, signal from pwn import * def def_handler(sig, frame): log.faiulure("Saliendo") sys.exit(1) signal.signal(signal.SIGINT, def_handler) url = 'http://admin.cronos.htb/index.php' burp = {'http': 'http://127.0.0.1:8080'} s = r'0123456789abcdefghijklmnopqrstuvwxyz' ...
[ "noreply@github.com" ]
AmatheraeWorld.noreply@github.com
c0fc1c5fe7e20c2b73669f3d38ce4eff71b3fa44
400f4a13784f93029dbe035392ba62f0956f1c1f
/sampler.py
8ec1187020e92427b9f63246e08ea5c919a22c2b
[ "MIT" ]
permissive
ussama-azizun/Masked_Face_Recognition
5e3516ec0d99380ef22decdd06c536bfe79a6cd1
2dc572573ebd9ac208314690b529ed69addf0913
refs/heads/master
2023-07-13T03:49:27.553385
2021-08-03T07:51:35
2021-08-03T07:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,331
py
from torch.utils.data.sampler import Sampler import itertools import numpy as np def samples(df): label_to_samples = [] samples = [] label = 0 for index, row in df.iterrows(): if index == 0: samples.append(index) label = row['target'] else: if row['ta...
[ "samyuan101234@gmail.com" ]
samyuan101234@gmail.com
45bb0f11373a3220f0f4387907cff7b0eee4e3f3
dc72589c38ba179524c2ee2e408c4f37b77cabf3
/backend/lizz_mob_jul15_dev_7685/urls.py
8827abab37592bfacf837a0176cebcca38cae754
[]
no_license
crowdbotics-apps/lizz-mob-jul15-dev-7685
cbcab97908bd568acc68b606d4c5becdb160364c
a41e88b463169443bcfdf12cf356a958c44f3400
refs/heads/master
2022-11-17T22:30:15.286209
2020-07-16T17:54:10
2020-07-16T17:54:10
280,012,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,958
py
"""lizz_mob_jul15_dev_7685 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='ho...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
72f601d574e8d581120332421e096abfc29920f1
3280dd107a70e7d3637bfcfc2819f9b1477ed99a
/Myquizproject/Myquizproject/urls.py
55bd04fcaf038ecb464df39accb26f55b4cbb00c
[]
no_license
pooja666-v/pv_Quiz_repo
80b9cc3cb1c45a48e30f9e4f15392bbdf02bf22b
fc59c7fb7a92549b8cea3fac0f4cb451bdbcc2f7
refs/heads/master
2023-05-26T23:17:45.797984
2021-06-15T13:01:31
2021-06-15T13:01:31
376,889,813
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
"""Myquizproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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...
[ "poojavasawade98@gmail.com" ]
poojavasawade98@gmail.com
233d511497513d1530a9e8ff0eb47948dc21f5d0
d33065f76aa1a59142794364bb65526771ee71b3
/PDS/tcpstats
0bf7c29658d2db29425445bd767ee5578cad4f0f
[]
no_license
annaostroukh/University-projects
31e300aa0674e13a6d3cb83dc4ccc0161e98bb02
d16e64030f4230107130d770e3c15e472aed7319
refs/heads/master
2021-01-11T14:14:20.619238
2017-02-07T14:50:46
2017-02-07T14:50:46
81,216,867
0
1
null
null
null
null
UTF-8
Python
false
false
10,103
#!/usr/bin/env python2.7 import datetime from decimal import Decimal import socket import struct import sys import webbrowser import dpkt from dpkt.tcp import TCP from dpkt.ethernet import Ethernet from dpkt.ip import IP, IP_PROTO_TCP import json def main(): computeTCPStat() # function parse a...
[ "annaostroukh@gmail.com" ]
annaostroukh@gmail.com
c08ce6dd49ab813444d35c3c9349c72f052e228b
5e255ad1360c90478393744586663741a9569c21
/linebot/models/base.py
164fca9d9e9240236cfe90b9b6b2b37ba835814f
[ "Apache-2.0" ]
permissive
line/line-bot-sdk-python
d76268e8b542060d6eccbacc5dbfab16960ecc35
cffd35948238ae24982173e30b1ea1e595bbefd9
refs/heads/master
2023-08-31T22:12:31.698183
2023-08-28T01:10:09
2023-08-28T01:10:09
70,553,423
1,898
1,181
Apache-2.0
2023-09-11T05:14:07
2016-10-11T03:42:26
Python
UTF-8
Python
false
false
4,121
py
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
[ "noreply@github.com" ]
line.noreply@github.com
f9de853a23a36e10aefcbfd18bf0dfcea6055cfa
19d47d47c9614dddcf2f8d744d883a90ade0ce82
/pynsxt/swagger_client/models/ns_service_group_list_result.py
bbaee722d7f2d1956d8eea75ec65fa8637b79b2e
[]
no_license
darshanhuang1/pynsxt-1
9ed7c0da9b3a64e837a26cbbd8b228e811cee823
fb1091dff1af7f8b8f01aec715682dea60765eb8
refs/heads/master
2020-05-25T14:51:09.932853
2018-05-16T12:43:48
2018-05-16T12:43:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,282
py
# coding: utf-8 """ NSX API VMware NSX REST API # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from swagger_client.models.list_result import ListResult # noqa: F401,E501 from swa...
[ "tcraft@pivotal.io" ]
tcraft@pivotal.io
34659a2890a4b19d6a7a1abb7a98dd6fbe5adce9
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Ablation4_ch016_ep003_7_10/Gather2_W_fixGood_C_change/train/pyr_4s/L6/step10_a.py
2202753791e6d77741009c3408d45023e128a019
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
140,332
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
e65631e729c8549976a81aa1a8b98e467e8c7c78
228dd278c875b9539908afffefcfe5b130a28a62
/v2/src/code/measure_service2.py
44431c1f5d47dc6869ce58091850202aa7bda78f
[]
no_license
sheriefvt/MARS-services
57d9ca81f1f606ca8a8938e75b41fb806a36f8b9
a5f6b6140b0c8a30cd083a41a465f0bc999017a1
refs/heads/master
2021-04-30T12:50:53.156082
2018-02-13T02:06:11
2018-02-13T02:06:11
121,283,295
0
0
null
null
null
null
UTF-8
Python
false
false
5,415
py
__author__ = 'Sherif Abdelhamid' #Measure Service Version 1.0 Beta from bottle import get, post, request, run # or route import os import threading import time import networkx as nx import sqlite3 import json import datetime import ConfigParser,io with open ('mars.config', "r") as myfile: da...
[ "sherif@cos.io" ]
sherif@cos.io
dcbe927e6b4d7e84a65d80d415af4b07cbf43625
7e64b95e39d9a0a95e25eae82b01bfef2b6e550c
/benchmarking/model_one_job_batched.py
03714abbeeabd1ced60e64916c8e2a06568264bb
[ "MIT" ]
permissive
yuGithuuub/scCODA_reproducibility
a927075d9cbca2b0f1ff4d9ad74b872e286591dc
1f2565eca4bc9e6ccd16aa6885ccde6c19caa196
refs/heads/main
2023-01-23T03:23:04.559234
2020-12-10T15:14:19
2020-12-10T15:14:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,832
py
# Only relevant for server execution import pickle as pkl import sys import os import benchmark_utils as add dataset_path = sys.argv[1] save_path = sys.argv[2] model_name = sys.argv[3] count = int(sys.argv[4]) if sys.argv[5] == "True": keep_sccoda_results = True else: keep_sccoda_results = False print("model ...
[ "johannes.ostner@online.de" ]
johannes.ostner@online.de
241b062d29b2a2e895a396fb385dd2ffb44bab96
3ff9821b1984417a83a75c7d186da9228e13ead9
/No_1410_HTML Entity Parser/by_re_replacement.py
c017682935944a4f3a73df684c4c097a91d80e6d
[ "MIT" ]
permissive
brianchiang-tw/leetcode
fd4df1917daef403c48cb5a3f5834579526ad0c2
6978acfb8cb767002cb953d02be68999845425f3
refs/heads/master
2023-06-11T00:44:01.423772
2023-06-01T03:52:00
2023-06-01T03:52:00
222,939,709
41
12
null
null
null
null
UTF-8
Python
false
false
3,076
py
''' Description: HTML entity parser is the parser that takes HTML code as input and replace all the entities of the special characters by the characters itself. The special characters and their entities for HTML are: Quotation Mark: the entity is " and symbol character is ". Single Quote Mark: the entity is &a...
[ "brianchiang1988@icloud.com" ]
brianchiang1988@icloud.com
ab0c75ec1d40b45a73b6375c1400520dda72e2cd
1b9c4798836f7c38782995422efcdbe7b48ed459
/fashion/urls.py
96ad507ae51d691eb26decda0c9b1a42c8cd09c4
[]
no_license
risa4an/fashion-blog
44ccff27dbe330665f1eeae460d636f6e8fe2d0d
aa46877246aa61b28dfdaea2e495c8e887a24f06
refs/heads/master
2022-12-22T10:38:48.718814
2020-09-16T19:56:55
2020-09-16T19:56:55
260,867,007
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
"""fashion URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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-based...
[ "katya.risunova@gmail.com" ]
katya.risunova@gmail.com
499cc74e02d9c9125a27b10ac84169ce55f05be3
7998125d3b2d3d1427f0715e9d7283b3108625c1
/wcics/server/forms/forms/admin/topics/create.py
f6fdf0312231da71bbd9d63bced8582cbde4eebd
[ "MIT" ]
permissive
CS-Center/CS-Center
042b74e1c1b829a241260159ee40bf9ffa5a7027
3cd09f29d214406e6618fc67b9faf59a18f3f11b
refs/heads/master
2021-07-03T00:12:38.569492
2020-09-16T20:38:39
2020-09-16T20:38:39
209,430,258
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
# -*- coding: utf-8 -*- from wcics.server.forms.validator_sets import * from flask_wtf import FlaskForm from wtforms import StringField, SubmitField, TextAreaField class TopicSudoCreateForm(FlaskForm): tid = StringField("ID", admin_topic_create_tid) name = StringField("Name", admin_topic_create_name) descripti...
[ "keenan@cscenter.ca" ]
keenan@cscenter.ca
a0805ca69c9facac7d1aacfd3d9aa666d1741f76
94a27c14e31aeac3fe16980240e19634837679a8
/max-frequency.py
a9828419afb5ee165a3274267b910be6b95e359b
[]
no_license
EEmery/anomaly-detection
73762045eb317f0dc565f1199b28c61ce8fe1756
3fbb098ea483c85a7f0bec46ca33c3b3b417dbbf
refs/heads/master
2020-04-05T23:28:35.698159
2017-09-10T00:35:39
2017-09-10T00:35:39
83,551,646
0
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
# Imports necessary libraries print "Importing packages\n" import pandas as pd import matplotlib.pyplot as plt from warnings import filterwarnings from numpy import nan # Ignores warnings filterwarnings("ignore") input_file_path = "Data/preprocessed_v2/not-normalized/" periods = ['WEEK', 'MONTH', 'QUARTER', 'SEMEST...
[ "emeryecs@gmail.com" ]
emeryecs@gmail.com
1db2de63ecb9a8bd60c598385a262b6e2b0785b9
a20f8ae0c129927318792ec4547d534dbe38871a
/model/pcnn_att_adam.py
053182fb9d612e4235924547884f5d4eb3d5a2cb
[ "MIT" ]
permissive
zhaohuiqiang/ONRE
dbc82abc31271c690252d3f2f5cf799c5f871f83
736fc5ff6f12be590d02cb66abb82c1616e1327c
refs/heads/master
2020-03-31T17:14:35.197909
2018-11-20T01:00:47
2018-11-20T01:00:47
152,414,099
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
from framework import Framework import tensorflow as tf FLAGS = tf.app.flags.FLAGS def pcnn_att_adam(is_training): if is_training: framework = Framework(is_training=True) else: framework = Framework(is_training=False) word_embedding = framework.embedding.word_embedding() pos_embeddin...
[ "346091714@qq.com" ]
346091714@qq.com
7f083320d95a03e5d1511f9b21545afc2344cbca
3f0a0ee646326530c4cd6996276e8c819dfab65c
/battleship.py
5bcc8530ea64006f289500c7ec2e3a8ebc74e6fa
[]
no_license
kidisty/Python-1
bde878603283a6b3b966296ad2d4b0f89f70000f
203cd35b07633610b3773c0100c342386e636935
refs/heads/master
2022-11-12T07:11:15.072699
2020-07-06T09:59:33
2020-07-06T09:59:33
277,503,399
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
import random board = [] for x in range(5): board.append(["O"] * 5) def print_board(board): for row in board: print " ".join(row) print "Let's play Battleship!" print_board(board) def random_row(board): return random.randint(0, len(board) - 1) def random_col(board): return random.randint(0...
[ "kidistyohannes@kidists-MacBook-Pro.local" ]
kidistyohannes@kidists-MacBook-Pro.local
56b5c5e6c185d48ef5ff9fdb8aa7c49f34eb9f35
055b8c0176f9036061c9abd56e18db28eb69111f
/venv/bin/pip2.7
ff662bae4ff3be2065482ea43c0d8cb0caa9a617
[]
no_license
patientplatypus/pythonsimpleskeleton
0b56cc589db7ca91ecd7160b28f3556c3e3e153b
8bb70d549b8c367fe39ebe73685fd765032e13f7
refs/heads/master
2021-05-12T08:38:20.330403
2018-01-13T21:30:34
2018-01-13T21:30:34
117,291,647
0
0
null
null
null
null
UTF-8
Python
false
false
253
7
#!/Users/patientplatypus/Documents/python_play/venv/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "pweyand@gmail.com" ]
pweyand@gmail.com
0e0fbfff7cc2527f4cf77872685c1eba72a8441b
368f19de1a70535f3938da92d7278c0296a1b142
/fb/manage.py
fa01778819c491bc93750de929e949753879bf33
[]
no_license
viveksoundrapandi/chrome-aldown
82a5f3c679108a146f0c9fd76d8809b868a2933b
7a1915534ed90bc647e9775178a6f16a7be8e7a1
refs/heads/master
2022-11-05T02:12:32.272354
2022-10-07T11:29:36
2022-10-07T11:29:36
5,950,897
0
1
null
2022-10-07T11:29:37
2012-09-25T14:03:40
Python
UTF-8
Python
false
false
245
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fb.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "vivekhas3@gmail.com" ]
vivekhas3@gmail.com
f76d5f3aec244f5d33fcd7e2887d2eb61bb5658a
0b25b1c2ea3e3f05ea388e1105cd2fab50e7ba54
/mysite/blog/forms.py
68ba9afdb13950be95db2f366aa5aebf783e6d1c
[]
no_license
webclinic017/Django-project
f8337aeb296d12760143951635d0297c13313a50
e757aef633c63aaf857afd1f274d42d16703ca0c
refs/heads/master
2022-12-25T17:30:14.503627
2020-10-12T08:47:08
2020-10-12T08:47:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
from django import forms from .models import Comment class EmailPostForm(forms.Form): name = forms.CharField() email = forms.EmailField() to = forms.EmailField() comments = forms.CharField(required=False, widget=forms.Textarea) class CommentForm(forms.ModelForm): c...
[ "moreshubham203@gmail.com" ]
moreshubham203@gmail.com
241ccb6c7c4ae0c34b892c9d317fbd849d3ea4ef
7fba01da6426480612d7cef9ceb2e15f3df6d01c
/PYTHON/pythonDesafios/venv/lib/python3.9/site-packages/santos/santos.py
b862f2661c3fd15467cd45185f3ff2200ba50eaa
[ "MIT" ]
permissive
Santos1000/Curso-Python
f320fec1e7ced4c133ade69acaa798d431e14113
549223a1633f6f619c87554dd8078cf7841bb1df
refs/heads/main
2023-05-26T12:01:23.868814
2021-05-26T13:22:58
2021-05-26T13:22:58
371,039,290
0
0
null
null
null
null
UTF-8
Python
false
false
9,153
py
__author__ = 'anderson' # -*- coding: utf-8 -*- from threading import Thread from datetime import datetime from exceptions import TaskException import logging log = logging.getLogger(__name__) class ControlJobs: __jobs = [] def stop(self, jobname): log.debug("Job name %s" % jobname) log.deb...
[ "83990871+Santos1000@users.noreply.github.com" ]
83990871+Santos1000@users.noreply.github.com
038676f976925f63daee208e21804295dadcdee2
0581b790cf9feda6638084fca19a03137baa3ce1
/Tron_niezainstalowany/Setup.py
e06af08aadc6917f538a6f807b07a7b5e67e0520
[]
no_license
Frax123/TRON-GAME-PYTHON
127eb4878093eb6419aaa3a7b051f5f54caf1343
2524efe0c9718d13f1cd8e74882fe316179d6d4e
refs/heads/master
2020-05-04T21:54:46.401725
2019-04-04T12:35:33
2019-04-04T12:35:33
179,493,063
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# -*- coding: utf-8 -*- import cx_Freeze executables = [cx_Freeze.Executable('Tron.py')] cx_Freeze.setup(name = 'Tron', options = {'build_exe':{'packages': ['pygame'], 'include_files' : ['Red_player.png', 'Blue_player.png', 'Icon.png', 'Wybuch.png']}}, description = 'Tron: First...
[ "noreply@github.com" ]
Frax123.noreply@github.com
dd169cb46861b1832b662aacb471b515ebccff0e
afeed161a0bd0e92cdcfcf3c580db8f78719bae8
/Milestone_One/bs4_scrape.py
9fd1671a4ae3045c68b4492451484a6c4a36dccb
[]
no_license
changjung1995/WQD7005_Data_Mining
07046b0c8088123c29c0a0eb65126570515b291d
3e214835ff527b6e3d2fefa442efae4c60ae527a
refs/heads/master
2023-05-27T15:10:29.562769
2020-06-20T06:46:01
2020-06-20T06:46:01
246,978,227
0
1
null
2023-05-22T22:45:37
2020-03-13T03:11:35
Jupyter Notebook
UTF-8
Python
false
false
2,317
py
# -*- coding: utf-8 -*- """ @author: Tan Chang Jung & Tan Sia Hong """ #%% import requests from bs4 import BeautifulSoup from datetime import date import time import pandas as pd #%% headers = {'User-Agent' : 'Chrome/74.0.3729.169'} # select the top 20 from the ranking of cryptocurrencies cryptocurrency = ['bitcoin...
[ "wqd190008@siswa.um.edu.my" ]
wqd190008@siswa.um.edu.my
c19d323dd79ed8200a36279528eb8fd77c5d502e
b3122fec6858e1b4474889bc0b58cbdbec40ac34
/DZ5/DZ5_5.py
bb40fae277a8a97cfcacfb80f5a0604210a86293
[]
no_license
Mehalich/git-geekbrains
edb05ceb7643e02d1334d118d6e304720a266066
e6833de99b5c2c37a4d16b7856fa85ba1f17117a
refs/heads/main
2023-04-30T00:54:10.232243
2021-05-16T16:51:52
2021-05-16T16:51:52
359,473,465
1
0
null
2021-05-16T16:54:21
2021-04-19T13:40:34
Python
UTF-8
Python
false
false
536
py
""" 5. Создать (программно) текстовый файл, записать в него программно набор чисел, разделенных пробелами. Программа должна подсчитывать сумму чисел в файле и выводить ее на экран. """ f = open("DZ5_5.txt", "w+") f.write("1 2 3 4 5 6 7 8 9 0") f.seek(0) line = f.readlines() result = 0 line = str(line[0]) line = line.sp...
[ "yakovlev_mv@mail.ru" ]
yakovlev_mv@mail.ru
90fcefb5891a9d1a1d6662ad1e564dc05696dc70
3eadfce7b2238f7d25256976e939b4d0e6c49ebb
/switchhello_pd.py
d744975e787c98bdb695c2c9c35d6bbe9cb98a3e
[ "BSD-2-Clause" ]
permissive
kyab/kazu
591d3fc40a9845c9e8d6a22ae1fb1aef8a4441ba
9ae0c3cec8ba09770b039825d99cdc53a627b6fd
refs/heads/master
2021-01-19T04:02:07.279051
2016-06-24T23:40:40
2016-06-24T23:40:40
61,918,052
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
import RPi.GPIO as G import time import os import signal import sys print "switchhello_pd started." COUNT = 5 PIN_LED = 17 PIN_SWITCH = 27 def signal_handler(signal, frame): G.cleanup() print "GPIO cleanup done." sys.exit(0) def wait_and_shout(): G.wait_for_edge(PIN_SWITCH, G.RISING) print "SWITCH PUSHED" i...
[ "kyossi212@gmail.com" ]
kyossi212@gmail.com
bd0794483225cac132025003cb18438963984fcf
178998aecae2aa9d52e43b702abd52fd6ba58b2b
/0517/defT.py
6a4a7b45c745ddf7f69c664c45c1027a1ac5f75a
[]
no_license
www111111/git-new
34d664cad5084d9d016f25131eb0d5a8f719d7d1
3fd96e79b3c3a67afbc6227db1c69294f75848c0
refs/heads/master
2020-03-17T10:30:24.560482
2018-05-28T12:24:20
2018-05-28T12:24:20
133,514,309
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
def sum(): a=int(input('a')) b=input('+') c=int(input('c')) e=input('+') d=int(input('d')) if(b=='+' and e=='+'): sum=a+c+d return(sum)
[ "1337872746@qq.com" ]
1337872746@qq.com
cc1984673c8ca18f83d4bb875b6a0454c72c78f0
d7bd5d5fd6114ceec28b190434958c5d3e8d0b8a
/install_nltk.py
046937c12c7ca4cddcc380ea6f28482a1457f08d
[]
no_license
jay-cleveland/reddit_data_acquisition
1c2529c6063a47c163aa73449004df433f7811b0
c1e78b3328c87c7bff034cc63723076a7da89354
refs/heads/master
2022-10-16T08:52:12.591232
2022-09-30T02:08:33
2022-09-30T02:08:33
105,435,874
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
import nltk def main(): nltk.download('punkt') nltk.download('all-corpora') main()
[ "clevelanjk18@uww.edu" ]
clevelanjk18@uww.edu
1e84c539079a73cab67e9517c9c96f370c7348f8
4b8cde0ef35b67618eea421c20a7cf0c6882b75b
/motor-surprise-rage.py
1b1a3ca04300174a8af7d846534b8936bad235e5
[]
no_license
MeRuslan/thesis_work
57aa2006711e33db33d47b576a0cce047045fa66
935b15c611c65f77eae26c5d768ad3f363873832
refs/heads/master
2021-01-21T21:06:58.803983
2017-06-19T13:35:12
2017-06-19T13:35:12
94,780,166
0
0
null
null
null
null
UTF-8
Python
false
false
26,085
py
from func import * # ATTTENTION! Maybe there are some mistakes in neuron parameters! logger = logging.getLogger('neuromodulation') startbuild = datetime.datetime.now() nest.ResetKernel() nest.SetKernelStatus({'overwrite_files': True, 'local_num_threads': 8, 'resolution': 0...
[ "guyfulla@gmail.com" ]
guyfulla@gmail.com
91c2e382f455de622a8bfb58b1df4f5bbe6b01ff
e13a79dec2668c1870b3fea05f071fe872d400f0
/pde/storage/tests/test_generic_storages.py
474649dd328980f34d7df91ecac637408b9e3bd6
[ "MIT" ]
permissive
yiweizhang1025/py-pde
b27cc0b058b50d6af921e1ea84bf59a5bb0ff370
3862a35505b9ce4d62557bc65dfedd40638a90f3
refs/heads/master
2023-03-14T17:21:07.004742
2021-03-15T15:33:47
2021-03-15T15:33:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,739
py
""" .. codeauthor:: David Zwicker <david.zwicker@ds.mpg.de> """ import functools import numpy as np import pytest from pde import DiffusionPDE, FileStorage, MemoryStorage, UnitGrid from pde.fields import FieldCollection, ScalarField, Tensor2Field, VectorField from pde.tools.misc import module_available def test_st...
[ "david.zwicker@ds.mpg.de" ]
david.zwicker@ds.mpg.de
4fb0d462d89a6686b3a67fd657cc1c0eb304bb7f
38d1ef01184bbdb3898b8cf495eeee48eaa1a30a
/Newton_Optimization/newton_linesearch.py
537cf2deab73ebdd2706c24882b81d41bace2821
[]
no_license
LenCewa/MasterThesis
39c86c8ab3c752fedc445fea14368bbd74ca8f3a
b2d4d67b7ae2f363dd627ecb4355de1ae6ef04a3
refs/heads/master
2020-06-16T15:47:29.971151
2020-04-15T09:29:43
2020-04-15T09:29:43
195,626,164
0
1
null
null
null
null
UTF-8
Python
false
false
3,840
py
import numpy as np import matplotlib.pyplot as plt from Fourier import * from util import * # Init Params for Fourier-Classes N = 5 omega = 1 T = (2 * jnp.pi) / omega step_size = 0.001 iterations = 450 fourier = Fourier(T, omega, step_size, N, iterations, [], []) d_fourier = dFourier(T, omega, step_size, N, iteratio...
[ "len13@hotmail.de" ]
len13@hotmail.de
52f20985a5f0c10e33313979e29aaeaca9acc59f
d806dd4a6791382813d2136283a602207fb4b43c
/sirius/blueprints/api/remote_service/tula/test/script.py
c571a235f8d6348648f5a6cb22945332ad0645a8
[]
no_license
MarsStirner/sirius
5bbf2a03dafb7248db481e13aff63ff989fabbc2
8839460726cca080ca8549bacd3a498e519c8f96
refs/heads/master
2021-03-24T12:09:14.673193
2017-06-06T16:28:53
2017-06-06T16:28:53
96,042,947
0
0
null
null
null
null
UTF-8
Python
false
false
11,263
py
#! coding:utf-8 """ @author: BARS Group @date: 25.10.2016 """ from sirius.app import app from sirius.blueprints.api.local_service.risar.active.test.test_data import \ get_mr_appointment_data from sirius.blueprints.api.local_service.risar.passive.test.request import \ send_event_remote, request_local from sir...
[ "paschenko@bars-open.ru" ]
paschenko@bars-open.ru
7e9ed44cfcf4dfe7080d14f4c8a120d31b1b1584
c025d4f76f37d4792299dd7239320d3327e1f7b2
/main test2
d175c5cb1966ce95b9d57093b43581e040469229
[]
no_license
vadiz/TESTBOT
c49ac3faae4ad55e6448d1d5d0fe831e827f9d1d
6ada4413a2767077db366b8dfc95d93df533b944
refs/heads/master
2021-09-05T21:28:00.296686
2018-01-31T04:51:34
2018-01-31T04:51:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
103,997
#coding:utf-8 import telebot, config from telebot import types import datetime from datetime import date import time import os import sys import subprocess import string import re import random from collections import Counter knownUsers = [] # todo: save these in a file, userStep = {} # so they won't reset every ti...
[ "makarishche@gmail.com" ]
makarishche@gmail.com
7b1bd474762dbf9fa0ad77e916a9a288222c806a
44494598f8edcee0319f3b4ef69b704fbf6d88f2
/code/twurtle/src/TestDCMotorRobot.py
aad26a3b8a287a62bb2e513d1e4b4b865f1e0879
[]
no_license
whaleygeek/pyws
3cebd7e88b41e14d9c1e4dbb8148de63dadbdd57
e60724646e49287f1e12af609f325ac228b31512
refs/heads/master
2021-01-02T09:01:47.644851
2014-09-02T19:47:20
2014-09-02T19:47:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
# This is mainly to test that the packaging has worked for robot correctly import robot r = robot.MotorRobot(robot.DCMotorDrive(a1=11, a2=12, b1=13, b2=14)) r.test()
[ "david@thinkingbinaries.com" ]
david@thinkingbinaries.com
a5f5ad934ab6b4548d185c57b55e75a4fe701d2d
75dcb56e318688499bdab789262839e7f58bd4f6
/_algorithms_challenges/pybites/bitesofpy-master/!201-300/239/test_fizzbuzz.py
374796ea04fb39da68675115964e7be47e23b93c
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
483
py
from fizzbuzz import fizzbuzz # write one or more pytest functions below, they need to start with test_ def test_fizzbuzz_base(): assert fizzbuzz(1) == 1 assert fizzbuzz(2) == 2 def test_fizzbuzz_fizz(): assert fizzbuzz(3) == 'Fizz' assert fizzbuzz(6) == 'Fizz' def test_fizzbuzz_buzz(): assert fi...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
6a0a01d92744efe31045b17e0d9e6e64dba5448a
8b2c5420f7e331fb6e48f3efd3cfc8a714291d4d
/finances/settings.py
7a343222fcdb21fb5e62ad3f6c5589226c6c6412
[]
no_license
jjjggg092/finalproject
bc297c8b623937f28565591138534c762bf36560
1159ca8ae47b364f84586e39176b678c3feb42f9
refs/heads/master
2021-06-22T12:27:34.707772
2019-12-10T23:13:46
2019-12-10T23:13:46
227,138,704
0
0
null
2021-06-10T22:22:57
2019-12-10T14:18:49
Python
UTF-8
Python
false
false
3,124
py
""" Django settings for finances project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os ...
[ "jhon.goyes@yahoo.com" ]
jhon.goyes@yahoo.com
7951551b827a4fe78a0de05909e4bf7b4a989c18
34dd52bca544fd483606667fd9f867d6af68ef28
/exercise2/classification05.py
5146516b8e14e60c85d27ad8f4ef7e39f92cd66d
[]
no_license
Anderbone/CS918NaturalLanguageProcessing
8e68bd4a61758c2f127a344152fc1ad74f972e4c
ef1e68685e85e76354040c7359c2f29b0da7eff6
refs/heads/master
2020-05-24T18:15:00.075093
2019-05-18T21:26:42
2019-05-18T21:26:42
187,406,366
1
0
null
null
null
null
UTF-8
Python
false
false
14,174
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import testsets import evaluation import twokenize import sklearn.feature_extraction from nltk.classify.scikitlearn import SklearnClassifier import sklearn import pandas as pd import numpy as np from sklearn.feature_extraction.text import CountVectorizer, TfidfVe...
[ "noreply@github.com" ]
Anderbone.noreply@github.com
5defb566e1ea2c00089fc94bb725b27db106978b
c092a30eb6e977cd021cb5d2670c5d3b4a3ac062
/markliu/settings.py
27f0f08471f7ec9cf0430cc6c6cdaba2053df9bd
[]
no_license
joskid/personal-django-blog
28a1789034f92091e622079b583d3aa1e33c0c8c
917a4182e9af49967280608f6a4378c8b386bb91
refs/heads/master
2020-12-25T02:30:36.280993
2012-12-14T15:52:59
2012-12-14T15:52:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,043
py
# Django settings for the blog markliu.me import os import socket import sys import dj_database_url # Test to see if local_settings exists. If it doesn't exist then this is on the live host. if os.path.isfile('local_settings.py'): LIVEHOST = False else: LIVEHOST = True USE_STATICFILES = False PROJECT_ROOT...
[ "markwayneliu@gmail.com" ]
markwayneliu@gmail.com
00c5033bfa5fe0ed63fc2a721b1cf2c87e5f7225
8acbb01acf5c69806037669868bd07062cf2f7a0
/Django_demo/settings.py
6a7d0c4495dd4313bc760832cf389b1e0c8847c1
[]
no_license
godhunter1993/Django
958c3ffe9c3bc28fbf0aa9f905a1867f52f7c4e4
e44c48f7c9e5aa1e5d484de3775d9902f5377b5f
refs/heads/master
2020-03-20T19:33:23.521774
2018-06-17T09:32:54
2018-06-17T09:32:54
137,642,783
1
0
null
null
null
null
UTF-8
Python
false
false
3,256
py
""" Django settings for Django_demo project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "15150568410@139.com" ]
15150568410@139.com
516909e27870935ab937ccd022e1ac2e00a7cc98
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-2404.py
36bdabeba62a66987aa786e8dfdb76e27f414dcd
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,752
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
ef9b5b666e8749d77a7b64d744affbcd8a64a543
963cac9e78c4b742f7e7800200de8d1582799955
/test/veetou/parserTests.py
797c7be4f0f217a2fd7bbe13910a3ec1cd8fde32
[]
no_license
ptomulik/veetou
c79ceb3ca3d7ef7b261b2219489b6f0a7a83e1fa
b30be2a604f4426f832ec9805547ecd6cc9083fe
refs/heads/master
2021-01-22T17:28:57.271251
2019-01-05T01:46:43
2020-05-04T16:23:44
85,016,513
0
1
null
null
null
null
UTF-8
Python
false
false
3,386
py
#!/usr/bin/env python3 # -*- coding: utf8 -*- import unittest import veetou.parser as parser class Test__Parser(unittest.TestCase): def test__funcions_symbols__1(self): self.assertIs(parser.dictmatcher , parser.functions_.dictmatcher) self.assertIs(parser.fullmatch , parser.functions_...
[ "ptomulik@meil.pw.edu.pl" ]
ptomulik@meil.pw.edu.pl
524246a6a70b4894f83eeaef95da242ddd7c0ae0
d5ab427f918849fabb5a6cc7efc15ebc71e3f9de
/graph.py
31f3a8d623c797c9295444433c22b6b9108a29e8
[]
no_license
wizacass/Intelektika_Proj
d189194b1f93e03614536fc272b704ad48cafb5e
76700550eaeaa5483ee37a337455014a912bcbb4
refs/heads/master
2023-05-09T06:35:53.806076
2021-05-25T15:46:13
2021-05-25T15:46:13
370,747,206
0
0
null
null
null
null
UTF-8
Python
false
false
2,682
py
import matplotlib.pyplot as plt import numpy as np import math from collections import Counter class Grapher: def __init__(self, dataset: str): self.dataset = dataset def histo(self, attribute, binary=False): if binary: counter = Counter(attribute.values) plt.bar(coun...
[ "visak.pet0@gmail.com" ]
visak.pet0@gmail.com
16d09cbbcb9e2143dfe40093700361425c5394ed
d92bad5384d80cf0f7e073bb7484b06514174f7a
/code/run_emcee_plPeak_noEvol_no190412.py
11ac3c75f9e4fae05fd3c145fe2fe6164833c64e
[]
no_license
tcallister/BBH-spin-q-correlations
2abe399dc927a4cdbb47ac92ad6005cb3450e676
63dc9bbf9ca0c84a94ec0c616f8c2b3cfcceed26
refs/heads/main
2023-06-12T00:22:12.803326
2021-06-29T20:35:45
2021-06-29T20:35:45
348,101,610
2
1
null
null
null
null
UTF-8
Python
false
false
3,874
py
import numpy as np import glob import emcee as mc import h5py import sys from support import * from likelihoods import * # -- Set prior bounds -- priorDict = { 'lmbda':(-5,4), 'mMax':(60,100), 'm0':(20,100), 'sigM':(1,10), 'fPeak':(0,1), 'bq':(-2,10), 'sig_kappa':6., 'mu':(-1,1), 'l...
[ "thomas.a.callister@gmail.com" ]
thomas.a.callister@gmail.com
892e7b51d8d330acc1612ca799d59c9a0d25beb4
4b2450b65f5802f524ddb8701baa0e71c929889b
/listanelement.py
873b5eef153b5eefbef4658036e49176c3427331
[]
no_license
joedave1/python
21e89dd0638156a3600bfb7fbf7422c73a79fc51
ae51152a663aa2e512c5be7f6134c4b35d78e88d
refs/heads/master
2020-06-29T11:22:05.627400
2019-08-16T08:51:14
2019-08-16T08:51:14
200,520,497
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
x=input("Enter a commc seperated list values: ").split(",") color=list(x) print("The first color is %s and the last color is %s"%(color[0],color[-1]))x=input("Enter a commc seperated list values: ").split(",") color=list(x) print("The first color is %s and the last color is %s"%(color[0],color[-1]))
[ "noreply@github.com" ]
joedave1.noreply@github.com
77aee12c7c33e199445d96492a54a4d8c66a7a51
3a4cc16bf5fa10feedbb26623f1df14594f05a25
/jogodedados.py
abd944c9571c6f8756414a25fd04e1fdaa173ffe
[]
no_license
edsoncpsilva/Curso-Python
12f89ae0049e7909cab5e98ff9adbf3dfa003d25
939ccccb9f3beb5ee7a72fa96dfd0240fbd185fa
refs/heads/master
2020-03-24T02:21:57.707429
2018-08-17T20:19:45
2018-08-17T20:19:45
142,372,961
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
#==> jogo de dados de 6 lados #importar biblioteca import random #variaveis sair = 's' qtd = 0 #loop de interacao while (sair == 's'): #interacao print() numero = int(input('Digite o numero que irá sair entre 1 e 6?:' )) nro_sorte = random.randrange(1, 7) if numero == nro_sorte: print('Acertei, estou com sor...
[ "noreply@github.com" ]
edsoncpsilva.noreply@github.com
832a298328bc29b34d0110a3029f906ad483a34d
37c3b81ad127c9e3cc26fa9168fda82460ca9bda
/Baekjoon/boj_20055_컨베이어 벨트 위의 로봇.py
dfdb3152402dc2cfac4c545e7cd087fba933dcf0
[]
no_license
potomatoo/TIL
5d85b69fdaed68966db7cfe2a565b7c64ed3e816
395dc190fa13e5ed036e1e3c7d9e0bc2e1ee4d6c
refs/heads/master
2021-07-08T16:19:40.410097
2021-04-19T02:33:40
2021-04-19T02:33:40
238,872,774
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
def work(): global cnt while True: board.rotate(1) robot.rotate(1) robot[N-1] = 0 for i in range(N-2, -1, -1): if robot[i] and not robot[i+1] and board[i+1] > 0: board[i+1] -= 1 robot[i+1] = 1 robot[i] = 0 robot[...
[ "duseh73@gmail.com" ]
duseh73@gmail.com
e34b387068ca8ec0ce9a89b18f694f3e87b653fb
b220bd0c6c7fe6fcea00ac2ae5195c1887b8a37e
/database/dbconn.py
fa05f16ecbde4cfecc85dfd3b816446e8a13ae57
[]
no_license
itwastheband/AO3rdr-backend
8f624ddeefbc09995f1784c3092fc1ebcbedbff7
19c1ed8ecdeea3250a958006d260207c582cb371
refs/heads/master
2022-06-17T03:47:45.741986
2020-05-03T23:34:14
2020-05-03T23:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,198
py
import os import boto from boto.dynamodb2.fields import GlobalAllIndex, HashKey, RangeKey from boto.dynamodb2.items import Item from boto.dynamodb2.layer1 import DynamoDBConnection from boto.dynamodb2.table import Table from boto.dynamodb2.exceptions import ItemNotFound from decimal import Decimal from flask import ...
[ "darthkrallt@gmail.com" ]
darthkrallt@gmail.com
9305c3a78026026cae6e03d11b5982d9cee7f094
0617c812e9bf58a2dbc1c1fef35e497b054ed7e4
/venv/Lib/site-packages/pyrogram/raw/functions/stats/get_megagroup_stats.py
320398dd3f9fb86f271aeb14aaca77b3bc298f8c
[]
no_license
howei5163/my_framework
32cf510e19a371b6a3a7c80eab53f10a6952f7b2
492c9af4ceaebfe6e87df8425cb21534fbbb0c61
refs/heads/main
2023-01-27T14:33:56.159867
2020-12-07T10:19:33
2020-12-07T10:19:33
306,561,184
1
0
null
null
null
null
UTF-8
Python
false
false
2,553
py
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2020 Dan <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free...
[ "houwei5163" ]
houwei5163
b645ed1a0ad19262304bef16a69381cbb05cbc2c
4a211e279ec89239033c5fe2d6d8d3e49b48d369
/salvo/src/lib/job_control_loader.py
d179d460ec8b996e850b26e0c4f04fbb774d9d79
[ "Apache-2.0" ]
permissive
envoyproxy/envoy-perf
cfb1e8f7af806600f11ebc235c1a72939420b087
d131bc2f1a7f8ae4f640da30fd30c027735d9788
refs/heads/main
2023-08-31T14:02:50.891888
2023-08-24T16:19:26
2023-08-24T16:19:26
94,845,161
109
29
Apache-2.0
2023-08-24T16:19:28
2017-06-20T03:20:02
Python
UTF-8
Python
false
false
3,111
py
"""This object abstracts the loading of json strings into protobuf objects.""" import json import logging import yaml from google.protobuf import json_format import api.control_pb2 as proto_control log = logging.getLogger(__name__) def _load_json_doc(filename: str) -> proto_control.JobControl: """Load a disk file...
[ "noreply@github.com" ]
envoyproxy.noreply@github.com
1a701ab367bd7353d683543ba01c68dafb9c47e1
3536b829b5733807ffca9849e7ad463c43979c09
/sc2bot/agents/battle_agent.py
22e9a7bbc1b8d9e4a1550ce87856884d6aaf1e26
[]
no_license
alanxzhou/sc2bot
9b8d33dacc32074a70b8b4007f60801d6ff8037c
0eb2a3f733ea31250e29a123213b407ad9189a40
refs/heads/master
2020-09-04T17:40:32.608263
2020-03-16T23:32:59
2020-03-16T23:32:59
219,835,624
1
0
null
null
null
null
UTF-8
Python
false
false
12,381
py
from abc import ABC, abstractmethod import copy from collections import deque import pickle import matplotlib.pyplot as plt import numpy as np import os import time from pysc2.agents.scripted_agent import _xy_locs from pysc2.agents.base_agent import BaseAgent from pysc2.lib import actions from pysc2.lib import feature...
[ "alanzhou93@gmail.com" ]
alanzhou93@gmail.com
6b09cc57289aebfadf3badeff4f9bef7c017e0dc
04cd6250630b3aad49219acbae0b7682f4263afb
/sbaas/analysis/analysis_stage02_isotopomer/stage02_isotopomer_dependencies.py
7813c8ad014ac51fbf424a16b962f14cfd089746
[ "Apache-2.0" ]
permissive
SBRG/sbaas
ec04bd3a82248600328c053bc798d7d302fbaf9d
9df76bbffdd620cf8566744a2b0503935998fbe0
refs/heads/master
2021-01-21T23:29:26.713889
2015-06-24T17:16:59
2015-06-24T17:16:59
28,518,590
1
2
null
null
null
null
UTF-8
Python
false
false
297,680
py
'''isotopomer metabolomics analysis class''' from sbaas.analysis.analysis_base import * from .stage02_isotopomer_query import * from .stage02_isotopomer_io import * # Dependencies import operator, json, csv from copy import copy # Dependencies from 3rd party import scipy.io from numpy import histogram, mean, std, load...
[ "dmccloskey87@gmail.com" ]
dmccloskey87@gmail.com
572850f5eb177b3a39baee3d35b40e3eda54643a
4e879398eaecdc19f056ee538d0732b2e92aa84f
/SistemaDiscusiones/urls.py
7c2bedce1ec87129887c060f542029d86a8b4848
[]
no_license
acamposruiz/localdevask
9311566ab2526e2b6966374e43e7d198fe24045a
867cfafff33fc214d68c499bd7e97b4f77dcd3b0
refs/heads/master
2021-01-25T04:01:16.308722
2014-04-28T03:53:46
2014-04-28T03:53:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'SistemaDiscusiones.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^', include('apps.home.urls', namespace="home")), ...
[ "acamposruiz@gmail.com" ]
acamposruiz@gmail.com
b14adaf5a89b66b23c4ea53b5a93cd242caca777
0f16edb46a48f9b5a125abb56fc0545ede1d65aa
/test_utilities/src/d1_test/mock_api/tests/test_get.py
d1eaef95d18355fd89576cc41c693343b6516ba0
[ "Apache-2.0" ]
permissive
DataONEorg/d1_python
5e685f1af0c356190f2d6df45d1ac849e2f56972
d72a9461894d9be7d71178fb7310101b8ef9066a
refs/heads/master
2023-08-29T03:16:38.131760
2023-06-27T21:59:37
2023-06-27T21:59:37
60,103,877
15
12
Apache-2.0
2023-09-06T18:27:53
2016-05-31T16:01:00
Python
UTF-8
Python
false
false
2,721
py
# This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (the "License"); # you ma...
[ "git@dahlsys.com" ]
git@dahlsys.com
3e43c121fa98f0c8fd7478f5ac8cd4cfe08fcd43
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/sql/azure-mgmt-sql/generated_samples/transparent_data_encryption_list.py
3e2275f884eabc284c7627538174b4de0a236e32
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,661
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
fe69d824ce277807f6d3e0d5eaaff8a66490ae4b
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/otp/src/level/ModelEntity.py
5850215d12244dd9e104ca4eebaf6cf5fd012828
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
4,052
py
from toontown.toonbase.ToontownGlobals import * from direct.directnotify import DirectNotifyGlobal import BasicEntities class ModelEntity(BasicEntities.NodePathEntity): LoadFuncs = { 'loadModelCopy': loader.loadModelCopy, 'loadModel': loader.loadModel, 'loadModelOnce': loader.loadModelOnce,...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
7477820069e7127b7679f7bebbb2f0d9efd1638d
3c5044c77a6c01e1a70b1722e8a860851056f28c
/16-1.py
97b5250c34e13ea99567b0f0574dcb5660117bae
[]
no_license
MANAkudo/pyhton
2f8c10bbf0b98babb5fea2ecdc4c2c430668e6fd
90fa56fb44e7e02d05250543375a292dfef28eca
refs/heads/master
2023-08-03T19:57:48.436313
2021-09-22T01:50:32
2021-09-22T01:50:32
409,027,207
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
f = open("16_1_read.txt",'w') f.write("1\n") f.write("2\n") f.write("3\n") f.write("4\n") f.write("5\n") f.close()
[ "ykh2135248@stu.o-hara.ac.jp" ]
ykh2135248@stu.o-hara.ac.jp
f7cfc720c7204254c708dca38c4f7baee6ae12b1
dd126d6b82eb47d90950a355d4948047ae119f9c
/fixture/db.py
92f71b61a9231f7c5f9209c0af7120114c85c768
[]
no_license
Korinsky/Python4QA_B24
9382c178a7e564272e2628426946ae087ec4ccdc
0c5d5f812a6cb858a3bf59e45745a7fce206fd7e
refs/heads/main
2023-07-14T05:36:57.307809
2021-08-18T13:05:14
2021-08-18T13:05:14
377,419,480
0
0
null
null
null
null
UTF-8
Python
false
false
2,270
py
import pymysql from model.group import Group from model.contact import Contact class DbFixture: def __init__(self, host, name, user, password): self.host = host self.name = name self.user = user self.password = password self.connection = pymysql.connect(host=host, database...
[ "72462941+Korinsky@users.noreply.github.com" ]
72462941+Korinsky@users.noreply.github.com
98afb32b4a54532746127c0a78d01a693fc7d98a
21899ea0e94cb58f8ac99b7c731f59e0232839eb
/src/python/T0/WMBS/Oracle/Subscriptions/HaveJobGroup.py
59ece2561182f2a6ec7589262150c04280d86513
[ "Apache-2.0" ]
permissive
dmwm/T0
a6ee9d61abc05876fc24f8af69fe932a2f542d21
1af91d0b1971b7d45ea7378e754f2218ff9a8474
refs/heads/master
2023-08-16T10:55:27.493160
2023-08-11T09:38:03
2023-08-11T09:38:03
4,423,801
9
54
Apache-2.0
2023-09-14T11:43:30
2012-05-23T18:33:56
Python
UTF-8
Python
false
false
687
py
""" _HaveJobGroup_ Oracle implementation of HaveJobGroup For a given subscription check if there is an existing job group """ from WMCore.Database.DBFormatter import DBFormatter class HaveJobGroup(DBFormatter): sql = """SELECT 1 FROM wmbs_jobgroup WHERE wmbs_jobgroup.subscription = :s...
[ "Dirk.Hufnagel@cern.ch" ]
Dirk.Hufnagel@cern.ch
22e5a66e84c47b3691015f299972b4f9e43427f4
71c331e4b1e00fa3be03b7f711fcb05a793cf2af
/QA-System-master/SpeechToText_test/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/firestore/v1/firestore_v1_client.py
ac370070865d488484aa602c2024b65bf41079fa
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
iofh/QA-System
568228bb0c0adf9ec23b45cd144d61049e720002
af4a8f1b5f442ddf4905740ae49ed23d69afb0f6
refs/heads/master
2022-11-27T23:04:16.385021
2020-08-12T10:11:44
2020-08-12T10:11:44
286,980,492
0
0
null
null
null
null
UTF-8
Python
false
false
39,606
py
"""Generated client library for firestore version v1.""" # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.py import base_api from googlecloudsdk.third_party.apis.firestore.v1 import firestore_v1_messages as messages class FirestoreV1(base_api.BaseApiClient): """Generated clien...
[ "ige-public@hotmail.com" ]
ige-public@hotmail.com
9cc95780a34d3bb2c8acb0cde93d72a744ba1ce1
5f596cf8fc95e72caa87fcd51aa2446f9e6fc0d4
/tasks.py
01c26b63c44c8cec31f1ad19c349b4ea31ffa67d
[ "MIT" ]
permissive
jakobzeitler/causalinfo
265f34f79a13c6ee9ce1173aae202e960766327f
a8e6b6e9dae8dfd4d2e18010908c4905089538a1
refs/heads/master
2020-03-23T17:24:25.087306
2017-01-05T08:07:40
2017-01-05T08:07:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,699
py
# -*- coding: utf-8 -*- from invoke import task, run import os import sys @task def test(cover=False): """Run tests (use --cover for coverage tests)""" if cover: run('py.test --cov-report term-missing --cov=causalinfo tests', pty=True) else: run('py.test -v', pty=True) @task def clean(): ...
[ "brett.calcott@gmail.com" ]
brett.calcott@gmail.com
39ef41ca372b8c23e5a544cffabddd8ade50fad0
bb462a56300aff06f6265e500804a4ecc7e290c4
/mod_int.py
74edcf9d02e8596531719f955e0156a7cf5b6c2b
[ "CC0-1.0" ]
permissive
nohtaray/competitive-programming.py
6d4f0b5b6dde3dfee5a12674a1d0143d760b3644
7d38884007541061ddd69d617a69a0d9bc6176fa
refs/heads/master
2023-06-15T01:17:41.744771
2023-05-27T14:37:04
2023-05-27T14:37:04
180,506,267
1
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
def ModInt(mod): class _ModInt: def __init__(self, value): self.value = value % mod def __add__(self, other): if isinstance(other, _ModInt): return _ModInt(self.value + other.value) else: return _ModInt(self.value + other) ...
[ "ydt.hran2@gmail.com" ]
ydt.hran2@gmail.com
f64548cc59fb2b2294373d25879cdab04e508e9f
d121775327c0c2e1d7210eab0f52d1818c56aa0c
/Wikipedia_Scraper/venv/bin/wheel
12e896c57139377e445ecb2d018a31e72715bb96
[]
no_license
shmoss/Python-Backend-TownSounds
f396d8fbd55b08730286109dc27c1e948a33c9c8
ba38bed2894ac45eb344c8fa2a23a49daa6fd3f0
refs/heads/master
2021-07-15T07:52:05.267561
2021-07-08T21:28:37
2021-07-08T21:28:37
180,048,120
1
0
null
null
null
null
UTF-8
Python
false
false
265
#!/Users/starrmoss/PycharmProjects/hi/Wikipedia_Scraper/venv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "shmoss@wisc.edu" ]
shmoss@wisc.edu
2a2f1f71c97c0e8e03c4f0bcc38faa88410be7f6
7e2aefac7b540f4d4bad0fa6dd94dbcdad34d6a3
/modular/app.py
f7b681f53f3b0400a266359154603d66d9fc1cbf
[]
no_license
imajaydwivedi/Python-BootCamp
ade3a3557d51b7b25a7b2ba3b79952a622896b29
2f5e1629a160a33017c9ab548b9d7c88ad57c917
refs/heads/master
2023-06-29T04:48:20.744027
2023-06-13T15:11:36
2023-06-13T15:11:36
250,841,367
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
import services.directory as directory if __name__ == "__main__": directory.add({"name":"Krishna", "phone": 1234}) directory.add({"name":"Mohan", "phone": 2345}) directory.add({"name":"Koyya", "phone": 3456}) print(directory.list()) print(directory.count()) print(directory.find_by(1)) print...
[ "dwivedaj@arcesium.com" ]
dwivedaj@arcesium.com
5c59103c775af199dd22c783d6c67d60fb97d5d3
49e0b6094a6841efd74ba57cd01913b465223333
/data_structures_and_algorithms_python/challenges/tree_fizz_buzz/tree_fizz_buzz.py
5883a22406f14bb3defa4c58189abd1927c6c06e
[]
no_license
HamzaQahoush/data-structures-and-algorithms--Python
1c2fdfc8b90efc190108ed139372591741d5acc7
81bc4424065bc6b7ef99ab4dbba60524a75058a4
refs/heads/master
2023-07-15T04:03:05.158576
2021-08-05T17:34:47
2021-08-05T17:34:47
376,792,369
0
1
null
2021-08-05T17:29:16
2021-06-14T11:00:05
Python
UTF-8
Python
false
false
1,647
py
class Node : def __init__(self,value): self.value = value self.child = [] def __str__(self): return str(self.value) class KAryTree : def __init__(self): self.root= None """This code done with help from Ahmad Zatar""" def fizz_Buzz_Tree(KAryTree): def traverse(n...
[ "hamza.qah@gmail.com" ]
hamza.qah@gmail.com
7a4a7b2829526271df0ee298213f785025e1cafc
a473fdce56e422137f0f14514081bf7c10e9aa90
/source/data_processing.py
f58589cc42ed19b0dfa0cd0c580dc9171fd81ec2
[]
no_license
mrandic/Bike-Rental-Case
bc264d02d115db178ff35d67b0c98d4644dbf954
79d29a5a5a1a914e5936e688d2b1ed850373b301
refs/heads/main
2023-08-15T02:10:52.483478
2021-09-21T23:34:44
2021-09-21T23:34:44
409,000,045
0
0
null
null
null
null
UTF-8
Python
false
false
9,767
py
import pandas as pd import numpy as np from dateutil.parser import parse def processHubwayTripsData(hubway_trips_df): """ Create initial features from hubway trips data :param hubway_trips_df: Hubway trips data :return: Feature engineered dataframe """ hubway_trips_df['start_date'] = hubway_t...
[ "milos.randic@telenor.no" ]
milos.randic@telenor.no