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
df14fc442a468f96c4edefe70f2ccc789bc11dfb
ecb2dc9abf231bde7d92a4556cd7f6aaf3c7f3d5
/plotter/ScatterPlotter.py
f2c4cd41ff6097bcbe751333779313eddb84b76a
[]
no_license
maximedaniel/statistics
8dd52e279d36c6c90bb36fc75ff13055f459a0be
2f017614b0c8f590bb727ed7514711a9ca8b1445
refs/heads/master
2021-02-18T05:13:06.948815
2020-03-05T13:17:34
2020-03-05T13:17:34
245,164,389
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
import numpy as np import pandas as pd from scipy import stats import time import matplotlib.pyplot as pyplot from colour import Color import seaborn as sns class ScatterPlotter: def __init__(self, filename, title, sheetDf, slope, intercept): df = sheetDf fig = pyplot.figure(1, figsize=(len(df.col...
[ "maxaxeldaniel@gmail.com" ]
maxaxeldaniel@gmail.com
44e3ceba3670a2e08a666e11824ea4163677323d
e29986c61682018f0e0b3ab8f36621713cfc188c
/reccomender/dataframes/electronicsdf.py
c9c2cf44e2537c8b1060cceddde87557ef52cbea
[]
no_license
JaliJuhola/amazon-textual-reviews-recommender-
00e6d1770c6cd0cedc1863e2321803dd1a174ec3
fa537c946f31c6a43216b51ee69e97e2359c4b16
refs/heads/master
2022-10-16T20:45:01.758448
2019-12-17T23:26:11
2019-12-17T23:26:11
228,178,502
0
0
null
2022-09-30T19:48:48
2019-12-15T12:12:54
TypeScript
UTF-8
Python
false
false
2,564
py
import gzip import pandas as pd import matplotlib.pyplot as plt import re class ElectronicsDF: @staticmethod def parse(path): g = gzip.open(path, 'rb') for l in g: yield eval(l) @staticmethod def create_electronicsdf(): i = 0 df = {} for d in Electr...
[ "jalijuhola@gmail.com" ]
jalijuhola@gmail.com
f6ae394cb659a4f9ab470d6706fa9d0dfa0d27fb
e8a702c248d289d73a0fc29041adabead36d65ae
/FasterRCNNDetection/model/__init__.py
70c38e32d720c7910b2764d1263887f42e6347c1
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/SpeciesClassification
3e7eddf34dfe136c6f1cc68988fcad29673a2ef5
8af2723420fa45cb09c1a8478a223e93b6ed0b47
refs/heads/master
2023-08-05T01:05:28.497586
2023-05-01T20:51:33
2023-05-01T20:51:33
169,153,301
89
46
MIT
2023-05-01T20:51:34
2019-02-04T21:33:38
Jupyter Notebook
UTF-8
Python
false
false
47
py
from .faster_rcnn_vgg16 import FasterRCNNVGG16
[ "a-msimon@microsoft.com" ]
a-msimon@microsoft.com
50b290f14988d594ac271d3a51fbc8af27ae98f7
287931f9df7d2f27ae7bbf06f2593f5651173277
/cms/cms/search/.svn/text-base/models.py.svn-base
9586d257743eed2b07c2d891e1611659282cfe33
[]
no_license
hughwang/practical_django_projects_1.6
733ba58bbe830f2001766d5fbe39f794a51cded1
aa2375d1fa01bb9966643ebd0f69ebc491078a15
refs/heads/master
2016-08-05T14:16:01.492397
2015-07-19T03:37:19
2015-07-19T03:37:19
39,320,871
0
0
null
null
null
null
UTF-8
Python
false
false
261
from django.db import models from django.contrib.flatpages.models import FlatPage class SearchKeyword(models.Model): keyword = models.CharField(max_length=50) page = models.ForeignKey(FlatPage) def __unicode__(self): return self.keyword
[ "hughwang@users.noreply.github.com" ]
hughwang@users.noreply.github.com
71f9fd478ec198cda1f30d14323c68bd03250659
ba916d93dfb8074241b0ea1f39997cb028509240
/kickstart/2020/RoundD/record_breaker.py
270cc231f01a90a63cf18de06cdfa30e3bce0042
[]
no_license
satojkovic/algorithms
ecc1589898c61d2eef562093d3d2a9a2d127faa8
f666b215bc9bbdab2d2257c83ff1ee2c31c6ff8e
refs/heads/master
2023-09-06T08:17:08.712555
2023-08-31T14:19:01
2023-08-31T14:19:01
169,414,662
2
3
null
null
null
null
UTF-8
Python
false
false
472
py
T = int(input()) for t in range(1, T + 1): N = int(input()) visitors = list(map(int, input().split(' '))) prev_record = 0 res = 0 for i in range(N): greater_than_prev = i == 0 or visitors[i] > prev_record greater_than_next = i == N - 1 or visitors[i] > visitors[i + 1] res = r...
[ "satojkovic@gmail.com" ]
satojkovic@gmail.com
490d86f55c151b53c635b3646550a7460968da95
729bd93f55ad329f1ad06b0a568b21c91745cfb1
/SpiderKeeper/__init__.py
7c74981d7268c351efd04b12beee7c6b5a9a7869
[ "MIT" ]
permissive
zhanghuijun0/SpiderKeeper
77793d9ca5cb2bd1d4be930464c0b5c70af0bac4
a1085ab2af4616ab09a8d7d04661830fb5fc6991
refs/heads/master
2020-07-15T00:19:33.853142
2017-04-20T09:54:13
2017-04-20T09:54:13
73,872,835
2
0
null
2017-04-20T04:41:49
2016-11-16T01:50:08
JavaScript
UTF-8
Python
false
false
46
py
__version__ = '1.0.3' __author__ = 'Dormy Mo'
[ "modongming91@gmail.com" ]
modongming91@gmail.com
54a77f932d7b264aedb625aeac6812dbcb58c01f
6eeb5534898f930f61d7f4bc05babb7bfc722ba6
/PasswrodStrengthAnalysis.py
eb1677c6e5159543330eecfa46ec754c04be1d1c
[]
no_license
LinsonJoseph/python
04870501c2912dd7d52970ba2da412a90cbc4129
60c6fab8899d91e2cbd5c17bfe25600c422125d0
refs/heads/master
2021-01-08T19:57:14.733565
2020-04-03T06:58:45
2020-04-03T06:58:45
242,127,778
1
0
null
null
null
null
UTF-8
Python
false
false
735
py
#A sample password strenght analysis #Initialise a variable good_password to false good_password = False #Loop until user enters a password of lenght greater than 6, alphanumeric and not numeric while (good_password == False): password = input("Enter a password: ") if (len(password) < 7): p...
[ "noreply@github.com" ]
LinsonJoseph.noreply@github.com
29ff1f5c2747db61fa6ade0811857e481b5ddbb8
9f058d00b81cafa23119f4668665776bc0b6763e
/ros_workspace/src/beacon_localizer/cfg/beacon_localizer_params.cfg
67275438aec26d9538bcfd6bb40c25e13ba76eb4
[]
no_license
contradict/SampleReturn
4f24ecdd4e75d604d21f33239ee644b9705571f0
f07bb0313d6aa83eea7b70e97ddcc58a41be4f66
refs/heads/master
2021-01-19T01:57:06.882336
2017-02-20T21:16:57
2017-02-20T21:16:57
2,648,781
3
1
null
null
null
null
UTF-8
Python
false
false
1,162
cfg
#!/usr/bin/env python # -*- coding: utf-8 -*- import dynamic_reconfigure.parameter_generator_catkin as param gen = param.ParameterGenerator() platform_orientation_desc = "The platform orientation is 0 when the front edge is perpendicular to the line from the center of the platform to the reference point. Units are d...
[ "jtlittle@gmail.com" ]
jtlittle@gmail.com
ec45f40de30616c045a9de324b315aa21c241c79
e98d451247416c2fae806a1454c21018b7da445f
/自动化测试练习/添加cookie.py
b02782b6a831545ca267808dc11f530841039356
[]
no_license
fanguifang082412/automatic_practice01
549dcc708263d6f436d54e78bf196488e13a371f
80cbda190686b53c2c6e74e5ec827b163b425388
refs/heads/master
2023-07-19T02:30:04.010099
2021-09-03T09:01:25
2021-09-03T09:01:25
406,578,107
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
from selenium import webdriver driver = webdriver.Chrome() driver.maximize_window() driver.get("https://xdclass.net/") driver.add_cookie({"name": "head_img", "value":"https%3A//xd-video-pc-img.oss-cn-beijing.aliyuncs.com/xdclass_pro/default/head_img/14.jpeg"}) driver.add_cookie({"name": "name", "value":"%u8303%u6842%u...
[ "19958722846@163.com" ]
19958722846@163.com
c9ccff9e81e2a09d4f180200ab0856d0d6f54e65
9688a734e7bf0101b63febb34fe354989a2d1cd6
/26.py
8e7c2c05cb9ba97967b04b679f0b640894584eb4
[]
no_license
AdamShechter9/project_euler_solutions
975d5f950b42ce84d59753138d1c9105a8f0663a
1ee804c57fddf41082cd9eb92567d214921c8d92
refs/heads/master
2021-01-17T16:01:06.521364
2017-08-15T21:32:26
2017-08-15T21:32:26
84,120,416
0
0
null
null
null
null
UTF-8
Python
false
false
2,291
py
""" Project Euler Problem 26 Reciprocal cycles A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denominators 2 to 10 are given: 1/2 = 0.5 1/3 = 0.(3) 1/4 = 0.25 1/5 = 0.2 1/6 = 0.1(6) 1/7 = 0.(142857) 1/8 = 0.125 1/9 = 0.(1) 1/10 = 0.1 Where 0.1(6) means 0.1...
[ "adam.s.develop@gmail.com" ]
adam.s.develop@gmail.com
2f4f49c740ab77b5c0282045cee2b888c08cd055
078f5b5321b7b8f40259d51ce96ab41c15fc5e6e
/django_tv_shows/app_tv_shows/auth.py
3c0bc41c1f492e0cada82e4a7d79a3d4ba28d5ff
[]
no_license
joaqFarias/django-tv-shows
c39b376c78642dc9c968a429e916ecba083b98f8
91f7e4f8b879dff05ea17c6ec22d38e721105ff5
refs/heads/master
2023-07-05T16:51:49.070929
2021-08-31T06:59:10
2021-08-31T06:59:10
400,966,702
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from django.contrib import messages from django.shortcuts import redirect, render import bcrypt
[ "jfarias@lythium.cl" ]
jfarias@lythium.cl
532eccc3283651bed063bccd4df71757bddffa03
9b59fec9d9fe6dabf7adb4d16b0366f144c72f43
/pex/vendor/__main__.py
19dd0b1b12b8368b051ec830596df382d40899ca
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
slyphon/pex
723ec9c8aca14a67fc6cdd768a9d7899ecb8ff9c
70d810045be9270cd9ab0e30916b2380a9da04f2
refs/heads/master
2020-12-23T10:36:16.035443
2020-01-25T02:44:53
2020-01-25T02:44:53
237,127,434
0
0
Apache-2.0
2020-01-30T02:53:13
2020-01-30T02:53:12
null
UTF-8
Python
false
false
10,533
py
# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, print_function import glob import os import pkgutil import subprocess import sys from collections import OrderedDict from colors import bold, gree...
[ "noreply@github.com" ]
slyphon.noreply@github.com
740f355e3072aec11f679cb88d33a7f3882fa5dc
dd1eaabe1d852426ddeae0ecd1292aa28ff49d58
/back_end/storage/storage_receiver.py
33af572c108a73078e852601aabc242d1254fd6f
[]
no_license
Edjchg/Project2_SOAD_REST_API
fb1ca187990457bf3664e871b875b1d3c45bf3fc
cc7359171798e15ee9c272be9addcfca4fc373c5
refs/heads/main
2023-05-21T05:07:33.638288
2021-06-11T22:58:39
2021-06-11T22:58:39
365,026,365
0
0
null
2021-06-11T09:52:36
2021-05-06T20:13:34
Python
UTF-8
Python
false
false
2,616
py
import pika import json import requests import storage class storage_receiver: def __init__(self, host='localhost'): self.host = host self.EXCHANGE = 'broker' self.connection = None self.channel = None self.queues = ['storage_sas', 'storage_new_user'] self.routing_...
[ "diego.garro120@gmail.com" ]
diego.garro120@gmail.com
4bdc1b95f6ac6dd60ef7829c50ef854e392f4a75
7387667201cfe4d0e906a9c0e9ac9159dbdbe849
/metricera/Time.py
df57dd98c6c74d50fadf6113932254586598b763
[]
no_license
baeuchle/metrictime
77ceb31f70833104808eaa0d6b1e52c3d5bf8d85
d0f240ed5b21ac3bb82151816daec875567c699d
refs/heads/master
2023-02-25T16:05:58.721825
2021-02-01T21:20:27
2021-02-01T21:20:27
334,742,362
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
class Time: def __init__(self, *args): if len(args) == 0: self.tycs_ = 0 self.whyle_ = 0 self.tyc_ = 0 return if len(args) == 1: self.tycs_ = args[0] self.whyle_ = int(self.tycs_ / 1000) self.tyc_ = self.tycs_ % 1000...
[ "baeuchle@frankfurtium.de" ]
baeuchle@frankfurtium.de
2d944b766621ad0105fc8ae51235ab3497ded543
5f485ba35a3e89766f7c02ad16ac2cd474c7dff5
/multiprocessing_tests/Context.py
9b9628584944a90e9c43a227efc0c3025294ee8d
[]
no_license
Goma0925/multiprocessing_test
ee2f1aa193c9e38d5b14e54138db7dea80509c4b
20f8c903f31f1a236b1345a84cb982087d14ed8d
refs/heads/master
2022-11-20T02:46:01.254434
2020-07-15T08:11:42
2020-07-15T08:11:42
279,807,031
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
class SimpleContext: @staticmethod def write(key, value): return (key, value)
[ "amonbali0925@gmail.com" ]
amonbali0925@gmail.com
046160120d59f1a5bef2edd3cbd60e6ae5e764de
500d66d64503c5fadf9c4153b0e915329d89d0bf
/Mars_crater/code.py
bb4fd7e168ee976c4672ca3922dbf370f2837ba6
[ "MIT" ]
permissive
makrand12/ga-dsmp
fcb5ad63560c1eca9247521aa4bcda6c037a7fc7
5585a5878a963cbb79d856deee0b60797e322704
refs/heads/master
2020-04-11T22:14:23.938534
2019-03-14T07:08:40
2019-03-14T07:08:40
162,129,672
0
0
null
null
null
null
UTF-8
Python
false
false
2,192
py
# -------------- from sklearn.model_selection import train_test_split from sklearn.preprocessing import MinMaxScaler import pandas as pd # Code starts here df = pd.read_csv(path) print(df.head(5)) X = df.iloc[:,:-1] y = df.iloc[:,1] print(X.head(5)) print(y.head(5)) X_train,X_test,y_train,y_test = train_test_split(X,...
[ "makrandchaudhari@gmail.com" ]
makrandchaudhari@gmail.com
fd08feb29fda49671bd6e60c4f917791de7a896f
7a2e5cdb0708bf69a69293cbf3a11b9525a0f8a0
/graph/stable_marriage.py
e807e06db374bf4cbd54bab28f4754648f915db4
[]
no_license
16hchung/doodle_img_comparison
2fcb19225d2d179c7b2a050177002e851eaaa75a
68fff941e9b8f5ebb635409c2ce0dac9f283e605
refs/heads/master
2020-08-18T23:50:43.817799
2019-11-30T22:22:53
2019-11-30T22:22:53
215,849,496
0
0
null
null
null
null
UTF-8
Python
false
false
6,545
py
''' Used the python implementation of stable marriage problem from https://www.vitoshacademy.com/python-algorithms-stable-matching-problem/ Only modified males to represent doodles and females to represent images. ''' ''' Old data males = [ { "name": "A", "is_free": True, "gender": "male", ...
[ "16hchung@gmail.com" ]
16hchung@gmail.com
e821acf48228697aef37e3700af0ac65bb722fc8
75f38171d5a254eb73d3e983421bdb7ed8e3ad6f
/src/user_map_learn_complete_userlevel.py
dcda61965867d95a137c5dd1f66f4db5e878095f
[]
no_license
BetsyHJ/work2019
5278d72114039ba7e08b7029bc5103010a87585a
05920a2f2c5805b5adda1e8c9b65dfff0695ea03
refs/heads/master
2020-05-25T11:59:11.213566
2019-05-21T07:57:57
2019-05-21T08:03:27
187,789,675
0
0
null
null
null
null
UTF-8
Python
false
false
21,137
py
import numpy as np import logging, math, os, time import pickle import argparse import copy import multiprocessing import pandas as pd import tensorflow as tf '''from keras.models import Model, Sequential from keras.layers import Conv2D, MaxPooling2D, Flatten, Dense, Input, Lambda, TimeDistributed, Dropo...
[ "825614102@qq.com" ]
825614102@qq.com
b13efcc972876375f804eb0816b1849ab2f0fd26
00ef8e1eb57b73427508b20aadf0266da6b1f900
/examples/gdev/any.py
7e9c6d05c4ea3e8b94d091aebc5b144a1fdb9e4d
[]
no_license
amy12xx/rl-toolkit
f4643935cc8afd960356bfeae74c233d2596dea9
8254df8346752ea0226ae2064cc1eabc839567b0
refs/heads/master
2023-08-14T00:56:52.270642
2021-09-28T15:59:32
2021-09-28T15:59:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,167
py
import sys sys.path.insert(0, './') import os import os.path as osp import torch import numpy as np import argparse import string import random import datetime from garage import wrap_experiment from garage.experiment.deterministic import set_seed from garage.torch.algos import PPO from garage.torch.policies import G...
[ "me@andrewszot.com" ]
me@andrewszot.com
a2e53cd61b75aa7768b090cc1df2d8557dfba982
45eb1b25bf72d7c88a57fec5bb4bc5336c04f5ba
/reckon/loc.py
7f151997499dd7b720cb8586a16c4597bc41d887
[ "MIT" ]
permissive
seandstewart/reckon
b10faece45e4c1ede5fa1c7e416179e7d1e68142
ddddb2b0d881e1226075d9eefdcef580826da750
refs/heads/master
2021-06-21T06:38:33.649537
2021-03-06T21:28:32
2021-03-06T21:28:32
193,951,846
2
0
MIT
2021-03-06T21:28:33
2019-06-26T17:44:43
Python
UTF-8
Python
false
false
1,632
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import collections import threading from typing import Callable try: from reprlib import repr except ImportError: pass from . import protos class LocalCache(protos.ProtoCache): """A Localized cache. Can be implemented as a globalized cache by initializi...
[ "sean_stewart@me.com" ]
sean_stewart@me.com
774ff8553c11fe3a6fd04dbb2d0f46c015f512b3
97be97cfc56fb2170b60b91063dbfe5f1449e3c0
/python/ABC179/B.py
53752a55a98e2fa669ae9c197b305f57a1d95a7f
[]
no_license
iWonder118/atcoder
73d965a0a9ade189733808e47634f2b7776aad4b
3ab7271e838a2903ff0e07f94015ef13c59577e1
refs/heads/master
2022-01-25T10:10:55.007340
2021-12-31T14:04:54
2021-12-31T14:04:54
245,155,997
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
n = int(input()) results = [list(map(int, input().split())) for _ in range(n)] ans = 0 for i in range(n): if ans >= 3: break if results[i][0] == results[i][1]: ans += 1 else: ans = 0 if ans >= 3: print("Yes") else: print("No")
[ "52240372+iWonder118@users.noreply.github.com" ]
52240372+iWonder118@users.noreply.github.com
103e148022882ce50060cdbb3dbe1e1e873c67ce
40ab81ad2abe735a429f40926905508d102e71c3
/ganb_personal_client/models/account.py
040c7924f4927a02f4ec9c2ad5548aed3ad981ec
[ "MIT" ]
permissive
gmoaozora/gmo-aozora-api-python
15a536586b03742c441bc7d7a7d62ab61beb5957
55cc6c60d671781606648074ddc169a775db2fb9
refs/heads/master
2022-10-15T06:36:11.455623
2022-10-04T01:58:39
2022-10-04T01:58:39
186,737,499
10
7
MIT
2021-12-16T13:59:44
2019-05-15T02:49:20
Python
UTF-8
Python
false
false
27,829
py
# coding: utf-8 """ GMO Aozora Net Bank Open API <p>オープンAPI仕様書(PDF版)は下記リンクをご参照ください</p> <div> <div style='display:inline-block;'><a style='text-decoration:none; font-weight:bold; color:#00b8d4;' href='https://gmo-aozora.com/business/service/api-specification.html' target='_blank'>オープンAPI仕様書</a></div><div sty...
[ "s-ikeda@gmo-aozora.com" ]
s-ikeda@gmo-aozora.com
d3e0a67a97f9f8bb613507726d6cbf3e96e3e935
ad6a4fa951ee7aef95cfa44fcbfd6a80b3ce5024
/python/leetcode/153.py
94c07cd88c3bde5192780926404011ca52272050
[ "MIT" ]
permissive
ParkinWu/leetcode
cc55a4fbf04a3c8f7a350c3a84ae75da2de7c5a8
b31312bdefbb2be795f3459e1a76fbc927cab052
refs/heads/master
2020-05-25T13:26:42.206468
2020-03-07T08:33:13
2020-03-07T08:33:13
187,822,091
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
# 假设按照升序排序的数组在预先未知的某个点上进行了旋转。 # # ( 例如,数组 [0,1,2,4,5,6,7] 可能变为 [4,5,6,7,0,1,2] )。 # # 请找出其中最小的元素。 # # 你可以假设数组中不存在重复元素。 # # 示例 1: # # 输入: [3,4,5,1,2] # 输出: 1 # 示例 2: # # 输入: [4,5,6,7,0,1,2] # 输出: 0 # # 来源:力扣(LeetCode) # 链接:https://leetcode-cn.com/problems/find-minimum-in-rotated-sorted-array # 著作权归领扣网络所有。商业转载请联系官方授权,非商业...
[ "snowy_way@163.com" ]
snowy_way@163.com
3021bafb6950c97c749bafed4488b19e766d04fc
2e59779c0d745f6aec78ee1d0a515421d005ffb2
/oving2.py
8e577fd585b3c6a88eeb85174773d4cb5bf85398
[]
no_license
Saarots/Ovinger
0fbb2873a5a3e6f6ceaf55ae7b9082200bafb5bf
94614a75f22d193e47a61ce2acc84be061ba35e8
refs/heads/master
2021-01-22T04:33:31.877549
2015-02-25T15:13:32
2015-02-25T15:13:32
29,345,971
0
0
null
2015-02-05T09:51:47
2015-01-16T11:35:14
Go
UTF-8
Python
false
false
467
py
from threading import Thread, Lock i = 0 mtx = Lock() def main(): Thread1 = Thread(target = Thread1func, args = (),) Thread2 = Thread(target = Thread2func, args = (),) Thread1.start() Thread2.start() Thread1.join() Thread2.join() print i def Thread1func(): global i for j in range(0,999999): ...
[ "eiristh@stud.ntnu.no" ]
eiristh@stud.ntnu.no
231e284947378dfe53e474c5e32065cd5916376b
6ee085f543b27831af50b6fb0e92ceeb7be6e494
/mysite/news/views.py
bb36553cbb262e7bb78176377ec74504b2b34f01
[]
no_license
ODINTSOV1993/site_test
0c0be5738269c8a6318c35ef9683f91ffb8fadb0
f42b17cb19994a873621d1be683fd9275024666c
refs/heads/main
2023-06-26T01:23:14.139730
2021-07-20T19:14:25
2021-07-20T19:14:25
387,886,911
0
0
null
null
null
null
UTF-8
Python
false
false
4,733
py
from django.shortcuts import render, get_object_or_404, redirect from django.contrib.auth.mixins import LoginRequiredMixin from django.urls import reverse_lazy from .models import News, Category from .forms import NewsForms, UserRegisterForm, UserLoginForm, ContactForm from django.core.paginator import Paginator from d...
[ "dima-od9@inbox.ru" ]
dima-od9@inbox.ru
19ffe8a397c4cba7402ef7600fb331973f268134
6b6e20004b46165595f35b5789e7426d5289ea48
/release.py
a0439d9a8953d67b942543862779c0ee771d69e8
[ "Apache-2.0" ]
permissive
anwarchk/quay
2a83d0ab65aff6a1120fbf3a45dd72f42211633b
23c5120790c619174e7d36784ca5aab7f4eece5c
refs/heads/master
2020-09-12T18:53:21.093606
2019-11-15T19:29:02
2019-11-15T19:29:02
222,517,145
0
0
Apache-2.0
2019-11-18T18:32:35
2019-11-18T18:32:35
null
UTF-8
Python
false
false
304
py
import os _GIT_HEAD_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'GIT_HEAD') SERVICE = 'quay' GIT_HEAD = None REGION = os.environ.get('QUAY_REGION') # Load git head if available if os.path.isfile(_GIT_HEAD_PATH): with open(_GIT_HEAD_PATH) as f: GIT_HEAD = f.read().strip()
[ "jimmy.zelinskie+git@gmail.com" ]
jimmy.zelinskie+git@gmail.com
b4b369b2625b316d54996745d9eab2a7ccae7b52
73145f3548feb0812dde986242773f7d446e487f
/tests/tests.py
9da95dc88c2c111c8459f6c5975e43edaa44c135
[ "BSD-3-Clause" ]
permissive
lookup/django-redis-sessions
9d4c31d71d1fb5d552b702e961066848e6443b9f
c9a1d3712d59d0fc972c9463e7718f7202cab41b
refs/heads/master
2021-01-17T23:28:53.249603
2013-03-11T22:40:33
2013-03-11T22:40:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,878
py
import time from nose.tools import eq_ from django.utils.importlib import import_module from django.conf import settings redis_session = import_module(settings.SESSION_ENGINE).SessionStore() def test_modify_and_keys(): eq_(redis_session.modified, False) redis_session['test'] = 'test_me' eq_(redis_sessio...
[ "hellysmile@gmail.com" ]
hellysmile@gmail.com
7e31a26a9a00ebd5733e0c67e789d51bbe14ff75
656cbc9805d90b69da444d99cb26a612c27f3302
/1000.py
a9b51a5ad2cf2c2b002d084c873bdd15fc498703
[]
no_license
trent-hodgins-01/ICS3U-Unit4-07-Python
ca0a90cfea3506b2ccc24b25a56ddc00c5c81cb8
5c5109245b505a927b2ee6b5893f5cce47ee2ef0
refs/heads/main
2023-08-26T15:13:28.784059
2021-10-11T16:24:12
2021-10-11T16:24:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
# !/user/bin/env python3 # Created by Trent Hodgins # Created on 10/06/2021 # This is the RGB program # This program displays all numbers from 1000 to 2000 def main(): # this function does addition math # process and output counter = 0 for counter in range(1000, 2001): if counter % 5 == 0: ...
[ "ubuntu@ip-172-31-12-63.ec2.internal" ]
ubuntu@ip-172-31-12-63.ec2.internal
f40efcb2d3e7b12880d6452f7d7fa910de1641df
2491fc86755274594a0fd9db9c7bd8ed3fdf8392
/myenv/bin/epylint
8348d638daf33ae0d51d76fbce70196db9c9aebc
[]
no_license
Anluren/my-first-blog
11a987af4746378ecf0caeac71bfef481b61bed0
9238e2cfecba428f518395898e68f44cc7d80009
refs/heads/master
2020-03-27T20:34:33.273749
2018-09-04T00:55:06
2018-09-04T00:55:06
147,078,574
0
0
null
null
null
null
UTF-8
Python
false
false
248
#!/home/dzheng/djangogirls/myenv/bin/python # -*- coding: utf-8 -*- import re import sys from pylint import run_epylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_epylint())
[ "zhengdengfeng@gmail.com" ]
zhengdengfeng@gmail.com
bdab74343dfa9e53ed211372fdcfc531c3077914
7ff5767f2e249948f958facc86a92151f899617d
/python/Z.py
5fb74f57eeba4433873d5d5f05d02bf1b452bd27
[]
no_license
fairyang/01
3ba8026f0e6f3caa883f395f353270a19c36926b
5bb96ba9a3fa40a55289fff8a8c38554f6d9c495
refs/heads/master
2020-08-01T12:40:18.518522
2019-11-20T11:46:59
2019-11-20T11:46:59
210,999,872
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
import turtle turtle.setup(800,500) turtle.left(45) turtle.fd(150) turtle.right(135) turtle.fd(200) turtle.left(135) turtle.fd(150)
[ "3345660949@qq.com" ]
3345660949@qq.com
6e3b54e33ffe6c8acf508beeb11bf9c57cc16e2e
0ad87aeec75ec0c0c2187004470e3624b9b83ee1
/kth_elem.py
d88792383f9a173007d5cb7ea8ccea4ae2be8ed6
[]
no_license
pawel-krysiak/algorithms_2013
8e1f692c0d48b81ecedbc185d51f8bfb85f089e8
a0171bbadf90ceb1e31afbcbb3daf7c3ab45f354
refs/heads/master
2016-09-06T00:55:47.268076
2015-08-03T15:03:30
2015-08-03T15:03:30
40,130,760
0
0
null
null
null
null
UTF-8
Python
false
false
1,462
py
# -*- coding: utf-8 -*- # algorytm znajdujący k-ty co do wielkości element ciągu # wykorzystuje algorytm magicznych piątek # nieco nieoszczędna implementacja def magic_five(data, k): ''' Algorytm znajdujący k-ty co do wielkości element w zbiorze. Wykorzystuje algorytm magicznych piątek do znajdywania medi...
[ "pawelkrysiak@hotmail.com" ]
pawelkrysiak@hotmail.com
124c49590fdc9aadcb81d454d0ca171ece619b7f
1242ac9f8839deaa9e8aaecc2cc3ffcfeb0ce5b2
/biblioteca/migrations/0007_auto_20200309_1432.py
b5bf079ca4c81b979326bd21fa3371570ed59fef
[]
no_license
lpuig89/proyectoDjango
8bf263a3e7495e884521625e60bd01c2747a2d30
5c8466c773b74c74a6c49e9deb27e3c3993785b5
refs/heads/master
2021-02-15T14:57:07.544585
2020-03-09T17:12:26
2020-03-09T17:12:26
244,909,471
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
# Generated by Django 3.0.3 on 2020-03-09 13:32 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('biblioteca', '0006_auto_20200309_0102'), ] operations = [ migrations.AlterField( ...
[ "luispuig707@hotmail.com" ]
luispuig707@hotmail.com
e06eb88fbb807b9ffc90388949cbfcfc2dfdf68b
6de1004e3a2257f8af22dfbe8dc2f76ea545442c
/09/task_9_2.py
414387cdbd6ed54c977f9f7578c7258f52398cba
[]
no_license
d-l-denisov/pyneng
0ddc639d4d0e8d5bbcbe5ef39fb099989f4e45ac
ca79d8d9d3c499947e6a4d59b9759cb780b02bdc
refs/heads/master
2020-11-25T11:36:48.785966
2020-01-31T19:51:06
2020-01-31T19:51:06
149,006,602
0
0
null
null
null
null
UTF-8
Python
false
false
2,624
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Задание 9.2 Создать функцию generate_trunk_config, которая генерирует конфигурацию для trunk-портов. У функции должны быть такие параметры: - intf_vlan_mapping: ожидает как аргумент словарь с соответствием интерфейс-VLANы такого вида: {'FastEthernet0/1': [10, 20]...
[ "d.l.denisov@gmail.com" ]
d.l.denisov@gmail.com
1f0e94d80955275b64f5730a6ba7730699cafd8a
7b121808c91cdadf9acae04dc07ef033f851a560
/module00/ex05/kata00.py
d9e71647b38b3cd55167bb0feffc67983dce46a1
[ "CC-BY-NC-SA-4.0" ]
permissive
vdedios/bootcamp_python
4cc1e1e2b47e65c2f9e5dfd3d0f42e176c8aabcf
c73b6724dbcc19d647189cf8e22b87cdec61d8b9
refs/heads/master
2021-07-07T20:30:37.829259
2021-04-01T19:29:18
2021-04-01T19:29:18
233,248,631
4
1
MIT
2020-01-11T14:58:16
2020-01-11T14:58:15
null
UTF-8
Python
false
false
218
py
#!/usr/bin/env python3 t = (10, 42, 21) def main(): print('The 3 numbers are: ', end = '') for item in t[:-1]: print(f'{item}, ', end = '') print(f'{t[-1]}') if __name__ == "__main__": main()
[ "victor.dedios@outlook.com" ]
victor.dedios@outlook.com
d75c9bd6b13a1685e997c9bff89e619dfbad9617
4b41a76c5c366ba2daa30843acea16609b8f5da7
/2017/19/AoC17_19_2.py
63d0bff264fc8eed2403e85ab2ba25522ce454cd
[]
no_license
grandfoosier/AdventOfCode
c4706cfefef61e80060cca89b0433636e42bf974
a43fdd72fe4279196252f24a4894500a4e272a5d
refs/heads/master
2020-06-11T12:36:48.699811
2019-01-14T23:44:44
2019-01-14T23:44:44
75,665,958
1
0
null
null
null
null
UTF-8
Python
false
false
2,251
py
import copy class Packet(object): def __init__(self): fname = "AoC17_19_1.txt" self.paths = [line.rstrip("\n") for line in open(fname)] self.dir = 'D' self.pos = (0, self.paths[0].find('|')) self.markers = '' self.steps = 1; self.last = copy.copy(self.pos) def _...
[ "noreply@github.com" ]
grandfoosier.noreply@github.com
95f7d72e1fd528615cdcc3725d2df01329b0c119
8aa29d701152861ad864b743465fd40aa37975c4
/core/tests/views/test_add_work_hours.py
96529d924055144bac442b9a79bae0ce7b3ec9d9
[]
no_license
vladislavvasyukov/Nemo
cef8f3859adbb8d6e2aa91268d705250dde7a45b
40bb39d21c05949bcaa696a72707e119d1566ced
refs/heads/master
2023-01-13T12:58:17.503346
2020-05-06T20:20:10
2020-05-06T20:20:10
236,346,545
0
0
null
2023-01-07T15:51:17
2020-01-26T17:15:20
JavaScript
UTF-8
Python
false
false
1,724
py
import pytest from django.urls import reverse from knox.models import AuthToken from core.tests.factories import UserFactory, TaskFactory @pytest.mark.django_db class TestAddWorkHours: """ Класс для тестирования отметки потраченного времени """ pytestmark = pytest.mark.django_db def test_add_wor...
[ "vladislav.vasyukof@gmail.com" ]
vladislav.vasyukof@gmail.com
004e18e5c7333296be969fdd0cb36c4468a8b732
d08f9ebc4ea7bf3b5b68c78bba8e501e769895ad
/convert-strings-xml.py
c20ebf0e4d4f2f0efa8380d4bffbc55c1b643b0f
[]
no_license
alonalbert/misc-python-scripts
3a9c448ef316297e566b75a79e1023e7cd13fece
13e6166223fb71d060cebb2ddef598115bb4cfe3
refs/heads/master
2021-11-11T19:55:59.462188
2021-11-03T22:20:35
2021-11-03T22:20:35
77,620,168
1
0
null
null
null
null
UTF-8
Python
false
false
593
py
#!/usr/bin/python # from sys import argv from lxml import etree from lxml.etree import _Comment root = etree.parse(argv[1]) # root = xml.etree.ElementTree.parse(argv[1]).getroot() children = list(root.iter()) i = 0 while i < len(children): child = children[i] if isinstance(child, _Comment): i += 1 comme...
[ "aalbert@google.com" ]
aalbert@google.com
98dedf3ede5dd3d1dcab1dc876a4cc3ee1def075
6ff849b3c227d3502058ca47c2ef545aaa3d639a
/src/tests/test_functional.py
99a267e831363cb70c0c9947c71e0af313ab1de3
[]
no_license
osya/File_Storage_API
8174f72b3e118893b236f87646c45a78a50ca0ab
be9cc005c73f2f038cd56ec3129e530ffbdc43d0
refs/heads/master
2020-01-28T15:42:26.124056
2018-02-13T20:23:51
2018-02-13T20:23:51
66,540,513
0
0
null
null
null
null
UTF-8
Python
false
false
2,613
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import datetime as dt import os import re from file_storage import settings # noinspection PyClassHasNoInit # It is one class for all tests because it is needed to use single instance of Bottle app class TestFunctional: def test_upload_file_with_correct_token(self, t...
[ "info@vosipov.com" ]
info@vosipov.com
d52e07ac8cecca24517fbf1e8db3ab9331fa5324
4c17c4fda923bb55eeda2d1d13f8e3ddc812a678
/common_functions.py
40884af34d6cf1bb851e71569afb9a7cb7ab331e
[ "MIT" ]
permissive
james-721/chat_limpet
5e5b06e25be9edc8fddca13448d2141f751d94cd
88a394d4e6e3f34b9af4dd29d43999f28bd91224
refs/heads/master
2021-04-18T04:34:25.462023
2020-04-12T01:14:39
2020-04-12T01:14:39
249,505,069
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
import math def distance_finder(loc1, loc2): inside = ((loc1[0] - (loc2[0])) ** 2) + ((loc1[1] - (loc2[1])) ** 2) + ((loc1[2] - (loc2[2])) ** 2) distance = math.sqrt(inside) distance = round(distance, 2) return distance
[ "jamesdecola@gmail.com" ]
jamesdecola@gmail.com
d0a8ae26372e439b055e22a6756a6783465da12c
08ac30e430433c721ee8502a84b9a161e3d0cd59
/setup.py
ecc019540d9fec9c67d545f6f8ddccf58fcfce74
[]
no_license
mmr79/bot
bed28f20f5c10ade4662139e46815791d72c521b
96db086620aa3b5401699d099116eac18013005b
refs/heads/main
2023-04-25T11:40:01.070746
2021-05-24T00:41:13
2021-05-24T00:41:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,436
py
# -*- coding: utf-8 -*- """ Created on Sat May 8 22:43:15 2021 @author: mraslan """ import ccxt import pandas as pd import numpy as np from flask import Flask, request app = Flask(__name__) ex=ccxt.binance() ex.load_markets() f=pd.DataFrame(ex.fetch_markets()) symbols=f[f['active']==True].symbol.uni...
[ "noreply@github.com" ]
mmr79.noreply@github.com
4c59702a8c88e466e064d75e25971e5cd91afbdd
78aa5c51668b425ca83d0da68935bf7264c48885
/DistribuitedSystem_Canon_Python/cannon-skel/common.py
b528ac016373694053097bf45e25e80f74da9878
[]
no_license
fdzjuancarlos/AcademicExercises
e558c261fb4b860d09063454acdf5211c502bb57
5c6ca9c739f905ae5fe26bc88f6129cc510aceb1
refs/heads/master
2021-01-19T11:35:08.621938
2014-12-07T17:48:27
2014-12-07T17:48:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
import Cannon # These functions are not for production, # just for better test readability # ---- def M1(*data): return Cannon.Matrix(1, list(data)) def M2(*data): return Cannon.Matrix(2, list(data)) def M3(*data): return Cannon.Matrix(3, list(data)) def M4(*data): return Cannon.Matrix(4, list(da...
[ "fdz.juancarlos@gmail.com" ]
fdz.juancarlos@gmail.com
ecf674d73af4dbf89769863dd56d98445fbbed9d
7cb2cf86d40aa2153404eb621c69d553600f20e7
/problems/003.py
bfefc986a69e76dfbfc5a35f1b735e066c328120
[ "MIT" ]
permissive
6112/project-euler
c21934a27f628acda284def9e0e9db814d909f2d
b7478d14aa6defe347ab12178c7ffe90efdcb867
refs/heads/master
2021-06-08T12:08:37.433940
2021-03-23T14:31:38
2021-03-23T14:31:38
15,324,077
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# encoding=utf-8 ## SOLVED 2013/12/19 ## 6857 # The prime factors of 13195 are 5, 7, 13 and 29. # What is the largest prime factor of the number 600851475143 ? import helpers.prime as prime BIG_NUMBER = 600851475143 def euler(): # compute the prime factors of the big number factors = prime.prime_factors(BI...
[ "ashlebede@gmail.com" ]
ashlebede@gmail.com
88bfd5fa4991a7b77a94ee540c29cb0561fbfbb0
6ed4c79f4e574f8791414fdb434baeebb5a82411
/process.py
cf7621f0e045afb1129b12b1ab6f09a69bbd1af7
[]
no_license
ErnestoTaypicahuana/Linea1
e6810e688fa33375425aee6b666c31437c60cf8d
6893e142446ba1d2b64e198678d3c9fc88774526
refs/heads/master
2020-07-05T14:15:06.965900
2019-08-16T19:47:28
2019-08-16T19:47:28
202,670,340
1
0
null
null
null
null
UTF-8
Python
false
false
828
py
import glob, os # Current directory current_dir = os.path.dirname(os.path.abspath(__file__)) # Directory where the data will reside, relative to 'darknet.exe' path_data = 'data/People/' # Percentage of images to be used for the test set percentage_test = 20; # Create and/or truncate train.txt and test.txt file_trai...
[ "etaypicahuanal@uni.pe" ]
etaypicahuanal@uni.pe
99b67ae8ecb8a2e0cc8954c7eff9606a673895a9
2c4efe2ce49a900c68348f50e71802994c84900a
/braindecode/braindecode/venv1/Lib/site-packages/numba/cuda/tests/cudapy/test_record_dtype.py
954560f9407b4775bb115ed272f6bfd9403570c9
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
sisi2/Masterthesis
b508632526e82b23c2efb34729141bfdae078fa0
7ce17644af47db4ad62764ed062840a10afe714d
refs/heads/master
2022-11-19T15:21:28.272824
2018-08-13T15:02:20
2018-08-13T15:02:20
131,345,102
2
1
null
2022-11-15T14:08:07
2018-04-27T21:09:21
Python
UTF-8
Python
false
false
8,240
py
from __future__ import print_function, division, absolute_import import sys import numpy as np from numba import cuda, numpy_support, types from numba import unittest_support as unittest from numba.cuda.testing import skip_on_cudasim, SerialMixin def set_a(ary, i, v): ary[i].a = v def set_b(ary,...
[ "dansyefila@gmail.com" ]
dansyefila@gmail.com
18393ba16b0b9796d038fa000f03f61f79549db7
eba02c3c98f00288e81b5898a201cc29518364f7
/chapter_002/exercises/number_eight.py
e921c7bd059a0234ee3f15c0d007f7da9bd4cd1e
[]
no_license
kengru/pcrash-course
29f3cf49acfd4a177387634410d28de71d279e06
5aa5b174e85a0964eaeee1874b2be1c144b7c192
refs/heads/master
2021-05-16T09:36:16.349626
2017-10-11T17:56:56
2017-10-11T17:56:56
104,481,645
1
0
null
null
null
null
UTF-8
Python
false
false
137
py
# Exercise 2-8. Printing the number 8 with different operations. print(2 + 3 + 3) print(10 - 1 - 1) print(2 * 2 * 2) print((800/10)/10)
[ "kgrullon@vivial.net" ]
kgrullon@vivial.net
3bd6665488b05d0a0c1a5a634557c2a576c78ac7
eaf732943aa42aad7ea7ba9358fa46e5af97d17e
/eco/store/migrations/0001_initial.py
7754667af6266ca6915198a1d751d71e3473000e
[]
no_license
DmytroZeleniukh93/my_shop_django
8b3cbfa7be62d9bdd66044e3a61a4a21a9972723
a0487dcd40e05d3b12e3c5f94466ec0338c3ea1b
refs/heads/main
2023-08-01T00:21:26.049285
2021-09-24T15:52:53
2021-09-24T15:52:53
407,896,332
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
# Generated by Django 3.2.7 on 2021-09-19 10:22 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "d.zeleniukh1@gmail.com" ]
d.zeleniukh1@gmail.com
c7c6e626e6083c7977834ad1fc73a1c43f738f28
37c1a9c348ab3bcfb9550fd67511573fe8bd7d25
/Scraping2/SQlitecmds.py
9a288fd55abc89ab7d36ed32e5c388cae00695ed
[]
no_license
pranayknight/WorkedExamples
19384aed235e55d31d51867521c276838dd69ce4
29166f5b1c2305682e0ead254239d020bc13699d
refs/heads/master
2022-12-25T18:45:18.248565
2019-04-15T07:09:32
2019-04-15T07:09:32
180,233,166
0
0
null
2022-12-08T01:03:30
2019-04-08T21:08:33
Python
UTF-8
Python
false
false
1,249
py
import sqlite3 conn = sqlite3.connect("Database_name") # This query even creates the database in case it doesn't exists cursor = conn.cursor() # This query helps us create a cursor for our database and helps us run our queries in a much faster way # Executing the command through cursor object cursor.execute("CREATE...
[ "pranayknight94@gmail.com" ]
pranayknight94@gmail.com
92258abe93cc42c815b9fcfd2422f11e6f2e3c37
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D09B/MOVINSD09BUN.py
5baaa0f135f7639211744f4c0fe1978fec2ced42
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,740
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD09BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 1}, {ID: 'RFF', MIN: 0, MAX: 9, LEVEL: [ ...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
358ff42e9b7985b46525f1091dc509b400a15fd6
f407eecf8b0546a6b6559b714aca5af552a40956
/S3/Codage/TP3/base64.py
98d24e1e8412e1ac15b3d7512bbca55c8d7c50e8
[]
no_license
LeaneTEXIER/Licence_2
700baa2501943bd62b7a5960548368d2f3eb8b69
7e2197b824e89c79b673602a526372808ffe2e4b
refs/heads/master
2022-11-06T16:08:03.536487
2019-05-16T09:04:11
2019-05-16T09:04:11
186,990,704
0
1
null
2022-10-25T12:42:59
2019-05-16T08:57:43
Python
UTF-8
Python
false
false
753
py
''' Encoding and decoding utility for base64 files. Requires the codage64 module. @author FIL - UFR IEEA - Univ. Lille1 (oct 2010, sept. 2015) ''' import codage64 import sys def usage(): ''' prints how to use the program ''' print("Usage : %s [-e|-d] <fichier>\n" % sys.argv[0],...
[ "texierl@b10p16.fil.univ-lille1.fr" ]
texierl@b10p16.fil.univ-lille1.fr
097a4a080d568e5c73ed850c08f8373fdda5d37a
2923b9f58e6a143a3e070169612165585c301def
/high_f/la_habra_large_100120/test_small_awp_uni/make_receiver.py
b335a3279a0c6760c860769fdea74c0c36897b26
[]
no_license
hzfmer/summit_work_021421
16536dd716519bc9244da60007b9061ef5403429
6981b359fefb2af22e0bea6c47511de16cad22bd
refs/heads/master
2023-03-11T15:34:36.418971
2021-02-05T23:22:10
2021-02-05T23:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
../test_small_awp_dm/make_receiver.py
[ "hzfmer94@gmail.com" ]
hzfmer94@gmail.com
9e0f1d1e926fb8783addf8b13c1620c3f7582ccb
62e1111fe22223d4db663499430adeff2429f5b6
/test/cli/test_api.py
42471f9c07ed3fb0a5ca1ab53c442a208a2a5152
[ "Unlicense" ]
permissive
hugemane/prerequisite-dependency-presider
6c35569aab1d78e42a3b8b22d73c150450289960
3986aa1e0a0c4a89dc5ec3f70dbe21b77a8a6077
refs/heads/master
2021-05-16T08:02:11.977188
2017-10-07T06:46:13
2017-10-07T06:46:13
103,970,663
0
0
null
null
null
null
UTF-8
Python
false
false
2,651
py
from unittest import TestCase import sys class TestFile(TestCase): def test_api_jvmrunscript_args(self): import pdp.cli.api as api sys.argv[1:] = ['-pk', '/home/hugemane/.ssh/test_nopass_rsa', '-dh', 'some.host.com', '-du', 'ubuntu', ...
[ "hugemane@icloud.com" ]
hugemane@icloud.com
bc9210c7787bb7eeb25cb7d9214ecaa0c569b896
63b20ca92be0dbd09d2555b71c793217c7c642d4
/predicterapp/Regresion.py
d6a219e8ad8291d3060c6836b44debd8a85c3a5d
[]
no_license
sanframar/tfg
d68cbbfa6e397b7f35add14cd75d20391c3228ed
b70e406c88bffbe40f6033edf98ab8776858b48f
refs/heads/master
2022-01-19T01:17:54.641691
2019-02-01T20:07:13
2019-02-01T20:07:13
141,915,357
0
0
null
null
null
null
UTF-8
Python
false
false
13,754
py
from sklearn.kernel_ridge import KernelRidge import pandas as pd import numpy as np import os from sklearn.metrics import mean_absolute_error from predicterapp.Utils import * from predicterapp.PreProcesamiento import desNormalizar BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) def re...
[ "raznnok@gmail.com" ]
raznnok@gmail.com
89ece12d2d18b5c43a380cb74f2181ed8632d763
1fbbfaebbde0075fd76c89071a3d2a63b4ab10a3
/setup.py
c3b243eb802fdfa9458deb063015b03fcfb1b499
[]
no_license
tomasaltilio/mlproject
38ef0f0678fed66bdcdd5abf01923cc940934b71
c947be84279472bc03d8f54e8ea717557a7933ae
refs/heads/master
2023-03-10T06:59:05.815240
2021-03-01T18:03:54
2021-03-01T18:03:54
343,510,018
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
from setuptools import find_packages from setuptools import setup with open('requirements.txt') as f: content = f.readlines() requirements = [x.strip() for x in content if 'git+' not in x] setup(name='mlproject', version="1.0", description="Project Description", packages=find_packages(), i...
[ "tomas.altilio@gmail.com" ]
tomas.altilio@gmail.com
55531822e3c8010e15de5a330dea0bbd187983b1
3b04051631b33ad31c8bcf6e52d6d18eeadd3069
/functions.py
d7bdb5aee7c0be379e1edcc4a71811c5433fb732
[]
no_license
dancurtis14/python-learning
82aa761e8d8105b5f7e8be910493507467e02000
eef3b453b6a6441a2028a6efdc61410cf5f428dc
refs/heads/master
2021-07-22T11:44:46.516913
2017-10-31T15:45:55
2017-10-31T15:45:55
108,828,671
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# -*- coding: utf-8 -*- import datetime as dt PI = 3.141592 def circle_area(r): return PI*r*r print(circle_area(5)) print(circle_area(7)) print(circle_area(9)) def add(*numbers): total = 0 for n in numbers: total += n return total print(add(3,4,5)) def record_time(message, time = dt.date...
[ "daniel.john.curtis-cic-uk@ibm.com" ]
daniel.john.curtis-cic-uk@ibm.com
d0a55f6475bbbb29dcd260910386e57a71f8243f
0316925e2bad29d60f0dcccdf91277fd8f03ef09
/q034.py
87da5609fd58d81457cd3687dc67218378f6df5f
[]
no_license
nomadlife/project-euler
426614df7b2c9368a4db59954dc1df2902a44d6b
9bc09843637a361fa93c7abb20ac990f973b08e5
refs/heads/master
2021-07-03T00:52:07.760948
2021-06-26T14:28:32
2021-06-26T14:28:32
100,214,096
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
# Q034 Digit factorials, all, import time start = time.time() print("expected calculation time : 2 min") def factorial(num): total=1 while num>1: total = total * num num-=1 return total for i in range(1,10000000): total=0 for j in str(i): total += factorial(int(j)) if...
[ "joonwoo3816@gmail.com" ]
joonwoo3816@gmail.com
55bdfe2297300ec1018ebbc40795532b1555fcd3
cc501293debb640f58b084fe56cb8d5f6e0ee345
/agencia_viagens/Reserva.py
84790f8b66bf7f22a9d0510a8f149caf613affc2
[]
no_license
JoaoCFN/Exercicios_DS2
1f0cf261909a65e8b3cb2e53013e6280700f8e8c
0ecd66fb85029945cd65b73d2814aa1abdbc322a
refs/heads/master
2023-02-04T07:37:40.273684
2020-12-26T15:05:26
2020-12-26T15:05:26
290,056,429
1
0
null
null
null
null
UTF-8
Python
false
false
843
py
class Reserva: contador_reserva = 999 def __init__(self, voo, classe = "X"): self.voo = voo self.classe = classe Reserva.contador_reserva += 1 self.num_reserva = Reserva.contador_reserva def get_preco_final(self): classeConvUpper = self.classe.upper() va...
[ "joaoneto.20fsa@gmail.com" ]
joaoneto.20fsa@gmail.com
f19254d602637fe894fafb4102e6d9b28bd124df
19d83ef36909a6d830e2e41af05102b19186ebbd
/memory.py
15a7965920fc4d8558bf68344a4db9f3ed4f597c
[]
no_license
ChrisProgramming2018/BTD3_Implemenation
93637b2262b86e7ad19d048127d83da57c9c7508
9409cd472ca406c118a45ab60414a070f1a5f709
refs/heads/master
2023-01-06T15:30:56.171425
2020-10-28T06:58:06
2020-10-28T06:58:06
295,357,224
0
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
import numpy as np import random class ReplayBuffer(object): def __init__(self, max_size=1e6): self.storage = [] self.max_size = max_size self.ptr = 0 self.k = 0 def add(self, transition): self.k += 1 if len(self.storage) == self.max_size: self.s...
[ "noreply@github.com" ]
ChrisProgramming2018.noreply@github.com
4094eba88cc9b4d88127950cf098c388b3a5d9e1
b3351020e0dda13b563064f241657910466df40b
/create_vast_graphs.py
f7d7d6243dd0e99558ab0bcced5d4f4ceda0ce99
[]
no_license
natedogs911/oni-demo
8b69d848db5b3c53ad58a224f9ebb8d2d7d26f71
d488500c1de5b3e6b891c0a62964ae84e02f53e1
refs/heads/win
2020-04-05T23:23:20.288333
2016-06-20T20:32:22
2016-06-20T20:32:22
65,848,264
0
0
null
2016-08-16T19:38:05
2016-08-16T19:38:04
null
UTF-8
Python
false
false
904
py
from intelanalytics import * import socket, struct g_names = get_graph_names() print g_names dataset = r"../hadoop/graphflow/vast/lbp_graph.csv" schema = [('srcip', str),('dstip', str), ('conn', int32), ('srcbyte', int64),('dstbyte', int64),('srcpkt', int32),('dstpkt', int32)] csv_file = CsvFile(datas...
[ "gbabb@GBABB-MOBL.amr.corp.intel.com" ]
gbabb@GBABB-MOBL.amr.corp.intel.com
944cc2824756a387799def818559f116538c6532
4550a9d5fc83e91d7f14170d9522584c209bc4dc
/textsummarizer.py
f0b654ea181a6dae43f98bf9af315edbf557d506
[]
no_license
simranrawat/GO-PRECISE
b1843f470a3dce89682efde3c968de96e26dd948
63ccf0f068e1369eb0a3c402134af2332b107b85
refs/heads/master
2023-06-25T13:53:20.920626
2021-07-10T12:15:35
2021-07-10T12:15:35
384,616,278
1
0
null
null
null
null
UTF-8
Python
false
false
2,948
py
# -*- coding: utf-8 -*- """ Created on Wed June 15 07:34:08 2021 @author: simranrawat """ #Importing required libraries import nltk from nltk.corpus import stopwords from nltk.cluster.util import cosine_distance from nltk.tokenize import sent_tokenize import numpy as np import networkx as nx import re #Function to s...
[ "noreply@github.com" ]
simranrawat.noreply@github.com
11f4da4318e22047034b85dcb7539e271efad46e
d52a01b569fcafbb781c1ff005157f63f701c12e
/helloworld/bye.py
9ae938c8f0f104cd0a07a92dfb7e26b5f2c3747e
[]
no_license
spal1/random
54448ce4ed863e904491773540c039d7e8dea58c
c81a2eea514591e2583cc5a547ba68a404eaa4a8
refs/heads/master
2022-10-02T11:42:11.967958
2022-09-02T19:31:58
2022-09-02T19:31:58
112,392,703
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
def print_bye(): print('bye')
[ "noreply@github.com" ]
spal1.noreply@github.com
cfd73acc0827e0c3d60a61193162953908cc94ff
2d178948dfa35e7fea07fae9b455c29199276034
/M2M/migrations/0001_initial.py
257f76fbb9e5be96140f422e8c90c4398944e18d
[]
no_license
smanriquen/lmnts-api
a093e796ec5edb2538438f15f599f4a0b84b1e04
a10b339c89348908d024182cf538eb771fa1aa37
refs/heads/master
2021-01-10T04:13:25.705686
2016-01-17T21:41:35
2016-01-17T21:41:35
49,838,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,292
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='lecture', fields=[ ('id', models.AutoField(verb...
[ "Soleyda Manrique Naranjo" ]
Soleyda Manrique Naranjo
c8646953a253ca61f13f9b712348fe14c6b276c4
86cb924783d2b18a79e6f135dfb86a4881be7d87
/facebook_bot.py
062594f208138d68dbe9d5eb3cfea1ec9642fc2c
[]
no_license
vadla-lakshmidevi5/PythonBot
c089150a1604825481ff277ba93ead7b9db0a47c
3cec7dcdfa8cfb62618c84a88eb154057ff1672f
refs/heads/master
2021-01-21T21:29:23.701488
2017-06-20T10:31:50
2017-06-20T10:31:50
94,856,142
0
0
null
null
null
null
UTF-8
Python
false
false
6,048
py
import os import logging import time import requests from .coorcal import generate_coordinate logging.basicConfig( level=logging.ERROR, format='%(levelname)s: %(message)s') try: CLIENT_ID = os.environ['CLIENT_ID'] CLIENT_SECRET = os.environ['CLIENT_SECRET'] except KeyError as e: logging.error('You mu...
[ "noreply@github.com" ]
vadla-lakshmidevi5.noreply@github.com
a388e444b8e3f5e81960dffe79afb5a395d44c5c
a25e2aa102ffe9c2d9b553252a1882fe5a9d7ec9
/SprityBird/spritybird/python3.5/lib/python3.5/site-packages/openpyxl/formatting/formatting.py
ca562b09e2a12ddee21fe8ca8c472413569d9744
[ "MIT" ]
permissive
MobileAnalytics/iPython-Framework
f96ebc776e763e6b4e60fb6ec26bb71e02cf6409
da0e598308c067cd5c5290a6364b3ffaf2d2418f
refs/heads/master
2020-03-22T06:49:29.022949
2018-07-04T04:22:17
2018-07-04T04:22:17
139,660,631
4
1
null
null
null
null
UTF-8
Python
false
false
1,501
py
from __future__ import absolute_import # Copyright (c) 2010-2016 openpyxl from openpyxl.compat import iteritems, OrderedDict, deprecated from openpyxl.styles.differential import DifferentialStyle from .rule import Rule def unpack_rules(cfRules): for key, rules in iteritems(cfRules): for idx,rule in enume...
[ "909889261@qq.com" ]
909889261@qq.com
179d87e5809a2f068109fb5445af0e05cffbab1f
67856e70352a0789148b91c8d3e5431903e2d3bc
/packages/classification_model/build/lib/classification_model/processing/data_management.py
058d3ea7f0348cb209e23345946a1275c190ebab
[]
no_license
RamoDataScience/Deployment_Demo
c3d3e3951080d04992bf016ba9d37e1a292e484a
2c7c3b1a9445fe0d43bdca94f3a5fc8a03fc7074
refs/heads/main
2023-01-08T23:39:37.870849
2020-11-05T00:46:54
2020-11-05T00:46:54
306,639,552
0
0
null
2020-11-05T00:46:55
2020-10-23T13:05:23
Python
UTF-8
Python
false
false
1,952
py
import pandas as pd import joblib from sklearn.preprocessing import LabelEncoder from imblearn.pipeline import Pipeline from classification_model.config import config from classification_model import __version__ as _version import logging _logger = logging.getLogger(__name__) def load_dataset(*, file_name: str, l...
[ "azzouz.omar.zayen@gmail.com" ]
azzouz.omar.zayen@gmail.com
f2f503660cb416b4276951b9021d361ae00bc5f8
a56a74b362b9263289aad96098bd0f7d798570a2
/venv/bin/jupyter-serverextension
ee3c04b05b9c0eeb104333a5e6409bd21d07588f
[ "MIT" ]
permissive
yoonkt200/ml-theory-python
5812d06841d30e1068f6592b5730a40e87801313
7643136230fd4f291b6e3dbf9fa562c3737901a2
refs/heads/master
2022-12-21T14:53:21.624453
2021-02-02T09:33:07
2021-02-02T09:33:07
132,319,537
13
14
MIT
2022-12-19T17:23:57
2018-05-06T08:17:45
Python
UTF-8
Python
false
false
283
#!/Users/A202009066/Documents/private-github/ml-theory-python/venv/bin/python # -*- coding: utf-8 -*- import re import sys from notebook.serverextensions import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kitae.yoon@deliveryhero.co.kr" ]
kitae.yoon@deliveryhero.co.kr
1e17f23fd4fc3919a1165407f95e07c0435195be
abad82a1f487c5ff2fb6a84059a665aa178275cb
/Codewars/8kyu/freudian-translator/Python/test.py
ccece49a500303752883fdcb55bc12ed42a76600
[ "MIT" ]
permissive
RevansChen/online-judge
8ae55f136739a54f9c9640a967ec931425379507
ad1b07fee7bd3c49418becccda904e17505f3018
refs/heads/master
2021-01-19T23:02:58.273081
2019-07-05T09:42:40
2019-07-05T09:42:40
88,911,035
9
0
null
null
null
null
UTF-8
Python
false
false
384
py
# Python - 2.7.6 Test.describe('Basic tests') Test.assert_equals(to_freud('test'), 'sex') Test.assert_equals(to_freud('sexy sex'), 'sex sex') Test.assert_equals(to_freud('This is a test'), 'sex sex sex sex') Test.assert_equals(to_freud('This is a longer test'), 'sex sex sex sex sex') Test.assert_equals(to_freud("You'r...
[ "d79523@hotmail.com" ]
d79523@hotmail.com
3402e0e687dd9e3408bec8a0f17c30eeb8971663
e804e0e236a7bdcb8a4eb9aa055f75df80c94ba9
/tool/exporter.py
c977ea43d2482fc91f3c49d39d8b30071c46d234
[ "Apache-2.0" ]
permissive
Chomolungma/CUDA-PointPillars
04a6d86cbab0511a619f8c0b8bae100399e9a555
3e1959448366c273914ec5024db39ed4e8c8dcdd
refs/heads/main
2023-09-05T08:03:29.905912
2021-11-16T06:46:08
2021-11-16T06:46:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,325
py
# SPDX-FileCopyrightText: Copyright (c) 2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # 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 # # ht...
[ "leif@nvidia.com" ]
leif@nvidia.com
cdaa6f211aeb5cc55740bc58e7f01805a0b77bca
d37a5e3d5c1b5ddca65535f68e14a18f7fbfd35c
/setup.py
a1acb2470f4eb09308c4e9f8845fb8e3172c280e
[ "MIT" ]
permissive
CostelloLab/GSEA-InContext_noTk
9c7ebc08d34673b8118cf2423be2951c5717fb31
ee1a845cc978cb0da8d296b51e3f36dc26234a63
refs/heads/master
2020-08-04T02:04:44.419373
2019-10-01T02:31:20
2019-10-01T02:31:20
211,963,332
0
0
null
null
null
null
UTF-8
Python
false
false
2,413
py
# -*- coding: utf-8 -*- import sys, os from setuptools import setup from setuptools.command.test import test as TestCommand __version__='0.1.3' if sys.argv[-1] == 'publish': os.system("python setup.py sdist bdist_wheel register upload") print("You probably want to also tag the version now:") print(" git ...
[ "rani.schwindt@gmail.com" ]
rani.schwindt@gmail.com
5a818fab56d409a50cc26e344898028634b01480
99bac71bc39d3207d8bcb5eac38f0a70dc2f8e2a
/results/migrations/0004_testresult_name.py
8aaa85e5332cc071752b37c859f0ae5d82a3dc5b
[]
no_license
yangjin795/fw_ads_regression
f6e85e05b0f6c532c33255ac4da85f99c1cff135
dd89b5a3f791534dd733dc6a1533912dd63b198d
refs/heads/master
2020-05-20T15:55:53.693224
2015-05-13T02:17:14
2015-05-13T02:17:14
35,481,366
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('results', '0003_testresult_user_run'), ] operations = [ migrations.AddField( model_name='testresult', ...
[ "yangjin795@gmail.com" ]
yangjin795@gmail.com
0439b9fc230bb682521188a11cbc33466789d87b
6ff60419ca835e867ee2feaca3b8a28c6f38c11e
/Assignment 3/bagging_random_forest.py
56e8ddce89249d68fd0572a3fe001e2ba91998f5
[]
no_license
melissaruiz1/Machine-Learning
9d3b4f5e7c0ec09c8d123a6cdec76da6719e4fdc
5e5e59e57a3c697603cc7273cf18f4ac8108cd7a
refs/heads/master
2023-04-20T01:00:05.876868
2021-05-08T10:06:01
2021-05-08T10:06:01
340,584,605
0
0
null
null
null
null
UTF-8
Python
false
false
6,145
py
#------------------------------------------------------------------------- # AUTHOR: Melissa Ruiz # FILENAME: bagging_random_forest.py # SPECIFICATION: Reads optdigits.tra and optdigits.names data to build a base classifier by using a decision tree, ensemble classifier # and Random Forest. Also uses optdigits.tes t...
[ "noreply@github.com" ]
melissaruiz1.noreply@github.com
ae2e01ca590c5cb75a355055811d9dbd3a5f22f5
f352d67fdc6e5538eb02befc40c5f5e39c9bc39c
/pythonProjectA/asgi.py
36d6b62a4d32651eabe07c11630a52f3841253ce
[]
no_license
alminAl/djangoDemoProject-CSE-309-Fall-2020-Section-A
afea38a4d29d459caf674d6c557de657ab6b917c
7c01b576bb43b973702ef5c1c19de081d575f376
refs/heads/master
2023-04-13T15:52:35.507571
2021-04-12T12:47:57
2021-04-12T12:47:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" ASGI config for pythonProjectA 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('DJANG...
[ "nahiyan.uddin.102@gmail.com" ]
nahiyan.uddin.102@gmail.com
6680f9ee81f79ebef6d315b578c7f819f089642f
3458e9045a51edf16085b62b5eda8d65a74953ab
/venv/Scripts/pip3.6-script.py
e63c33274fa47ff4bd4a4b9ea0502e1e2e19cfbf
[]
no_license
loulousky/Python-Pygame-
b458363c47bfc47b65ace252b0e7b177905b92f3
338d5e513f15b561d46658b46678a54355637b8c
refs/heads/master
2020-03-13T04:48:46.286279
2018-04-25T08:32:10
2018-04-25T08:32:10
130,970,441
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
#!D:\AlineGame\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3.6' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( ...
[ "185587041@qq.com" ]
185587041@qq.com
c2920716e642a79a0275dab86808fb330db8cbbc
29ff4bf301650698e214449cc3db022fe48b07f6
/tools/ltlnba/Jurdzinski.py
c41163fbc1a100f2550fce1cf56bc84e829a6fda
[ "MIT" ]
permissive
arafato/ltl2fsm
9b7aca994959544fa1f985065ad3e4d35aabc512
58d96c40fe0890c2bcc90593469668e6369c0f1b
refs/heads/master
2021-01-01T17:42:38.241633
2014-09-29T13:09:26
2014-09-29T13:09:26
24,595,228
2
0
null
null
null
null
ISO-8859-1
Python
false
false
6,130
py
# ----------------------------------------------------------------------------- # LTL -> NBA # Copyright (C) Carsten Fritz, Björn Teegen 2002-2003 # Sponsored by Deutsche Forschungsgemeinschaft (DFG) # Distributed under the terms of the GNU Lesser General ...
[ "g@gh.com" ]
g@gh.com
7a213ed54e27c702f99dcee094f63c4225126306
efb3b25293fd073007332b2a7b4295c21643342d
/app/migrations/0004_4.py
2ccd48db32fed3f3ab56af8f3cef6afb64eb413a
[]
no_license
daniloaldm/tech
59efd53d123e810789ee1440d62e4063948950e0
3f2da032abe0d8e3d1b2dfee5014d96f1e0e9a6d
refs/heads/master
2023-01-19T06:52:22.947204
2020-11-19T12:18:14
2020-11-19T12:18:14
274,703,290
5
1
null
2020-11-19T12:18:15
2020-06-24T15:25:55
Python
UTF-8
Python
false
false
703
py
# Generated by Django 3.0.7 on 2020-06-26 00:49 from django.db import migrations def populate_rammemorys(apps, schema_editor): RamMemory = apps.get_model('app', 'rammemory') [ RamMemory(ram_memory="Hiper X", ram_memory_size=4).save(), RamMemory(ram_memory="Hiper X", ram_memory_size=8).save()...
[ "danilo.alexandrinodm@gmail.com" ]
danilo.alexandrinodm@gmail.com
2c2e336ab747dbdb1f5feca82e9d6644c1bdbe5d
90f52d0348aa0f82dc1f9013faeb7041c8f04cf8
/wxPython3.0 Docs and Demos/demo/PenAndBrushStyles.py
62c8f033f0917a085babb249479e55f1e22d50ef
[]
no_license
resource-jason-org/python-wxPythonTool
93a25ad93c768ca8b69ba783543cddf7deaf396b
fab6ec3155e6c1ae08ea30a23310006a32d08c36
refs/heads/master
2021-06-15T10:58:35.924543
2017-04-14T03:39:27
2017-04-14T03:39:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,093
py
import wx import images pen_styles = ["wx.SOLID", "wx.TRANSPARENT", "wx.DOT", "wx.LONG_DASH", "wx.SHORT_DASH", "wx.DOT_DASH", "wx.BDIAGONAL_HATCH", "wx.CROSSDIAG_HATCH", "wx.FDIAGONAL_HATCH", "wx.CROSS_HATCH", "wx.HORIZONTAL_HATCH", "wx.VERTICAL_HATCH", "wx.USER_DASH"]...
[ "869999860@qq.com" ]
869999860@qq.com
cfb20ae27607364005a23d811d3836639a73b19b
afbcee5187c88b52b416fa742baa825c14cd9d7c
/CarelinkUploadDownload/CheckForUSB.py
05a26260d92f1453d9ac28d1a045f75d741e33a6
[]
no_license
brendlin/BGSuggest
7fae8665e8c2ea9d60980f3f3e5d57be406dd290
c2ad6019e323d22358f5a1af35f6683a96a6366d
refs/heads/master
2021-01-17T07:08:12.729631
2019-07-29T17:47:35
2019-07-29T17:47:35
15,495,317
0
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
import sys import usb.core # Put the following lines in your bash_profile: # export PYTHONPATH=$PYTHONPATH:$HOME/pyusb-1.0.0rc1 # export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$HOME/libusb/lib def CheckForUSB() : found = False var_usb_device = usb.core.find(find_all = True) for var_dev in var_usb_device...
[ "kurt.brendlinger@cern.ch" ]
kurt.brendlinger@cern.ch
03b2d6fea8a83b357cf831a1d4fa473634d42b0d
25e4bb9fbf3b1f3f25e3615d11118df4732dd5c0
/src/data/reddit data.py
d05ca2322b9bc5a6b8ffc6a00b4525f5dde9412c
[]
no_license
sarveshshah/Twitter-Sentiment-Analysis
9a02dd7ba41d4bae207abdb74d5420168eff7f28
6f5076d975ede50f66d1f656ef51b3c769960231
refs/heads/master
2023-01-02T05:39:32.803900
2020-10-22T18:13:51
2020-10-22T18:13:51
283,607,887
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
# import statements import json import praw import pandas as pd def get_data(subreddit, search_term): """Function extracts data from reddit API Arguments --------- subreddit : str The subreddit the comments need to be extracted from search_term : str The search term to search for...
[ "42857596+sarveshshah@users.noreply.github.com" ]
42857596+sarveshshah@users.noreply.github.com
89385b572dbcab518e262490b113429aacecc71b
f7639b64190b29edf7c0f5c315546244fbc1639b
/ALeum/wsgi.py
c4e30071fe477e1c715f6391232eb756cce97077
[]
no_license
mseo39/A-Leum
70b17902dbdb9a507f50cd67036adff6d523b486
8cdb2dad6cf29c682b949a01ef0b0633d9e0d288
refs/heads/master
2023-01-05T08:13:27.876586
2020-10-31T19:18:17
2020-10-31T19:18:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for ALeum 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.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "wwan13@naver.com" ]
wwan13@naver.com
88a2a0e5b53b287abc0273e7f10b2819bb07f481
e849930be5b66cef63f7935bd9e58ce0b4b0b1c6
/qiskit/aqua/operators/state_fns/circuit_state_fn.py
b19632e25586eaa5e88b8c127dc0db37bb81423f
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gabrieleagl/qiskit-aqua
cf26373997cd31c2185f5bef78d54441d87f8aa1
521d505a6483985c039dcfb71f7d517471cff441
refs/heads/master
2023-03-07T19:15:15.175536
2020-10-14T07:12:04
2020-10-14T07:12:04
304,029,022
0
0
Apache-2.0
2021-02-19T17:37:12
2020-10-14T13:46:13
null
UTF-8
Python
false
false
17,660
py
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
[ "noreply@github.com" ]
gabrieleagl.noreply@github.com
ca280e11e5755326c3e14cc7ee11129e117bf53c
5b6c2cab8aa5c4765148447920b8c00aedb72ed1
/planilha_generator.py
68349e687847ed4c8b3825ec1bfc04c6f6ed27c4
[]
no_license
js-bruno/Faker_Generates_Lines
a9af342f5b56424d84292a5114e62cd09927cae6
8b670eec02ef112d68d45165d864098cde390f11
refs/heads/master
2022-03-05T19:32:39.224555
2019-11-20T19:57:36
2019-11-20T19:57:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,944
py
from faker import Faker from cpfecnpj import generate_cpf from datetime import datetime faker = Faker() import random # for i in range(0,1000): # pessoa = { # "nome" : faker.name(), # "apelido" : faker.first_name(), # "nasc" : str(faker.date_of_birth()), # "email" : faker.email(), #...
[ "ann4santosf@gmail.com" ]
ann4santosf@gmail.com
e184433261654f1e09efb557b3037e57f2b7a13e
dca232d51f508edbb37e85f6744e22fb1c9a5a20
/lifesaver/bot/exts/health.py
4f04ccc66e0aa4c4da0b593ea6ec31633e0aaa48
[ "MIT" ]
permissive
Gorialis/lifesaver
835d0fda04b7d8a436f37184b6419a7ab46fe885
3a91c5e5ec60dce0c076d83d984c3a270113e484
refs/heads/master
2021-08-31T10:13:25.219124
2017-12-21T01:53:22
2017-12-21T01:53:22
114,949,865
0
0
null
2017-12-21T01:52:07
2017-12-21T01:52:06
null
UTF-8
Python
false
false
335
py
from discord.ext.commands import command from lifesaver.bot import Cog class Health(Cog): @command() async def ping(self, ctx): """Pings the bot.""" ping_time = round(ctx.bot.latency * 1000, 2) await ctx.send(f'Pong! Heartbeat latency: `{ping_time}ms`') def setup(bot): bot.add_co...
[ "cheesy.fried.bacon@gmail.com" ]
cheesy.fried.bacon@gmail.com
200759a47feab7f4b6f26cbe9f4f2092f4c5b02e
118ee52350ffaeb87c6b46bcdf59ad7eb31018a3
/bse_filter.py
bf4744e74677c80dfa50fdb5b90726f680ab929e
[]
no_license
zaidrpm/Data_Analysis_GDP_vs_Sensex
6d41c999b27a4cbe3134a1c69f57576dd167a5d6
bdda93f7a0209cc100cb67fadce827f2c9819fb7
refs/heads/master
2022-07-30T09:14:18.610439
2020-05-24T00:12:02
2020-05-24T00:12:02
266,440,965
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
import pandas as pd df=pd.read_csv("BSESN.csv") nr=len(df) dfout={"year":[],"value":[],"rate":[]} (year,high,low)=(0,0,0) last=4100 for i in range(nr): temp=df.ix[i,"Date"] y=temp.split('-')[0] if(y!=year): if(year!=0): val=int((high/12+low/12)/2) dfout["year"].append(year) dfout["value"].app...
[ "zaidzakirpm@gmail.com" ]
zaidzakirpm@gmail.com
774ac47a0f6c5172d745e86ec2e211a1d8970ad4
c97d3c8848e4f03edb6c64b6abff530a6e74d616
/apps/__init__.py
9dc47c4de6093e3511f7fe4e63949ac44c74b162
[ "Apache-2.0" ]
permissive
simhaonline/Django_web
eeb80d8f32a460258fceb30ecececd7410949f72
f7df1a7b101d41835a334b78cddf3570968799e4
refs/heads/master
2023-04-24T23:33:51.535515
2021-04-02T15:20:29
2021-04-02T15:20:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
#!/usr/bin/python # -*- coding: utf-8 -*- # __author__ : stray_camel # __description__ : # __REFERENCES__ : # __date__: 2020/05/25 10 from .constants import system_name, description __all__ = [ 'description', 'system_name', ]
[ "aboyinsky@outlook.com" ]
aboyinsky@outlook.com
8b2d7a57a2cae4f86e13e5c2848e1198536d3e81
f9b1c6802852b128130216bff3a0df8563582e8c
/src/day14.py
7c6f0dec8ad4eb14a012a0cc00feda1aba13b719
[ "MIT" ]
permissive
blu3r4y/AdventOfCode2018
51795d3de2d387429e16137bd0d8d10b64b6843e
5ef6ee251f9184e0f66657d0eb8b5b129a6f93e5
refs/heads/master
2020-04-09T01:03:38.848013
2019-06-23T18:22:39
2019-06-23T18:22:39
159,890,466
2
1
null
null
null
null
UTF-8
Python
false
false
2,240
py
# Advent of Code 2018, Day 14 # (c) blu3r4y def part1(num_recipes): recipes = [3, 7] elf0, elf1 = 0, 1 while len(recipes) < num_recipes + 10: # combine and pick recipes combine(recipes, elf0, elf1) elf0, elf1 = pick(recipes, elf0, elf1) # the 10 recipes after the num_recipes ...
[ "mario.kahlhofer@gmail.com" ]
mario.kahlhofer@gmail.com
53a41b42bf196393421abef5c3f6ccc7c2499123
ef8a6fc065dadaa27e0c1df0fd6084ace8875e4a
/server.py
f145405d063166608cb0364a6d8c9bdd535c705f
[]
no_license
nara58/receive-img-flask
25c282b474fdc4384772f8e18cbe6bf6b6584ce3
8a24c0b9dd14a643262f26ba0d5e35362a1ec792
refs/heads/main
2023-04-08T16:29:24.412712
2021-04-19T14:19:01
2021-04-19T14:19:01
358,792,879
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
py
from flask import Flask, request, Response import jsonpickle import numpy as np import cv2 import os UPLOAD_FOLDER = '/home/nisa2027/mysite' # Initialize the Flask application app = Flask(__name__) app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER # route http posts to this method @app.route('/api/test'...
[ "noreply@github.com" ]
nara58.noreply@github.com
489263d0caaceebaa18c38e6bb54193a10781b54
65e4a8a424fcdc46f3f43db384eee7138d9f6080
/main.py
30f10f382a4280f0e37d4c8d8c30ed43e07e03dd
[ "MIT" ]
permissive
cyberbeast/viagogochallenge
cc5c4a78728bdcc2f74abbb61256f4f9bc906298
b1262a3bb458a410e1e175335e9e6612bf7444fb
refs/heads/master
2021-05-15T21:12:25.827361
2017-10-16T13:17:22
2017-10-16T13:17:22
106,349,918
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
from world import World if __name__ == "__main__": newWorld = World() # Initialize a new object of World type. newWorld.randomPopulate() # Call randomPopulate() on this object to randomly generate coordinate/event data. print("Please Input Coordinates:") x, y = input("> ").split(',') # Get user input ...
[ "sandeshgade@gmail.com" ]
sandeshgade@gmail.com
bc7b19fc468b32a8d33bf340706ea770c075b7c2
e2342ec3bf8424857f0313fb2efb7e7f93005e56
/manage.py
7c558eda265bf2410d6489be9dcee50ad4fa6455
[]
no_license
andreramosilva/bucket_list
a7673caca3b16de1818bc8f1e6c842f82cfcab89
79528b90c3debae34f5c1daf3215d4672f397d76
refs/heads/master
2022-12-11T05:31:04.501074
2020-09-03T14:34:49
2020-09-03T14:34:49
292,299,883
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
# manage.py import os from flask_script import Manager # class for handling a set of commands from flask_migrate import Migrate, MigrateCommand from app import db, create_app from app import models app = create_app(config_name=os.getenv('APP_SETTINGS')) migrate = Migrate(app, db) manager = Manager(app) manager.add_...
[ "andre-ramos1994@hotmail.com" ]
andre-ramos1994@hotmail.com
3e9be943b29edc979e16250aaf978ea1d20d10ee
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/BokhFunYBvsvHEjfx_23.py
9fe657485bb955529d5c399ff9aa5dfe1f3e1652
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
def seven_boom(lst): return "Boom!" if "7" in "".join([str(x) for x in lst]) else "there is no 7 in the list"
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b2ab0e8ccf3f30ede7971f81298d6da053b380ab
f058cd1ec57b2e24430605883387b1c34391a2e3
/blender_tests/main.py
221a14485d090e140a70b215f4b2a1cc33c25b3a
[]
no_license
Danny-Dasilva/Blender_Mediapipe
9a2966f38e3e6a9aea503eed1bdcc0e4e2ebc502
80cbd45e721bc12759d26c317f3a57b6176e1af5
refs/heads/main
2023-04-21T09:49:47.200918
2021-05-15T01:03:40
2021-05-15T01:03:40
365,960,178
5
0
null
null
null
null
UTF-8
Python
false
false
240,191
py
import json import os import bpy from bpy import context from bpy_extras.io_utils import ImportHelper from bpy.types import Operator from bpy.props import StringProperty, BoolProperty, EnumProperty import math import bpy import math import bpy class Test_PT_Panel(bpy.types.Panel): bl_idname = "MOCAP_IMPORT_PT_Pa...
[ "yahchayildasilva@gmail.com" ]
yahchayildasilva@gmail.com
c292a34e703bcbd3e7ff5546e6687e44b6960ebf
5355010e70e5f3321f6adedb2842e352d05310e8
/src/generate_synthetic.py
4e4d3754dd5a4b623096bcef5dbd0814f663734a
[ "MIT" ]
permissive
INFORMSJoC/2021.0009
6036d1416277749d1444f95a187a8b559ff53501
b64611eb9eb5cd61a67ceee532ad4fb64c417753
refs/heads/main
2023-04-17T09:26:14.487033
2022-10-03T13:03:33
2022-10-03T13:03:33
518,458,517
0
1
null
null
null
null
UTF-8
Python
false
false
7,012
py
from sklearn.datasets import make_regression import pandas as pd import numpy as np #from dataprocessor2 import * #from neds_proc import * import random import matplotlib import matplotlib.pyplot as plt from sklearn.preprocessing import normalize import pickle import time import csv import matplotlib import matplotlib...
[ "noreply@github.com" ]
INFORMSJoC.noreply@github.com
6b04f7e4f9494098b9ab4ae066fb5dab31efea9c
ed63e6f361c074f4edd27cbd2c0e8582df1cec21
/src/python/pants/backend/python/goals/repl.py
c0e1a8688cdc1b8d43fc89a112cff2ab8c126958
[ "Apache-2.0" ]
permissive
SfinxCZ/pants
05ada9654dc804b3886168bde6b32aab2b9f6b63
70f0cd78db860b86c8a611e658e745dffa3f04fc
refs/heads/main
2023-07-18T23:15:32.482366
2021-09-07T17:16:28
2021-09-07T17:16:28
392,807,832
0
0
Apache-2.0
2021-08-04T19:42:54
2021-08-04T19:42:53
null
UTF-8
Python
false
false
4,351
py
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from pants.backend.python.subsystems.ipython import IPython from pants.backend.python.util_rules.pex import Pex, PexRequest, pex_path_closure from pants.backend.python.util_rules.pex_envir...
[ "noreply@github.com" ]
SfinxCZ.noreply@github.com
14aec2d95247779ac19a4b6b89355fff3952b218
35fd13b2dbf89d24fb7d09fb2af2c3222131327c
/receives/forms.py
d44c3eeb197f51719ff363414f2b45d476ee87ef
[]
no_license
ORuan/email-list
26d68ff82ab691cc842a9f04c19f82ad06ba814a
c3a19f28a2dfbc208f924c78dffe66c89782cf4f
refs/heads/main
2023-02-17T23:09:43.369940
2021-01-18T11:08:44
2021-01-18T11:08:44
329,087,448
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
from django.forms import ModelForm from django.contrib.auth.models import User from receives.models import Campaign class UserForm(ModelForm): class Meta: model = User fields = ['first_name', 'last_name', 'username', 'password', 'email'] class CampaignForm(ModelForm): class Meta: mod...
[ "ruanpablomp@gmail.com" ]
ruanpablomp@gmail.com
2f7cf19e2b4f8884bb62598893dc5e40ff835d7a
65194510131605fa6e75c8e48c9f07c489c64d4e
/Exercícios de Python/atv035.py
94ad4252e40303830e8011ac1eb053a18cbba47c
[ "MIT" ]
permissive
Lucas-Moura-Da-Silva/Python-Estudo
efefc57b97d72c9b5e216063b5b2a571995c0f39
ce5f2a0c386f4aa9ea237e4df095b570c40f53ca
refs/heads/master
2022-04-19T15:55:42.687984
2020-04-14T20:47:43
2020-04-14T20:47:43
255,721,642
0
0
null
null
null
null
UTF-8
Python
false
false
1,396
py
from datetime import date #cores cores = {'limpa':'\033[m', 'vermelho':'\033[1;31m', 'ciano':'\033[1;36m', 'roxo':'\033[1;35m', 'azul':'\033[1;34m', 'amarelo':'\033[1;33m'} sexo = input('Qual é o seu sexo? ').lower() ano = int(input('Qual o ano em que você nasceu? ')) #ca...
[ "lucas.silva566949@gmail.com" ]
lucas.silva566949@gmail.com
54e543b65fc82e54b20662da17985ea10715f9ca
3bc38b6fc9570217143d056762be4bf52db2eb1f
/leetcode_practice/242.py
a4b1a8883520b6e7c085d87b9745d4fcae2dc33d
[]
no_license
yangyuebfsu/ds_study
6638c260dfdb4a94365c2007d302833b455a4a59
883f9bab2dbce4f80f362c30b8564a942f66fb1e
refs/heads/master
2021-02-07T13:20:54.773840
2021-01-21T05:55:09
2021-01-21T05:55:09
244,031,249
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
''' 242. Valid Anagram Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" Output: true Example 2: Input: s = "rat", t = "car" Output: false Note: You may assume the string contains only lowercase alphabets. ''' class ...
[ "yueyang@yuedeMacBook-Pro.local" ]
yueyang@yuedeMacBook-Pro.local
a9cd31e7a9b8e0d0c42279b8e5e8d8e7d96de41b
68100d11ae2ed2dcf19e6f91950b0103f7df5b56
/12 - Conditionals/conditionals - 2.py
4f7d82f25c99794dd4b590dea82c618492c263b2
[]
no_license
johnyildr/Homework-Answers
8dbe81132c9f648d5988b331ca24f12bf0d96cf1
78e4ef8cf4382ba3895378e452f080e4cb275acd
refs/heads/master
2022-12-14T10:22:31.339907
2020-09-16T19:19:43
2020-09-16T19:19:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
#----------------------------------------------------------------------------- # Name: New File Generator (newFile.py) # Purpose: Homework Solution # # Author: Mr. Brooks # Created: 14-Sept-2020 # Updated: 14-Sept-2020 #----------------------------------------------------------------------------...
[ "brooksprench@hdsb.ca" ]
brooksprench@hdsb.ca
06ac0c26f4a823320a256802b99eb32a4ae23e75
6a898e2795e3f76b538a857122c2fd07b688c289
/allennlp/data/dataset_readers/penn_tree_bank.py
3448cca7b5f57a7375dab461b034aba713fd96a9
[ "Apache-2.0" ]
permissive
pkoduganty/allennlp
035feee16b808711a2d1b9a81f42828f8e97bbaf
ab4aeb28f1b81747c985a188b6c4c569c02aaa75
refs/heads/master
2021-09-06T06:07:41.774736
2018-02-03T01:31:02
2018-02-03T01:31:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,624
py
from typing import Dict, List, Tuple import logging import os from overrides import overrides # NLTK is so performance orientated (ha ha) that they have lazy imports. Why? Who knows. from nltk.corpus.reader.bracket_parse import BracketParseCorpusReader # pylint: disable=no-name-in-module from nltk.tree import Tree f...
[ "noreply@github.com" ]
pkoduganty.noreply@github.com
215ae92a7fe987232180e57debe40043791f172c
386cf667134c1db3242823b33bd5537a462ce986
/app/user/urls.py
63d01ec10c4268b0bd2c2b07d1cf5c2bdea21b1d
[ "MIT" ]
permissive
mukulkkumar/docker-travis-django
795aaff47e54a211e16cc32104693e80c3634210
de1d6471538ff2b86f97ee7742bb548875c0b39b
refs/heads/main
2023-04-22T04:07:01.554172
2021-05-15T04:52:36
2021-05-15T04:52:36
364,581,976
1
0
MIT
2021-05-15T04:52:37
2021-05-05T13:15:13
Python
UTF-8
Python
false
false
285
py
from django.urls import path from user import views app_name = 'user' urlpatterns = [ path('create/', views.CreateUserView.as_view(), name='create'), path('token/', views.CreateTokenView.as_view(), name='token'), path('me/', views.ManageUserView.as_view(), name='me'), ]
[ "mukulkkumarr@gmail.com" ]
mukulkkumarr@gmail.com
f28db8b6dbaf02135733b5ab23bc816897cee199
610a0cf29a3fdcf89f18cee44162a7b93c382870
/01_3rd_party_cookie.py
08902b3295a576ca642181eb46a72409165f5919
[]
no_license
Kazushi-habuchi/terakoya_test
efce6a9957a5357a9ccb9d2ab34c7451ce94665e
7a7b76aec91d53839020620bf8eb27ed466221ff
refs/heads/main
2023-06-10T11:03:29.843672
2021-07-07T08:59:11
2021-07-07T08:59:11
381,288,539
0
0
null
2021-07-07T08:49:36
2021-06-29T08:10:49
Python
UTF-8
Python
false
false
914
py
from flask import Flask, render_template, request, make_response, send_file app = Flask(__name__) @app.route('/') def main(): host = request.headers['HOST'] if host == 'car.com:5000': return make_response(render_template("01_car_com.html")) elif host == 'news.com:5000': return make_respon...
[ "k.habuchi@kiyono-co.jp" ]
k.habuchi@kiyono-co.jp
188eb8c5c11d22b9bb3cb7f4979d1aa0b3255125
dbe012dbedc967332ae58414473185055136d189
/maskrcnn_benchmark/structures/bounding_box.py
b450da8827054cb4c651ba6949b6fdac5b95ee18
[ "MIT" ]
permissive
kevincao91/maskrcnn
87561a023939a71d624252dd44f4c882b2dfa2a6
a55f6ab82219329e353a20dd53c3f25f4375f537
refs/heads/master
2020-09-24T18:41:36.565752
2020-05-07T05:45:39
2020-05-07T05:45:39
225,819,004
0
0
null
null
null
null
UTF-8
Python
false
false
9,755
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch # transpose FLIP_LEFT_RIGHT = 0 FLIP_TOP_BOTTOM = 1 class BoxList(object): """ This class represents a set of bounding boxes. The bounding boxes are represented as a Nx4 Tensor. In order to uniquely determine the bou...
[ "kevin_cao_91@163.com" ]
kevin_cao_91@163.com
195acfed550afda5b0f4017b4155fcc4eeac62c8
24be9fb91adc3aad26984e483c99521674a85250
/calculateAverages.py
8e94ad441912313a0ac4e5b327094891133319dc
[]
no_license
exiledwolfking/movieRater
f033a4189e3be25195a45fd03deac664a5a44540
730967b6493d77b5766cc812b9496e508a6729c1
refs/heads/master
2020-03-12T08:13:03.244596
2019-05-25T17:29:01
2019-05-25T17:29:01
130,522,748
0
0
null
2019-05-25T17:29:02
2018-04-22T00:39:39
Python
UTF-8
Python
false
false
2,531
py
#!/usr/bin/python import consts from dbClasses import * from pymodm import connect import datetime import logging logFormatter = logging.Formatter('%(asctime)s [%(threadName)-12.12s] [%(levelname)-5.5s] %(message)s') rootLogger = logging.getLogger() filePath = consts.PATH + "/cronErrors.log" fileHandler = logging.Fi...
[ "kylebwahl@gmail.com" ]
kylebwahl@gmail.com