blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
54d72878eac09a4ed9b40f9ef8fdc315b10a7f4d
99259216f11b15ec60446b4a141b3592a35560ce
/wex-python-api/test/test_json_node.py
c75004f2b70287a8c291d81ea8751f09dcf73ca6
[]
no_license
adam725417/Walsin
296ba868f0837077abff93e4f236c6ee50917c06
7fbefb9bb5064dabccf4a7e2bf49d2a43e0f66e9
refs/heads/master
2020-04-12T14:14:07.607675
2019-03-05T01:54:03
2019-03-05T01:54:03
162,546,202
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
# coding: utf-8 """ WEX REST APIs Authentication methods - Basic Auth - JSON Web Token - [POST /api/v1/usermgmt/login](#!/User/signinUser) - [POST /api/v1/usermgmt/logout](#!/User/doLogout) - Python client sample [Download](/docs/wex-python-api.zip) OpenAPI spec version: 12.0.2.417 Generate...
[ "adamtp_chen@walsin.com" ]
adamtp_chen@walsin.com
67ceb865d11bf7d82086694f8879b057f68bf848
864285315c3a154639355f14ab1ff14633576405
/mapclientplugins/segmentationstep/tools/handlers/abstractselection.py
4315d4f55f509d3c4b410e9a7a07ad7b29f48cb1
[]
no_license
hsorby/segmentationstep
774dc537967c9643bd0094dc4e64eefa472588b0
321505374f9434ac0ae832b0b00398c2d4ac1fbe
refs/heads/main
2021-09-28T09:06:07.197158
2015-08-14T07:59:55
2015-08-14T07:59:55
21,375,254
0
0
null
null
null
null
UTF-8
Python
false
false
5,527
py
''' MAP Client, a program to generate detailed musculoskeletal models for OpenSim. Copyright (C) 2012 University of Auckland This file is part of MAP Client. (http://launchpad.net/mapclient) MAP Client is free software: you can redistribute it and/or modify it under the terms of the GNU General Publi...
[ "h.sorby@auckland.ac.nz" ]
h.sorby@auckland.ac.nz
6fbd126342d2762103a2aff7486d0ce1305afb29
28297b7172bad2e427db185d449056340be2a429
/src/join_pairs.py
3bca92e18b11ac0a0c113c6e7492e6e049cf7c5b
[]
no_license
audy/cd-hit-that
6a3480c01c7930751325acbd716202ad514562da
27922835ebace8bcdcf8d7118ec2e05e11e5e9fa
refs/heads/master
2021-01-01T15:31:01.604403
2011-08-02T20:33:47
2011-08-02T20:33:47
1,357,454
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
#!/usr/bin/env python # outputs a FASTQ file but with its filename in the header (sorta) # Also puts paired reads together with their 5' ends touching # This is for clustering # Takes input from STDIN import sys import os from itertools import cycle import string _complement = string.maketrans('GATCRYgatcry','CTAGYR...
[ "harekrishna@gmail.com" ]
harekrishna@gmail.com
ac4d6e76ee26b19ee2ff04a77b386ed4cf0059c9
f7c1282dd377b95621436587fd2a6cb28a455d74
/om_hr_payroll/__manifest__.py
2c39fcc961672ef5c2c5369414d6b86b5a869f74
[]
no_license
odoomates/odooapps
a22fa15346694563733008c42549ebc0da7fc9f6
459f3b25d31da24043523e72f8be09af9a1e67e9
refs/heads/master
2023-08-11T15:25:28.508718
2022-10-14T07:58:36
2022-10-14T07:58:36
173,598,986
182
306
null
2023-08-10T17:58:46
2019-03-03T16:20:23
Python
UTF-8
Python
false
false
1,550
py
# -*- coding:utf-8 -*- { 'name': 'Odoo 16 HR Payroll', 'category': 'Generic Modules/Human Resources', 'version': '16.0.1.0.0', 'sequence': 1, 'author': 'Odoo Mates, Odoo SA', 'summary': 'Payroll For Odoo 16 Community Edition', 'live_test_url': 'https://www.youtube.com/watch?v=0kaHMTtn7oY', ...
[ "odoomates@gmail.com" ]
odoomates@gmail.com
44f758bb7c8d4183146ac4198ba226b5ea1ab1a6
ea515ab67b832dad3a9b69bef723bd9d918395e7
/03_Implementacao/DataBase/true_or_false_question_while_and_for_cicles/question/version_2/answers_program.py
bce77d50a8726979edc4b446b00a9c0313e7c11d
[]
no_license
projeto-exercicios/Exercicios-Python-de-correccao-automatica
b52be3211e75d97cb55b6cdccdaa1d9f9d84f65b
a7c80ea2bec33296a3c2fbe4901ca509df4b1be6
refs/heads/master
2022-12-13T15:53:59.283232
2020-09-20T21:25:57
2020-09-20T21:25:57
295,470,320
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
answer_1_true = while_cicle(48) answer_2_true = p answer_3_true = print_indexes(69) print(answer_1_true) print(answer_2_true) print(answer_3_true)
[ "ruski@milo.com" ]
ruski@milo.com
f0284d22965f628a9a0b899b316fe6e649b59ee5
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/same_place/own_number/bad_way_or_year/different_week_or_able_work.py
66bfb32cdb2de9f544d9b8a983695a71eb049913
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#! /usr/bin/env python def place(str_arg): find_world_by_case(str_arg) print('point_and_little_problem') def find_world_by_case(str_arg): print(str_arg) if __name__ == '__main__': place('last_day')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
d22510d282ed3e0b33f8d3e501117b4b8527cca0
91438802ee114b2fb945aae4105a17993dd6953d
/build/learning_ros_noetic/Part_5/ur10_robot/ur_traj_client/catkin_generated/pkg.installspace.context.pc.py
4807c4137df7658f74a42609d61315e95299f603
[]
no_license
AlexLam616/Baxter-robot
3a4cef31fe46da0fdb23c0e3b5808d84b412d037
d10fdcd35f29427ca14bb75f14fa9c64af3b028c
refs/heads/master
2023-05-12T01:25:56.454549
2021-05-25T02:02:09
2021-05-25T02:02:09
367,070,028
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;actionlib;trajectory_msgs;control_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_...
[ "1155135145@link.cuhk.edu.hk" ]
1155135145@link.cuhk.edu.hk
fef8619855d686a10de3b4cc6d72b631190df666
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/2282.py
f467a7480d13917624dc75ae91326fb1c6115b5b
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,362
py
def rec_stall(n): res = [] if n == 1: return stalls[1] if n == 2: return stalls[2] if n == 3: return stalls[3] if n%2 == 0: a = rec_stall(n/2) b = rec_stall(n/2-1) res.extend([[n/2-1,n/2]]) c = [list(x) for x in zip(a,b)] c = [val for sublist in c for val in sublist] res.extend(c) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2f819d9b7131ebb5ab3ba5de2b16433c41ef6657
da7a893f0dc9c130b5f8c29d4875e7c5d98ac64f
/code-slides/0019-fib-more-fast-examples.py
8dbdcdff07628e4544477b3860838a7d9f952cf8
[]
no_license
py-yyc/decorators
a489d89869582a9127a5272e9342b8131ad91fe3
bd7c65b78b3f00cf8da216eab945f3ef26c1b2a8
refs/heads/master
2020-06-20T18:29:59.884497
2016-02-23T21:48:09
2016-02-23T21:48:09
52,392,195
1
0
null
null
null
null
UTF-8
Python
false
false
906
py
from __future__ import print_function # noslide ## <h1>how decorators work</h1> from time import time # noslide from contextlib import contextmanager # noslide @contextmanager # noslide def timer(): # noslide s = time() # noslide yield # noslide print("took {:.6f}s".format(time() - s)) # noslide de...
[ "meejah@meejah.ca" ]
meejah@meejah.ca
5d7458f2c2d6962f5be50183283d1437f8dc2908
68f757e7be32235c73e316888ee65a41c48ecd4e
/python_book(이것이 코딩테스트다)/03 그리디/3-2 큰수의 법칙.py
b1f160381acf71c965174db1df86f096e154ed49
[]
no_license
leejongcheal/algorithm_python
b346fcdbe9b1fdee33f689477f983a63cf1557dc
f5d9bc468cab8de07b9853c97c3db983e6965d8f
refs/heads/master
2022-03-05T20:16:21.437936
2022-03-03T01:28:36
2022-03-03T01:28:36
246,039,901
1
0
null
null
null
null
UTF-8
Python
false
false
256
py
n, m, k = map(int,input().split()) L = list(map(int,input().split())) f = max(L) L.remove(f) s = max(L) flag = 0 result = 0 for i in range(m): flag += 1 if flag >= k: result += s flag = 0 else: result += f print(result)
[ "aksndk123@naver.com" ]
aksndk123@naver.com
fd13a713a5caf9c48c60ad83f504415838e20c7c
710d2f31b6808187c4895a618101c25b36d25b3c
/backend/home/migrations/0002_customtext_homepage_message.py
306e32a28d93fb23006c97f446b674b7a449a077
[]
no_license
crowdbotics-apps/haplen-28237
920231c921a3aa490acc97a7debacc6858c520de
938cef97a8534941cb5f4de9684c95361ae27ef3
refs/heads/master
2023-05-31T20:26:37.979544
2021-06-25T20:12:49
2021-06-25T20:12:49
380,344,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,515
py
# Generated by Django 2.2.20 on 2021-06-25 20:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('dating', '0001_initial'), ('home', '0001_load_initial_data'), ] operations = [ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3033e6d1836363f7bb5afdf44a0c0c1d5e093bf0
ad372f7753c70e3997d035097ee03f740a5fb068
/pygym/custom_storage.py
83d139b7b163479af1d7152929f4ca060d13b04d
[]
no_license
Insper/servidor-de-desafios
a5f09fe9368887b06b98800f2bb8f35ff13f80a9
9875e9b9248c14237161ca73983595f7d929e963
refs/heads/master
2022-12-14T17:28:42.963112
2022-09-12T19:18:36
2022-09-12T19:18:36
167,026,050
3
42
null
2022-12-08T07:36:47
2019-01-22T16:19:46
Python
UTF-8
Python
false
false
1,053
py
# Source: https://github.com/druids/django-chamber/blob/master/chamber/storages/boto3.py from django.core.files.base import ContentFile from storages.backends.s3boto3 import S3Boto3Storage def force_bytes_content(content, blocksize=1024): """Returns a tuple of content (file-like object) and bool indicating wheter...
[ "andrew.kurauchi@gmail.com" ]
andrew.kurauchi@gmail.com
b4732a7f6c96f3017dae541e6ef9294eb8632c9c
6982c3c54ee9199d93fb89c61cfdcba15b9b7012
/python3_cookbook/chapter08/demo02.py
85770265aaaf5341ddc89a3e76168dd08817c360
[]
no_license
gzgdouru/python_study
a640e1097ebc27d12049ded53fb1af3ba9729bac
e24b39e82e39ee5a5e54566781457e18c90a122a
refs/heads/master
2020-03-29T11:33:13.150869
2019-03-08T09:24:29
2019-03-08T09:24:29
149,858,658
0
1
null
null
null
null
UTF-8
Python
false
false
668
py
''' 自定义字符串的格式化 ''' _formats = { 'ymd': '{d.year}-{d.month}-{d.day}', 'mdy': '{d.month}/{d.day}/{d.year}', 'dmy': '{d.day}/{d.month}/{d.year}' } class Date: def __init__(self, year, month, day): self.year = year self.month = month self.day = day def __format__(self, format_s...
[ "18719091650@163.com" ]
18719091650@163.com
09925f31f19351fda75ef9c39ecb6ecb186a5c99
24f354c0a362c0a44fe0946f0a947930f0724f4d
/tests/unit/config/test_ini.py
d3608a6f540a216b4c83bd97783eb9170438e817
[ "MIT" ]
permissive
pypa/virtualenv
783cf226c806bcb44ee63fd87c37d76e90c121ce
6d22da631fd289f89f921a4010047ad969b7bfa7
refs/heads/main
2023-09-04T06:50:16.410634
2023-08-30T14:32:38
2023-08-30T14:32:38
1,446,474
4,313
1,073
MIT
2023-09-12T14:54:09
2011-03-06T14:33:27
Python
UTF-8
Python
false
false
842
py
from __future__ import annotations import sys from textwrap import dedent import pytest from virtualenv.info import IS_PYPY, IS_WIN, fs_supports_symlink from virtualenv.run import session_via_cli @pytest.mark.skipif(not fs_supports_symlink(), reason="symlink is not supported") @pytest.mark.xfail(IS_PYPY and IS_WIN...
[ "noreply@github.com" ]
pypa.noreply@github.com
84a51f1c66522d2338158587e627aa28ee1c0298
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/pyDemMDspSSFdWsh4_2.py
b7cb001bbe31b50d1e5bc5559aa8530b83963619
[]
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
262
py
def digital_decipher(eMessage, key): keyPos = 0 key = str(key) decodeMessage = '' for digit in eMessage: decodeMessage += chr(int(digit) - int(key[keyPos])+96) keyPos += 1 if (keyPos >= len(key)): keyPos = 0 return decodeMessage
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
d20971ac7d122528ac943d5a46e7e8f529aa93db
19a4365d81507587ef09488edc7850c2227e7165
/159.py
1269b3a84de6cd5b5911a7d86d4ea7721918348b
[]
no_license
akauntotesuto888/Leetcode-Lintcode-Python
80d8d9870b3d81da7be9c103199dad618ea8739a
e2fc7d183d4708061ab9b610b3b7b9e2c3dfae6d
refs/heads/master
2023-08-07T12:53:43.966641
2021-09-17T19:51:09
2021-09-17T19:51:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
# Time: O(n) # Space: O(1) class Solution: def lengthOfLongestSubstringTwoDistinct(self, s: str) -> int: d = {} count = 0 start, end = 0, 0 result = 0 while end < len(s): c = s[end] d[c] = d.get(c, 0) + 1 if d[c] == 1: count...
[ "tiant@qualtrics.com" ]
tiant@qualtrics.com
39dcc0a8cb19d050d40f63af8512633fbbddc8e7
f17fe3c240aeda4205d934a34fc2fc407c6d9f8a
/backend/silent_lake_29099/wsgi.py
25d60da238c4e278e073595fb4c11c76d1b79f0b
[]
no_license
crowdbotics-apps/silent-lake-29099
d5baaa2272c8362af6cc2adacf738c99fa4bb770
6993bc68a87d0e835d5d3b4240e9e1412d851528
refs/heads/master
2023-06-22T22:49:18.030820
2021-07-23T23:51:23
2021-07-23T23:51:23
388,954,458
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for silent_lake_29099 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a8a55c5ceaf4f047f4055dd69e03d9e78b0fb41b
e8c4392a4470abd770be6805e6032ef36cb50ea9
/dev/prepare_jvm_release.py
045adf5bd2e93b90499e8c464ec286e10128b43c
[ "Apache-2.0" ]
permissive
vishalbelsare/xgboost
3f133a97c20654e1ada64af4d89da2493a0197f0
b124a27f57c97123daf9629555aa07e90dc77aed
refs/heads/master
2023-08-17T01:50:45.285904
2021-11-23T08:45:36
2021-11-23T08:45:36
129,266,376
0
0
Apache-2.0
2021-11-23T18:35:32
2018-04-12T14:44:31
C++
UTF-8
Python
false
false
2,918
py
import os import sys import errno import subprocess import glob import shutil from contextlib import contextmanager def normpath(path): """Normalize UNIX path to a native path.""" normalized = os.path.join(*path.split("/")) if os.path.isabs(path): return os.path.abspath("/") + normalized else: ...
[ "noreply@github.com" ]
vishalbelsare.noreply@github.com
be23945603db0d48e9bf6c9b3d89f7c8c219bc1d
7d85c42e99e8009f63eade5aa54979abbbe4c350
/game/tools/build_tools/make.py
2e55e59e68a8d04a495b61e0b90078d11af6cf1a
[]
no_license
ToontownServerArchive/Cog-Invasion-Online-Alpha
19c0454da87e47f864c0a5cb8c6835bca6923f0e
40498d115ed716f1dec12cf40144015c806cc21f
refs/heads/master
2023-03-25T08:49:40.878384
2016-07-05T07:09:36
2016-07-05T07:09:36
348,172,701
0
0
null
null
null
null
UTF-8
Python
false
false
4,312
py
''' Use this script to invoke Nirai builder and compile the game. This process consists of 3 step: 1. Pack models into a models.mf. 2. Compile src/sample.cxx and generate sample.exe using NiraiCompiler. 3. Generate sample.nri, which contains the Python modules. ''' import argparse import sys import os from niraitool...
[ "brianlach72@gmail.com" ]
brianlach72@gmail.com
baf9e01690d9b7617c973a0ffbeaf8dff30a2ba2
3712a929d1124f514ea7af1ac0d4a1de03bb6773
/开班笔记/python网络爬虫部分/day02/lxmlTest.py
5436f0ebe77b8b9ef01a6d55ce88f6ab04779c42
[]
no_license
jiyabing/learning
abd82aa3fd37310b4a98b11ea802c5b0e37b7ad9
6059006b0f86aee9a74cfc116d2284eb44173f41
refs/heads/master
2020-04-02T20:47:33.025331
2018-10-26T05:46:10
2018-10-26T05:46:10
154,779,387
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# -*- coding: utf-8 -*- """ Created on Thu Jul 12 17:20:25 2018 @author: jyb """ from lxml import etree lxmlStr = ''' <bookstore> <book> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book> <title lang="zh">hello world</title> <author>...
[ "yabing_ji@163.com" ]
yabing_ji@163.com
89e2373d1870ea26db666a16121383000169882e
8a081742c8a58c872a15f01d6d4d8c1028e4f7eb
/1404.py
b7f2fe45af35e2bd9b49f8c76ce20624ed64ad2c
[]
no_license
dibery/leetcode
01b933772e317ccd4885b508de503b7873a4b65f
096218b5d0b47ce38874c4b7141aca35e9d678c9
refs/heads/master
2022-05-20T03:50:45.525256
2022-05-17T00:57:48
2022-05-17T00:57:48
211,606,152
2
0
null
null
null
null
UTF-8
Python
false
false
187
py
class Solution: def numSteps(self, s: str) -> int: s, ans = int(s, 2), 0 while s > 1: ans += 1 s += 1 if s % 2 else s //= 2 return ans
[ "bor810818@yahoo.com.tw" ]
bor810818@yahoo.com.tw
1bccf0f17e21a5f80aa85d92e8131607b1f3fa1c
9818262abff066b528a4c24333f40bdbe0ae9e21
/Day 28/UtopianTree.py
1bc5b897230286bb4173fdca69d29b1cdd03d6f9
[ "MIT" ]
permissive
skdonepudi/100DaysOfCode
749f62eef5826cb2ec2a9ab890fa23e784072703
af4594fb6933e4281d298fa921311ccc07295a7c
refs/heads/master
2023-02-01T08:51:33.074538
2020-12-20T14:02:36
2020-12-20T14:02:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
''' The Utopian Tree goes through 2 cycles of growth every year. Each spring, it doubles in height. Each summer, its height increases by 1 meter. A Utopian Tree sapling with a height of 1 meter is planted at the onset of spring. How tall will the tree be after growth cycles? For example, if the number of growth cycles...
[ "sandeepiiitn@gmail.com" ]
sandeepiiitn@gmail.com
d7ce82cd92dd0e5ae2c3e33a2bbb2f04c5a3d44b
987697512ce9b8d7c29bfd2f18d5aec0261a6863
/最长回文串.py
8b40ab6ad9297a3c3ba8188befafb8af968ff812
[]
no_license
Luckyaxah/leetcode-python
65e7ff59d6f19312defdc4d4b4103c39193b198a
2b9c78ba88e7bf74a46a287fb1914b4d6ba9af38
refs/heads/master
2023-06-05T12:15:31.618879
2021-06-22T13:05:30
2021-06-22T13:05:30
262,287,940
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
class Solution: def longestPalindrome(self, s: str) -> int: d = {} for i in s: if not i in d: d[i] = 1 else: d[i] += 1 ret = 0 m = 0 for i in d: if d[i] % 2 ==0: ret += d[i] else: ...
[ "math_leqi@163.com" ]
math_leqi@163.com
f37207209c196d663aa2e43026e64b1a2b9cd70e
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/great_year_and_same_woman/important_part/group/want_old_place.py
611d05cfce1273ef655fed24e8b67caedddea3ff
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
193
py
#! /usr/bin/env python def great_work(str_arg): life(str_arg) print('able_person') def life(str_arg): print(str_arg) if __name__ == '__main__': great_work('life_and_child')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
350aba3f5ae51a3e7b63b960204bddbeee38d131
d01822ba7fa5522c89c83f20907003f5c4823dde
/CNN_GPU.py
559d15521dd4810f15c81c1a9f11094f08a722f2
[]
no_license
cp4011/Neural-Network
853aab63c871d19aeb73911af56ccf9351ad1f3c
93b33b6a14fed7010285da8fb3efc4a62152cef3
refs/heads/master
2020-05-02T07:22:18.778871
2019-04-15T10:49:40
2019-04-15T10:49:40
177,816,249
2
0
null
null
null
null
UTF-8
Python
false
false
2,451
py
import torch import torch.nn as nn import torch.utils.data as Data import torchvision # torch.manual_seed(1) EPOCH = 1 BATCH_SIZE = 50 LR = 0.001 DOWNLOAD_MNIST = False train_data = torchvision.datasets.MNIST(root='./mnist/', train=True, transform=torchvision.transforms.ToTensor(), download=DOWNLOAD_MNIST,) train_lo...
[ "957628963@qq.com" ]
957628963@qq.com
a6f529f5c6d00ff3aba3df255dba713e85eac766
1c07579679f8a4c861777cff4faf30a8064862db
/social/__init__.py
e993f2fda050c964968927a8b09d383d28ce9fcc
[ "BSD-3-Clause", "Python-2.0", "BSD-2-Clause" ]
permissive
florelui001/python-social-auth
86591a1c12dfc011a0d755a7b397691e54821400
81093d2135c3eafd6fc5dd763f31a7889a9f1ce4
refs/heads/master
2021-01-15T08:10:42.444979
2014-02-27T21:00:17
2014-02-27T21:00:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
""" python-social-auth application, allows OpenId or OAuth user registration/authentication just adding a few configurations. """ version = (0, 1, 22) extra = '-dev' __version__ = '.'.join(map(str, version)) + extra
[ "matiasaguirre@gmail.com" ]
matiasaguirre@gmail.com
b04b9e636a59a5c6f889dd245dae7adbd868af09
8f6946286dfad1d61be7425dde737daed7027c3f
/ckstyle/command/args.py
0c7551eafb4fb344689f8901ef20f989f68d82c1
[ "BSD-3-Clause" ]
permissive
ljspace/CSSCheckStyle
e75d7616d8c9444b581b38a91a10aff7b4f731ad
c12be2181d6576349bf52c218d8fb1809c11da12
refs/heads/master
2021-01-16T20:29:55.157662
2013-04-16T03:58:36
2013-04-16T03:58:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
class CommandArgs(): def __init__(self): self.operation = None self.errorLevel = 2 self.recursive = False self.printFlag = False self.extension = '.ckstyle.txt' self.include = 'all' self.exclude = 'none' self.standard = '' self.exportJson = Fal...
[ "wangjeaf@gmail.com" ]
wangjeaf@gmail.com
9615461a5293189ea9ccf409f475b6f55413cc97
7a550d2268bc4bc7e2fec608ffb1db4b2e5e94a0
/1201-1300/1273-Delete Tree Nodes/1273-Delete Tree Nodes.py
5aaf4cc9fdfc040b2b1d974afc0e5e5b2294eae5
[ "MIT" ]
permissive
jiadaizhao/LeetCode
be31bd0db50cc6835d9c9eff8e0175747098afc6
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
refs/heads/master
2021-11-05T04:38:47.252590
2021-10-31T09:54:53
2021-10-31T09:54:53
99,655,604
52
28
MIT
2020-10-02T12:47:47
2017-08-08T05:57:26
C++
UTF-8
Python
false
false
545
py
import collections class Solution: def deleteTreeNodes(self, nodes: int, parent: List[int], value: List[int]) -> int: graph = collections.defaultdict(list) for i in range(1, len(parent)): graph[parent[i]].append(i) def dfs(root): total = value[root] ...
[ "jiadaizhao@gmail.com" ]
jiadaizhao@gmail.com
b56cf17c850ee1b033aa5372bb53774fe8d95850
dd221d1ab80a49190a0c93277e2471debaa2db95
/hanlp/components/parsers/ud/ud_model.py
729f49c1af9decf8c14572ed1691eed63ed91021
[ "Apache-2.0", "CC-BY-NC-SA-4.0" ]
permissive
hankcs/HanLP
29a22d4e240617e4dc67929c2f9760a822402cf7
be2f04905a12990a527417bd47b79b851874a201
refs/heads/doc-zh
2023-08-18T12:48:43.533453
2020-02-15T17:19:28
2023-03-14T02:46:03
24,976,755
32,454
9,770
Apache-2.0
2023-08-13T03:11:39
2014-10-09T06:36:16
Python
UTF-8
Python
false
false
5,198
py
# -*- coding:utf-8 -*- # Author: hankcs # Date: 2020-12-15 14:21 from typing import Dict, Any import torch from hanlp.components.parsers.biaffine.biaffine_dep import BiaffineDependencyParser from hanlp.components.parsers.biaffine.biaffine_model import BiaffineDecoder from hanlp.components.parsers.ud.tag_decoder impo...
[ "jfservice@126.com" ]
jfservice@126.com
34da4c02c5e9aef4bb76bf8ab68e179817b9db01
42a7b34bce1d2968079c6ea034d4e3f7bb5802ad
/ex3.py
da806348e797aa669ec5014ca90987dda6716f49
[]
no_license
linpan/LPTHW
45c9f11265b5e1ffe0387a56cec192fa12c6c4d5
227bfee3098e8ecb5f07ffc3a0b8e64a853106ce
refs/heads/master
2021-04-26T13:42:56.859644
2014-12-18T15:21:14
2014-12-18T15:21:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
#! /usr/bin/env python #coding:utf-8 print "I will now count my chieckens." print "Hens", 25 + 30 / 6 print "Roosters", 100 - 25 * 3 % 4 print "Now I will count the eggs:" print 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 +6 print "Is it true that 3 + 2 < 5 -7 ?" print 3 + 2 < 5 -7 print "What is 3 +2 ?", 3 + 2 print "W...
[ "shine_forever@yeah.net" ]
shine_forever@yeah.net
753ebea727be64a72b3dfbff1b574f0a142ce574
b2968e2b2092971f6fd72f9c72b50b5faf304985
/zjazd_4/math_examples.py
e68d657f4a70ceb57b0ca23ad3216c6fa53cfe9c
[]
no_license
ArturoWest/pythonbootcamp
815d0a3d6b29f12efdbd47fc7b7b7dfd18bff24f
fa7b20dfc71dcd80c201f28c72086294e482b075
refs/heads/master
2020-03-31T02:55:15.574065
2018-12-02T14:35:01
2018-12-02T14:35:01
151,844,686
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
import math print(math.sin(math.pi/2)) print(dir(math)) """ Stwórz klasę sfera s = Sfera(10) s.promien # 10 s.objetosc() # 4188.78... s.pole_powierzchni() # 1256.63... """ class Kula: def __init__(self, r): self.promien = r def objetosc(self): return (4/3) * math.pi * math.pow(self.promien...
[ "you@example.com" ]
you@example.com
6e06d589ab36e4ea0c4a28dbb5f19654f5117e41
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5636311922769920_0/Python/ricbit/fractiles.py
92d6025f44c5533c922023d088ce4a84b348b55a
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
148
py
for case in xrange(input()): k,c,s = map(int, raw_input().split()) print "Case #%d: %s" % (case + 1, ' '.join(str(1+i) for i in xrange(k)))
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
7373a853fc106496505b63aa97cb81a3b4c74a2d
04740a66d98730afca496eb0cf5e7b5edea5f6e6
/backend/dataset/strStr/strmatch_16.py
9c00b55f82dfafeb143e4c6fb29fe88f22448f09
[]
no_license
mehulthakral/logic_detector
0c06fbd12d77a02c888d0bbe3e6776a18f2f46e3
f7a07a6d229b250da9e02d3fac1a12fa51be97e8
refs/heads/master
2023-04-12T12:45:29.370502
2021-05-05T17:15:02
2021-05-05T17:15:02
323,953,099
2
0
null
2021-05-03T16:50:44
2020-12-23T16:39:28
null
UTF-8
Python
false
false
250
py
class Solution: def strStr(self, haystack, needle): n, h = len(needle), len(haystack) hash_n = hash(needle) for i in range(h-n+1): if hash(haystack[i:i+n]) == hash_n: return i return -1
[ "mehul.thakral@gmail.com" ]
mehul.thakral@gmail.com
33d8103a2f341f6f29a3359b9fa3be7c61b5e3ca
caa7a39055c3451db43b39ffc5e70dc560749334
/contactus/models.py
ca5c45307ce64df354bddb41c95112374e65bc33
[]
no_license
OneStage-NITW/website
da2438e3857c03a0c38fa6db6a33619b330a3e0d
af86e38560f16f70a0b74bcf2aeab4d855fbdc74
refs/heads/master
2016-08-12T15:17:14.577895
2015-05-31T18:10:52
2015-05-31T18:10:52
36,546,131
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
from django.db import models # Create your models here. class Supporter(models.Model): name=models.CharField(max_length=100)
[ "vivekhtc25@gmail.com" ]
vivekhtc25@gmail.com
954d4f04753e7d4fd2561471a3d7d2caf2b10d6c
93c7eebb83b88cd4bfb06b6e5695ad785c84f1d6
/tazebao/newsletter/migrations/0019_tracking_notes.py
60750c49486164f1f0ac14d3f046001e45690468
[]
no_license
otto-torino/tazebao
960e31a576f4acc7cd4572e589424f54a8e9b166
12db8605b5aa9c8bf4f735a03af90d0989018105
refs/heads/master
2023-08-09T02:06:14.749976
2023-07-28T07:20:23
2023-07-28T07:20:23
68,196,585
5
0
null
2022-12-08T05:25:04
2016-09-14T10:21:21
HTML
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-09-27 12:06 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('newsletter', '0018_tracking_type'), ] operations = [ migrations.AddField( ...
[ "abidibo@gmail.com" ]
abidibo@gmail.com
ffa7006b45dc4d4246f63987a54c2535ec95a7de
68ea05d0d276441cb2d1e39c620d5991e0211b94
/2144.py
bb654c8a0b7125606aa402a02d74bd202336952f
[]
no_license
mcavalca/uri-python
286bc43aa157d3a6880dc222e0136c80cf079565
e22875d2609fe7e215f9f3ed3ca73a1bc2cf67be
refs/heads/master
2021-11-23T08:35:17.614443
2021-10-05T13:26:03
2021-10-05T13:26:03
131,339,175
50
27
null
2021-11-22T12:21:59
2018-04-27T19:54:09
Python
UTF-8
Python
false
false
618
py
final = 0.0 total = 0 while True: w1, w2, r = [int(x) for x in input().split()] if w1 == w2 == r == 0: break media = float(((w1 * (1 + r/30))+(w2 * (1 + r/30))))/2.0 final += media total += 1 if media < 13: print('Nao vai da nao') elif media < 14: print('E 13') el...
[ "m.cavalca@hotmail.com" ]
m.cavalca@hotmail.com
34c124b3a7647f01806bfe8477086b68f63e78b5
4a7092876b5057867a1290114e29dfd9fb1c0820
/fastccd_support_ioc/utils/python2-version/setFCRIC-Normal.py
28cf771b07ad1017c253270d147325d411a39a06
[ "BSD-3-Clause" ]
permissive
ihumphrey/fastccd_support_ioc
2380a9c23037ccb552d00efdb0235b7116e6ea19
7cd844102f042bea2fa5a31217e15fd72731b523
refs/heads/master
2023-03-03T04:34:39.827326
2021-02-08T19:47:09
2021-02-08T19:47:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,696
py
#! /usr/bin/python # -*- coding: utf-8 -*- import cin_constants import cin_register_map import cin_functions # Mask Triggers & turn off Bias # import setTriggerSW # cin_functions.setCameraOff() # Clamp Mode registers # Write clampr cin_functions.WriteReg("821D", "A000", 0) cin_functions.WriteReg("821E", "0048", 0) ci...
[ "ronpandolfi@gmail.com" ]
ronpandolfi@gmail.com
afa1dd6b0f679aa6df6a0a0250b61aa5007a4a21
08f5dd97433ce84868dbd95020e49f795e8e3f42
/website/migrations/0011_auto_20150726_2337.py
1c3b5f116150b0b516139ab4f7af13d2afd1e2d9
[]
no_license
katur/forthebirds
f76e9d78f8b71f5cb13f22f3c417e737f6048896
2118fabebd8780cd3151f5ddd88245de402590e9
refs/heads/master
2023-08-08T18:57:55.722516
2023-03-28T03:04:19
2023-03-28T03:04:19
22,771,365
2
1
null
2023-07-25T21:23:49
2014-08-08T20:56:20
Python
UTF-8
Python
false
false
1,219
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('website', '0010_auto_20150104_1404'), ] operations = [ migrations.AddField( model_name='userprofile', ...
[ "katherine.erickson@gmail.com" ]
katherine.erickson@gmail.com
d3e761fd33793aa11b6438e8a85ee6b8d49d9f26
bd02997a44218468b155eda45dd9dd592bb3d124
/baekjoon_1149.py
4e0e23db2a3600c59ccc9ab1de7704622b137d4c
[]
no_license
rheehot/ProblemSolving_Python
88b1eb303ab97624ae6c97e05393352695038d14
4d6dc6aea628f0e6e96530646c66216bf489427f
refs/heads/master
2023-02-13T03:30:07.039231
2021-01-04T06:04:11
2021-01-04T06:04:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
''' Problem Solving Baekjoon 1149 Author: Injun Son Date: September 23, 2020 ''' import sys import copy from itertools import combinations from collections import deque import math N = int(input()) cost = [] for _ in range(N): r, g, v = map(int, input().split()) cost.append([r, g, v]) ''' dp[i][0] = i번째 집을 r로...
[ "ison@sfu.ca" ]
ison@sfu.ca
6298ae66b2659ba754329d0314f6849ce42e0261
0995f4b2a0db3fe88e68862c4e3125becfb5f8af
/scripts/generate_pairs2_cacd.py
dfa29e0f924d62d97e13bde82bb8b16490216b2b
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
phymhan/face-aging
db010df62b281befeb1149085ba865382637e3f8
2970793d85f2502929222ca7269fb427afee71c1
refs/heads/master
2020-03-22T00:33:19.686177
2018-09-18T13:17:48
2018-09-18T13:17:48
139,252,060
4
0
null
null
null
null
UTF-8
Python
false
false
1,730
py
# datafile: A B 0/1/2 # label: 0: A < B, 1: A == B, 2: A > B import os import random import argparse random.seed(0) parser = argparse.ArgumentParser() parser.add_argument('--mode', type=str, default='train') parser.add_argument('--N', type=int, default=140000) parser.add_argument('--margin', type=int, default=10) op...
[ "hanligong@gmail.com" ]
hanligong@gmail.com
fcf5cdd7421b4f2532a2e661e5f029b817329d95
dd681dd7874c80c2804ca8d66cdbfdf2abec537e
/Python/venv/Lib/site-packages/tensorflow/keras/datasets/boston_housing/__init__.py
53ffc7b9cca8e7eac1826d4cf34ba9db26f68fff
[]
no_license
khaled147/Koneked
cbbaec78cf3828575e835445f45b9dd72c39d808
98bdc701a3d126c742e076ee3ad34719a0ac5309
refs/heads/main
2023-04-03T11:37:07.941179
2021-04-14T02:09:35
2021-04-14T02:09:35
345,202,202
2
0
null
null
null
null
UTF-8
Python
false
false
348
py
# This file is MACHINE GENERATED! Do not edit. # Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. """Boston housing price regression dataset. """ from __future__ import print_function as _print_function import sys as _sys from tensorflow.python.keras.datasets.boston_housing import loa...
[ "elmalawanykhaled@gmail.com" ]
elmalawanykhaled@gmail.com
8f53c74814241b9df893b923178de00b3e5b2f16
ec0fb2acbe70d3d7f399aea42038221298c8268e
/part010/ch05_shapely/sec6_interop/test_3_geo_inter_x_x.py
6d92bbb779c365957775521a98a907196adfb01c
[]
no_license
GAIMJKP/book_python_gis
fa09567337bfccd4ab968228d4890ec0538ada50
cd09be08df4cf4d3e06cf7c43d0b80cc76976a7e
refs/heads/master
2022-11-07T18:32:22.340481
2020-06-20T13:22:58
2020-06-20T13:22:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ############################################################################### from shapely.geometry import asShape d = {"type": "Point", "coordinates": (0.0, 0.0)} shape = asShape(d) shape.geom_type tuple(shape.coords) list(shape.coords) #################################...
[ "bukun@osgeo.cn" ]
bukun@osgeo.cn
0134f050e7db3b58bc21acea96931a03d5ce5775
a26ae51a1d84249c31c58b90231b7ec23e1aa74d
/flask_app.py
e75e4e1d9083d00221068309ed9821d50809fb02
[]
no_license
Yaomingqing/Image-Super-Resolution
b5e975f08d9cec0d1ba71ec3489e388c6ef69a2a
631b2af81d012ff58c9d7a91f37e3e1d31377222
refs/heads/master
2021-08-10T13:05:44.662484
2017-11-12T15:58:48
2017-11-12T15:58:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,187
py
from keras.models import load_model from flask import Flask, request, render_template, flash, redirect, url_for from werkzeug.utils import secure_filename import models import os import tensorflow as tf upload_folder = 'data/' if not os.path.exists(upload_folder): os.makedirs(upload_folder) ALLOWED_EXTENSIONS = {...
[ "titu1994@gmail.com" ]
titu1994@gmail.com
12654f11056f73cda0eb1e3ff7d062af58f8d11c
90fb55320c81259cb199b9a8900e11b2ba63da4f
/232/gold.py
2b2c82b71ecab0bffd80f1f0592f28ec519fc32d
[]
no_license
pogross/bitesofpy
f9bd8ada790d56952026a938b1a34c20562fdd38
801f878f997544382e0d8650fa6b6b1b09fa5b81
refs/heads/master
2020-05-19T07:31:44.556896
2020-01-26T12:48:28
2020-01-26T12:48:28
184,899,394
1
1
null
null
null
null
UTF-8
Python
false
false
2,068
py
from itertools import tee from dataclasses import dataclass # https://pkgstore.datahub.io/core/gold-prices/annual_csv/data/343f626dd4f7bae813cfaac23fccd1bc/annual_csv.csv gold_prices = """ 1950-12,34.720 1951-12,34.660 1952-12,34.790 1953-12,34.850 1954-12,35.040 1955-12,34.970 1956-12,34.900 1957-12,34.990 1958-12,35...
[ "p.gross@tu-bs.de" ]
p.gross@tu-bs.de
157d1915be5de8fd962c5458f9608cfa50c53211
35b58dedc97622b1973456d907ede6ab86c0d966
/Test/2020年6月20日/selenium爬取动态加载数据.py
75b922d51f77c8fd0aec94d57a25352626e16274
[]
no_license
GithubLucasSong/PythonProject
7bb2bcc8af2de725b2ed9cc5bfedfd64a9a56635
e3602b4cb8af9391c6dbeaebb845829ffb7ab15f
refs/heads/master
2022-11-23T05:32:44.622532
2020-07-24T08:27:12
2020-07-24T08:27:12
282,165,132
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
from selenium import webdriver from lxml import etree from time import sleep bro = webdriver.Chrome(executable_path='chromedriver') # bro = webdriver.Edge(executable_path='./msedgedriver') bro.get('http://125.35.6.84:81/xk/') sleep(1) # 获取页面源码内容 page_text = bro.page_source all_page_text = [page_text] for i in rang...
[ "1433880147@qq.com" ]
1433880147@qq.com
abfcd32e8c71bff43c8a98c626c2fe7d9afc2b6c
8fc7635b84b42e61b7efb9eaf7215394b5b5790a
/aliennor-backend copy/aliennorDjangoBackend/aliennorDjangoBackend/settings.py
cb042666939a3793989e062b84e22ccf1baf9c76
[]
no_license
phamcong/aliennor-platform
f1e8470aab7ed634859e071f6028931f576ddf3e
e1d71532426ac9414d2158d50ee34c32257618f0
refs/heads/master
2021-05-14T17:08:08.629564
2018-02-17T23:35:07
2018-02-17T23:35:07
116,038,495
0
0
null
null
null
null
UTF-8
Python
false
false
4,851
py
""" Django settings for aliennorDjangoBackend project. Generated by 'django-admin startproject' using Django 2.0. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ ...
[ "ccuong.ph@gmail.com" ]
ccuong.ph@gmail.com
5b1f9fa94e913fb8469bb608f7aff55cd882ab1f
c227735e87fe9da845e81c994f5a0c4cc410abf9
/Python/ReverseString.py
378dd1708951b66f59c8040961793d275e8f5106
[ "MIT" ]
permissive
ani03sha/potd
816d5a25c9658eb38dda46352d7518d999a807f2
05ca25039c5462b68dae9d83e856dd4c66e7ab63
refs/heads/main
2023-02-02T18:14:43.273677
2020-12-18T15:31:06
2020-12-18T15:31:06
315,034,076
0
0
null
null
null
null
UTF-8
Python
false
false
633
py
""" Given a string, reverse all of its characters and return the resulting string. """ from typing import List class ReverseString: def reverseString(self, s: List[str]) -> List: # Reversed string reversedString = "" # Loop for all characters in the string for i in s: r...
[ "anirudh03sharma@gmail.com" ]
anirudh03sharma@gmail.com
f374671883af08c4b50ac4f41ea90214c848b1a7
c380976b7c59dadaccabacf6b541124c967d2b5a
/.history/src/data/data_20191018141356.py
20f7b6d5858a6e20347e611529877edb27123cb8
[ "MIT" ]
permissive
bkraft4257/kaggle_titanic
b83603563b4a3c995b631e8142fe72e1730a0e2e
f29ea1773773109a867278c001dbd21a9f7b21dd
refs/heads/master
2020-08-17T12:45:28.653402
2019-11-15T16:20:04
2019-11-15T16:20:04
215,667,760
0
0
null
null
null
null
UTF-8
Python
false
false
3,042
py
import pandas as pd from typing import Union from pathlib import Path from nameparser import HumanName class ExtractData: title_translator = { "Mlle.": "Mrs.", "Mme.": "Mrs.", "Sir.": "Mr.", "Ms.": "Mrs.", "": "Mr.", "Col.": "Mr.", "Capt.": "Mr.", "...
[ "bob.kraft@infiniteleap.net" ]
bob.kraft@infiniteleap.net
75201fde37f7cebb6c0b276f4e6f89c588af812a
238e46a903cf7fac4f83fa8681094bf3c417d22d
/VTK/vtk_7.1.1_x64_Debug/lib/python2.7/site-packages/twisted/cred/portal.py
23e48739cfb924a7a71886e884eb010098d27305
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
baojunli/FastCAE
da1277f90e584084d461590a3699b941d8c4030b
a3f99f6402da564df87fcef30674ce5f44379962
refs/heads/master
2023-02-25T20:25:31.815729
2021-02-01T03:17:33
2021-02-01T03:17:33
268,390,180
1
0
BSD-3-Clause
2020-06-01T00:39:31
2020-06-01T00:39:31
null
UTF-8
Python
false
false
5,460
py
# -*- test-case-name: twisted.test.test_newcred -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ The point of integration of application and authentication. """ from twisted.internet import defer from twisted.internet.defer import maybeDeferred from twisted.python import f...
[ "l”ibaojunqd@foxmail.com“" ]
l”ibaojunqd@foxmail.com“
9050b0975c3054ac27ea2a22854e52f9441d1b2b
5a16e8cec8cc3900096dd9d6914482f63e81b01f
/conf/settings.py
add336da760b26daeb00f9e74195126b40bd040f
[]
no_license
chenrun666/FR-
8c3f8181781274e2b895c21c95c9ee731dd3f5ce
5614c2ca469f2ac9529d83b902ce3411416f13c3
refs/heads/master
2020-04-22T19:58:36.785285
2019-02-14T02:58:36
2019-02-14T02:58:36
170,626,214
0
0
null
null
null
null
UTF-8
Python
false
false
1,327
py
# 测试环境 TEST = True CHOOSESITE = False # 回填结果 result = { "accountPassword":"", "accountType":"", "accountUsername":"", "cardName": "", "cardNumber": "", "checkStatus": True, "clientType": "",# 跑单的客户端码 "createTaskStatus": True, "linkEmail": "", "linkEmailPassword": "", "linkP...
[ "17610780919@163.com" ]
17610780919@163.com
5b94d7cb3c951405797f09f7785cf0ac70ee2123
07c75f8717683b9c84864c446a460681150fb6a9
/back_cursor/S-scrapy/zhilianspider2/zhilianspider2/settings.py
76979aa5a98fe2c2624dddecb681be245fbf0fda
[]
no_license
laomu/py_1709
987d9307d9025001bd4386381899eb3778f9ccd6
80630e6ac3ed348a2a6445e90754bb6198cfe65a
refs/heads/master
2021-05-11T09:56:45.382526
2018-01-19T07:08:00
2018-01-19T07:08:00
118,088,974
0
0
null
null
null
null
UTF-8
Python
false
false
3,160
py
# -*- coding: utf-8 -*- # Scrapy settings for zhilianspider2 project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/lates...
[ "1007821300@qq.com" ]
1007821300@qq.com
307f587d31cc07e174370678eb26c5487377e342
157cf9d7327499d86162eb0170684f4b02a9804a
/scrapylib/proxy.py
8f19e099c4210fe2780818d83ace596d2a39f9ed
[]
no_license
alepharchives/scrapylib
8f59f6f1abe075adb49fbd28a6f575851cab3099
9d84cca95952a19d85c3229df7105502649d99e0
refs/heads/master
2021-01-24T01:58:45.568968
2012-11-07T20:13:38
2012-11-07T20:13:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,322
py
import base64 from urllib import unquote from urllib2 import _parse_proxy from urlparse import urlunparse from scrapy.conf import settings class SelectiveProxyMiddleware(object): """A middleware to enable http proxy to selected spiders only. Settings: HTTP_PROXY -- proxy uri. e.g.: http://user:pass@...
[ "pablo@pablohoffman.com" ]
pablo@pablohoffman.com
3baf8e9914792b2d398347aa85e55b038c491263
89fea7d230e282b3bd3cf2d7db1b003e572e6fa8
/genconf/views.py
34042b1fcf0916e223d81ec77069c612f784a390
[]
no_license
madron/genconf
45abaf66010944e2df9ca1bdaa32328267c62584
99c7d82d55b5075299940adfeaff903b0c70bc8b
refs/heads/master
2020-12-04T11:51:16.029577
2016-01-15T09:35:01
2016-01-15T09:35:01
231,754,213
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from django.views.generic import DetailView from . import models class ConfigurationView(DetailView): http_method_names = ['get'] model = models.Router template_name = 'genconf/configuration/configuration.txt'
[ "massimiliano.ravelli@gmail.com" ]
massimiliano.ravelli@gmail.com
78f02da277f4298af340f876baf26f6f0f8ce38a
9b2255e0a474555d8a4d90f586e280d40224a181
/apps/common/urls.py
b60c575f1aeced024158b7e6f3fbde0719d8e8eb
[]
no_license
rogeriofalcone/redirector
85f496f7c3a3c755b2d9f86f90d25ace783842e4
8255be80ce4e3245317864dcc580a1ef68a7c244
refs/heads/master
2020-04-08T07:03:19.053680
2012-08-12T19:13:35
2012-08-12T19:13:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,259
py
from django.conf.urls.defaults import patterns, url from django.views.generic.simple import direct_to_template from django.conf import settings urlpatterns = patterns('common.views', url(r'^about/$', direct_to_template, {'template': 'about.html'}, 'about_view'), url(r'^changelog/$', 'changelog_view', (), 'chan...
[ "Roberto.Rosario.Gonzalez@gmail.com" ]
Roberto.Rosario.Gonzalez@gmail.com
0b66f6ab3a183691b0308c29dabfc36e889109a5
997c82f5d9684945fb2f5d5481dc4d251a93755f
/famapy/core/operations/products.py
70f4b1107b28b43b64401baecdbb3814a6c47f11
[]
no_license
jmhorcas/famapy-aafms
a6e45b5fff2c820037daf95151df5bc6895b1611
bcc80f7061bed4d6bfd536f9d53cf195bffa01e6
refs/heads/main
2023-08-24T05:51:47.337325
2021-10-15T10:18:20
2021-10-15T10:18:20
389,559,981
1
0
null
null
null
null
UTF-8
Python
false
false
270
py
from abc import abstractmethod from typing import Any from famapy.core.operations import Operation class Products(Operation): @abstractmethod def __init__(self) -> None: pass @abstractmethod def get_products(self) -> list[Any]: pass
[ "jhorcas@us.es" ]
jhorcas@us.es
8fd4193624ed4b3ec5193cdc4ac863af4ddabfdf
50b77b527b95659c6ac8484a1091a70b4ad25d73
/2019/19/aoc19.py
fdfbb0fd8a49953dc81279bd988da641306ef860
[]
no_license
cjuub/advent-of-code
d3a4569dd0b7bf7e10dc6a76a1ffe569df4e93a2
bb92d8ae96cde8c3e57abed26019e692fa6e168f
refs/heads/master
2023-01-10T00:32:56.847184
2023-01-02T20:46:57
2023-01-02T20:46:57
160,243,333
0
0
null
null
null
null
UTF-8
Python
false
false
5,337
py
#!/usr/bin/env python3 from typing import List class IntCodeComputer: OP_ADD = 1 OP_MUL = 2 OP_LOAD = 3 OP_STORE = 4 OP_JUMP_IF_TRUE = 5 OP_JUMP_IF_FALSE = 6 OP_LESS_THAN = 7 OP_EQUALS = 8 OP_REL_BASE = 9 OP_HALT = 99 class HaltException(Exception): pass def ...
[ "cjuuub@gmail.com" ]
cjuuub@gmail.com
7f6bd6db1950bb212336a9d800d41cf1c6515222
27556d221db5669fd74dd57344ded4cf2942c0ae
/contact/views.py
b49b69a35b79e8d1d331c3b66fb8e75ee39ac4b8
[]
no_license
edzen12/sendEmail
60a9dce424ec80c41b68b1092a55259154c4e080
eb2a8feb609d9034695674a94308ed70ea600bcd
refs/heads/master
2023-08-25T03:36:38.538297
2021-10-12T08:45:11
2021-10-12T08:45:11
416,253,922
0
1
null
null
null
null
UTF-8
Python
false
false
277
py
from rest_framework import viewsets, mixins from contact.models import Person from contact.serializers import PersonSerializer class PersonViewSet(mixins.CreateModelMixin, viewsets.GenericViewSet): queryset = Person.objects.all() serializer_class = PersonSerializer
[ "oichiev.edzen@gmail.com" ]
oichiev.edzen@gmail.com
7a05fadb04f7095039de7c80f514ced4dad3eeb8
8033688716c7b120d8105fb98152467c515d7d03
/makeScalingFunctionPlot.py
edde28e4600681d9c21512f107d64dfddf7b3b24
[]
no_license
jonathon-langford/EFT-Fitter
68214a8f46e9817dc7add99d16e3260ae5d1617d
1cebdef80497bb66ac2d262e2347c4d8100f94b8
refs/heads/master
2023-05-20T06:51:21.341971
2021-02-12T19:35:12
2021-02-12T19:35:12
338,414,103
0
2
null
null
null
null
UTF-8
Python
false
false
7,914
py
import os, sys import json import re from optparse import OptionParser from collections import OrderedDict as od from importlib import import_module import pickle import ROOT import numpy as np def get_options(): parser = OptionParser() parser.add_option('--pois', dest='pois', default='params.HEL', help="Name of j...
[ "jl2117@ic.ac.uk" ]
jl2117@ic.ac.uk
e12d6762e76b184388535c634d9a135c76ad728f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02400/s312694229.py
0e3f00ee5086355e387498233f562d240a9c9fa5
[]
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
168
py
import sys import math def main(): r = float(sys.stdin.readline()) print(math.pi * r**2, 2 * math.pi * r) return if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a950c831386ddc3bd2049db23e626695c198bb3a
6b5572557c4a0785c4b727ee024790ec066ad6f2
/Baekjoon/동적계획법 1/1, 2, 3 더하기.py
c018911cffa41fdf3bdb10a60894fd54e9209e12
[]
no_license
easternpillar/AlgorithmTraining
5be38998dc062d1d02933f61eaca3265e1b73981
c8f05eda86161a7dbacab99154be1af292e7db8a
refs/heads/master
2023-04-29T11:13:34.984005
2023-04-08T07:12:29
2023-04-08T07:12:29
231,875,419
1
0
null
null
null
null
UTF-8
Python
false
false
419
py
# Problem: # Reference: https://www.acmicpc.net/problem/9095 # My Solution: import sys dp = [0 for _ in range(11)] dp[0] = 1 for i in range(1, 4, 1): for j in range(1,11): tot = 0 for k in range(j - i, j, 1): if k >= 0: tot += dp[k] dp[j] = tot for _ in range(in...
[ "roh941129@gmail.com" ]
roh941129@gmail.com
3fae578b5162e7f5acb831c405be63172c98b6df
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/300a07a56fa3435d495e1ce8762b25d84931bfae7c2899c2825326bcc799b818/typing/re.py
2336d186762e5e40248962573d6c349ef6e6ffaa
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
# encoding: utf-8 # module typing.re # from C:\Users\Doly\Anaconda3\lib\site-packages\statsmodels\tsa\statespace\_representation.cp37-win_amd64.pyd # by generator 1.147 """ Wrapper namespace for re type aliases. """ # no imports # functions def Match(*args, **kwargs): # real signature unknown """ The central ...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
167439e261d55b4a6013812c4b86be943e29dd30
16e8129f7a12239ed49aabfa04549d90419bb12e
/old_explore.py
1b2cf18e07a1f4df23eb6398cb62957b72fd8c45
[]
no_license
Seanny123/hrl_analysis
0a5a4ff8b672d05760e39ec5558557220d71459d
7ccf2beea6090c1493c4dce95630ef251f9c6548
refs/heads/master
2020-05-18T20:59:29.098987
2015-01-07T23:18:56
2015-01-07T23:18:56
28,878,160
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
not_equal = [] count = 0 for i,j in zip(file_list[0], file_list[1]): if(i != j ): not_equal.append(1) count += 1 else: not_equal.append(0)
[ "saubin@uwaterloo.ca" ]
saubin@uwaterloo.ca
48d4b9fe1ff3432fc5ef22a33a9d4014933c5d2c
53983c1dbd4e27d918237d22287f1838ae42cc92
/tools/txtIO.py
03e55b006916f7db35cb202eb15e7466473f3329
[]
no_license
xshii/MDAOXS
da5060ea6b6ac600b3b85dddbb7460f62ab4a684
d4c54b79d7c84740bf01d8e8573e54522de2e6d0
refs/heads/master
2021-09-24T10:35:31.295574
2018-10-08T10:54:44
2018-10-08T10:54:44
108,884,304
0
1
null
null
null
null
UTF-8
Python
false
false
873
py
import numpy as np def stlTxtToNpArray(path): path = r"/Users/gakki/Downloads/SU2_mesh_point_clouds/Optimale_orig_points.txt" mesh = np.empty([1,3]) with open(path) as fp: for line in fp: if line.__len__()<5: continue line = line.strip().split(';') ...
[ "xshi@kth.se" ]
xshi@kth.se
1a37d2f7a618537fb84f62c141d88105e25238a2
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v4/services/ad_group_service_client_config.py
1931ef3dfd64f9494a515ac86c2f1db21526b546
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
false
964
py
config = { "interfaces": { "google.ads.googleads.v4.services.AdGroupService": { "retry_codes": { "idempotent": [ "DEADLINE_EXCEEDED", "UNAVAILABLE" ], "non_idempotent": [] }, "retry_params": { "default": { "initial_retry_delay_millis"...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
d6ea747b5957732d583916c70b4f80bc1cdb39b4
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17s_1_02/brocade_mpls_rpc/show_mpls_ldp_fec_prefix_prefix/input/__init__.py
414039c71bac5dac5968fee3843019053441ab0c
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,492
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
5f4d4cbae4be77f5c897b06ef5e96f1d6c45ff12
4f875744ccae8fa9225318ce16fc483b7bf2735e
/amazon/missingNumber.py
51bc4b88b741139e123462001c9eba084a29d249
[]
no_license
nguyenngochuy91/companyQuestions
62c0821174bb3cb33c7af2c5a1e83a60e4a29977
c937fe19be665ba7ac345e1729ff531f370f30e8
refs/heads/master
2020-07-27T05:58:36.794033
2020-04-10T20:57:15
2020-04-10T20:57:15
208,893,527
1
0
null
null
null
null
UTF-8
Python
false
false
378
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 1 23:59:19 2020 @author: huyn """ #Missing Number #Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. from typing import List class Solution: def missingNumber(self, nums: List[int]) -> int: ...
[ "huyn@cvm6h4zv52.cvm.iastate.edu" ]
huyn@cvm6h4zv52.cvm.iastate.edu
e7ccb286539047d1d436e032546a3938ddce7bf1
0b86600e0288c0fefc081a0f428277a68b14882e
/binaire/binaire_II.py
b861b63f8209d81b2dbc50518fcc23ce46f0cebc
[]
no_license
Byliguel/python1-exo7
9ede37a8d2b8f384d1ebe3d612e8c25bbe47a350
fbf6b08f4c1e94dd9f170875eee871a84849399e
refs/heads/master
2020-09-22T10:16:34.044141
2019-12-01T11:52:51
2019-12-01T11:52:51
225,152,986
1
0
null
2019-12-01T11:51:37
2019-12-01T11:51:36
null
UTF-8
Python
false
false
5,199
py
############################## # Binaire - partie II ############################## from binaire_I import * ############################## # Activité 1 - Palindrome en binaire ############################## ## Question 1 ## def est_palindrome_1(liste): p = len(liste) drapeau = True for i in range(p):...
[ "arnaud.bodin@math.univ-lille1.fr" ]
arnaud.bodin@math.univ-lille1.fr
5f7da7fa319f1cc207012d4a7c768df8dbb81213
b096dbccb31d3bd181259e930816964c71034ff4
/tests/test_asynchronous/test_task.py
73017b8eafee20bb87f1953d01201f1490e7e409
[]
no_license
cosphere-org/lily
b68f95720381a69ce0caa5f47fca461b3f5242a9
f6a8281e10eedcccb86fcf3a26aaf282d91f70f4
refs/heads/master
2023-02-18T13:49:03.568989
2022-06-30T09:58:23
2022-06-30T09:58:23
175,789,374
6
0
null
2023-02-15T18:49:10
2019-03-15T09:28:05
Python
UTF-8
Python
false
false
369
py
from unittest import TestCase from lily.asynchronous import AsyncTask class AsyncTaskTestCase(TestCase): def test_init(self): def fn(): pass task = AsyncTask(callback=fn, args=[9, 1]) assert task.callback == fn assert task.args == [9, 1] assert task.succes...
[ "maciej@cosphere.org" ]
maciej@cosphere.org
3ba8f7fac04d4e7b45bfe7128eff82a0fb4248dc
974d04d2ea27b1bba1c01015a98112d2afb78fe5
/test/ipu/test_gelu_op_ipu.py
5877341afb1264b0ffe18dd0fbecc822be5d9904
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle
b3d2583119082c8e4b74331dacc4d39ed4d7cff0
22a11a60e0e3d10a3cf610077a3d9942a6f964cb
refs/heads/develop
2023-08-17T21:27:30.568889
2023-08-17T12:38:22
2023-08-17T12:38:22
65,711,522
20,414
5,891
Apache-2.0
2023-09-14T19:20:51
2016-08-15T06:59:08
C++
UTF-8
Python
false
false
2,151
py
# Copyright (c) 2021 PaddlePaddle Authors. 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 appli...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
cd11f4c013bbbf9e2770dc15bde51f95098d6eac
a43cf3cacf518096737dd39833fd39624f8cf543
/tests/test_csv_adapters.py
071ac85a5c6f6098d645e145a468f026e11bcd6a
[ "Apache-2.0" ]
permissive
Mickey1964/antevents-python
f6ad4f9b056550055a223f7d4a7d34bc030c1dfb
5b9226813583141986014fc83f6f74342a5f271e
refs/heads/master
2021-06-15T11:23:56.253643
2017-03-31T05:25:59
2017-03-31T05:25:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,236
py
# Copyright 2016 by MPI-SWS and Data-Ken Research. # Licensed under the Apache 2.0 License. """Verify the csv reader/writer through a round trip """ import unittest import time from tempfile import NamedTemporaryFile import os import asyncio import datetime from antevents.base import Scheduler, IterableAsPublisher, S...
[ "jeff@data-ken.org" ]
jeff@data-ken.org
8c9c6f86415414eac65099b6ad036d598482a6ef
cc88beafd7a59a832fecff45f436490f805ba000
/demos/json_schema.py
72f3cf8eec40655d6dac240792698b62d8a3ff2c
[ "BSD-3-Clause" ]
permissive
RobSpectre/structures
6ead59bf37ef02e3c3d2181dc941a2e60f98becb
5345fb63658eecdc59e08882372294f13b0df889
refs/heads/master
2020-12-25T04:29:11.389945
2012-08-25T17:45:15
2012-08-25T17:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
#!/usr/bin/env python """{'type': 'object', 'properties': {'personal_thoughts': {'type': 'string', 'id': 'personal_thoughts', 'maxLength': 255}, 'title': {'type': 'string', 'id': 'title', 'maxLength': 40}, 'id': {'type': 'string'}, 'year': {'minimum': 1950, 'type': 'integer', 'id': 'year', 'maximum': 2011}}} """ im...
[ "jd@j2labs.net" ]
jd@j2labs.net
449c3c5e309070e99dc56af5ec86f50dc0f73458
5292b03998384c0d2bb5858058892d7e45c5365b
/Hack.lu/2020/right-spot/run.py
8c7042ab7fb76f17d7a1c5a6d887097b60883e2d
[ "MIT" ]
permissive
TheusZer0/ctf-archives
430ef80d367b44fd81449bcb108e367842cb8e39
033ccf8dab0abdbdbbaa4f0092ab589288ddb4bd
refs/heads/main
2023-09-04T17:56:24.416820
2021-11-21T06:51:27
2021-11-21T06:51:27
430,603,430
1
0
MIT
2021-11-22T07:24:08
2021-11-22T07:24:07
null
UTF-8
Python
false
false
2,998
py
#!/usr/bin/env python3 import zlib import sys import os import subprocess import io import bz2 import sys from flag import flag COMPRESSED_LIMIT = 2**20 # 1 MB compressed DECOMPRESSED_LIMIT = 30*2**20 # 30 MB uncompressed EXPECTED_STRING = b"pwned!\n" NUM_TESTS = 4 def compress(data): if len(data) > DE...
[ "sajjadium@google.com" ]
sajjadium@google.com
4ffb855b13fd38f3ff0bf76db89c7a878afc1c77
e210c28eeed9d38eb78c14b3a6388eca1e0e85d8
/examples/advanced/sklearn-svm/jobs/sklearn_svm_base/app/custom/svm_learner.py
070ceb832d5e6448975001a4a6fd155dcae0fea3
[ "Apache-2.0" ]
permissive
NVIDIA/NVFlare
5a2d2e4c85a3fd0948e25f1ba510449727529a15
1433290c203bd23f34c29e11795ce592bc067888
refs/heads/main
2023-08-03T09:21:32.779763
2023-07-05T21:17:16
2023-07-05T21:17:16
388,876,833
442
140
Apache-2.0
2023-09-14T19:12:35
2021-07-23T17:26:12
Python
UTF-8
Python
false
false
3,884
py
# Copyright (c) 2023, NVIDIA CORPORATION. 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 appli...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
5097b846d08047afa9caae82e49275ea9f3c46fa
af8f42e890126aa9af0535991e7c7109db1cedf7
/hw1/reports/sec2plot.py
b3a31adb9c253b6768e3e192addbcc8116a3fcb0
[ "MIT" ]
permissive
mwhittaker/homework
1c482a346a85c0eb9364185cb90ab5efdc67d632
2faa90662ea0b256625bd07d0d26de39b4e9a455
refs/heads/master
2021-01-22T07:39:51.446384
2017-10-18T17:31:05
2017-10-18T17:31:05
102,309,475
4
0
null
2017-09-04T02:16:25
2017-09-04T02:16:25
null
UTF-8
Python
false
false
378
py
import matplotlib.pyplot as plt import numpy as np def main(): X = np.genfromtxt("sec2.txt", delimiter=" ") steps = X[:,0] loss = X[:,1] plt.figure() plt.semilogy(steps, loss) plt.grid() plt.xlabel("Training iteration") plt.ylabel("Training loss (average mean squared error)") plt.s...
[ "mjwhittaker@berkeley.edu" ]
mjwhittaker@berkeley.edu
8ed04321cc923a0b0cf6b320d0b25f6205625691
b50c44ad44f95035332f371517808406e4a756d0
/cbvSerializers/cbvApp/migrations/0001_initial.py
3af20fe7c5f546e1c79919b7d44819cc546f7478
[]
no_license
anandkumar-design/api1
d970e336f15b46dceb07ef480aa57fd544a3bd93
ae767463828138b97f4cf5ef6f7ac2ae4ac33afa
refs/heads/main
2023-04-25T00:18:13.406364
2021-05-13T12:43:35
2021-05-13T12:43:35
367,045,192
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
# Generated by Django 3.2 on 2021-05-04 08:16 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.IntegerField...
[ "you@example.com" ]
you@example.com
68ea1dea2939203e6f537230def02ae234372113
e13c98f36c362717fdf22468b300321802346ef5
/documents/migrations/0002_auto_20161206_1643.py
a5421c43dfb9d72c97c9d451bbe268874e6e6229
[]
no_license
alexmon1989/libraries_portal
2415cc49de33459266a9f18ed8bb34ac99d3eb7c
277081e09f6347c175775337bffba074a35f3b92
refs/heads/master
2021-01-23T07:25:53.884795
2018-12-25T14:29:29
2018-12-25T14:29:29
80,501,603
0
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-12-06 14:43 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('documents', '0001_initial'), ] operations = [ migrations.AlterModelOptions(...
[ "alex.mon1989@gmail.com" ]
alex.mon1989@gmail.com
0135a94e64c60142d8c29bfdaba4788908690526
376150fe6b4dd5d8c3caa65714aa47bc35e31784
/nintendo/games.py
dd8c5a5db2e8ac06d7e378a4ab5f9226ca8181f6
[ "MIT" ]
permissive
tenda-gumi/NintendoClients
977d5de576a0216a2e6c894bfa5de1658f8ef5de
67f2600f68e441980187932e8521d6dcc69dcc24
refs/heads/master
2020-06-17T14:33:52.314419
2019-07-10T04:19:38
2019-07-10T04:19:38
195,951,685
0
0
null
2019-07-09T07:03:23
2019-07-09T07:03:23
null
UTF-8
Python
false
false
1,320
py
#===== Wii U Games =====# class Friends: TITLE_ID_EUR = 0x10001C00 TITLE_ID_USA = 0x10001C00 TITLE_ID_JAP = 0x10001C00 LATEST_VERSION = 0 GAME_SERVER_ID = 0x3200 ACCESS_KEY = "ridfebb9" NEX_VERSION = 20000 class DKCTF: TITLE_ID_EUR = 0x0005000010138300 TITLE_ID_USA = 0x0005000010137F00 TITLE_ID_JAP = 0x0...
[ "ymarchand@me.com" ]
ymarchand@me.com
4b27e8803d48b26d90c568aa778d7eec4c44dc85
2210a763aa4679283b8d3b59e862caf691d4d5af
/projects/migrations/0003_userprofile.py
b8d9373aa4b9f3d471c16018d1fdfdf8b3e7faea
[ "BSD-2-Clause" ]
permissive
dymaxionlabs/analytics-backend
21c7dd4579188b20214c7c8ac92db26ca04348f8
fb801b184e4e510d54e8addb283fd202c9dfe7b1
refs/heads/master
2022-05-10T23:30:35.958044
2022-04-24T13:58:59
2022-04-24T13:58:59
192,096,995
0
0
BSD-3-Clause
2022-04-24T13:59:11
2019-06-15T15:55:28
Python
UTF-8
Python
false
false
863
py
# Generated by Django 2.1.5 on 2019-01-21 03:23 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('projects', '0002_auto_20...
[ "munshkr@gmail.com" ]
munshkr@gmail.com
eef8ad3df7f2867949338d395c89c8fdc5d64834
1058984cbca36552120092af1f849cea27662c50
/rebench/tests/interop/time_adapter_test.py
a73f964d66ac61d2533d516993e656b4d65258f5
[ "MIT" ]
permissive
smarr/ReBench
21437c7a348a1821f8c5e5016539211376439447
fd8fa6beeac13c87e848ea76efb1243d1e6ee3ae
refs/heads/master
2023-08-28T00:38:18.378579
2023-08-06T15:11:50
2023-08-06T15:11:50
1,263,079
71
19
MIT
2023-08-06T15:11:52
2011-01-17T10:43:28
Python
UTF-8
Python
false
false
2,355
py
# Copyright (c) 2016 Stefan Marr <http://www.stefan-marr.de/> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, mo...
[ "git@stefan-marr.de" ]
git@stefan-marr.de
aca386663ee2b7bb52e07fbc3da653ace55ccb39
fa3e527114cd5799dddb0a25067da4923eae354e
/FastSim/JUNO/reco/reco_test_v1.py
44cb6f1977fa86490d524b1432e2d1ebb9f8a52f
[]
no_license
wenxingfang/FastSim_ML
e64c6b56ce2afd703d1ddda0ada2de6f65fde049
d2f1abbb2f6879313d5f4f137b64c4d8bf10fe83
refs/heads/master
2022-11-28T01:35:39.727895
2020-08-03T15:47:37
2020-08-03T15:47:37
284,734,310
0
0
null
null
null
null
UTF-8
Python
false
false
4,898
py
import math import yaml import h5py import json import argparse import numpy as np from keras.models import model_from_json from keras.models import model_from_yaml from keras.models import load_model from sklearn.utils import shuffle def get_parser(): parser = argparse.ArgumentParser( description='Run Cal...
[ "1473717798@qq.com" ]
1473717798@qq.com
958e66963b687952abe54f34a00c7cef057ef540
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/Lambda-Resource-Static-Assets/2-resources/_External-learning-resources/02-pyth/Python-master/ciphers/hill_cipher.py
bc8f5b41b624ca389e5279c713516e329ed4da0f
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
7,549
py
""" Hill Cipher: The 'HillCipher' class below implements the Hill Cipher algorithm which uses modern linear algebra techniques to encode and decode text using an encryption key matrix. Algorithm: Let the order of the encryption key be N (as it is a square matrix). Your text is divided into batches of length N and con...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
4f6b1dc211e4bc1cc3ec122d5bc8cba70661d87d
f11600b9a256bf6a2b584d127faddc27a0f0b474
/normal/1401.py
52bff56683cf923937222e17b79a7c0999757b14
[]
no_license
longhao54/leetcode
9c1f0ce4ca505ec33640dd9b334bae906acd2db5
d156c6a13c89727f80ed6244cae40574395ecf34
refs/heads/master
2022-10-24T07:40:47.242861
2022-10-20T08:50:52
2022-10-20T08:50:52
196,952,603
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
class Solution: def checkOverlap(self, radius: int, x_center: int, y_center: int, x1: int, y1: int, x2: int, y2: int) -> bool: # 条件 1:首先判断圆心是否在矩形内 if x1 <= x_center <= x2 and y1 <= y_center <= y2: return True # 条件 2:圆心位于矩形的上下左右四个区域 elif x_center > x2 and y1 <= y_center <=...
[ "jinlha@jiedaibao.com" ]
jinlha@jiedaibao.com
af24b9455252c6b9b58c9672b4c0a8a22e0657eb
334fafa9d87fdd13cc549a662a0cf35c47f2d5e3
/backend/data/bahn/bahnscript/bahn2.py
9738bfe0b9f26768f010e9a577d6262182208138
[]
no_license
Jugendhackt/apartmapp
27cd7c17e808a6948f017043e61ebd5480e87c89
0fded8e1da75a021547b53d68e88e9db524b088e
refs/heads/master
2021-01-15T14:31:43.959035
2014-06-08T12:10:04
2014-06-08T12:10:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
import json, psycopg2 filename = "plankgeo_data.json" def trains(filename): con = psycopg2.connect(database='appartmapp', user='postgres') cur = con.cursor() with open(filename, "r") as data: json_encoded = json.loads(data.read()) data.close() # print to screen print json_encoded[0]['lat'] for entry in j...
[ "me@me.com" ]
me@me.com
9a7032fb4a6c3a4c73af2c3f8c631ba5100585c7
638b207f3c7706cb0cb9dd1d6cf112ab91f69837
/0x11-python-network_1/5-hbtn_header.py
c0286a8b9aaaf86889e63216152a5918919ad69c
[]
no_license
NasserAbuchaibe/holbertonschool-higher_level_programming
c30a066dfd4525e936b4121f930c3a63e6d911d6
5b0c11423e11bd9201cc057775c099eb0259f305
refs/heads/master
2022-12-16T17:15:57.775143
2020-09-25T03:00:56
2020-09-25T03:00:56
259,379,453
1
0
null
null
null
null
UTF-8
Python
false
false
204
py
#!/usr/bin/python3 """ Response header value """ import requests from sys import argv if __name__ == "__main__": """ok """ r = requests.get(argv[1]) print(r.headers.get('X-Request-Id'))
[ "nasser_abuchaibe@hotmail.com" ]
nasser_abuchaibe@hotmail.com
684bb9b634cf46ead79b715049cf84129c8f2ed3
4bc25aaf986e481a533e22a7d74e963a18499593
/Chapitre_5/visionneuse_1.py
84b18735cbfc634e5f5e849a5feb1d38c636cf5d
[]
no_license
EditionsENI/python-raspberrypi-3e-edition
c5dd3be2cbc7e52793361f2a601b100011ea535d
f189aefc5ea0b265fd664c8a47dcde6cd110a8b0
refs/heads/master
2023-04-10T18:59:35.922958
2021-04-19T21:47:29
2021-04-19T21:47:29
317,060,608
0
0
null
null
null
null
UTF-8
Python
false
false
3,780
py
#!/usr/bin/env python3 import glob import sys import os from tkinter import PhotoImage from tkinter import Message from tkinter import Button from tkinter import Frame from tkinter import Label from tkinter import Tk from tkinter import BOTTOM from tkinter import LEFT from tkinter import BOTH from tkinter import YES ...
[ "monsieurp@gentoo.org" ]
monsieurp@gentoo.org
a29bbe7d2c8cb74beba2552e92cb4abc19df3926
b773ff8595421fb743e55f7bc0190791f2ece7a2
/backend/home/migrations/0002_load_initial_data.py
eb446cfe1a0a9a986553ca35b2a5b469e122a3f3
[]
no_license
crowdbotics-apps/msm-tc208-fzjohztpg-12768
d68746372f604aa5ec805c7c4c480eb451d2b96d
016bfac5d6497dbd88b49eddc4b8f74788161c83
refs/heads/master
2022-12-28T04:01:12.567205
2020-10-06T05:28:05
2020-10-06T05:28:05
301,622,954
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "MSM-TC208-fzjohztpgt" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "Hom...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
7d5d3566f8081503f4981349ffda1b3bdbd985ce
469456a0bf4c7c040a8136b111195a82de17cc6b
/rgb_module.py
40e20d6431581e0f70174a91bfb45c03869c9133
[]
no_license
6reg/function_fun
d2e73387e78396618d074c97a2b0088647693b4e
64bf2d6211f9bdcc030922a7f5292c37a31eddd9
refs/heads/main
2023-07-07T23:42:46.426225
2021-08-07T22:10:47
2021-08-07T22:10:47
370,854,414
0
1
null
2021-07-07T02:20:18
2021-05-25T23:39:07
Python
UTF-8
Python
false
false
666
py
DATA_FILE = "./rgb_values.txt" def load_data(): data = {} file = open(DATA_FILE) n_colors = 0 for line in file: line = line.strip() add_color(data, line) n_colors += 1 print(len(data), n_colors) file.close() return data def add_color(data, line): parts = line.sp...
[ "mathiasgreg@gmail.com" ]
mathiasgreg@gmail.com
fe75aa03e43019e1066a7e638a69ca2612f323d6
91ca2b4215b74c3b3f2517baab9205997c9bcf62
/maps/migrations/0009_auto_20180205_1945.py
319e4b341f7faee495ba53495621ba57b938524c
[ "Apache-2.0" ]
permissive
swiftlabUAS/SwiftUTM
ae0ca347058563a040c24b740a5760187e507879
caf40195b017ab980323cf88bf95e671e38a2676
refs/heads/master
2022-12-16T00:02:01.766221
2020-09-22T14:27:12
2020-09-22T14:27:12
297,254,220
0
1
MIT
2020-09-22T14:27:14
2020-09-21T06:55:30
null
UTF-8
Python
false
false
487
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-02-05 16:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('maps', '0008_locationpoints_shortcode'), ] operations = [ migrations.AlterF...
[ "geoffreynyagak@gmail.com" ]
geoffreynyagak@gmail.com
83a06f4dcd736336f0501d6bd4aa3a13a87113b8
7024d0fab7adee2937ddab28a2b69481ef76f9a8
/llvm-archive/hlvm/build/bytecode.py
e21978e91a6f32943d5ac37306068592af7b29a3
[]
no_license
WeilerWebServices/LLVM
5b7927da69676a7c89fc612cfe54009852675450
1f138562730a55380ea3185c7aae565d7bc97a55
refs/heads/master
2022-12-22T09:05:27.803365
2020-09-24T02:50:38
2020-09-24T02:50:38
297,533,828
0
0
null
null
null
null
UTF-8
Python
false
false
2,843
py
from SCons.Environment import Environment as Environment import re,fileinput,os from string import join as sjoin from os.path import join as pjoin def AsmFromBytecodeMessage(target,source,env): return "Generating Native Assembly From LLVM Bytecode" + source[0].path def AsmFromBytecodeAction(target,source,env): th...
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
56f7c3b75781176c8c211e3d1a86345e6544e8be
ae74e9e03e9b8ba1d407bd5907d3fe197ce47a44
/ggplot/04-graphs.py
8d7d9c715bd502c503e9f71fb44de994503d773c
[]
no_license
dylanjorgensen/modules
3f937298df6b1da0851cfbc4cbf6f046b81b303c
9296284d3acdb0f899ad19f013fff4d73d0fcc0b
refs/heads/master
2021-01-11T03:23:11.591989
2016-10-22T01:21:53
2016-10-22T01:21:53
71,014,891
1
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
from ggplot import * import pandas as pd import numpy as np # Generate data df = pd.read_csv("baseball-pitches-clean.csv") df = df[['pitch_time', 'inning', 'pitcher_name', 'hitter_name', 'pitch_type', 'px', 'pz', 'pitch_name', 'start_speed', 'end_speed', 'type_confidence']] print df.head() # print df.dtype...
[ "dylan@dylanjorgensen.com" ]
dylan@dylanjorgensen.com
6de8a8e58c7239a48d420c9f23e548175002d66e
44eb40bf7bbd006f441b22d149dbb06eebe97506
/src/chap05/gradient_check.py
f9819365dec71b653a1702cc28bc95aa3ac59923
[]
no_license
hoonest/Deep_Learning
56939f983c81e75b79d5474c11649dd57bf7107b
dd94f46ff886f20a47b09a54593e5fd2d53f0ed4
refs/heads/master
2020-04-19T22:52:03.640247
2019-02-19T03:34:16
2019-02-19T03:34:16
168,481,590
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
# coding: utf-8 import sys, os sys.path.append(os.pardir) # 부모 디렉터리의 파일을 가져올 수 있도록 설정 import numpy as np from src.dataset.mnist import load_mnist from src.chap05.two_layer_net import TwoLayerNet # 데이터 읽기 (x_train, t_train), (x_test, t_test) = load_mnist(normalize=True, one_hot_label=True) network = TwoLayerNet(input...
[ "hoonest01@gmail.com" ]
hoonest01@gmail.com
beda1750d055f278c7feba99c51342ec22251e02
2d4e020e6ab48c46e0a19cb69048d9e8d26e46a6
/Job_Portal/job_portal/main/migrations/0005_auto_20210202_0143.py
94b50b03f39910c2733310db1be8d839c9c1ae73
[]
no_license
IsmailTitas1815/Learning
a92476fcf7bcd28a7dc1ab2f4eb3a5c27034728f
207eaf4101a6d161c1044310f4b3cc54e9c514eb
refs/heads/master
2023-07-04T20:13:07.263331
2021-08-07T20:07:39
2021-08-07T20:07:39
293,100,950
0
0
null
2021-05-07T16:55:29
2020-09-05T15:18:46
Python
UTF-8
Python
false
false
577
py
# Generated by Django 3.1.5 on 2021-02-01 19:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main', '0004_auto_20210202_0138'), ] operations = [ migrations.RemoveField( model_name='candida...
[ "titas.sarker1234@gmail.com" ]
titas.sarker1234@gmail.com
cf08ddf5aa4fd4f0d5bbd4c4f17f8720aa26e1c0
bb0f5ec6ee0ed99afb09087ff0ea9bfe32b7ea49
/utills/amount.py
87463e68aad88f653aba56ac9ab975e44a5ea3b3
[]
no_license
persontianshuang/lottery_admin
49f3386d75671d0b2c43dfea3987e7fa8df84c9b
d8ebc7cf778cac24055a709886fbaa3b03325a69
refs/heads/master
2021-09-03T10:04:40.151502
2018-01-08T08:09:50
2018-01-08T08:09:50
111,886,585
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
import random,time from datetime import datetime class AmountCommon(): def __init__(self,db): self.db = db def sum_amount(self, db): return sum([x.amount for x in db]) def all(self): return str(self.sum_amount(self.db)) def today(self): t = time.localtime(time.time()...
[ "mengyouhan@gmail.com" ]
mengyouhan@gmail.com
d0cca4222c8b6367b193a93bbb16784b03bdbf6d
0bd3e809967ce2e02353a1c5559725bf3c9b6a7e
/update_bind_conf_gw.py
dc4273fb723c2b745ee9c0d667b3be3768301f8e
[]
no_license
ka-ba/backend-scripts
79ea992852d4afaf24c1cd60146be1e3df06aa20
87ddce68d224a13f7062d8ec3825a46fb98fa343
refs/heads/master
2021-01-20T03:01:53.095776
2015-04-21T13:13:27
2015-04-21T13:13:27
27,978,828
0
0
null
2015-04-21T12:49:20
2014-12-14T00:50:09
Python
UTF-8
Python
false
false
1,114
py
#!/usr/bin/env python3 def update_bind_conf(): from photon.util.files import read_file from common import pinit photon, settings = pinit('update_bind_conf', verbose=True) for repo in ['scripts', 'meta']: photon.git_handler( settings['icvpn']['icdns'][repo]['local'], re...
[ "frieder.griesshammer@der-beweis.de" ]
frieder.griesshammer@der-beweis.de
54aa72c6ca565b7aa1d189e7744b9fcb0f24dd40
d09c6ff7114f69a9326883c5b9fcc70fa994e8a2
/_pycharm_skeletons/renderdoc/GLVertexAttribute.py
add4c7232eea14baa06e4a12c24a237ae897c01a
[ "MIT" ]
permissive
Lex-DRL/renderdoc-py-stubs
3dd32d23c0c8219bb66387e6078244cff453cd83
75d280e4f500ded506f3315a49fc432b37ab4fa6
refs/heads/master
2020-08-22T16:55:39.336657
2019-11-03T01:21:26
2019-11-03T01:21:26
216,441,308
0
0
null
null
null
null
UTF-8
Python
false
false
2,700
py
# encoding: utf-8 # module renderdoc # from P:\1-Scripts\_Python\Py-Autocomplete\renderdoc.pyd # by generator 1.146 # no doc # imports import enum as __enum from .SwigPyObject import SwigPyObject class GLVertexAttribute(SwigPyObject): """ Describes the configuration for a single vertex attribute. ....
[ "drl.i3x@gmail.com" ]
drl.i3x@gmail.com
a68196f031bbeb0ba2c2698e025995cba76ce678
44a724fbac833f10c73a70f140d6c6692d4c758e
/website/registration/forms.py
da51b193f26f02d67afbf28c947ebf07d916cf8e
[]
no_license
Nussy/owf2014
856598b414a58ef5065481dad66841fb9fb01f7d
09224a3ab82d5ceabe286678bae77967be42537c
refs/heads/master
2020-12-24T11:33:49.230217
2014-07-08T12:15:04
2014-07-08T12:15:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,126
py
from flask.ext.wtf import Form, BooleanField, TextField, TextAreaField, required, email from flask.ext.wtf.html5 import EmailField from flask.ext.babel import lazy_gettext as _l from website.registration.models import Track __all__ = ['RegistrationForm'] def make_mixin_class(): class DynamicMixin(object): pa...
[ "sf@fermigier.com" ]
sf@fermigier.com
51fa016e1c1e8f8413a36b5d13b3ac5e585a1ade
aaddc9b334b4d265d61cd97464d9ff73f32d9bec
/12_DRF_API_ModalViewSet/DRF_API_ModalViewSet/wsgi.py
59140f929e09da11239464ede2ab10ba8c216e53
[]
no_license
DharmendraB/DRF-Django-RestFramework-API
f3549955e53d43f7dad2a78468ad0792ebfb70d5
4f12ab84ca5f69cf2bb8e392b5490247d5f00e0e
refs/heads/main
2023-05-30T20:59:46.635078
2021-06-11T04:32:52
2021-06-11T04:32:52
375,905,264
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
""" WSGI config for DRF_API_ModalViewSet 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(...
[ "ghldharmendra@gmail.com" ]
ghldharmendra@gmail.com
1a12b7c2d2f69df76cef3e44e1259cdf614dfc4d
927e8a9390d219a14fce6922ab054e2521a083d3
/tree/largest bst.py
a70af6bfda90d12ff4c3307819dc8596461b2aa9
[]
no_license
RavinderSinghPB/data-structure-and-algorithm
19e7784f24b3536e29486ddabf4830f9eb578005
f48c759fc347471a44ac4bb4362e99efacdd228b
refs/heads/master
2023-08-23T21:07:28.704498
2020-07-18T09:44:04
2020-07-18T09:44:04
265,993,890
0
0
null
null
null
null
UTF-8
Python
false
false
3,794
py
from mathpro.math import inf from collections import deque import sys sys.setrecursionlimit(10000) class Node1: def __init__(self,isBst,size,mini,maxi): self.isBst = isBst self.size = size self.mini = mini self.maxi = maxi def bst(root): if not root: x=Node1(True,0,10...
[ "ravindersingh.gfg@gmail.com" ]
ravindersingh.gfg@gmail.com
81a2872d9a9c25af764af1274d957578a126869a
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_gripped.py
b9c9b15141f34bec76fa0ae3fbe86ef380965360
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#calss header class _GRIPPED(): def __init__(self,): self.name = "GRIPPED" self.definitions = grip self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['grip']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
2719ecdb0d3f55cf2a59d28875a664afed9e14ec
45de7d905486934629730945619f49281ad19359
/xlsxwriter/test/comparison/test_chart_legend06.py
f10d00e6bc314ead1c5752aad9c675cf4fe559c5
[ "BSD-2-Clause" ]
permissive
jmcnamara/XlsxWriter
599e1d225d698120ef931a776a9d93a6f60186ed
ab13807a1be68652ffc512ae6f5791d113b94ee1
refs/heads/main
2023-09-04T04:21:04.559742
2023-08-31T19:30:52
2023-08-31T19:30:52
7,433,211
3,251
712
BSD-2-Clause
2023-08-28T18:52:14
2013-01-04T01:07:06
Python
UTF-8
Python
false
false
1,405
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2023, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org