blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
1f36a514482352b15f26407d72ee9ba6027dac94
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/anagram/09ab13ac53e54a21819b45d33c272459.py
30c00dfe1a41d1c24e13263850e15a2fbd439762
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
394
py
def detect_anagrams(src, words): ret = [] t1 = sort_string(src) for wd in words: t2 = sort_string(wd) if t1 == t2 and src.lower() != wd.lower(): ret.append(wd) return ret def sort_string(st): ls = [] ret = '' for c in range(len(st)): ls.append((st[c])....
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
a7e1a5f16a4ea6519e2f6f5df35e23b32f5345ba
9a486a87e028303a551fbd0d1e1b6b650387ea14
/parse_tlog/guide_flow.py
2cebc5bd734a8a21dc044b2fbc02dd903521f052
[]
no_license
shanlihou/pythonFunc
7b8e7064fddd4522e492c915c086cc6c5abc6eec
646920256551ccd8335446dd4fe11aa4b9916f64
refs/heads/master
2022-08-24T20:33:12.287464
2022-07-21T12:00:10
2022-07-21T12:00:10
24,311,639
3
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
# coding:utf-8 import utils import const import LogOne import csv_output def guide_flow(): fname = utils.filter_from_origin('GuideFlow') id_dic = {} avatar_count = utils.get_avatar_count() with utils.utf8_open(fname) as fr: for line in fr: lo = LogOne.get_log_from_line(line) ...
[ "shanlihou@gmail.com" ]
shanlihou@gmail.com
b7bb266e93b0df327f5e287bf32512bcdf2c4e1b
546c4957869e508b7007926d3e77bbb21b4251f0
/omnichannel/models/status.py
d149f738e47cf7b5b45b87150b0af61c2f4cde4c
[]
no_license
messente/messente-omnichannel-python
e08cc1da43e3088548cd2df9dae93504f4e97b24
5c4f361fcb6e4dd1643421b7070f139dc2e12a67
refs/heads/master
2020-03-20T09:07:49.929194
2019-03-01T14:24:10
2019-03-01T14:24:10
137,329,184
0
1
null
2019-03-01T14:24:11
2018-06-14T08:28:35
Python
UTF-8
Python
false
false
2,610
py
# coding: utf-8 """ Omnichannel API Messente's API which allows sending messages via various channels with fallback options. # noqa: E501 OpenAPI spec version: 0.0.2 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import si...
[ "uku.loskit@messente.com" ]
uku.loskit@messente.com
6fda36128bdb9dc753e27b4afafafb34d8003f8b
b555bbdae3bb0a23c3e6a0f6f2273a3aaafb0d41
/django/djangoproject/fivth_django/juheapp/migrations/0001_initial.py
9a12a5c968c2a81c1f32c07c5d8bae8425eb0ab1
[]
no_license
gaofeng860613/weixinxiaochengxu
e3fbfc613da81b4eadd1d58d27c5d61109b6af50
0d31e7bfa64f3b1e4b0fc17f837866f998f7e8e3
refs/heads/master
2021-02-10T09:56:49.066395
2020-03-09T09:43:36
2020-03-09T09:43:36
244,371,833
2
0
null
null
null
null
UTF-8
Python
false
false
563
py
# Generated by Django 3.0.3 on 2020-02-25 12:36 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(aut...
[ "735754494@qq.com" ]
735754494@qq.com
92b8cb7b47b9ee887f6ae8c34067590019668fc1
77ec9edf40b34b48477a627d149b6c2054b98a93
/abc_188_d.py
07fb56df0536dddc7d23de1cb381a788cdc223e9
[]
no_license
junkhp/atcorder
fa4eeb204e3a4ac713001ab89c205039703abc88
028ddf7a39534d5907232c4576a03af79feb6073
refs/heads/main
2023-04-11T02:15:10.088883
2021-04-22T07:06:06
2021-04-22T07:06:06
313,284,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
# -*- coding: utf-8 -*- def main(): n, C = map(int, input().split()) abc_list = [list(map(int, input().split())) for i in range(n)] keikaku_dict = {} day_set = set() for i, abc in enumerate(abc_list): a = abc[0] b = abc[1] + 1 if a in day_set: keikaku_dict[a].appe...
[ "oshiba@m.cs.osakafu-u.ac.jp" ]
oshiba@m.cs.osakafu-u.ac.jp
d952e3aa3f2702ee77fba5e59c2ae950a3d54637
9f5fcff2513f2d78f27e5313698dcc47fce1e754
/Experiment/RL_EA_search/graphnas/rl_trainer.py
98698e1f65a8d86c9fc924e46fecd052d959f4cb
[ "Apache-2.0" ]
permissive
ncucjm/notebook
c2495f790e9fc2ca55c1c29a8eaa2dc1bfe7463f
7271a0d1b10cdd6298e223c7ff150d4df031aa76
refs/heads/master
2023-07-20T05:55:48.946687
2021-01-27T09:12:19
2021-01-27T09:12:19
202,633,012
0
0
null
2023-07-06T21:28:29
2019-08-16T00:58:45
Jupyter Notebook
UTF-8
Python
false
false
14,605
py
from collections import deque import os import glob import torch import numpy as np import scipy.signal import graphnas.utils.tensor_utils as utils from graphnas_variants.macro_graphnas.pyg.pyg_gnn_model_manager import GeoCitationManager import time logger = utils.get_logger() def discount(x, amount): return sci...
[ "1300887184@qq.com" ]
1300887184@qq.com
10766a363b608b7e1a971988d5f21c52ac6600df
ffadb1d8ec6805bc6e6022f3195787593cd77c74
/my python programe/learn_python.py
7834ffe3e2773269ec933545daa32455fe9af0da
[]
no_license
bhanupratapsinghcs/python
f815314b8303d3da36396eb5d5d7bd7db98e82e8
e757b481e00f077cba114575e1ff0c318b391635
refs/heads/master
2021-06-20T00:40:34.017921
2021-01-15T10:31:04
2021-01-15T10:31:04
166,222,897
0
0
null
null
null
null
UTF-8
Python
false
false
46
py
x = "Shantanu" y = -(-3) z = -7 print(7 / 4)
[ "pbhanu314@gmail.com" ]
pbhanu314@gmail.com
9f0b0934bd46274b7931dcab25328e281a6b80d7
e116df6da6a700303060120bcd27af432d14be8a
/week_2/05_get_linked_list_sum_nayoung.py
87893b05f358929c759c2d11ad3f5c6ff56a4bdd
[]
no_license
NayoungBae/algorithm
d14af821d4f4e498f689a2918035c27d5f4333c2
bf79bd2ce04a9501dc5c514ecf3fc048acfe336b
refs/heads/master
2023-07-19T08:44:28.903136
2021-09-05T18:25:28
2021-09-05T18:25:28
395,613,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
# https://nazero.tistory.com/69 # 다음과 같은 두 링크드 리스트를 입력받았을 때, 합산한 값을 반환하시오. # 예를 들어, 아래와 같은 링크드 리스트를 입력받았다면, # 각각 678, 354이므로 두 개의 총합 # 678 + 354 = 1032를 반환해야 한다. # 단, 각 노드의 데이터는 한 자리 수 숫자만 들어갈 수 있다. class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def...
[ "nybae2003@naver.com" ]
nybae2003@naver.com
72603bc959fdf19473817fce9d1ad0b71955d359
650076fb94a086e15bdaa5bd2f51ce72df42dce4
/test/functional/test_framework/messages.py
49710adae056fb25980006084a7696e53a066492
[ "MIT" ]
permissive
c0de0x/ErosCore
548075fe85c46e2bb3946f94361689dbad692da8
a71767f7ee7105dc83973aac8ac60903b69459c9
refs/heads/master
2022-11-25T14:35:59.091923
2020-07-30T14:38:39
2020-07-30T14:38:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,420
py
#!/usr/bin/env python3 # Copyright (c) 2010 ArtForz -- public domain half-a-node # Copyright (c) 2012 Jeff Garzik # Copyright (c) 2010-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Bitcoin test...
[ "60665036+ErosCore@users.noreply.github.com" ]
60665036+ErosCore@users.noreply.github.com
bef58ecb5d5c9cc9435f7de069f798a52efbbe18
976a96749377df8843ba0330a887c321e6a8957a
/prime.py
331b7135b513bb364c10806e7f9873c0f74a5c14
[]
no_license
anuwat-an/CODIUMInterview
e105d5b83ef276fce922ad664ca67ec38cfa7179
9641edcfa88d52088cf231cabadc3b63af844309
refs/heads/master
2020-06-13T12:16:48.050795
2019-07-01T10:27:28
2019-07-01T10:27:28
194,650,825
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
import math def isPrime(n): if n == 1 or (n > 2 and n%2 == 0): return False else: for i in range(3, int(math.sqrt(n))+1): if n%i == 0: return False return True n = int(input()) for i in range(2,n+1): if isPrime(i): print(i, end=' ')
[ "anuwat.an@ku.th" ]
anuwat.an@ku.th
22de6d844f8a01878c594311ed30261434bc7328
1448e6127b593fdbc57b8d8069703c469af1c6ed
/models/state.py
7e3345fd8bd489c7f216e19d8b110429c047e8d9
[]
no_license
oimoralest/AirBnB_clone
6917082ce56b8fa7851077fdba2d1f164b3cc72f
555967e22791ef082f9ad7965b395ef0268f95b3
refs/heads/main
2023-01-10T07:44:37.443586
2020-11-14T00:10:39
2020-11-14T00:10:39
308,388,380
0
1
null
2020-11-04T17:25:10
2020-10-29T16:34:46
Python
UTF-8
Python
false
false
164
py
#!/usr/bin/python3 """ This module defines a State class """ from models.base_model import BaseModel class State(BaseModel): """defines name""" name = ""
[ "exanymejose1@hotmail.com" ]
exanymejose1@hotmail.com
931be45e94d4f499f1aec37d5fb65fc6dab8a8a9
21b6b5cabb1ab5c64956c6918756704ce18b1b8d
/ds-system-api-server/venv/Lib/site-packages/dbutils/persistent_pg.py
eb53e228dc6b85bfe8bff7ca28e5c764753bfca4
[]
no_license
xzx-dalao/DormitorySystem
18c7eef57e99418f3f7537ea8e1fe1a3c186ad0b
9502e44f73285816030872ea12aafc9209bba702
refs/heads/master
2023-04-05T12:04:42.665029
2021-04-25T14:06:37
2021-04-25T14:06:37
356,129,067
4
0
null
null
null
null
UTF-8
Python
false
false
7,034
py
"""PersistentPg - persistent classic PyGreSQL connections. Implements steady, thread-affine persistent connections to a PostgreSQL database using the classic (not DB-API 2 compliant) PyGreSQL API. This should result in a speedup for persistent applications such as the application server of "Webware for Python," witho...
[ "1340796532@qq.com" ]
1340796532@qq.com
9a042ef3c82d71e1fc6275be3dfe0d32c89402a3
64c5934b2529a9bd66fe568607dbb437711327b0
/MANN/Utils/tf_utils.py
8a6751c26fcb55899ca939f269fe57fa3abd9647
[ "MIT" ]
permissive
fshaikh-fast/NTM-One-Shot-TF
fdba8571b48a6940d43a9234d9edad49e47bd603
83ce96bb65074db5927238dbde7c7cdd5b018818
refs/heads/master
2021-01-15T15:05:53.841146
2017-08-08T14:43:30
2017-08-08T14:43:30
99,702,934
0
0
null
2017-08-08T14:38:18
2017-08-08T14:38:18
null
UTF-8
Python
false
false
1,416
py
import tensorflow as tf import numpy as np def shared_float32(x, name=''): return tf.Variable(tf.cast(np.asarray(x, dtype=np.float32), tf.float32), name=name) def update_tensor(V, dim2, val): # Update tensor V, with index(:,dim2[:]) by val[:] print('Shapes Recieved in Update: V, dim, val are ==> '...
[ "fshaikh@primaticsfinancial.com" ]
fshaikh@primaticsfinancial.com
0827574c78dbf6f8411927ec8c2f368c165aded5
135254b8c00935efd0efd33c708ce69470e23741
/Hard/335. Self Crossing.py
84c1eaf99e013d78a368297707b298a1dacf7618
[]
no_license
MinecraftDawn/LeetCode
4974e6f96612f01e4774ecd5c30bc42dfff79467
0404bcce27ff363430e6ab71dbc27a69055fd261
refs/heads/master
2021-06-19T05:50:08.000396
2021-06-14T05:57:09
2021-06-14T05:57:09
188,446,485
1
0
null
null
null
null
UTF-8
Python
false
false
689
py
# Reference: https://leetcode.com/problems/self-crossing/discuss/386087/Python-simple-case-easy-to-read class Solution: def isSelfCrossing(self, edge: list) -> bool: if len(edge) < 4: return False for i in range(3, len(edge)): if edge[i-1] <= edge[i-3] and edge[i] >=...
[ "eric4902077@gmail.com" ]
eric4902077@gmail.com
3c598f0e0380a9a269749d5b4d0c66eccbe3e684
8474b7b689a385fa9d02ec176b670a9a49dff2d1
/music.py
7c379c42587d3dbec4775094d0b7afc243d21910
[]
no_license
just21097varg/Virtual-Voice-Assistant
23d08a29edb07b4a77352c17f179e4919552270b
53a5062551076dcd8306aaa6dd45f2cbb473e581
refs/heads/main
2023-02-12T22:15:32.452037
2021-01-23T17:20:38
2021-01-23T17:20:38
332,268,369
0
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
import re, requests, subprocess, urllib.parse, urllib.request from bs4 import BeautifulSoup import os import youtube_dl import urllib import shutil import moviepy.editor as mp from playsound import playsound import multiprocessing import speech_recognition as sr import pyttsx3 # Initialize the recognizer r = sr....
[ "just21097varg@gmail.com" ]
just21097varg@gmail.com
a383a50daa1a541e95db9b25cc4c834596901370
2097dfbef57884db606e2f14d17adc07972a2c3b
/bookmarks/urls.py
0467dca4c43f0cab40148f57f973f54c9c2847b9
[]
no_license
jeer2234/social-web-for-practice
4f54f4ad6531f0894e02ab3fd1ec40ec10dd0a69
4e23f8db555b229d7a5ffed243b7e77bc77fa611
refs/heads/main
2023-04-21T22:59:11.456934
2021-05-19T20:46:11
2021-05-19T20:46:11
355,633,168
1
0
null
null
null
null
UTF-8
Python
false
false
1,067
py
"""bookmarks URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "jeer2234@gmail.com" ]
jeer2234@gmail.com
a127628ee171ccca9b91bcedf5da712e73bef787
44d9cb9d5f1fae6eb5849d1faa595bdda0d6dcc3
/plugins/customeralerts.py
034a5403368e28d88a995c79032e8c100e30d03f
[ "MIT" ]
permissive
kb18951452/slack-machine
022b7af4aeed837340f57b405d19fa443fb2ced5
e7f240cad199672b3a1ba0f657b7d8404df93059
refs/heads/master
2020-04-14T18:40:27.658741
2019-01-18T23:27:02
2019-01-18T23:27:02
164,028,732
0
0
MIT
2019-01-03T22:20:22
2019-01-03T22:20:21
null
UTF-8
Python
false
false
4,637
py
from machine.plugins.base import MachineBasePlugin from machine.plugins.decorators import listen_to import re class OverageAlerts(MachineBasePlugin): # Bot will @listen_to the channel for the regex expression to be matched. @listen_to(regex=r'^overagesalert ') def question(self, message): # message...
[ "kenneth@sumologic.com" ]
kenneth@sumologic.com
10f7e3c347eb30004151f1556f490b053246fe90
d42b771f64bc2185a8c0dca0f5bcfa5a2e13c5ed
/users/migrations/0004_auto_20210401_1122.py
c6031beb0bb860b42025e95c43890b7f126098f1
[]
no_license
bgy1060/Daily_Project
4b38de59c09f5e3f82211a9860e1f32a8ef46b37
bcc955bddd9941f2bc54f7577c26c1ddc6b36a48
refs/heads/main
2023-05-15T17:26:56.858438
2021-06-17T05:59:10
2021-06-17T05:59:10
353,864,798
1
1
null
null
null
null
UTF-8
Python
false
false
446
py
# Generated by Django 3.1.7 on 2021-04-01 02:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0003_customuser_username'), ] operations = [ migrations.RemoveField( model_name='customuser', name='is_staff', ...
[ "40761315+bgy1060@users.noreply.github.com" ]
40761315+bgy1060@users.noreply.github.com
49011a52a359f585c31188328a68b51289b4c113
0221492205ef2b22d0ec4b9b13736683f7ec2da3
/google/cloud/dialogflow_v2beta1/services/entity_types/transports/grpc.py
d665a461e3c43addffadff3fb5755ae94d785b9f
[ "Apache-2.0" ]
permissive
galz100/python-dialogflow
1f78bfbff213b0a9fd9e3cbab195e1993489bbac
a6d5a08ea1a996ecea6a2512ffcc6d99d4fd6302
refs/heads/main
2023-08-02T06:32:57.851663
2021-10-05T22:13:19
2021-10-05T22:13:19
413,930,124
0
0
Apache-2.0
2021-10-05T18:11:13
2021-10-05T18:11:12
null
UTF-8
Python
false
false
26,961
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
galz100.noreply@github.com
ce0ce73cbd9b854a3f1a59aeaf2f50852a784e6b
bb94939b5c7edb984d24adedb6da6f6c8c100f34
/apps/first_app/migrations/0004_loginreg.py
0de6406a3b83c7a3ad6b92875e863d73db943f58
[]
no_license
waldytorres/djangoLoginMarch
db5fe916403adf70873e40393195e509d4a28ea0
b48897fafc1059c6dcea784e15a4295f6574c697
refs/heads/master
2021-04-12T09:27:33.596958
2018-03-26T05:23:29
2018-03-26T05:23:29
126,740,063
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-03-25 00:25 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('first_app', '0003_delete_loginreg'), ] operations = [ migrations.CreateModel(...
[ "waldytorres" ]
waldytorres
8b63f8825bbcc0f68e1919498029c6dd55d32b3f
94cb95d48543fc057370380c118504fb9d4f9646
/backend/toursNtrip/wsgi.py
d36e4ccb688d3a96680e0558322caadb01a3d719
[]
no_license
nixistechnologies/toursntrip
c6ce7d50f4423a93366aaae073021290e588f3ec
ccce10da19a5ccad5a3496ac1456fcd11c5bb726
refs/heads/master
2023-03-17T18:36:58.246300
2021-03-11T16:20:31
2021-03-11T16:20:31
277,988,690
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for toursNtrip project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "nixis.institute@gmail.com" ]
nixis.institute@gmail.com
0907223952e480da4059cdae5cc8b9034ee81e0f
4b2d75ba65d2a6838a0cbc70cdda0ae49bd4ae49
/Test/test_04_list_resource.py
99735d7e4136d69e955e58a85e16c2049c288908
[]
no_license
mimqupspy/python_rest
32360d051f266f379165543aea9f7a7bf7252188
707ac2494752fd6772081f7afddfc7e9102ad12a
refs/heads/main
2023-08-29T12:41:39.738241
2021-10-12T04:44:29
2021-10-12T04:44:29
415,355,636
0
0
null
null
null
null
UTF-8
Python
false
false
502
py
from testdata.list_resource import list_resource_data, list_resource_response_code import allure @allure.step('list_resource_response_code') def test_list_resource_response_code(): assert list_resource_response_code == 200 @allure.step('list_resource_data not empty') def test_list_resource_data_not_empty(): ...
[ "mim90@live.com" ]
mim90@live.com
2a64d018362c95a4aeacd114e5acebb5da748583
cf43db77936309a1e64019808e439f0f249902c3
/Curso Python/py4e-master/testlistp.py
0f42125caffc07600558c1d40bb4fb6df66b1f40
[]
no_license
ariel91/Python
a63fd5a1b11ef387833af48c66585dc17e701821
5fb7cf86738a68fcf2d8afc5c9bb25ecee196e3a
refs/heads/master
2021-07-01T14:10:19.727267
2020-09-19T03:40:19
2020-09-19T03:40:19
168,010,837
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#Open the file romeo.txt and read it line by line. For each line, split the line into a #list of words using the split() method. The program should build a list of words. #For each word on each line check to see if the word is already in the list and if #not append it to the list. When the program completes, sort an...
[ "arielchitay91@gmail.com" ]
arielchitay91@gmail.com
2c2283192c90f141c35575960fe5643f6f871075
9515e51a3e6c326c9c48c69189e508a73bfb1b9f
/BetterMidWins/settings.py
687f921fd875f4201d3baa10eaacde5713f99a57
[]
no_license
Tap84/BetterMidWins
39b4ce4af36974815903807179dc6568173aeb47
9bbf7e689666a7115248b38930cd5363bf8febea
refs/heads/master
2022-12-11T09:49:20.633192
2019-12-04T02:23:59
2019-12-04T02:23:59
216,057,306
0
1
null
2022-11-22T04:48:30
2019-10-18T15:43:22
Python
UTF-8
Python
false
false
3,169
py
""" Django settings for BetterMidWins project. Generated by 'django-admin startproject' using Django 2.2.6. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "43452884+Tap84@users.noreply.github.com" ]
43452884+Tap84@users.noreply.github.com
32cad3dc7aaa562398dc5b81390d4ce1858373c6
55ddd333eb1c2baa6c38cb7d0f916675d65a26f6
/decision-making-engine/server/iirs/utils.py
5fe3b76cba686849fd4f04fc8be75ee34e03beca
[]
no_license
cracer/Intelligent-Intrusion-Response-System
bb4f4bf6b352df3ce084f8ed32585773c98c38c1
232bd174f1bb04071fb31bc87f63defdb0b29c09
refs/heads/master
2023-08-30T08:58:19.724415
2021-09-28T01:30:05
2021-09-28T01:30:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,396
py
import numpy as np class Agent: def allowlearn(self): self.learn = 1 def preventlearn(self): self.learn = 0 def train(self, n_episodes): if self.verbosity: print('Training...') self.allowlearn() return self.runEpisodes(n_episodes) / n_episodes def benchmark(se...
[ "grammatikakiskonstantinos@gmail.com" ]
grammatikakiskonstantinos@gmail.com
6b0e78d50451bb8ccc11aab0a05214bf732c8bdb
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2479/60586/261474.py
a9f57d33b28f100b2c88c064fd239af6152dd305
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
369
py
def exam4(): t=int(input()) res=[] for i in range(t): a=list(input()) b=list(input()) for item in a: if b.count(item)==0: res.append(item) for item in b: if a.count(item)==0: res.append(item) res.sort() res=list(...
[ "1069583789@qq.com" ]
1069583789@qq.com
3139b9a9007077695d008ed8e6b438ca22d099f1
d64c34b65c957e2da1a7067d646fd5963eac5251
/Miscelaneous/class.py
ae2cde8eedfb1a591af7ad5a034a99dabf2ada46
[]
no_license
RayGonzalez/FormalAnalysis
00c6eca497594685c8ca62fbb2f9007f9c3674ed
a49117b2fe4c70f1ebff040b0e96cf1d8375d8b5
refs/heads/master
2021-01-12T04:11:22.600014
2017-10-28T08:25:55
2017-10-28T08:25:55
77,536,207
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
import numpy as np def create_pop(n): # A distrib = 1000 * np.random.random_sample((n)) #returns an array with the population return distrib population_size = int(raw_input("Enter a population size:")) population = create_pop(population_size) std_pop= np.std(population) print "In order to have a fixe...
[ "raygzz19@gmail.comi" ]
raygzz19@gmail.comi
6e8c77b345c53ff42ce5cbcb97431a29637ff3b4
e217ad7b67ff57b68bc6aae242ef7ccf699b4929
/Ch 04/ex_odd_numbers.py
7bfeef4a1dda0ac45ce67fff3bb2d8a5ba1c1e9a
[]
no_license
a5eeM/PCC
3a01e5ad8f78ef982d4a8a64c5ac4ce8624fb474
7949169b5efe927d2ddcdd5a2e825b16fde9a3f2
refs/heads/master
2021-08-28T23:23:31.253375
2017-12-13T08:29:11
2017-12-13T08:29:11
111,636,132
0
0
null
2017-12-13T08:29:12
2017-11-22T04:25:39
Python
UTF-8
Python
false
false
184
py
odd_numbers = [] for val in range(1, 21, 2): odd_numbers.append(val) print(odd_numbers) # more advanced way # odd_numbers = [val for val in range(1, 21, 2)] # print(odd_numbers)
[ "30532759+a5eeM@users.noreply.github.com" ]
30532759+a5eeM@users.noreply.github.com
4908c1d2429db0091ffcfc277d7b422dee4282cf
9058a1657c56814f9fab4990532bd6d9c7982397
/venv/bin/wheel
23ebf9f8de07684990f87979011a5e0c77c766df
[]
no_license
malukasrokas/Online-Blog
1d2e09bd9ade08f07a9915f53cbcb17970f83689
55a2aee8b32dedebc114769a6fabb5184a41b13b
refs/heads/master
2021-06-14T03:07:44.144189
2017-03-13T22:12:03
2017-03-13T22:12:03
53,199,224
0
1
null
null
null
null
UTF-8
Python
false
false
233
#!/home/rokas/django/venv/bin/python3.4 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "malukasrokas@gmail.com" ]
malukasrokas@gmail.com
cd53b60104a255ceff9857f2bda90f7af2800333
458e9e7c315aeefd247978f6ed920d627b12caaf
/pyhton2/2-week/2.4.4-6/2.4 работа_с_файлами_7.py
19e7b67f2e005c7c3c579790c05e5e1b58c041a2
[]
no_license
SUraza/Learning_Stepic.org
2798bb6a763915e048c4ead3230ddbade8160f59
8ee0ae7eb349dd25ef03d2ac5229885ee341b5d1
refs/heads/master
2021-09-08T00:27:50.911397
2018-03-04T08:59:44
2018-03-04T08:59:44
117,680,666
0
1
null
null
null
null
UTF-8
Python
false
false
536
py
import os import os.path import shutil #shutil.copy("2.4.4/text1.txt", "2.4.4/text11.txt") shutil.copytree("2.4.4", "2.4.4/2.4.4") #print(os.getcwd()) #print(os.listdir(".idea")) #print(os.path.exists("fib.py")) #print(os.path.exists("2.4.4")) #print(os.path.isfile("fib.py")) #print(os.path.isfile("2.4.4")) #print...
[ "noreply@github.com" ]
SUraza.noreply@github.com
2a2637186f97918b3b4852e4b8ffdf1211426990
ac86f9f18d23027bd68704f9a27446303df716d5
/june-leetcoding-challenge-2020/week-3/Surrounded Regions.py
432786c2a1ff20ef635445eccda5df57a853a14a
[]
no_license
dhruvbpatel/leetcode-solutions
ae6fd73e14b4d3d895a1787ff1eb5780950bf6f8
ef557e4b833a518e69ef6a8eb3a31fc49031d7f0
refs/heads/master
2022-11-11T16:29:24.957133
2020-07-01T08:03:14
2020-07-01T08:03:14
262,847,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
class Solution: def dfs(self,i,j): if i>=0 and i<len(self.board) and j>=0 and j<len(self.board[0]) and self.board[i][j]=='O': self.board[i][j]='S' self.dfs(i+1,j) self.dfs(i-1,j) self.dfs(i,j+1) self.dfs(i,j-1) def solv...
[ "33346480+dhruvbpatel@users.noreply.github.com" ]
33346480+dhruvbpatel@users.noreply.github.com
0f2d60323aeaeee9b180543ca38aee027ea8742b
b8191f0b92559ceffd1cc43713bb9e6529133161
/dashbord/manage.py
1e800a537560c993447493a5d036cf4d274f6ad9
[]
no_license
rkrishan/Assignement-
1f6c3121de82dc72d7acb8e42bbde6a6a51766d3
6a752bbd35b00214be5f30fd5a0155300a98b94f
refs/heads/master
2020-07-17T15:21:31.560393
2019-09-03T09:51:43
2019-09-03T09:51:43
206,044,246
0
0
null
null
null
null
UTF-8
Python
false
false
628
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dashbord.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
[ "rkrishan.sharma94@gmail.com" ]
rkrishan.sharma94@gmail.com
700ce2cd55fcdea770e4586d5d0441d543612fa9
895e1eeb1e18205ce3ee8d8c73f6c18c1279d16c
/flask_app/app/main/text_preprocess.py
19f2ad466f8065c37324e408e72d339236833f27
[]
no_license
lwoloszy/albumpitch
ab18e7c60490fa7a7c8055d24312c8c3789cc6f2
5f7b3e85abb8c3197adf351a63ce8971ce2c576b
refs/heads/master
2021-01-20T15:36:31.305144
2017-04-10T04:28:19
2017-04-10T06:23:26
64,318,822
2
0
null
null
null
null
UTF-8
Python
false
false
9,615
py
import re import string from itertools import groupby from unidecode import unidecode import nltk from nltk.stem import PorterStemmer, SnowballStemmer from stop_words import get_stop_words #from pymongo import MongoClient class CustomTokenizer(object): def __init__(self, stopset=None, stemmer=None): i...
[ "luke.woloszyn@gmail.com" ]
luke.woloszyn@gmail.com
b61968dae81932acb65d39767e1e265e0cacf305
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_167/ch50_2019_06_11_13_14_47_474417.py
72022271fba4966682e6c89d23ed329447de3c78
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
def numero_no_indice (lista): l=[] i=0 posicao=0 while i < len(lista): if i[lista]==posicao: i+=1 posicao+=1 x.append(i) return l
[ "you@example.com" ]
you@example.com
efe85265eb159f968910b0203ca590e3eaf07671
feb46976e6c75cfb34ca0d1b293d765ccd85ed53
/python_bin/iprange.py
1fd2ac14a3f3aeb4bcea3642d11add12de42b319
[ "Unlicense" ]
permissive
JJK96/dotfiles
e72a88e575fbc1c5362b722582ef7018c2f95ed9
b0ef45c86b67cc7fa6e0cb4f1b714b5623de7cea
refs/heads/master
2023-08-05T03:06:29.879350
2023-08-02T10:20:16
2023-08-02T10:20:16
48,692,152
6
1
null
null
null
null
UTF-8
Python
false
false
103
py
import ipaddress import sys for ip in ipaddress.IPv4Network(sys.argv[1], strict=False): print(ip)
[ "jjkorpershoek96@gmail.com" ]
jjkorpershoek96@gmail.com
7320504d66476de1e212eee75bca69045809f7ba
91dac7925c323b8f5d2b914f6a5e0c7e847effde
/controllers/binary.py
5c5b3e5ede86ac40634bad8564aedbc6259866de
[]
no_license
Jonnathangte68/aha
1ca6b27e35ccbb7f0dd579546cfb2cde9e647999
e28bc44f59da7503b3dda58ae9daa025c1081912
refs/heads/master
2020-03-17T11:42:15.163887
2018-06-01T22:58:09
2018-06-01T22:58:09
133,561,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,334
py
from openerp import http from openerp.http import request from openerp.addons.web.controllers.main import serialize_exception,content_disposition import base64 ''' class Binary(http.Controller): @http.route('/web/binary/download_document', type='http', auth="public") @serialize_exception def download_document(self,...
[ "jonnathangte68@hotmail.com" ]
jonnathangte68@hotmail.com
210c32bffdfcbe2fea8b31746088ce7e6896645f
2a39fe8bd203531c9bcdb470d19b80beac665eae
/read_best.py
380979ab3e9af8575ef0e733e5486bb67e30d4e4
[]
no_license
davidharvey1986/lenstoolTools
7bf11af1a38700503a731c6fe7e83fdc92bf58c1
85bcf729603d34341f5f41c57c4e233b08055baa
refs/heads/master
2021-09-08T14:29:52.695461
2018-03-10T13:54:50
2018-03-10T13:54:50
124,657,727
0
0
null
null
null
null
UTF-8
Python
false
false
7,896
py
from lensing.lenstool import potentiels from write_par import * import csv as csv import ipdb as pdb def read_best( filename='best.par', pot_type='AUTO', verbose=False, return_limits=False, return_image=False): ''' Read the input into lenstool, the .p...
[ "davidharvey1986@googlemail.com" ]
davidharvey1986@googlemail.com
8ebdfb932ffb2412d837743bf89bab1774dd0c8a
e2dd5ac76868f0a2bd12137b2e8b37de296c9d4c
/knn_classification.py
66816384e57d42404bbb6493248341c98faab446
[]
no_license
shafiul-haque-johny/KNN-implementation
06c4e95df02be1e085dff8e7e248cc4be83fc324
5ba7775515952c3e70e02075ab18bef8a95c21db
refs/heads/main
2023-03-31T20:07:11.433039
2021-04-08T19:57:20
2021-04-08T19:57:20
351,548,595
1
0
null
null
null
null
UTF-8
Python
false
false
2,939
py
# -*- coding: utf-8 -*- """KNN-classification.ipynb Automatically generated by Colaboratory. Original file is located at https:......... # **K Nearest naigabours** """ from google.colab import drive drive.mount('/content/drive') from numpy import genfromtxt import random data_path='/set your path here/iris.csv...
[ "noreply@github.com" ]
shafiul-haque-johny.noreply@github.com
64ede3e1ec0a1297453440798baed6136a477c95
33d02a5b35c47deaa674e0a7bab1033331edb107
/training/django_for_beginners/pages/pages/urls.py
906e5b98d89de35edc6af3cbee3bcbe4b00be7ed
[]
no_license
nzejoe/django_project
d9229d96925c9461cff18462b1ce0956f45751f0
ea8c3d390702ef7e82e40404a9f179d7de62b2b5
refs/heads/master
2023-01-03T15:21:54.393353
2020-10-23T13:32:25
2020-10-23T13:32:25
294,787,627
1
0
null
null
null
null
UTF-8
Python
false
false
207
py
from django.urls import path from .views import HomePageView, AboutPageView urlpatterns = [ path('about/', AboutPageView.as_view(), name='about'), path('', HomePageView.as_view(), name='home'), ]
[ "nzejoeworld@gmail.com" ]
nzejoeworld@gmail.com
50b5551e2682d74df8ebdd6d16391bbe9325c6ea
9108caf69eeb1426451e4d2480600bd35b052115
/models.py
7c98bc9b633365fc744ee5e9bab17f385b3ff0da
[]
no_license
jbozas/project1
f63594b8b0dcb63c50e7a29852108eb81a5e05e8
40ac960b3416c28a69beddb3ba6c862096171246
refs/heads/master
2023-03-01T21:16:30.478570
2020-07-23T17:31:50
2020-07-23T17:31:50
268,688,762
1
0
null
2021-02-01T21:13:35
2020-06-02T03:08:46
Python
UTF-8
Python
false
false
1,151
py
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Book(db.Model): __tablename__ = "book" isbn = db.Column(db.String, primary_key=True) title = db.Column(db.String, nullable=False) author = db.Column(db.String, nullable=False) year = db.Column(db.String, nullable=False) """ #r...
[ "julianbozas@gmail.com" ]
julianbozas@gmail.com
f458b07ae6034ef58799287a85230d547378ae28
aefb95b0212cf2f418a0922d25d47d5217867cf3
/Creator.py
cf505594c063bb2bd663975f5d67fefeb0c6beb4
[]
no_license
bsaitheja/AWS-Regular-Expression-python-Flask
0fd2897583061b49bcf6d2f81d5028b2996c70fd
9bc35ced59c5bf6da55a1c8ab7df5ffd3efc45ed
refs/heads/main
2023-06-15T23:17:44.956402
2021-07-14T20:24:33
2021-07-14T20:24:33
386,060,384
0
0
null
null
null
null
UTF-8
Python
false
false
2,094
py
import os from nltk.stem import SnowballStemmer import re import string from collections import Counter import pickle path="corpus" files=os.listdir(path) paths=[] for file in files: paths.append(os.path.join(path,file)) documents={} index={} stop = open('stopwords.txt','r') stopwords=sto...
[ "noreply@github.com" ]
bsaitheja.noreply@github.com
43fa8963935e3468a2194a9b88b6af890c8a01ad
104db4d1a8e8e440c0dec73bf98017e48e277a24
/proyectoInfSocial/FUNDAPOEX/FUNDAPOEX/settings.py
566335e1feb07686de726fb75bcfcdd76322218e
[]
no_license
mauriterry/Proyecto-Informatica-Social
c02360b6b6a25a1281aa0cbb0fcc25b4c9bd3475
4f6a31e693147b5015504be2cae6e4c9c433b073
refs/heads/master
2020-05-30T17:38:58.355384
2019-06-02T18:11:03
2019-06-02T18:11:03
189,879,079
0
0
null
null
null
null
UTF-8
Python
false
false
3,101
py
""" Django settings for FUNDAPOEX project. Generated by 'django-admin startproject' using Django 2.1.2. 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 ...
[ "cmrodriguez67@ucatolica.edu.co" ]
cmrodriguez67@ucatolica.edu.co
54d596a8f7abeaa708ce12829210e4b01ed2cd1c
9b5d0b7d7c9cdaef2851b675292e5eef651ab257
/database/compiled_templates/root/history_common.mako.py
10318451f22158193738b9a03b46af42ae5c7016
[ "CC-BY-2.5", "MIT" ]
permissive
msGenDev/Yeps-EURAC
392fd497a6891a5a22204b236c26dcd133793f21
7b679ea17ba294893cc560354d759cfd61c0b450
refs/heads/master
2021-01-16T21:49:26.499975
2010-04-05T17:52:50
2010-04-05T17:52:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,425
py
from mako import runtime, filters, cache UNDEFINED = runtime.UNDEFINED __M_dict_builtin = dict __M_locals_builtin = locals _magic_number = 5 _modified_time = 1262455474.7263279 _template_filename=u'templates/root/history_common.mako' _template_uri=u'root/history_common.mako' _template_cache=cache.Cache(__name__, _modif...
[ "fox91@anche.no" ]
fox91@anche.no
a51a38a2e71d34f8aa6a2e82026c584eeacddb12
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03363/s286998192.py
091f166035f13606310d3cb4f31a2b7bd57a4859
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
from collections import defaultdict n = int(input()) li_a = list(map(int, input().split())) s = [0] * (n+1) dd = defaultdict(lambda:0) for i in range(n): s[i+1] += s[i] + li_a[i] for i in range(n+1): dd[s[i]] += 1 ans = 0 for key in dd: ans += (dd[key]*dd[key] - dd[key])//2 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d6f07267bf0d2dd20592fc5a356ef3f0dc539597
c5b10bf433fc2152fdef2df6f63e71bf823a1955
/update.py
7b6427906bd65e0381ea1bbea668ecfb885a9f41
[]
no_license
Student-Hu/Huawei-
30579690e1efb9d63df69d0f54ddb8a6eec878e9
38a3cd828737478e0b79049098b3586c449f31ea
refs/heads/master
2022-02-21T21:13:35.094670
2019-09-17T01:31:24
2019-09-17T01:31:24
208,930,760
0
0
null
null
null
null
UTF-8
Python
false
false
6,249
py
# -*- coding: utf-8 -*- """ Created on Mon Mar 25 22:25:13 2019 @author: Administrator """ def update_road(In_road, current, k,road, car): roading = In_road.sort_values(["run_channel"], ascending=True) # 按车道升序 roading = roading.sort_values(["weizhi"], ascending=False) # 按照位置降序 channel_index = ro...
[ "noreply@github.com" ]
Student-Hu.noreply@github.com
af6840c68da72fd220ac2f284948d832a5114275
4f9b35c4a5654bdcbd6aba24f1f2d4b5ace4af08
/models/tf_ops/sampling/tf_sampling.py
12de6ed7443746b3bfb155afbd5d1dae612eb41c
[ "MIT" ]
permissive
jaswanthbjk/3D-Object-Detection
d8afbaae78888d66345a485eb6bebcc7a7539ff3
dec5ec6f4c799018c858240202ae4381c4a7023e
refs/heads/master
2023-06-29T22:50:15.463343
2021-08-05T17:27:28
2021-08-05T17:27:28
217,224,946
0
0
MIT
2020-02-12T10:41:38
2019-10-24T06:15:29
Jupyter Notebook
UTF-8
Python
false
false
3,142
py
''' Furthest point sampling Original author: Haoqiang Fan Modified by Charles R. Qi All Rights Reserved. 2017. ''' from __future__ import print_function import tensorflow as tf from tensorflow.python.framework import ops import sys import os BASE_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.app...
[ "jaswanthbjk@gmail.com" ]
jaswanthbjk@gmail.com
21a37c4db34259dc7418cb72169e1fcb7f0d5108
86d735caac440721ea30f73c7f948f028b11b16b
/using_tuple.py
08e34e663faa84fb5184281afd6cf128841c4b7c
[]
no_license
KA-Ryzhkov/A_Byte_of_Python_code
7db5dc30aebc7f4cab4dd258cd8b9c27670f4abc
6cae8e5b25ea25872338f34dddecf8dd62b52cf0
refs/heads/master
2021-05-20T16:35:59.490847
2020-05-09T08:34:08
2020-05-09T08:34:08
252,370,320
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
zoo = ('питон', 'слон', 'пингвин') print('Количество животных в зоопарке - ', len(zoo)) new_zoo = 'обезьяна', 'верблюд', zoo print('количество клеток в зоопарке', len(new_zoo)) print('Все животные в новом зоопарке:', new_zoo) print('Животные привезённые из старого зоопарка:', new_zoo) print('Последнее животное привезён...
[ "RyzhkovUS@gmail.com" ]
RyzhkovUS@gmail.com
1e7b6824388677aa5ecd22cea3f82adef24207f2
27c0fa5374bbffb9a39fbf931480999c8be29515
/setup.py
27029b7fc07983de45672785b88be8c8d39216c3
[ "MIT" ]
permissive
Fytex/asynchelper
89382559799c51f34245bb18d4ea16b0c18a5ead
165ea47fd345316f1a318f910ab659781c7097c7
refs/heads/main
2023-04-04T12:50:46.118388
2021-04-10T14:16:03
2021-04-10T14:16:03
356,635,891
2
0
MIT
2021-04-10T16:23:56
2021-04-10T16:23:55
null
UTF-8
Python
false
false
1,466
py
import io import os import re from setuptools import find_packages from setuptools import setup def read(filename): filename = os.path.join(os.path.dirname(__file__), filename) text_type = type(u"") with io.open(filename, mode="r", encoding='utf-8') as fd: return re.sub(text_type(r':[a-z]+:`~?(.*...
[ "mario@whitehathacking.tech" ]
mario@whitehathacking.tech
5fde2542be069b0af6d18e4d2815fbf6102b6647
d4cdd6c052bf9f63e31ed46566f3b089633a8b8b
/day03/while_demo.py
1c99ca24b530fc2e13b656e0f26d76c56cc7ef21
[]
no_license
qimeihong/myedu--1904
af0f59ebeb73be08b79c489521e660db35d23817
2126715dd5484b4379c51d746c13924dc05cef14
refs/heads/master
2020-05-29T19:40:43.199343
2019-06-01T05:44:45
2019-06-01T05:44:45
189,334,996
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
def while_demo(): a = 0 while a<5: print(a) a=a+1 if __name__ == '__main__': while_demo()
[ "3268602292@qq.com" ]
3268602292@qq.com
0027a9cd6cfde09fe03feb729e12888b9c7731fe
04b9cb782ae0126989cdbd4b4f4902d21a9dedaa
/setup.py
abdd0fb56c405dd1ac12a90d0dd8f5e563148160
[]
no_license
janinamass/Vizqes
cafd7afc512603cc19f280c5a435fe77574437fc
8463dd168f54765034fe23acdf7edd4a21cbd3bd
refs/heads/master
2020-12-24T15:13:53.553983
2015-02-08T17:18:10
2015-02-08T17:18:10
24,757,195
1
0
null
null
null
null
UTF-8
Python
false
false
770
py
import os import glob from setuptools import setup, find_packages setup( name='vizqes', version='0.9.0', author='Janina Mass', author_email='janina.mass@hhu.de', packages=['vizqespkg'], scripts=['vizqes'], package_data = {'vizqespkg': ['data/FreeMono.ttf']}, ...
[ "gglyptodon@gmail.com" ]
gglyptodon@gmail.com
84fec749e9160d11a5eaf3a9435caba53d2426ef
2e808a252a917c9a0fe0734203d74c6e778bd16b
/Flask/[flask] route.py
19408981e7369760c82790f50137866cc5bce952
[]
no_license
lixuefei8916/Python-for-Examples-Exercises-in-books
3dfcac7ec89378185b49cf1ea31a8693eb6c730f
b8aef46b3dd2fcb7eab8ab524154a24a8051d339
refs/heads/master
2021-01-10T08:11:25.661669
2017-03-16T07:03:02
2017-03-16T07:03:02
47,171,382
1
1
null
null
null
null
UTF-8
Python
false
false
340
py
#-*- coding: utf-8 -*- from flask import Flask app = Flask(__name__) @app.route('/') def index(): return '******** index ********' @app.route('/hello') def hello(): return 'Hello World' if __name__ == "__main__": app.run(host='0.0.0.0',debug=True) # ie 访问 http://192.168.58.128:5000/ # ie 访问 http://192.168.58.12...
[ "lixuefei8916@126.com" ]
lixuefei8916@126.com
a3b3e59173d3c3436ff586179cd03853da30a70b
8de0dbcd297f1829ab80497a7968cce339ed8407
/kenpom.py
6e3e28b6ccd7a3172ab10a97b7ad5ae3dfbd1b9b
[]
no_license
edavis/krach
65d36e546a81bc217f575fd35b400c613fb20023
c1f93e3597a15024c9aa050bf7edd619b0a8e9dc
refs/heads/master
2021-01-25T01:02:53.981788
2017-06-18T21:54:25
2017-06-18T21:54:25
94,714,962
1
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
import re D1TEAMS = set([line.strip() for line in open('teams.txt')]) assert len(D1TEAMS) == 351, 'incorrect number of D1 teams found' def is_d1_matchup(a, b): return all([a in D1TEAMS, b in D1TEAMS]) def parse_games(fname): base = '^(?P<date>[\d/]+)[ ](?P<visitor>.{,22}?)[ ][ ]?(?P<visitor_score>\d{2,3}) (?...
[ "edavis@eresources.com" ]
edavis@eresources.com
52aaa46352ec022d7349aab054fec390a4a8e785
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03359/s399632677.py
4b9e4ef5080c28b6522f683bf717ce679011d8cb
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
import sys read = sys.stdin.read readline = sys.stdin.readline readlines = sys.stdin.readlines sys.setrecursionlimit(10 ** 9) INF = 1 << 60 MOD = 1000000007 def main(): a, b = map(int, readline().split()) ans = 0 for i in range(1, 13): if i < a: ans += 1 elif i == a and i <= ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4834fd49bfc14729688e48ddef0a083f66fbdcb8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02659/s688514282.py
9e2ccbf9b9d040bce71fcaff7dcf3be04de6d05d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
import math from decimal import * a,b=map(str,input().split()) ans=(Decimal(a)*Decimal(b))//1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8a1cb4c90dc2597426e31b6db141c368b35b8562
15a74e570b168a388907e0b0ae77c4878af66b31
/Resene naloge/euler6.py
19371415bcf011b5a741e5a060a72d131cd41918
[ "MIT" ]
permissive
CadezDavid/ProjectEuler
0701a1a2c0330b9ecee8a2f502c8f76a91cdbe72
9e11aa5782fb600c98eba9e04766b3bd79acea0e
refs/heads/master
2022-12-15T19:41:32.392922
2020-09-06T10:20:59
2020-09-06T10:20:59
290,522,975
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
razlika = sum(range(101)) ** 2 - sum([stevilo ** 2 for stevilo in range(101)])
[ "david.cadez7@gmail.com" ]
david.cadez7@gmail.com
cc2fb3795c9dafa0f738c912004965c3b7b25f9a
ab4f0df599159b2c3929c24b12e2766718efdacb
/pyplan_engine/classes/CustomImports.py
e28736de5115b4624154fca75a5693ce79bf591c
[ "MIT" ]
permissive
jorgedouglas71/pyplan-ide
f01ec438f727ee0dea01b0d265155b49a26ccdb8
5ad0e4a2592b5f2716ff680018f717c65de140f5
refs/heads/master
2020-09-25T03:10:01.201707
2019-12-04T15:39:55
2019-12-04T15:39:55
225,904,173
0
0
MIT
2019-12-04T15:57:06
2019-12-04T15:57:05
null
UTF-8
Python
false
false
1,083
py
custom = { } defaults = { "abs": abs, "range": range, "abs": abs, "dict": dict, "min": min, "all": all, "hex": hex, "next": next, "slice": slice, "any": any, "divmod": divmod, "object": object, "sorted": sorted, "ascii": ascii, "enumerate": enumerate, ...
[ "fbrussa@novix.com" ]
fbrussa@novix.com
991ef0d671ac96b7e9c8992788bc4c9aaefb75ee
eb7b84b70b335e913aa7d6bf9effba3034810e27
/FirstApp_Flask/employeeInfo.py
73e6fe9ffb1ca4a70d0a2d3879854a6a22310f0c
[]
no_license
chavhanpunamchand/flask
ccc27c9909799bcc4fa9208b49c478942d569eb4
840c7299eb5cfc708f8a6cbefe8955115af9b179
refs/heads/master
2023-02-21T13:57:43.012794
2021-01-28T11:09:41
2021-01-28T11:09:41
326,448,594
0
0
null
null
null
null
UTF-8
Python
false
false
1,008
py
class Employee: def __init__(self,eid,ename,eage,egen,ecity,esalary,email,erole,eskil,ehobs): self.empid=eid self.empName=ename self.empAge=eage self.eGender=egen self.empCity=ecity self.empSalary=esalary self.empEmail=email self.empRole=erole ...
[ "chavhanpunamchand@gmail.com" ]
chavhanpunamchand@gmail.com
ba6615f0905f2fcf92dbcbe3fd3e3a429ab24116
3374856cd2a004bb74d460a25aeead019290d90f
/cnn.py
63d5fa4ce301d91d545d5d08fcf2574bcd6ce66c
[]
no_license
kamalikap/Convolutional-Neural-Networks
98f05cb05ed9c5215a4e023e936f803b9e044904
d2916f09180915ac399d91ddff721489c186cd49
refs/heads/master
2020-04-16T16:21:48.380171
2019-02-04T04:16:04
2019-02-04T04:16:04
165,733,598
1
0
null
null
null
null
UTF-8
Python
false
false
2,916
py
#Convolutional Neural Network #Installing Theano #Installing Tensorflow #Installing Keras #Part 1- Building the CNN #importing the Keras libraries and packages from keras.models import Sequential from keras.layers import Convolution2D from keras.layers import MaxPooling2D from keras.layers import Flatten from ker...
[ "noreply@github.com" ]
kamalikap.noreply@github.com
bb74ddac0a7bc8a9c141488aea6f2faa98c9f820
8fb1d41797595550418ecfc0e7558f38254b4606
/django/contrib/flatpages/tests/forms.py
7282f009c9dc86d398bb8e67aa09a2233c66ef42
[ "MIT" ]
permissive
hunch/hunch-gift-app
2aad70a9f18124bf0de02d7a125fa93c765da008
8c7cad24cc0d9900deb4175e6b768c64a3d7adcf
refs/heads/master
2016-09-06T03:13:52.153974
2012-03-26T18:11:59
2012-03-26T18:11:59
1,191,221
6
3
null
null
null
null
UTF-8
Python
false
false
1,245
py
from django.contrib.flatpages.admin import FlatpageForm from django.test import TestCase class FlatpageAdminFormTests(TestCase): def setUp(self): self.form_data = { 'title': "A test page", 'content': "This is a test", 'sites': [1], } def test_flat...
[ "gleitz@hunch.com" ]
gleitz@hunch.com
c6283b432e7cc517ab49d5868cb8608925fc9ed8
60eec837687166288bed41aa406fb92ff8b63f1b
/model/tensorflow/examples/tfdnnc/tfdnnc.py
d764e5f63f5b4c9824f4e993163d0e65ed8a9156
[ "MIT", "LicenseRef-scancode-generic-export-compliance" ]
permissive
shivam-bit/dffml
1c5ca75e946fddec78fd3943bdcb6cf5650bcd89
4c1e7870dba12c298d5a7f4740a23af634cacb7e
refs/heads/master
2022-06-19T22:28:10.396364
2020-05-08T21:53:53
2020-05-08T21:53:53
262,698,152
0
0
MIT
2020-05-10T02:36:10
2020-05-10T02:36:09
null
UTF-8
Python
false
false
1,128
py
from dffml import CSVSource, Features, DefFeature from dffml.noasync import train, accuracy, predict from dffml_model_tensorflow.dnnc import DNNClassifierModel model = DNNClassifierModel( features=Features( DefFeature("SepalLength", float, 1), DefFeature("SepalWidth", float, 1), DefFeature(...
[ "johnandersenpdx@gmail.com" ]
johnandersenpdx@gmail.com
19815ace86ab6e7faa636b18d46800124f9f70d9
304c6e52a561e6d06e34c2e0394956f176bc1831
/complete-python-bootcamp/apo_test.py
48c82f5308b21dfd5f32a969984edf4cfd0d2c4b
[]
no_license
lanceyvang/Interviewing
0a8b0a1313f4b42618de4ca01ddf46bfe54812f0
23aac20fd21e774f76580ea9e54dfb64a74045cf
refs/heads/master
2020-05-03T00:29:58.438735
2020-04-01T04:02:53
2020-04-01T04:02:53
173,514,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,430
py
# Problem 1: Convert 1024 to binary and hexadecimal representation # print(bin(1024)) # print(hex(1024)) # Problem 2: Round 5.23222 to two decimal places # print(round(5.23222,2)) # Problem 3: Check if every letter in the string s is lower case s = 'hello how are you Mary, are you feeling okay?' s2 = len([x for x in...
[ "lanceyvang@gmail.com" ]
lanceyvang@gmail.com
e43f90d4344474dba84c05a76fca7ba95d855ce3
d935ed784adfeeb72d6bba64d1ab56ffcc982034
/IRCBot/modules/examples/test_listener.py
363834797b39011ea461402d7bb392b46dbdaf78
[]
no_license
mrt-prodz/CTFBot2
0161fd210b4a3b2b8503e3bf06e93c4865a5c220
134ca34bf0a38dfa77202044f72e777a4858115e
refs/heads/master
2021-06-04T00:22:45.438491
2018-05-23T22:35:09
2018-05-23T22:35:09
58,544,491
1
2
null
2016-05-20T19:22:52
2016-05-11T12:50:55
Python
UTF-8
Python
false
false
941
py
from template import template class test_listener(template): def __init__(self, send): # class inheritance template.__init__(self, send) self.config = { 'name': self.__class__.__name__, 'trigger': '_listener_', ...
[ "info@mrt-prodz.com" ]
info@mrt-prodz.com
8eb9cb2c3e6e103c61b5e145cd0ccc55e2f5621c
dfb9be880c9e910dcbfd5653d9e48a7cff1fb8aa
/ex15.py
1f6ab87b084e4a82c909acd85a01f09de9d5f698
[]
no_license
Alanxa1/LPTHW_NEW
5cea8539a8aee642828ef8ae6f2d906f5a05dd27
2582752603ef2744ce3ab9e5c53691ec3504757f
refs/heads/master
2021-08-24T04:34:05.084849
2017-12-08T02:40:42
2017-12-08T02:40:42
113,520,334
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from sys import argv script, filename = argv txt = open(filename) print(f"Here's your file {filename}:") print(txt.read()) print("Type the filename again:") file_again = input("> ") txt_again = open(file_again) print(txt_again.read())
[ "noreply@github.com" ]
Alanxa1.noreply@github.com
1974fbc2150ed8aa170cf462e7e9aa1febb40233
ff919ea0d5b66e55d4194ace168a5a2b1cfda624
/app/migrations/0011_auto_20160214_1411.py
9d95ae30c9af0bb5f0d31dcc76a7dc20488f6948
[]
no_license
AlejandroGA/natcamDEPLOY
6f2024f51d1d63768dd52bb8b11de88f7aab4cf1
72e9e916efaec5c29971b827017fb57073e094cb
refs/heads/master
2021-01-13T00:48:25.683354
2016-02-16T11:07:01
2016-02-16T11:07:01
51,830,052
0
0
null
null
null
null
UTF-8
Python
false
false
553
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-14 20:11 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0010_auto_20160214_1411'), ] operations = [ ...
[ "seader@gmail.com" ]
seader@gmail.com
8b37472d10b8edae52003f7aecb8ceeff0f30fb6
4c12452fffc4184d7e722fb08cb3d9ea365213e2
/KMeans_captcha.py
41f7d247cff60db62ee4be83731676a5751f3642
[]
no_license
Super-Storm/tensorflow-captcha
b5e668286d4674450402a038157b5ac3f80b5a0f
59d3a837c91c993496c2d11da18b9bff7284cfa2
refs/heads/master
2020-04-28T15:35:38.928974
2019-03-18T06:40:18
2019-03-18T06:40:18
175,380,483
1
0
null
null
null
null
UTF-8
Python
false
false
3,311
py
# -*- coding:utf-8 -*- # 使用KMeans实现验证码识别 # Author : fx # E-mail : pythonist@126.com import numpy as np import tensorflow as tf from tensorflow.contrib.factorization import KMeans # deal_data是我本地的样本处理脚本,这里就不放上来了 from deal_data import train_X, train_Y, test_X, test_Y train_X = train_X / 255 train_Y = train_Y /...
[ "noreply@github.com" ]
Super-Storm.noreply@github.com
fffd6752c16d1acd7b8727b848b6ff2bba2d2bb2
f039353d02bd8375eab18f89b8e9b47223fdad71
/circle/model-theta.py
1d70f97de477eaabe2f2f8efc40a79578e79af0c
[]
no_license
Yoshihama0901/burger_war_19sm
a0b3eb13bff1425c4a5e1b2b28be9043276f23eb
900a64b8961d88b356f48153bca9b71f4b1fcbe3
refs/heads/master
2021-01-07T04:48:27.299370
2019-09-04T08:44:38
2019-09-04T08:44:49
241,580,857
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
#!/usr/bin/env python import sys import pandas as pd import matplotlib.pyplot as plt from sklearn.linear_model import LinearRegression df = pd.read_csv(sys.argv[1]) lr = LinearRegression() X = df[['circle_x']] Y = df['theta'] lr.fit(X, Y) print('coef=', lr.coef_) print('intercept=', lr.intercept_) plt.scatter(X, Y) ...
[ "53517611+kyad@users.noreply.github.com" ]
53517611+kyad@users.noreply.github.com
7f3bf8f8ce8e9c7ccf75cededa66cb3619b79869
8e4fba85743b359d5a3de61675e15dcc61ba128e
/extract-output.py
a10f1cb0d0fe0b3bc36e5322ed4633445a1c2d59
[]
no_license
chrisxwan/ads-final
2e70e1850dd0617cd25a7fa9517a608d51d962db
f72d98da40e1c9664368ddd576c377fdb5528eaa
refs/heads/master
2021-01-10T13:41:26.032493
2015-12-19T18:53:57
2015-12-19T18:53:57
46,877,808
0
0
null
null
null
null
UTF-8
Python
false
false
2,826
py
# extract-output.py # author: Christopher Wan import csv """def rsquared(x, y): Return R^2 where x and y are array-like. x is observed data, y is modeled data total = 0 for entry in x: total += entry average = float(total) / len(x) totalError = 0.0 for entry in x: totalError += pow((entry - average),2...
[ "christopher.wan@yale.edu" ]
christopher.wan@yale.edu
ed6ebe49955826b3061ed7e04f22e18a9dff6971
a1deb1737dbd24407d91bc9b7cba0ced44d744e0
/firstpage/models.py
15caaf840510ffdc15ae22478d77498f6010e3e2
[]
no_license
FAIZANA1ZHAR/django-ml-project
5873763f06da6ffce43ed531c22632bfee5837e4
9199f886f307f8787240f914a24b0d47b192f17c
refs/heads/main
2023-06-16T13:04:27.002133
2021-07-08T14:34:42
2021-07-08T14:34:42
377,922,586
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
from django.db import models from django.db import models from django.forms import ModelForm from django.forms.models import model_to_dict class table(models.Model): Account_length=models.IntegerField() Area_code=models.IntegerField() Number_vmail_messages=models.IntegerField() Total_day_minutes=mode...
[ "faziazhar1@gmail.com" ]
faziazhar1@gmail.com
d66a9c261e99d76240ccac7b846be4b72a5150cf
ad21693877574538236018fa20cec35242e55866
/esko_app/models.py
f7c441006fd6e63b2df808bcd089d2ef29ecd829
[]
no_license
reg-11/122-Project
8955400b22a26c76fe4a0810c75535fef40d9748
68a654f43099ab1f6a495ccf76de8813e2d95985
refs/heads/master
2023-05-14T06:58:54.292631
2021-06-09T08:12:07
2021-06-09T08:12:07
369,425,628
0
1
null
null
null
null
UTF-8
Python
false
false
3,806
py
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from PIL import Image from django.urls import reverse # from taggit.managers import TaggableManager # Create your models here. class Category(models.Model): name = models.CharField(max_length=30) def __str...
[ "rcpalomo@up.edu.ph" ]
rcpalomo@up.edu.ph
98997ddb6a2c5cca85cbe4574e4f01c76eed2931
5b6f4f4cf06034231348cb7a2c8b06023f6f418f
/step_89.py
29cddf8374c84a1d470ca5ef92a953d61458417d
[]
no_license
lotusstorm/stepik_courses
c11b76a82b24e7ef43a9f945499576f68969d9d1
b1564014a90c5dabeb7b5a7d07957d966906aaa6
refs/heads/master
2020-03-23T13:45:15.128581
2018-07-19T22:05:09
2018-07-19T22:05:09
141,635,339
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
# for line in sys.stdin: # line = line.strip() # print(re.sub(r"(\w)\1+", r"\1", line)) # if __name__ == '__main__': # main()
[ "iutizev@gmail.com" ]
iutizev@gmail.com
e11e7f157bd594146ba4dff9987c8483968a3046
1d75146a66245dc046dc216bb602129208e00733
/closed/GIGABYTE/code/rnnt/tensorrt/preprocessing/parts/features.py
20935e8f677b7c52a9c49336f23ad6259ef4b8b6
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
georgelyuan/inference_results_v1.1
febf287bd5967bf7f087355a81f06a2bd298cbfe
3196a5587887c39203ee3ac246fa5dbe789d9085
refs/heads/main
2023-08-16T08:49:45.274284
2021-09-23T20:57:17
2021-09-23T20:57:17
409,773,141
0
0
NOASSERTION
2021-09-23T23:36:37
2021-09-23T23:36:37
null
UTF-8
Python
false
false
13,634
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # Copyright (c) 2019, Myrtle Software Limited. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
[ "tjablin@google.com" ]
tjablin@google.com
1568f79e45cf13d560531c5f6baed0e0fea2a27a
aa7c82614031d7d7ab3603042b940838fa73771a
/day02/grade.py
6c5a75b7e14b5951318fecb2c1f6512568f1778e
[]
no_license
wswwew/wsw
f79fee4c25d9416417ebecec34fafe1664a00aef
bfc3a1c0c98a3b35fd29b60946d1ada045159c68
refs/heads/master
2020-04-05T04:00:14.933968
2018-11-17T10:02:15
2018-11-17T10:02:15
156,534,607
0
0
null
null
null
null
UTF-8
Python
false
false
205
py
grade = float(input('请输入成绩:')) if grade>=90: print('优秀') elif grade>=80: print('好') elif grade>=70: print('良') elif grade>=60: print('及格') else: print('不及格')
[ "345740575@qq.com" ]
345740575@qq.com
f20449be902a9b3b4d7cc2029dd57d892ca3404d
601a270268f385f8f61991d63b945d4fe153583e
/bin/pip-2.7
d6c32ca709d09d965bc31d153c1f2bb8bed9de91
[]
no_license
s914211/Djangorestframework
615edcfba8dbebc513207590c75b69f30a9ab62e
d00845b17fe7fcd8a95b0f9ed04b8c596eeac2aa
refs/heads/master
2016-09-09T22:00:02.749535
2014-06-03T11:12:15
2014-06-03T11:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
306
7
#!/home/tommy/tutorial1/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.4.1','console_scripts','pip-2.7' __requires__ = 'pip==1.4.1' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('pip==1.4.1', 'console_scripts', 'pip-2.7')() )
[ "cchccy1623@gmail.com" ]
cchccy1623@gmail.com
be8ce0bb1fe1b8959b0e504434a65a5eedde0d8f
b4e9d9edda73f8b853705cdcabcd8557b64b1009
/maindata/views.py
6bddb26699c76533f0b44265d2bf35bc63daa2a2
[]
no_license
trotmarin/golden_toad
f8a76a77b8e76b6376bdae8d3a441a102396d8a3
14ad37b148f91c8ab422fe2e2440f2d2b11ad228
refs/heads/master
2023-02-26T05:31:35.234212
2021-02-07T13:25:20
2021-02-07T13:25:20
336,793,483
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
from django.shortcuts import render from rest_framework import viewsets from .serializer import Table2Serializer, TestTableSerializer from .models import TestTable, Table2 # Create your views here. class TestTableViewSet(viewsets.ModelViewSet): queryset = TestTable.objects.all() serializer_class = TestTableS...
[ "trotmarin@gmail.com" ]
trotmarin@gmail.com
5bf881452b66fca7b77a5d8014fa09f19fdeb494
87163acf1614292be250754f28114f89013f73a3
/Codechef/COLOR.py
bb42d808690439dedd343a0a5262394440066d8d
[]
no_license
khush-01/Python-codes
742a9d9966d2ceb3ad2e7c78e34ef88e55df955a
da3cae8df0aafe763399066eefc9b786538fdb35
refs/heads/main
2023-03-20T04:37:14.020134
2021-03-12T04:56:30
2021-03-12T04:56:30
346,941,048
2
0
null
null
null
null
UTF-8
Python
false
false
151
py
for _ in range(int(input())): n = int(input()) s = input() a = {'R': 0, 'G': 0, 'B': 0} for x in s: a[x] += 1 print(n - max(a.values()))
[ "noreply@github.com" ]
khush-01.noreply@github.com
2ff3fca3fef49b34cbdddce58f75c2fcbd1551e1
5dbb432c111ae81de11f221f21222d13cd81e711
/december-measurements/config/cascade_metrics_config.py
9bce91cba081bfd8f76c5e053875c39e701ba99f
[ "BSD-2-Clause" ]
permissive
dalton/socialsim
7b38d26e03a21fec5a5c4964ee92523be5ed8187
48b6acc2db423c0f4b14f4ff1c98e931660342fd
refs/heads/master
2020-04-05T08:38:55.798505
2018-11-07T23:02:21
2018-11-07T23:02:21
156,722,995
0
0
BSD-2-Clause
2018-11-08T14:56:16
2018-11-08T14:56:15
null
UTF-8
Python
false
false
21,798
py
import Metrics from functools import partial, update_wrapper def named_partial(func, *args, **kwargs): partial_func = partial(func, *args, **kwargs) update_wrapper(partial_func, func) partial_func.varnames = func.__code__.co_varnames return partial_func def get_node_level_measurements_params(time_gra...
[ "emily.grace@pnnl.gov" ]
emily.grace@pnnl.gov
f5ad2dd19e684829e793cbc9de1d2fc63fa725bc
4471bb9a47c0db93306bf4bcf7851dc61d660ca5
/env/bin/jupyter-nbextension
bad856cb17a8a9af6faea1e183dccd00cf39cb37
[]
no_license
amartyashankha/extruded-surfaces
ed0cd5c4c266e61d5b5c8e81bd114b68667dfff6
74fa982dab9021d4567838aa39bc5a2db9cbf847
refs/heads/master
2018-10-09T09:07:43.902410
2018-09-05T07:29:56
2018-09-05T16:10:07
109,978,050
2
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/shankha/Origami/extruded-surfaces/env/bin/python # -*- coding: utf-8 -*- import re import sys from notebook.nbextensions import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "asbiswas@mit.edu" ]
asbiswas@mit.edu
d34530d6a594737b9d2122601a6e981fc4b9881c
71d258dcfffd401af91dfbb0db44fb72742a4108
/64.py
0d93e5fa177502c8594747812d7c0a28f82bc488
[]
no_license
GOWRI181109/gow
819c55c570b43aa3179c617db69a0c40b1b7005c
69be6b42c715ad747ed99e19da14360d8bb63c3b
refs/heads/master
2020-06-14T14:27:44.529165
2019-07-09T14:17:46
2019-07-09T14:17:46
195,026,641
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
rgv1,rgv2=map(int,input().split()) gw=rgv1+rgv2 if(gw%2==0): print("even") else: print("odd")
[ "noreply@github.com" ]
GOWRI181109.noreply@github.com
d37f0f88ab34d84710a32760b0cb7dcf6a86a572
4b338a2960f18d652593694cea09e59bd1f6d376
/tamhooks/apps.py
f5dccde871607784d6d9eaf2cd86d2323ce7a113
[]
no_license
AdhlanFauzan/tam
04540fba4ca7f26daaf0bfe5970c0053d1489e3c
a60ac5c04eca3fd97bb6dc81188eaba779d61a97
refs/heads/master
2021-01-17T08:50:24.539314
2017-02-20T19:59:47
2017-02-20T19:59:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
from __future__ import unicode_literals from django.apps import AppConfig class TamhooksConfig(AppConfig): name = 'tamhooks'
[ "dariosky@gmail.com" ]
dariosky@gmail.com
b2d34af6905339ffce5155b5a7df7fe3509e9c4e
40e20e97cbaef78fea255d6bcbddd7aadc0e2c16
/Day04/imageprocess.py
e6778190fca1a27d18b4036a972d07986b2762e8
[]
no_license
AnushkaTiwari/FSDP_2019
d70567be2d2063f27e702663ba74460e7d9f7ef0
8388f9305de8e43ca89d76d1907cb9e3cdd16001
refs/heads/master
2020-06-04T04:44:30.224369
2019-06-14T05:28:57
2019-06-14T05:28:57
191,877,195
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 6 12:05:19 2019 @author: ANISHKA """ # Code Challenge : Image Processing using PIL from PIL import Image import os img = Image.open('sample.jpg').convert('L') img.save('greyscale.png') img_rotate=img.transpose(Image.ROTATE_90) crop_im = img.crop(box=(80, 120, 160, 24...
[ "anushkatiwari4620@gmail.com" ]
anushkatiwari4620@gmail.com
6200af4f551c8e6534b8a3a0ca176346d8b54d3e
dfff816642f4e1afeab268f441906a6d811d3fb4
/polling_stations/apps/data_collection/management/commands/import_swale.py
1450c85e75893e03f2e966075e02b5698e14b4c4
[]
permissive
mtravis/UK-Polling-Stations
2c07e03d03959492c7312e5a4bfbb71e12320432
26e0331dc29253dc436a0462ffaa01e974c5dc52
refs/heads/master
2020-05-14T18:36:31.501346
2019-04-17T12:54:57
2019-04-17T12:54:57
181,912,382
0
0
BSD-3-Clause
2019-04-17T14:48:26
2019-04-17T14:48:26
null
UTF-8
Python
false
false
3,327
py
from django.contrib.gis.geos import Point from data_collection.management.commands import BaseHalaroseCsvImporter class Command(BaseHalaroseCsvImporter): council_id = "E07000113" addresses_name = ( "local.2019-05-02/Version 1/polling_station_export-2019-02-28Swle.csv" ) stations_name = ( ...
[ "chris.shaw480@gmail.com" ]
chris.shaw480@gmail.com
8b13ee29d8345e8d12e39002c7088f0b2ed139e8
407779c238c825fa8cc28a8c160666b25af269bf
/custom_components/smartweather/binary_sensor.py
bd53c5a16edecf3a58abcc8236984bf717d804f4
[ "MIT" ]
permissive
rccoleman/smartweather
231c06a2667f3946841051335e4eee49cbb4d4a2
0047123b2df4a878d26790866a58c59c0d497f10
refs/heads/master
2020-11-30T22:54:18.902707
2019-12-27T19:14:51
2019-12-27T19:14:51
230,502,605
0
0
MIT
2019-12-27T19:11:50
2019-12-27T19:11:49
null
UTF-8
Python
false
false
3,495
py
""" Support for the SmartWeather Weatherstation from WeatherFlow This component will read the local or public weatherstation data and create a few binary sensors. For a full description, go here: https://github.com/briis/hass-SmartWeather Author: Bjarne Riis """ import logging from datetime import...
[ "“bjarne@briis.com”" ]
“bjarne@briis.com”
efbce9c46c5c14d023e8afee6f5fd7be1921c7d8
4c252eb68446d5fd050e28a6b5ba1a7879b70b0a
/pyuavcan/transport/can/media/socketcan/__init__.py
c6ee7989569c0ca65d99e412f740125f7b1a788f
[ "MIT" ]
permissive
jxltom/pyuavcan
ce2cdf3a95ba4c6f3a0fd8aae24b341e46481fae
42063b65ee2af431ab485f228d1ed5465a576449
refs/heads/master
2021-01-16T15:09:48.547764
2020-05-26T09:31:25
2020-05-26T09:31:25
243,163,363
0
0
MIT
2020-02-26T03:53:47
2020-02-26T03:53:46
null
UTF-8
Python
false
false
901
py
# # Copyright (c) 2019 UAVCAN Development Team # This software is distributed under the terms of the MIT License. # Author: Pavel Kirienko <pavel.kirienko@zubax.com> # """ The module is always importable but is functional only on GNU/Linux. For testing or experimentation on a local machine it is often convenient to u...
[ "pavel.kirienko@gmail.com" ]
pavel.kirienko@gmail.com
eb632cca86f17c4d0b5b18720a73b5c255f3b615
8d95c30ae2688ee4f1e9842eb65582d444871937
/vMware/models.py
d0025a9ef43e22f8c8b0c0f35700f74f3c0a90ec
[]
no_license
xayangjing/vMware-VM-Automated-opening
78b67f4e00fe0fea7564013c46258cfaaa61545c
ff5058b1cb5b76fd93fccdc3b9246da25c14b547
refs/heads/master
2021-01-22T19:59:28.190846
2017-03-08T08:45:45
2017-03-08T08:45:45
85,268,064
1
1
null
2017-03-17T03:42:35
2017-03-17T03:42:35
null
UTF-8
Python
false
false
9,012
py
#-*- coding:utf-8 -*- ''' @Created on 2016年5月24日 @author: MianBao @author_web: Mianbao.cn.com @User ''' from django.db import models from User.models import user from django.template.defaultfilters import title ''' @about VC connection info ''' class vcenter(models.Model): host = models.GenericIPAddressF...
[ "hanlingfei5@163.com" ]
hanlingfei5@163.com
4a68c3a90f707e9a3ecb5b39fc13e7d83355da8c
76f1331d083d360fb3822312537e72d4ff9d50b5
/utils/logutils/configure.py
90e359e31ad1873687b04dfdc694e392830eb9a0
[]
no_license
ZouJoshua/ml_project
2fe0efee49aa1454b04cd83c61455232601720a6
b1d8eb050182cd782bc6f3bb3ac1429fe22ab7b7
refs/heads/master
2021-07-22T10:37:56.452484
2020-05-09T09:54:39
2020-05-09T09:54:39
158,562,016
0
0
null
null
null
null
UTF-8
Python
false
false
2,711
py
# by lauchingjun@baidu import re def _parse_from_generator(gen): g = {} groupstack = [('',g)] cur = g re_groups = re.compile('^\[[ \\t]*(\.*)((?:[a-zA-Z0-9_]+\.)*)(@?)([a-zA-Z0-9_]+)[ \\t]*\][ \\t]*(?:#.*)?$') re_items = re.compile('^[ \r\t]*(@?)([a-zA-Z0-9_]+)[ \t]*:[ \t]*(.*)$') for line in ...
[ "zoushuai@git.apuscn.com" ]
zoushuai@git.apuscn.com
bc03bc686b8bc0ec7f802cac4d268e7ae64b51e1
94cca0c7b045e11a295e5a130ed8b6fac65056f0
/codecode/settings.py
8e4e4e38d9a35ee142c203f1f6f2c9732554f5b9
[]
no_license
sam-esm/codecode
0ac1e0fc8c3c0be8cc10da02ce60c8dd6c5c3ab0
ba3cd770b2fb7bfb9e8165cd036dcdafcdd52ff7
refs/heads/master
2021-01-22T09:31:59.356339
2017-02-14T16:28:49
2017-02-14T16:28:49
81,806,325
0
0
null
null
null
null
UTF-8
Python
false
false
3,483
py
""" Django settings for samansite project. Generated by 'django-admin startproject' using Django 1.10.4. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import ...
[ "saman.esmailpur@gmail.com" ]
saman.esmailpur@gmail.com
e75dc2bd133eb3914b35baff20c6ab17465a5927
d9a31819cfb80504d623c1c23b299929ccb7cde3
/part08/todo_dao.py
6c13d8ea50607670ce289a9a75e062bf74622fb2
[ "MIT" ]
permissive
truemanD/basic_dao_layer
491bf33f0f367137d4c636bbcb1f17af4df56cc3
612df59697a59a290e30130849d691154343e0d5
refs/heads/main
2023-02-22T00:23:36.901570
2021-01-21T00:44:14
2021-01-21T00:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,465
py
""" In this version. Handle exeptions trow if an error occurs in the SQL execution. """ import sqlite3 DB_NAME = '../sandbox.db' class SQLiteDAO(): """ This class extends of AbstractDAO and must implements the inherited and abstract methods, to be usefull for some client. This clas implements t...
[ "rmontesleo@gmail.com" ]
rmontesleo@gmail.com
4758ccc352f808866eaaf9a1de362f03b38fd521
f2429c703d2555c9fdfef69d337ce8761f9180bb
/QuizzBizz/venv/bin/easy_install
696ec1f350010ad73b3fbd2af4dd0828e7866319
[ "MIT" ]
permissive
CaBezOf/desafio-backend
80a5659f3b9a4528f8fdd84e69a5f8dda4a039cd
a012071c69c87422b9d87adc76a2c17aaf552a53
refs/heads/main
2023-02-25T17:13:47.218074
2021-01-28T21:48:07
2021-01-28T21:48:07
331,959,997
0
0
null
null
null
null
UTF-8
Python
false
false
250
#!/home/caio/QuizzBizz/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "57061719+CaBezOf@users.noreply.github.com" ]
57061719+CaBezOf@users.noreply.github.com
9e02e6741a21fa1043bffdc06bbb271eeddd095a
8f9fde783e2a7f40892cf2bd5ea3195af6e15c17
/summarize.py
e29541385fd61fd51cfd5c1b200eada2c307e066
[]
no_license
generic-github-user/project-summary
5f376815bc99619d212722c896d4546d38c913da
d124f5466d516d8b08ae97c2e25c9d7f8ff6c7c3
refs/heads/master
2023-06-11T03:42:53.368318
2021-07-07T17:27:51
2021-07-07T17:27:51
382,965,254
1
0
null
null
null
null
UTF-8
Python
false
false
6,482
py
#!/usr/bin/env python # coding: utf-8 # # Project Summary # # This is a small tool to compile a formatted list of information about a user's GitHub repositories. It includes relevant links and can summarize the completion of tasks across many repositories (for example, adding a README or license file). # # ## Usage ...
[ "40661852+generic-github-user@users.noreply.github.com" ]
40661852+generic-github-user@users.noreply.github.com
c729454bc3d1ecc132b3a58dfb00d6c97f951428
7720ade5ef4df9f2f99a5df1a1bc0f8a529e2d57
/manage.py
1d25934cf93f543d191ad541ee2ac2014f9a5868
[ "Apache-2.0" ]
permissive
ganeshappikatla/django-aavahi
6bb0e5e9a8f83aec55faed62da740563689bd77c
f4324f3af4b95047bb6b5e960cefd410b838ea2e
refs/heads/master
2023-03-08T11:24:33.544207
2021-02-25T07:07:43
2021-02-25T07:07:43
342,152,909
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'avahi.settings') try: from django.core.management import execute_from_command_line except Import...
[ "ganeshjustgrow@gmail.com" ]
ganeshjustgrow@gmail.com
cfce97ee96b74e3432002b53510cf3ad5f0de6df
642cc265ff568afcabccd3820a0a5819794c187d
/tasks/Selenium246.py
9369068270d2ff36495046b771a8c7cc218abd21
[]
no_license
INA-tech/-Stepik-Autotest-Selenium
a12c94df702ef95cb9a14bdb63ee2d38472fb25c
7a92749ea8b9f908c5518a60fb3ac92110a35805
refs/heads/main
2023-01-09T04:58:54.133150
2020-10-27T08:10:33
2020-10-27T08:10:33
307,355,427
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
from selenium import webdriver import time link = "http://suninjuly.github.io/cats.html" try: browser = webdriver.Chrome() browser.get(link) browser.find_element_by_id("button") finally: # успеваем скопировать код за 30 секунд time.sleep(30) # закрываем браузер после всех манипуляций bro...
[ "ivashenkonikitaa@gmail.com" ]
ivashenkonikitaa@gmail.com
9a0550f2cdac6a2e0d0f2070fccd45e0531db9ea
7add1f8fc31b09bb79efd2b25cc15e23666c1d1d
/tfx/orchestration/kubeflow/v2/test_utils.py
4431711f7007e93516012675c192b8ae8b27b24d
[ "Apache-2.0" ]
permissive
twitter-forks/tfx
b867e9fee9533029ca799c4a4c5d1c5430ba05fe
cb3561224c54a5dad4d5679165d5b3bafc8b451b
refs/heads/master
2021-11-19T18:45:09.157744
2021-10-19T00:02:34
2021-10-19T00:02:34
205,426,993
2
1
Apache-2.0
2021-10-18T21:03:50
2019-08-30T17:21:03
Python
UTF-8
Python
false
false
21,046
py
# Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com
eda46b1f7dbdfb46fdddbcfd72fa6c68024a47f5
1449c3a3375e3519992a3f0bf3450a7e608b385d
/Baekjoon/2106/2193.py
72d0b061dccd3606b9c67c069ff0ed0ab938364a
[]
no_license
jjungyeun/AlgorithmStudy2021
2f8d095f04092c6536ac77cda46843bedb6a9f1f
f64c664538b54016d30d5b3df7503478ee73b3da
refs/heads/master
2023-06-12T15:01:28.636315
2021-07-02T08:51:06
2021-07-02T08:51:06
378,885,869
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
N = int(input()) pre, current = 0, 1 for _ in range(N-1): pre, current = current, pre + current print(current)
[ "jungyeun_won@tmax.co.kr" ]
jungyeun_won@tmax.co.kr
7e17aef7c234a83dd5f625f3f79766cdd0c89a88
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02689/s473246876.py
934535d4b4972167937a8498aa36c123addb4e8b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
n, m = map(int, input().split()) h = list(map(int, input().split())) ab = [list(map(int, input().split())) for _ in range(m)] ans = [1]*n for i in range(m): if h[ab[i][0]-1] == h[ab[i][1]-1]: ans[ab[i][0]-1] = 0 ans[ab[i][1]-1] = 0 elif h[ab[i][0]-1] > h[ab[i][1]-1]: ans[ab[i][1]-1] = 0 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
1058bf0e58b27114ec41ce159f6a6412a3122981
2e3430eefb94fe6bc6ea8256ceadaf25bbf34e76
/puma/helpers/testing/mixin/__init__.py
e5d5031dc92b6e294d4d8a37e566046b3bcab595
[ "Apache-2.0" ]
permissive
gift-surg/puma
33e08b464fe4241da512fefcab5e8909e6f1d768
58beae3459a0c8d96adfe9af323e26868428df4d
refs/heads/master
2022-11-27T11:26:25.557773
2020-06-04T11:21:38
2020-06-04T11:21:38
198,999,143
1
0
Apache-2.0
2020-07-29T16:36:50
2019-07-26T10:38:46
Python
UTF-8
Python
false
false
173
py
from puma.helpers.testing.mixin.not_a_test_case import NotATestCase # noqa: F401 from puma.helpers.testing.mixin.not_a_test_case_enum import NotATestCaseEnum # noqa: F401
[ "richard.miles@fast-chat.co.uk" ]
richard.miles@fast-chat.co.uk
aeba0cf66cd6b63cc2cd690e704544f6c0591260
8541f4118c6093c84e78d768285e7007ee5f6a6c
/apps/inventory/migrations/0009_auto_20151220_1554.py
e2b8366a29c48b68bbe2d712b6d251b066c4ba96
[]
no_license
iraycd/awecounting
c81a8ca6b7a4a942e63cf6b7d723f9883e57a107
388df4de63146e0a9a211afa522ec50e0f3df443
refs/heads/master
2021-01-15T23:30:27.439759
2016-03-16T10:34:40
2016-03-16T10:34:40
57,046,467
1
0
null
2016-04-25T14:03:40
2016-04-25T14:03:40
null
UTF-8
Python
false
false
444
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import njango.fields class Migration(migrations.Migration): dependencies = [ ('inventory', '0008_auto_20151219_1547'), ] operations = [ migrations.AlterField( model_name=...
[ "roshanshrestha01@gmail.com" ]
roshanshrestha01@gmail.com
380e0c3bfae0ce301c2caadd60fd9850f91f847a
4986dda03764808168188addb75d1a34c6b94857
/scatter_bubble.py
5664d3e50aea31ecc6082ec0db7dd07d0712f9ab
[]
no_license
Riaana/Plotting-code
604b344e01b161f54fdbf6f9ca9b9c7b7203f106
84010989101fe12c83d8c0d1b69aa8d43ba88038
refs/heads/master
2016-09-05T17:17:23.735974
2015-08-06T06:23:26
2015-08-06T06:23:46
39,216,205
0
0
null
null
null
null
UTF-8
Python
false
false
2,763
py
import matplotlib.pyplot as plt from mpl_toolkits.axes_grid.anchored_artists import AnchoredText import numpy as np import pandas as pd """ n = 50 x, y, z, s, ew = np.random.rand(5, n) c, ec = np.random.rand(2, n, 4) area_scale, width_scale = 500, 5 fig, ax = plt.subplots() #sc = ax.scatter(x, y, s=np.square(s)*area_...
[ "kim.a.mullins@gmail.com" ]
kim.a.mullins@gmail.com
56c3cc6390afbcee6635145082c4d4a3a1fa01da
d264e3a872af056a760185c496e44686a8aeef8c
/managerbook/apps.py
81d37ffa6626409d2c789f59582ba1f52383a379
[]
no_license
Dong-Master/Django-BMS
7f040dfbd76695b69c98dca218303b9720e8003c
61e4ba36cb6450ff3c6ca273137f1fda107b770e
refs/heads/master
2020-03-30T00:59:10.118353
2018-10-12T02:45:08
2018-10-12T02:45:08
150,553,740
1
0
null
null
null
null
UTF-8
Python
false
false
97
py
from django.apps import AppConfig class ManagerbookConfig(AppConfig): name = 'managerbook'
[ "879995812@qq.com" ]
879995812@qq.com
8c3e3d4409d7a6565cde7f20c8fbcd0b8dc0782a
b30babde2ed224d63a6c01785159873117f7ea0e
/02_SIM_FWD/MODULES/01_create_fwd_config.py
f170b96583a1aa3c0b8c535b5afb9fd70bb8c07a
[]
no_license
trismono/CLOUD-RETRIEVAL
f890ab4790d1bdcd1962ef29db0185386294b897
4c0ff9a97e361f69186c665efaa4aa03510cbca2
refs/heads/master
2023-01-06T08:17:17.004845
2020-10-28T19:39:05
2020-10-28T19:39:05
262,130,602
4
0
null
null
null
null
UTF-8
Python
false
false
1,659
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Program for Created on %(date) @author : trismonock @mail : T.C.Krisna@sron.nl """ # import standard modules import os # limit openblas thread nuumber os.environ["OPENBLAS_NUM_THREADS"] = "3" import numpy as np from configparser import ConfigParser # get and de...
[ "trismonocandrakrisna@gmail.com" ]
trismonocandrakrisna@gmail.com
c1bd4eda3484a6296f03f86868795569d4870a9b
9fbcea0a198d5acfe3a0ed01b08c2a2ca0bab827
/book/book/settings.py
4dd978ec7cb45d80556ac3b0662cfa8d2d8f71cc
[]
no_license
ovibinzia1885/Rawdjango
195a0a47a2dd3132343621680841ebe203396e38
9e9f06c466e223ff802d63a861d6fa59359eb25a
refs/heads/master
2023-01-10T16:11:50.595533
2020-11-15T04:45:28
2020-11-15T04:45:28
312,959,617
1
0
null
null
null
null
UTF-8
Python
false
false
3,576
py
""" Django settings for book project. Generated by 'django-admin startproject' using Django 2.2.10. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "nazmul35-1885@diu.edu.bd" ]
nazmul35-1885@diu.edu.bd