blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
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
777 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
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
2f9ff8e134eaa96dab94a8adf57b27fb8a23be23
d6cf604d393a22fc5e071a0d045a4fadcaf128a6
/Challenge Book/JOI_2007_C.py
7e53612c30d66f59e862f33ab20efe583c393bc7
[]
no_license
shikixyx/AtCoder
bb400dfafd3745c95720b9009881e07bf6b3c2b6
7e402fa82a96bc69ce04b9b7884cb9a9069568c7
refs/heads/master
2021-08-03T21:06:45.224547
2021-07-24T11:58:02
2021-07-24T11:58:02
229,020,968
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
import numpy as np import sys sys.setrecursionlimit(10 ** 7) read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline # 半分全列挙 N, M = map(int, readline().split()) P = np.array([0] + read().split(), np.int64) P = P[P <= M] P2 = (P[:, None] + P[None, :]).ravel() P2 = P2[P2 <= M] P2.sort() # numpyで並列にやらないと間に合...
[ "shiki.49.313@gmail.com" ]
shiki.49.313@gmail.com
5aa39cd29ff6236b62f61c9c3f51364eea44b3a5
419db2c95082e57eab3ebea9568693c2a961add7
/pyverilog/dataflow/dataflow_analyzer.py
8136f89271efed5ed13e2089e74ec92349f3bf33
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hoangt/Pyverilog-1
ef309528150a3174e74126b2f1328ca9824fcbfe
d0cb60a5633e88f59a7c5c36dff8981f000ee525
refs/heads/master
2021-01-19T22:53:52.170548
2015-09-16T15:23:16
2015-09-16T15:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,027
py
#------------------------------------------------------------------------------- # dataflow_analyzer.py # # Verilog module signal/module dataflow analyzer # # Copyright (C) 2013, Shinya Takamaeda-Yamazaki # License: Apache 2.0 #------------------------------------------------------------------------------- from __futu...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
30e1bb070924905323da2b3adf333239477b7c6d
8bac6c63a7b826bfd6b415e6faa51ff22505d112
/openNFR-skin-2018/usr/lib/enigma2/python/Components/Renderer/NFRSambaVpnIp_renderer.py
fabdc9a68e371461e2f463086cbfa48cd40c720c
[]
no_license
stein17/Skins-for-openNFR
03330102b7d883f8485297cea0468143d9116b6f
ca6c5d02035e4bacdad6efc45995249a317b7fb6
refs/heads/master
2023-03-12T19:58:50.112456
2022-03-21T07:02:03
2022-03-21T07:02:03
94,653,786
0
15
null
2023-03-02T17:52:37
2017-06-17T23:05:42
Python
UTF-8
Python
false
false
467
py
from Renderer import Renderer from enigma import ePixmap class NFRSambaVpnIp_renderer(Renderer): def __init__(self): Renderer.__init__(self) GUI_WIDGET = ePixmap def postWidgetCreate(self, instance): self.changed((self.CHANGED_DEFAULT,)) def changed(self, what): if what[0] != self.CHANGED_CLEAR: if sel...
[ "lutz.f.kroll@gmail.com" ]
lutz.f.kroll@gmail.com
55cef7ba6f4bab4b32350b0bcbab3ce2d4c00d12
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/development-support/wheel-smoke-test.py
fc47c188998f8298c69edac63841101e78c93158
[]
no_license
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
""" Helper script for performing smoke tests on an installed copy of PyObjC # NOTE: This file is not yet complete """ import platform from distutils.version import LooseVersion import objc # noqa: F401 from AddressBook import * # noqa: F401, F403 from AppleScriptKit import * # noqa: F401, F403 from AppleScriptObj...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
a59b69de96b87c4963e2a5082a415c273af284f3
2da8bcfb9a72e507812a8723e38ad6d030c300f1
/two_sum_1.py
57a56e2fc2bce51207bff8c27039bcaa0809aea2
[]
no_license
aditya-doshatti/Leetcode
1a4e0f391a7d6ca2d7f8fdc35e535f4ec10fb634
eed20da07896db471ea6582785335e52d4f04f85
refs/heads/master
2023-04-06T02:18:57.287263
2023-03-17T03:08:42
2023-03-17T03:08:42
218,408,346
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
''' 1. Two Sum Easy Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 +...
[ "aditya.doshatti@sjsu.edu" ]
aditya.doshatti@sjsu.edu
bf7fcf88de1f76cb2ade9e1d5ad78bb6c9d5350f
8ae0bf166da68488efec84fe79063f874687b332
/tests/ext/django/settings.py
47565381bb011dbafa23c965dd6905ecef88234f
[ "BSD-3-Clause" ]
permissive
snopoke/slycache
75aafcd0fb9c9289a292c907f48159652e275f93
412e9e81a8c53f684f3fd7c5dafb6b06ecfbd0c0
refs/heads/main
2023-06-01T19:20:12.847651
2021-03-16T20:30:28
2021-03-16T20:30:28
340,279,785
0
0
NOASSERTION
2021-06-14T07:26:50
2021-02-19T06:34:25
Python
UTF-8
Python
false
false
494
py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', }, } INSTALLED_APPS = ['slycache.ext.django'] CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 60, 'LOCATION': 'location-1', }, ...
[ "skelly@dimagi.com" ]
skelly@dimagi.com
5171d6acac1e78b70a50a813ff700ead3317d7d9
7b7c570b30d6d7a0e9b904c7cb378cfb0d0f0e07
/mlflow/models/flavor_backend.py
894829a8cfcb69840c6c12785cdff07fc6a9cbb5
[ "Apache-2.0" ]
permissive
mlflow/mlflow
ca97bfbbf32f8e59f454e428f5e46eb3d34d062f
37298ffafcd34002352d01d579d4524790544267
refs/heads/master
2023-09-01T13:15:53.902815
2023-09-01T09:00:42
2023-09-01T09:00:42
136,202,695
14,102
3,748
Apache-2.0
2023-09-14T21:52:42
2018-06-05T16:05:58
Python
UTF-8
Python
false
false
3,421
py
from abc import ABCMeta, abstractmethod from mlflow.utils.annotations import developer_stable @developer_stable class FlavorBackend: """ Abstract class for Flavor Backend. This class defines the API interface for local model deployment of MLflow model flavors. """ __metaclass__ = ABCMeta de...
[ "noreply@github.com" ]
mlflow.noreply@github.com
4a6527f8ab80096d974ecbc2592c03ee486098cf
6632896b4e320c932bdaa98b2caa16e057905333
/utils/io/labels/character.py
42500f3bb08e1952e8f60fcd45e82f1d64eb7841
[ "MIT" ]
permissive
sky1170447398/tensorflow_end2end_speech_recognition
56229b5de62c8a4580a9d349afe6ccdf20d478fb
7ef52ae702db3852a7339136852bb14585e55b3b
refs/heads/master
2021-07-13T14:26:22.117311
2017-10-12T00:51:12
2017-10-12T00:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,507
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np class Char2idx(object): """Convert from character to index. Args: map_file_path (string): path to the mapping file """ ...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
9ba285150af283cf9d35c2c7919feedb6398d693
33f351a8444ad0f63b7efd5014957d58175681a8
/mosaic.py
3b52f1f9dde233cf6907ce5c3a9eca462b5657ae
[]
no_license
rjonnal/FEM_raster_model
21bb070c397d73733e366893a8d11314430d8b0f
7568aec5aeff93146c7481c216f2360e03a36f2c
refs/heads/master
2021-01-11T21:23:09.319209
2017-03-15T22:05:31
2017-03-15T22:05:31
78,775,079
0
0
null
null
null
null
UTF-8
Python
false
false
17,047
py
import numpy as np from scipy import interpolate from scipy.signal import convolve2d from matplotlib import pyplot as plt import os,sys from time import time,sleep from fig2gif import GIF from cone_density import ConeDensityInterpolator from random import shuffle from data_store import H5 import datetime class Mosaic:...
[ "rjonnal@gmail.com" ]
rjonnal@gmail.com
17e98671744e907b39b79ee00bceb8d098905ea7
c0792645c156cb9e20a1aa2b28c565150358bc6e
/apps/inmueble/migrations/0017_auto_20180526_0412.py
8ddac3048c867751bb7c7635c709ef1ddbd2cc4d
[]
no_license
clioo/Praver
b22fd92886e0399845adb4366663cae6a7d7853b
523f0d78e0a2039a5bae3e539c93e2c2415a0840
refs/heads/master
2020-03-11T12:38:54.272392
2018-06-28T18:24:21
2018-06-28T18:24:21
130,003,043
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2018-05-26 10:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inmueble', '0016_auto_20180526_0410'), ] operations = [ migrations.AlterModelOptions...
[ "jesus_acosta1996@hotmail.com" ]
jesus_acosta1996@hotmail.com
823e85e0dfe556e154f26652a500ed91838d9a13
8fa8ded3772dd7a124c1bbb91fc109ed2b63574b
/mycelium/apps/volunteers/tests/selenium_abstractions.py
5cda3d87e310f4732fb2b14444382ce6e7a8d3c9
[]
no_license
skoczen/mycelium
3642b0f5e5ea03d609a3e499c7ad68092101dce0
da0f169163f4dc93e2dc2b0d934abf4f18c18af0
refs/heads/master
2020-04-10T09:21:46.893254
2014-05-20T02:27:06
2014-05-20T02:27:06
2,114,887
0
0
null
null
null
null
UTF-8
Python
false
false
2,479
py
import time from test_factory import Factory class VolunteerTestAbstractions(object): def create_new_volunteer(self): sel = self.selenium self.create_john_smith_and_verify() sel.click("css=.detail_tab[href=#volunteer]") time.sleep(1) assert sel.is_text_present("No volunteer...
[ "steven@quantumimagery.com" ]
steven@quantumimagery.com
f19711c824d08b2f99bde202875be60d5015bc4a
dfc827bf144be6edf735a8b59b000d8216e4bb00
/CODE/experimentcode/DryBedPaper/Dambreak/FEVMdryWBuhonly zeroorder/Run.py
12accac582bfd8b9937706f72632e59e0bb7acdc
[]
no_license
jordanpitt3141/ALL
c5f55e2642d4c18b63b4226ddf7c8ca492c8163c
3f35c9d8e422e9088fe096a267efda2031ba0123
refs/heads/master
2020-07-12T16:26:59.684440
2019-05-08T04:12:26
2019-05-08T04:12:26
94,275,573
0
1
null
null
null
null
UTF-8
Python
false
false
7,430
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 5 14:24:26 2017 @author: jp """ from Serre2dc import * from scipy import * from pylab import plot, show, legend,xlim,ylim,savefig,title,xlabel,ylabel,clf, loglog import csv import os from numpy.linalg import norm,solve from time import time def copyarraytoC(a): n = ...
[ "jordanpitt3141@github.com" ]
jordanpitt3141@github.com
3514ec92ed02abcbee5fee7ae8ee2db6b9582ad4
a087b6fbd9bc4f3ec1d7f48268e733e106369fcd
/food_project/recipe/ingredient.py
7e888e99153f0a4be95aaba923d7f84a712d1aff
[]
no_license
zhakguder/FoodProject
8b628583fb2f0ee3537f5340301b78c926401968
7ab881d9884d366efffa7a4c84c27c02fbe7a467
refs/heads/main
2023-03-05T18:30:16.939582
2021-02-14T19:50:04
2021-02-14T19:50:04
327,974,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
#!/usr/bin/env python3 class Ingredient: def __init__(self, name, id, quantity, entropy): self.name = name self.id = id # column number in recipe ingredients dataframe self.quantity = quantity self.entropy = entropy # clusters = {} ingredients_to_clusters = {} # TODO: put this ...
[ "zeynep.hakguder@huskers.unl.edu" ]
zeynep.hakguder@huskers.unl.edu
4051013cb749e4537f1d7905343871778e1be479
14ed72a44d78f748d03df772c4449a5620ae2e85
/openstack_dashboard/api/nova.py
07688692eb223e3a73f7fa073aea0098e26c1304
[]
no_license
duihuhu/mydashboard
91a98b240da320f65a5324c78d099760057eb429
670f5f2fc7ceb7f0f2770b2f7f6f1c9173e0a8c6
refs/heads/master
2021-01-19T03:02:18.128402
2016-07-25T09:06:01
2016-07-25T09:06:01
64,120,033
0
0
null
null
null
null
UTF-8
Python
false
false
37,337
py
# Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 OpenStack Foundation # Copyright 2012 Nebula, Inc. # Copyright (c) 2012 X.commerce, a business unit of eBay Inc. # # Licensed under the Apach...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
3a390a443f62dda7aaf9ce5b667f5dfe9dd4c376
9b39e32f36e4f949d617e158c5034faa9595aaf0
/python/PHYS14/QCD_Pt-1800to2400_Tune4C_13TeV_pythia8_cff.py
e21dd683067ea39f4ddd04af1141721dd2490d0b
[]
no_license
awhitbeck/SuSySubstructure
c24043227697f74bb85edc1cb84d65b884a141d5
1422a1f6e46468fdd103f92ccbdffc34468cbbd9
refs/heads/synch_June26_2015
2021-01-19T07:43:59.339373
2015-08-16T09:35:49
2015-08-16T09:35:49
14,053,341
0
2
null
2015-08-08T08:24:37
2013-11-01T20:44:04
Python
UTF-8
Python
false
false
1,133
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/Phys14DR/QCD_P...
[ "whitbeck.andrew@gmail.com" ]
whitbeck.andrew@gmail.com
80323aa0c33ac672897ee319b3f16f71e768fb5c
da47e42519b6d5eb37bdb634fd618672706e79da
/localizacion_metromed/tys_http/__manifest__.py
5094cf573f3be281a9e1d379e90f33313dc7ee0c
[]
no_license
Tysamncaweb/produccion2
02bbbccefc4f4cd0d0948b1b0552d931f804fb9b
b95909d0689fc787185290565f0873040a6027cf
refs/heads/master
2022-04-26T13:51:22.316294
2020-04-29T19:58:35
2020-04-29T19:58:35
260,013,639
1
0
null
null
null
null
UTF-8
Python
false
false
916
py
# -*- coding: utf-8 -*- { 'name': "submodules/tys_http", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", ...
[ "soporte.innova2129@gmail.com" ]
soporte.innova2129@gmail.com
495b2ec1563ff083c161ceed00c7cb888178ead0
fbbaf3f4cf87d75e87c992f62f40dc198fb7b5a8
/libs/sqlalchemy-rel_0_7/lib/sqlalchemy/engine/reflection.py
76cb5bdaa4328f1096ba3b737ba8bc4d3d374d4c
[ "MIT" ]
permissive
sonikandpikachu/wcomp
cfe30371beb518fda9af890434a089673226df32
b0c445bf3e2fec636eb4b5cb01ae1e2fc06ed29a
refs/heads/master
2021-01-18T16:47:50.918828
2012-10-05T15:27:37
2012-10-05T15:27:37
3,497,017
0
1
null
null
null
null
UTF-8
Python
false
false
17,090
py
# engine/reflection.py # Copyright (C) 2005-2012 the SQLAlchemy authors and contributors <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Provides an abstraction for obtaining database schema information. Usage Note...
[ "marchukpavelp@gmail.com" ]
marchukpavelp@gmail.com
5ea6dac2e1e68ac62b2b84dc089bade38e2b1911
4e135c9d35a033c8f9f5c70e57ae27f61b4f34fb
/19_Sympact/Python/sympact.py
cc5b733f58860962724032b8ef0ef8b107763984
[]
no_license
xpessoles/TP_Documents_PSI
a95b57eebd32a3641a02623e01cd3ab32f3155c2
76bd77fed5a88337e7669c8ca01944020de47458
refs/heads/master
2023-08-23T21:15:23.205881
2023-08-15T06:15:29
2023-08-15T06:15:29
168,961,130
0
0
null
null
null
null
UTF-8
Python
false
false
3,417
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 21 07:27:14 2022 @author: xpess """ import numpy as np import matplotlib.pyplot as plt def trapeze(les_t:list,t1:float,t2:float,amax:float,vmax:float)->list : """ Détermination des loi horaires en trapèze Parameters ---------- les_t : list DE...
[ "xpessoles.ptsi@free.fr" ]
xpessoles.ptsi@free.fr
b34cc4a6c6bb510a6cb526348b14851f8cf7b341
27c9b374a75550252ddfe5da400fad891c6de590
/chars/monster_scripts/MonsterAudio.py
d92db631a6f408a33e87967e694889278c5eabfa
[]
no_license
Dynamique-Zak/Zelda_BlenderGame
03065416939deb3ce18007909ccc278c736baad0
0f5d5d15bfa79e9f8ea15f0ebcb76bce92f77a21
refs/heads/master
2016-08-13T00:12:34.746520
2016-02-19T23:18:27
2016-02-19T23:18:27
49,572,402
30
16
null
null
null
null
UTF-8
Python
false
false
383
py
import aud # load sound device device = aud.device() class MonsterAudio: def __init__(self): self.lastStepFrame = 0 def playStepSound(self, current_frame, frames, audio): for frame in frames: r = range(frame-1, frame+1) if ( (current_frame >= frame and current_frame <= frame+1) and self.lastStepFrame !=...
[ "schartier.isaac@gmail.com" ]
schartier.isaac@gmail.com
b4114f55a3b44215c32b9f099140ad31264d5e11
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/simple-cipher/85118e8764e3424d97f4175fe0cad1fd.py
28007cdd0fefc6a8857a63ff19f4b2b3418fd3e8
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
1,923
py
# cgi path # William Morris # exercism.io # cipher.py import random class Caesar: def __init__(self): self.key = 'd' def encode(self,phrase): encoded_phrase = '' for letter in phrase: if letter.isalpha(): encoded_phrase += _shift(le...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
2d6be584dbe664f1c96da1731febcec3c8fc88fb
2481cde6506743565dff2b405a2396daf208ab3e
/src/notification/migrations/0026_notificationmessage_sender.py
567ce2e804646575b24a3ee33b7668cbd7a59bdb
[ "Apache-2.0" ]
permissive
aropan/clist
4819a3036d179595e4df8c646aff2ed593b9dad3
5c805b2af71acee97f993f19d8d4e229f7f5b411
refs/heads/master
2023-08-31T11:15:17.987776
2023-08-27T21:51:14
2023-08-27T21:52:16
187,111,853
276
35
Apache-2.0
2023-09-06T18:42:53
2019-05-16T22:57:03
Python
UTF-8
Python
false
false
593
py
# Generated by Django 3.1.14 on 2022-01-17 00:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('true_coders', '0048_auto_20220111_2315'), ('notification', '0025_auto_20220111_2315'), ] operations = [ ...
[ "nap0rbl4@gmail.com" ]
nap0rbl4@gmail.com
b8aafb5b60e806817d8bb6084aae738c01bfca0b
22b1ca0d3e93c10356a95aa4377a798e3615bcc3
/djoauth/djoauth/urls.py
7566acb7c068796cad8ba9fafab4d105db12ece4
[]
no_license
xtornasol512/djoauth
b99142640356d454a738a5047a315449d3a5315a
dede596ecc0fee3010f331b01975b5cb51c122dd
refs/heads/master
2020-04-09T14:43:15.017259
2018-12-04T20:37:31
2018-12-04T20:37:31
160,405,246
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
"""djoauth URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "xtornasol512@gmail.com" ]
xtornasol512@gmail.com
3afd9866a37000da97a5bae4e35cf4934ba1a2ad
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/qichamao_cmpInfo_20210203092107.py
f91c112ba48f192dce00f481f0f2d683966be121
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
6,230
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : qichamao_cmpInfo.py @Time : 2021/02/03 09:17:24 @Author : Jiajun Chen @Version : 1.0 @Contact : 554001000@qq.com @License : (C)Copyright 2017-2018, Liugroup-NLPR-CASIA ''' import requests from bs4 import BeautifulSoup import time import cs...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
b4ccb64fb9f5a2c0c23bf3b386d43e9fbc4568bd
01a085bb89225d0390316036a915b2b8d7403219
/bin/dynamodb_dump
8550b8bc85167f6177c7a589e20cdfa1b46810ab
[]
no_license
vipinsachdeva/elasticluster_full
0199ee00e716f285173c8974fdf9570ab5d43470
71160196682a8d18a9547d5d28e8a885b067924d
refs/heads/master
2021-05-15T11:35:44.706476
2017-10-25T22:37:37
2017-10-25T22:37:37
108,333,786
1
0
null
null
null
null
UTF-8
Python
false
false
2,153
#!/home/vsachde/elasticluster/bin/python import argparse import errno import os import boto from boto.compat import json from boto.compat import six DESCRIPTION = """Dump the contents of one or more DynamoDB tables to the local filesystem. Each table is dumped into two files: - {table_name}.metadata stores the t...
[ "vipin@kryptonite" ]
vipin@kryptonite
d3930fcd5569ff795869cbce29d26dee4a4a1439
e00052a9c36f72e5b50ab0605fbd47f956f3d44f
/bigml/tests/test_40_local_from_file.py
cf221e7ad822415b9ed180a2f8e9fae2615dcfe1
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
Bakage1016/python
e0e97541732af1c3a22c29b9e1fe982c46a41521
d844258dbf43d5ae285fee793765aae95866ca58
refs/heads/master
2023-02-05T14:28:07.933696
2020-12-22T18:57:32
2020-12-22T18:57:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,488
py
# -*- coding: utf-8 -*- # # Copyright 2018-2020 BigML # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
[ "merce@bigml.com" ]
merce@bigml.com
823128232096e5a64b6c166ca62a3b471935bf31
4d01bd8003ac64b2a688db12108b472387c999c4
/Q_Q.py
a27e43ccf178755bb31aa68761a4fffd6c588111
[]
no_license
BlackHat-S/PWN
2ef6aa7db3baafe009ac31631bdaffaf043f3b85
cde1f9ee3258aa56c2634995d5baec14b500a399
refs/heads/master
2021-01-07T00:44:20.208899
2020-03-21T04:16:14
2020-03-21T04:29:47
241,529,666
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from pwn import * #p=process('./Q_Q') p=remote('121.40.92.129',28022) #gdb.attach(p) s2='you\x11need"pwntools!3' #s2=p32(0x11756F79) #s2=p32(0x6e11756f) p.sendline(s2) payload='a'*19+p32(0x8181B1B) p.sendline(payload) p.interactive()
[ "root@localhost.localdomain" ]
root@localhost.localdomain
39763dada35168638ae5e1e8b7ec0faa6847b5ba
0775a2175ddc9f41b4f7637a388623ca9ef15259
/chap8/16.子数组的最大累加和问题/16_maxSubArray.py
fb63c569d4ab173bbb1254567316ee40c6b6c431
[]
no_license
huang-jingwei/Coding-Interview-Guide
6839876457b3cf01a08c5623463e66fe9efa7416
a42f45213c94d529f69a61f0bda92eddfe5bdfea
refs/heads/master
2023-04-16T20:05:40.615475
2021-05-05T03:32:25
2021-05-05T03:32:25
286,343,194
6
1
null
null
null
null
UTF-8
Python
false
false
592
py
class Solution: def maxSubArray(self, nums: List[int]) -> int: if len(nums) == 1: # 只有一个元素 return nums[0] maxSubArraySum = [0] * len(nums) for index in range(len(maxSubArraySum)): if index == 0: maxSubArraySum[index] = nums[index] eli...
[ "2194454302@qq.com" ]
2194454302@qq.com
1801f478f73579ae23ce3d61b2ed1d64b5c7e40f
1cc8604dff9713d3879599f1876a6ea313ebe1fb
/pysc2/lib/stopwatch.py
6c4202c859716afb77ef1155c82b1955ffcfd8d1
[ "Apache-2.0" ]
permissive
SoyGema/pysc2
c363ec768ebf94e7b0fa08e136b36b7432ae1b44
e5de62023ec45ac212016b5404dd73272109d9d4
refs/heads/master
2022-02-08T21:41:46.530129
2022-01-29T13:11:15
2022-01-29T13:11:15
143,897,552
1
0
Apache-2.0
2018-08-07T16:06:23
2018-08-07T16:06:22
null
UTF-8
Python
false
false
7,935
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "tewalds@google.com" ]
tewalds@google.com
ea06394e335fad81afcb39da877df9cf15fbc2d3
bc441bb06b8948288f110af63feda4e798f30225
/translate_sdk/model/ops_automation/job_tasks_pb2.py
c0f92286f95c90cdfcca776560baf3bce86aceeb
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
10,518
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: job_tasks.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf i...
[ "service@easyops.cn" ]
service@easyops.cn
8ea422ab7d7637a015b6fe31a0e25db3f3cae371
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/561.py
36d9557ad1663cf9120d0f6c51352667ae7b8581
[]
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,015
py
import sys import re input = sys.stdin T=int(input.readline()) for i in xrange(1,T+1): data = input.readline() data = data.split() C = int(data[0]) cs = data[1:1+C] CS = {} for s in cs: CS["%s%s" % (s[0], s[1])] = s[2] CS["%s%s" % (s[1], s[0])] = s[2] D = int(data[1+C]) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
01a2e6b7af0a367e62438e4d324ed24336970776
9c1b28d9564cfde450f6590031ede667650d494f
/player/tasks.py
ade314e4fae37740ac46ba2df18ee15c5805a719
[]
no_license
gdmurray/rankedgg-backend
90f887f4d64ca5a38741ac8e9482f08fc5d6fd7e
ac312750a09a70907fe3e5a9ae9e1172c5e341d8
refs/heads/master
2022-12-18T16:54:27.302293
2019-03-24T05:24:23
2019-03-24T05:24:23
177,320,244
0
0
null
2022-12-08T04:54:05
2019-03-23T17:36:14
Python
UTF-8
Python
false
false
746
py
from ranked.celery import app from .models import Player from channels.layers import get_channel_layer from asgiref.sync import async_to_sync @app.task def update_ranked_data(pk, region=None): player = Player.objects.get(id=pk) print(f"Updating Ranked Data for {player.username}") metadata, updated_player...
[ "gd-murray@hotmail.com" ]
gd-murray@hotmail.com
62cb22669072ff1e224be98f36817be8899fa801
b3ba7762ae4e209a02bf3a47dc40ceff421087d2
/evm/chains/tester/__init__.py
fd1cdb4b31fe590a3b5ecfd0a0e1dfd75159d7ee
[]
no_license
nicksavers/py-evm
3c740ae328c5dd0f10c967660a4e452d257fdfa3
70631e3b726d093749a7315b8a4c6b1ebc4d7322
refs/heads/master
2021-08-15T21:35:19.556248
2017-11-17T21:20:24
2017-11-17T21:20:24
111,194,384
3
0
null
2017-11-18T09:56:00
2017-11-18T09:55:59
null
UTF-8
Python
false
false
4,795
py
from cytoolz import ( assoc, ) from eth_utils import ( reversed_return, ) from evm.chains.chain import Chain from evm.vm.forks import ( FrontierVM as BaseFrontierVM, HomesteadVM as BaseHomesteadVM, EIP150VM as BaseEIP150VM, SpuriousDragonVM as BaseSpuriousDragonVM, ) from evm.utils.chain imp...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
95ab80f3fc1195c06b5ffcbf8b1f17dc0ef31ab7
291fe7fb4cc5b682e560b0c5958e2220054451c6
/Big41/ch4/조건문1.py
c57b278f55bd2e596e39e220b35dc5942d768772
[]
no_license
MinksChung/BigdataCourse
44dc5e7e578515e1dafbb7870911e09347a788f4
293803415da5d9f354059ea556818cc7610f36a5
refs/heads/master
2022-12-22T06:14:59.880933
2020-01-26T14:58:09
2020-01-26T14:58:09
202,575,724
0
0
null
2022-12-15T23:28:43
2019-08-15T16:29:35
Python
UTF-8
Python
false
false
761
py
# print("파이썬 2번째 날입니다.") # age = 100 # # if age >= 20: # print("성인입니다.") # else: # print("미성인입니다.") # 비교연산자를 스트링 비교에 사용할 수 있다. # 제어문에 중간괄호({ })대신 :(콜론)을 사용한다. # :을 사용하면 반드시 다음 아래줄에 들여쓰기를 해야한다. # 들여쓰기 후, 꼭 처리 내용이나 pass를 써주어야 한다. # login_id = 'root' # if login_id == 'root': # print('로그인 ok'...
[ "minkschung@gmail.com" ]
minkschung@gmail.com
0412325572d786d5ff622d57872828e3ac3f1281
d6c117812a618ff34055488337aaffea8cf81ca1
/scenes/Breakout_Clone.py
17e3ecd37edfce711d910432545e1bc7b564035f
[]
no_license
c0ns0le/Pythonista
44829969f28783b040dd90b46d08c36cc7a1f590
4caba2d48508eafa2477370923e96132947d7b24
refs/heads/master
2023-01-21T19:44:28.968799
2016-04-01T22:34:04
2016-04-01T22:34:04
55,368,932
3
0
null
2023-01-22T01:26:07
2016-04-03T21:04:40
Python
UTF-8
Python
false
false
7,869
py
# -*- coding: utf-8 -*- # https://gist.github.com/SebastianJarsve/5305895 # Created by Sebastian Jarsve # 9. April 2013 from scene import * from sound import play_effect from random import randint def centered_rect(x, y, w, h): return Rect(x-w/2, y-h/2, w, h) class Field(object): def __init__(self): size = scree...
[ "itdamdouni@gmail.com" ]
itdamdouni@gmail.com
acafcee721e06c4272142c36a3deca0a91574319
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_2/models/object_store_access_policy_rule.py
c48033b9db845a618c81bd67851d063292b423c6
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
5,091
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.2, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "msholes@purestorage.com" ]
msholes@purestorage.com
95ed3ebf9418039cb36fd809dcb13026d8ffb163
4ca6c75b8cfe7604827827aeee83b104fa7c93d9
/tests/apigateway/tests.py
a4c13a38821d83909c9775a29a08392a8dee52c7
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
ZextrasGiacomoMattiuzzi/gordon
3767800c64caf4444a13c15e890f84505b62296d
b6e4e8d5998c2b2c4c4edb3a2ec7124290f46e8b
refs/heads/master
2022-12-22T02:21:09.422648
2020-09-16T15:03:06
2020-09-16T15:03:06
285,250,476
0
1
NOASSERTION
2020-08-05T10:05:08
2020-08-05T10:05:08
null
UTF-8
Python
false
false
3,393
py
import os import json import boto3 import requests from gordon.utils_tests import BaseIntegrationTest, BaseBuildTest from gordon.utils import valid_cloudformation_name from gordon import utils class IntegrationTest(BaseIntegrationTest): def test_0001_project(self): self._test_project_step('0001_project...
[ "me@jorgebastida.com" ]
me@jorgebastida.com
2dfd45cbd4308213e05b748eeca0e94c887cb457
b50f43c7c8cba1c0f349870596f12d1a333e6f42
/axonius_api_client/api/json_api/lifecycle.py
1b1fa1e637e4ac6cc877cd9a193ee9d9678de93e
[ "MIT" ]
permissive
zahediss/axonius_api_client
190ca466e5de52a98af9b527a5d1c132fd8a5020
8321788df279ffb7794f179a4bd8943fe1ac44c4
refs/heads/master
2023-08-01T14:35:17.095559
2021-09-13T21:04:23
2021-09-13T21:04:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
# -*- coding: utf-8 -*- """Models for API requests & responses.""" import dataclasses from typing import List, Optional, Type import marshmallow_jsonapi from .base import BaseModel, BaseSchema, BaseSchemaJson class LifecycleSchema(BaseSchemaJson): """Pass.""" last_finished_time = marshmallow_jsonapi.fields...
[ "jimbosan@gmail.com" ]
jimbosan@gmail.com
26d6ddad8285870df5057d6ccabf8e80206457e9
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/test/test_network_address.py
d733d83fb937e590c374c7132fc314a75cc127e8
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
62d0e0bb9ae6823f07924b56f20e211d04c91598
71dc727f9056934cd51692f8a3d26cf0dda44ef0
/sample-programs/week6/credit_card.py
c01ecf9751b6232aa66da9be53bfaadfc1851845
[ "MIT" ]
permissive
justinclark-dev/CSC110
9d255020a50bbfdb195465c3e742dd2fcd61e3a4
d738ec33b757ba8fa9cf35b2214c184d532367a0
refs/heads/master
2022-12-08T08:08:30.667241
2020-09-04T01:05:34
2020-09-04T01:05:34
232,606,910
0
1
MIT
2020-09-04T02:05:47
2020-01-08T16:28:37
Python
UTF-8
Python
false
false
2,153
py
# credit_card.py # # How long will it take to pay off a credit card balance?? # This program makes use of a loop to perform a SIMULATION # of a real-world situation. # CSC 110 # Fall 2011 ### Get and validate inputs interest_multiplier = float(input('Enter an ANNUAL INTEREST RATE ' \ + 'as a PERCENTAGE, >= zero:...
[ "justinclark.dev@gmail.com" ]
justinclark.dev@gmail.com
fc8513bcd2fc4bdbe5be8bd006d2a3eb9c1d4e7a
ee408614842a6d4dbb5b82e9c4561cf34eec71c9
/src/aircraft/__init__.py
e80708e9c427c76ecbd82fe6a61277c47d8a652d
[ "Apache-2.0" ]
permissive
relaxdiego/aircraft
ef0dd47d530f4abb4a4726111cc8f0d93f4b922a
ce9a6724fe33be38777991fbb1cd731e197fa468
refs/heads/main
2023-03-08T00:06:52.774568
2021-02-02T05:37:06
2021-02-02T05:37:06
290,408,644
10
1
NOASSERTION
2021-01-14T06:23:11
2020-08-26T05:56:16
HTML
UTF-8
Python
false
false
74
py
from pathlib import Path aircraft_dir = (Path(__file__) / '..').resolve()
[ "mmaglana@gmail.com" ]
mmaglana@gmail.com
52ee52ca04897359b7e695a86c8052f993618c0d
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/messenger/proto/xmpp/jid.py
e203d8aed0708dffb0f2472e615a03256d991a33
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,022
py
# 2017.02.03 21:53:47 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/proto/xmpp/jid.py import random import types import time from string import Template from ConnectionManager import connectionManager from ids_generators import SequenceIDGenerator from messenger import g_settings from messen...
[ "info@webium.sk" ]
info@webium.sk
d7a833d3cfc9b1389683b76c5f0ef9a016938987
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2017/09/wisc-gerrymandering-20170929/graphic_config.py
cb18764b6b447f7d4bc8090dc4075e9d99f838a3
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1F_HDqo1D2EwXiUx95wG4QPRAvhm3P76OP6aXyv8NYgY' USE_ASSETS = True # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
48afa2ed7bfc32040267b178f1deefe509eece2c
776125e755de00eecd90b9813022ae8491a75711
/artemis/experiments/experiments.py
bf0aa78fb62b8b59d5e1bcba51955aa1c79562b7
[ "BSD-2-Clause-Views" ]
permissive
nalyat/artemis
04c6d4b77e143f8f439dd4aefb519d9a1c5011e0
ad2871fae7d986bf10580eec27aee5b7315adad5
refs/heads/master
2022-04-10T04:45:28.753251
2019-04-17T03:18:57
2019-04-17T03:18:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,710
py
import atexit import inspect from collections import OrderedDict from contextlib import contextmanager from functools import partial from six import string_types from artemis.experiments.experiment_record import ExpStatusOptions, experiment_id_to_record_ids, load_experiment_record, \ get_all_record_ids, clear_expe...
[ "peter.ed.oconnor@gmail.com" ]
peter.ed.oconnor@gmail.com
76dbaf4b89ba0644af07d6d0fb1df5416f4fe855
16631cf7cd4a70f2cd2750851649d3eff5e17724
/2015/day19/part1.py
20687aa134135898c045654106d8f4e7b87ac77d
[]
no_license
kynax/AdventOfCode
1dd609a3308d733f2dd7d4ea00508d2da73180b9
36a339241dd7a31ebe08a73e5efa599e5faeea1a
refs/heads/master
2022-12-21T13:32:52.591068
2022-12-16T22:41:30
2022-12-16T22:41:30
48,439,585
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
import sys mol = 'CRnSiRnCaPTiMgYCaPTiRnFArSiThFArCaSiThSiThPBCaCaSiRnSiRnTiTiMgArPBCaPMgYPTiRnFArFArCaSiRnBPMgArPRnCaPTiRnFArCaSiThCaCaFArPBCaCaPTiTiRnFArCaSiRnSiAlYSiThRnFArArCaSiRnBFArCaCaSiRnSiThCaCaCaFYCaPTiBCaSiThCaSiThPMgArSiRnCaPBFYCaCaFArCaCaCaCaSiThCaSiRnPRnFArPBSiThPRnFArSiRnMgArCaFYFArCaSiRnSiAlArTiTiTiTiT...
[ "guilemay@gmail.com" ]
guilemay@gmail.com
1c35de4f84d46d2c3defc2f8ec85426949e56c02
97e60d0ca572d0dc3fc80f8719cd57a707ab6069
/bias_account_report_v6/__openerp__.py
6349817b455c8fc304e48597e462c7badb0b10a8
[]
no_license
josepato/bias_trunk_v6
0c7c86493c88f015c049a139360478cabec7f698
b6ab6fc2ff3dc832f26effdba421bcc76d5cabac
refs/heads/master
2020-06-12T14:18:31.101513
2016-12-15T22:55:54
2016-12-15T22:55:54
75,803,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify #...
[ "josepato@hotmail.com" ]
josepato@hotmail.com
15f8cd0d04070fe3d412a6539a5235a6a8ef6c98
da19363deecd93a73246aaea877ee6607daa6897
/xlsxwriter/test/worksheet/test_write_filter.py
bfe6d60fc98f85a51ac98245e67242f2736abce1
[]
no_license
UNPSJB/FarmaciaCrisol
119d2d22417c503d906409a47b9d5abfca1fc119
b2b1223c067a8f8f19019237cbf0e36a27a118a6
refs/heads/master
2021-01-15T22:29:11.943996
2016-02-05T14:30:28
2016-02-05T14:30:28
22,967,417
0
0
null
null
null
null
UTF-8
Python
false
false
775
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org # import unittest from ...compatibility import StringIO from ...worksheet import Worksheet class TestWriteFilter(unittest.TestCase): ...
[ "lealuque.tw@gmail.com" ]
lealuque.tw@gmail.com
9db96c6dbb62656d25dbde9c5f8ba667c8585fa8
3817a595bdf246996c1f3846860cea9a9154f1cc
/AltviaDogs/apps.py
6e7c68cfaf6935515b6abbaa873e7c0dd3d098b0
[]
no_license
shedwyn/AltviaDogs
99e83f217d891c5060d0b9a8f0997ea4ea2c5dc2
150078897d38c84ac3c492635ea777476e84b0d9
refs/heads/master
2021-01-24T00:32:32.176410
2018-08-24T20:01:47
2018-08-24T20:01:47
122,768,745
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
""" Designed and built by Erin 'Ernie' L. Fough. June 2018 (start) contact: shedwyn@gmail.com want to know when this was last updated? See README.md. """ from django.apps import AppConfig class AltviaDogsConfig(AppConfig): """Establish Link to Dog Manager (AltviaDogs) Application.""" name = 'AltviaDogs'
[ "shedwyn@gmail.com" ]
shedwyn@gmail.com
23bcdebc6312f35fb67216dff2380ccbe74890ab
68215f224dd76f8bf299c66c80cb4a0de1a05a20
/PythonTutorial/Advance/MetaClass/meta_class_example2.py
2e013f02ffac5c75fa0acaf6a410b099a0bd7425
[]
no_license
jhappye/Python-Study
3935e1d9ffead3afb1b39823a4114006094a6542
40a421980e9f56a97f6f7b9eb00bbf983ee12c5b
refs/heads/master
2023-08-30T17:36:26.313896
2021-11-16T09:53:39
2021-11-16T09:53:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
# 常规方法创建 class Foo: pass # 常规方法创建 class Bar(Foo): attr = 100 x = Foo() print(x) # 动态创建,和上面等价 Bar = type('Bar', (Foo,), dict(attr=100)) x = Bar() print(x) print(type(x))
[ "516495459@qq.com" ]
516495459@qq.com
76a14a2500ada13704b7d69ed40d39c206497011
680db028bdfd570688e66009dd41a424b2395a6e
/Camelcase.py
51a76dd0a42b6afcae6e169004a153a3dac0257b
[]
no_license
vitcmaestro/player
46fcf3138a7ba98a3aadae60aebdd68efdd16c55
8b9b132ec5f3dfe22521daf6122431451db8d880
refs/heads/master
2020-04-15T16:43:53.944347
2019-01-20T05:00:31
2019-01-20T05:00:31
164,848,284
1
1
null
null
null
null
UTF-8
Python
false
false
205
py
str1 = input("") str2 ="" for i in range(len(str1)): if(i==0): str2 +=str1[i].upper() elif(str1[i-1].isspace()): str2 +=str1[i].upper() else: str2 +=str1[i] print(str2)
[ "noreply@github.com" ]
vitcmaestro.noreply@github.com
149488d35576cf1a5937c6f95ae55ab3c88828d9
837d683ccf6aa08b0ad6d95f6af47fcc12b72da3
/pedersen_vss.py
586d0dff4ce73808e4596e669d77272e83f15f10
[]
no_license
froyobin/secretsharing
deef2cdb9be72ff51be339bfaae4822e351b8cf1
737f2aa074e0cb6f082916bd11afc658732777e1
refs/heads/master
2021-01-11T21:32:12.720629
2017-01-20T00:46:31
2017-01-20T00:46:31
78,798,569
2
0
null
null
null
null
UTF-8
Python
false
false
4,479
py
import argparse import shamir_secret_sharing from Crypto.Util import number #To make it simple, we give the f(X)=5+3x+8x^2 as params. It is easy to do # the test and write the code. p = int( "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF...
[ "froyo.bin@gmail.com" ]
froyo.bin@gmail.com
32e1da53f66f709ec826c5e6e98b69f964055011
644bcdabf35261e07c2abed75986d70f736cb414
/python-project/Defis/Euler_44_Test.py
059d736f3c4546ec361ff33f1fc9b32183c5bd48
[]
no_license
matcianfa/playground-X1rXTswJ
f967ab2c2cf3905becafb6d77e89a31414d014de
67859b496e407200afb2b1d2b32bba5ed0fcc3f0
refs/heads/master
2023-04-03T11:56:15.878757
2023-03-24T15:52:37
2023-03-24T15:52:37
122,226,979
5
20
null
null
null
null
UTF-8
Python
false
false
1,110
py
#Ne pas oublier de changer le module à importer module="Defis/Euler_44" import sys import io #On récupère les données de l'utilisateur sauvegarde_stdout=sys.stdout sys.stdout=io.StringIO() from Euler_44 import * count1 = sys.stdout.getvalue()[:-1] sys.stdout=sauvegarde_stdout from ma_bao import * #La réponse reponse...
[ "noreply@github.com" ]
matcianfa.noreply@github.com
07e8af6fb34efbf28fd13da8b7998358fa68674c
f9c2e53c48839fe5583f6da48e800eba793f83c8
/custom_components/hacs/repositories/integration.py
8470873279f13b52e25cd0fb77a631d30b168ab2
[]
no_license
Bobo2012/homeassistant-config
d6a5ebdd8de978d14a5d060ad77975280efdf95e
ee2567182e3ef250ee2a2e1a403fbc6f27057861
refs/heads/master
2020-08-21T20:04:53.531610
2019-10-18T22:59:54
2019-10-18T22:59:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,501
py
"""Class for integrations in HACS.""" import json from aiogithubapi import AIOGitHubException from homeassistant.loader import async_get_custom_components from .repository import HacsRepository, register_repository_class @register_repository_class class HacsIntegration(HacsRepository): """Integrations in HACS."""...
[ "arsaboo@gmx.com" ]
arsaboo@gmx.com
d95810328bbed890c7daf776a9675beedc3d8cd2
473568bf080e3637ee118b374f77e9f561286c6c
/SudoPlacementCourse/LeadersInAnArray.py
b2b997ace46a797ad0dd241ff7cd5667a35adba3
[]
no_license
VineetPrasadVerma/GeeksForGeeks
c2f7fc94b0a07ba146025ca8a786581dbf7154c8
fdb4e4a7e742c4d67015977e3fbd5d35b213534f
refs/heads/master
2020-06-02T11:23:11.421399
2020-01-07T16:51:18
2020-01-07T16:51:18
191,138,925
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
# n = int(input()) # # for k in range(n): # final_ans_list = [] # size_of_array = int(input()) # list_of_elements = input() # # int_list_of_elements = [int(i) for i in list_of_elements.split()] # # for i in range(len(int_list_of_elements)): # if i == len(int_list_of_elements) - 1: # ...
[ "vineetpd1996@gmail.com" ]
vineetpd1996@gmail.com
8294fce530b848259f949592831c9de1c760dbad
14a913fce4b538b22f28409645cd6abe3455808f
/bigquery/cloud-client/natality_tutorial.py
5bfa8f1d27a9736075f271b77657e9342df6d688
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
iamLoi/Python-Random-Number-Generator
8da7dbd37cb13a01232c8ed49b9df35a99c63d73
7579e8b15130802aaf519979e475c6c75c403eda
refs/heads/master
2022-08-29T19:05:32.649931
2019-09-14T14:48:58
2019-09-14T14:48:58
208,454,877
2
1
Apache-2.0
2022-08-05T21:57:49
2019-09-14T14:51:05
Python
UTF-8
Python
false
false
2,926
py
#!/usr/bin/env python # Copyright 2018 Google Inc. 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...
[ "noreply@github.com" ]
iamLoi.noreply@github.com
0618850a5db7746378ebd7c6d18fc84b9305a5e3
05324b134108e0e0fde392e0ae0fc22bfa1fb75f
/df_user/islogin.py
d2149c4633a4871adc7f90b232f8ccc8e25afcec
[]
no_license
2339379789/zhang_ttshop
2c8d546b9ed3710fd1f48d6075ea01955247d34f
44f9eb998182f4aa027d5d313b4957410b54a39d
refs/heads/master
2020-03-06T15:40:54.261769
2018-03-27T09:23:52
2018-03-27T09:23:52
126,960,140
2
1
null
null
null
null
UTF-8
Python
false
false
387
py
from django.http import HttpResponseRedirect def islogin(func): def login_fun(request, *args, **kwargs): if request.session.get('user_id'): return func(request, *args, **kwargs) else: red = HttpResponseRedirect('/user/login') red.set_cookie('url', reque...
[ "2339379789@qq.com.com" ]
2339379789@qq.com.com
fcdd844f805ea4a7bd79824935397e4ae355b4f3
62e58c051128baef9452e7e0eb0b5a83367add26
/x12/4052/354004052.py
c318eb1028c5e6c2d9a7772e6ec4c9f7cf7069da
[]
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
453
py
from bots.botsconfig import * from records004052 import recorddefs syntax = { 'version' : '00403', #version of ISA to send 'functionalgroup' : 'AY', } structure = [ {ID: 'ST', MIN: 1, MAX: 1, LEVEL: [ {ID: 'M10', MIN: 1, MAX: 1}, {ID: 'P4', MIN: 1, MAX: 20, LEVEL...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
c3b06571705e3d42ea421dbcc6cb94538267f247
078533ce919371451564646e3c311c8dd6fca7ea
/app/settings/prod.py
1425b25dbaa062e89c3c39a5947da1224923cd03
[]
no_license
cr8ivecodesmith/djdraft
cf5415a967dc7fc6f4f8d191def9c2b687c0d744
364ded3ea43acc874de367cd679c4bddfb64d837
refs/heads/master
2020-04-05T23:07:20.690873
2016-10-06T05:11:29
2016-10-06T05:11:29
23,010,461
2
1
null
2016-10-03T13:42:04
2014-08-16T04:17:23
Python
UTF-8
Python
false
false
1,558
py
from .base import * DEBUG = False ALLOWED_HOSTS = [ '{{ project_name }}.dev', ] ###### APP CONFIGURATION # See: https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps INSTALLED_APPS += [ ] ###### DATABASE CONFIGURATION # https://docs.djangoproject.com/en/dev/ref/settings/#databases DATABASES = {...
[ "matt@lebrun.org" ]
matt@lebrun.org
0af0e6aeb4bf93bb5c2c00acba6daf1feb4788c2
0566cf76b456518875edecece15e763a36a4795f
/scrapers/tv_showsonline_com.py
6208f8a041fec633df9bb9e2989a3db26e001ce2
[]
no_license
theclonedude/Scraping_BeautifulSoup_phantomjs
684b1f7a993e0d2555daa7a5455cf19bd29b0b1b
faf653feae46c21a72d13b2123cdebdb2f7c05d8
refs/heads/master
2023-03-16T19:36:14.867361
2018-06-14T14:21:02
2018-06-14T14:21:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
from sandcrawler.scraper import ScraperBase from sandcrawler.scraper import SimpleScraperBase class TvShowsOnline(SimpleScraperBase): BASE_URL = 'http://www.7stream.pro/' OTHER_URLS = ['http://tv-showsonline.com', ] def setup(self): self.register_scraper_type(ScraperBase.SCRAPER_TYPE_OSP) ...
[ "stryokka@gmail.com" ]
stryokka@gmail.com
585c1f38e68fa896e9f1b91523d7cde15f833d05
544fe02a27cc4d987724b1bf45c2ba2994676521
/Q6.3_brain_teasers.py
c42fb93923fdbb832381c85a4fbe252f28b128c3
[ "Unlicense" ]
permissive
latika18/learning
1e7a6dbdea399b845970317dc62089911a13df1c
a57c9aacc0157bf7c318f46c1e7c4971d1d55aea
refs/heads/master
2021-06-16T19:20:28.146547
2019-09-03T06:43:28
2019-09-03T06:43:28
115,537,386
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
#You have a five quart jug and a three quart jug, and an unlimited supply of water (but no measuring cups). How would you come up with exactly four quarts of water? #NOTE: The jugs are oddly shaped, such that filling up exactly ‘half’ of the jug would be impossible. _ ___________________________________________________...
[ "noreply@github.com" ]
latika18.noreply@github.com
e2e7d5b9b92f7a0b1b6801b43db9c95bca9229f0
1d159ff6d4d72b1a2399916ec1e28ef885b59323
/solutions/module_3/01_guess_my_number.py
4b9c9b119b0c1c64362318c3850d074b0c21f484
[]
no_license
Zerl1990/python_essentials
4e329b6e36b36ff340d505b26608d2b244ad2d09
ce257c25072debed9717960591e39c586edd7110
refs/heads/master
2023-02-28T17:42:17.465769
2021-02-02T23:39:41
2021-02-02T23:39:41
297,385,479
0
1
null
null
null
null
UTF-8
Python
false
false
884
py
import random print(( "+=========================================+\n" "| Guess my number! |\n" "| Please, select a numbers between [0-100]|\n" "| Let's start you have 10 opportunities |\n" "+=========================================+\n" )) my_number = random.randint(0, 100...
[ "luis.m.rivas@oracle.com" ]
luis.m.rivas@oracle.com
3972d6d7840538ecae880e9e1fda6b25c54b8bb0
db12b990924703cd74748d8585cd9c11fafa6746
/h2o-py/tests/testdir_apis/H2O_Module/pyunit_h2oas_list.py
3e7ec87a09dad726385a034be07e5ed147db3d49
[ "Apache-2.0" ]
permissive
h2oai/h2o-3
919019a8f297eec676011a9cfd2cc2d97891ce14
d817ab90c8c47f6787604a0b9639b66234158228
refs/heads/master
2023-08-17T18:50:17.732191
2023-08-17T16:44:42
2023-08-17T16:44:42
17,371,412
6,872
2,345
Apache-2.0
2023-09-14T18:05:40
2014-03-03T16:08:07
Jupyter Notebook
UTF-8
Python
false
false
727
py
import sys sys.path.insert(1,"../../../") from tests import pyunit_utils import h2o from h2o.utils.typechecks import assert_is_type def h2oas_list(): """ Python API test: h2o.as_list(data, use_pandas=True, header=True) Copied from pyunit_frame_as_list.py """ iris = h2o.import_file(path=pyunit_utils...
[ "noreply@github.com" ]
h2oai.noreply@github.com
c79d336c33025ee87041b0924dfe4af9287a02f3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03087/s875530520.py
c6f926255e87de91fe2fee869e4c531b1ffd87e1
[]
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
313
py
N, Q = map(int, input().split()) S = str(input()) li = [] cnt = 0 for i in range(N-1): if S[i]=='A' and S[i+1]=='C': cnt += 1 li.append(cnt) else: li.append(cnt) for i in range(Q): l, r = map(int, input().split()) if l > 1: ans = li[r-2] - li[l-2] else: ans = li[r-2] print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
16d806ed7bb7721136f1534dbe98b1aaa13ec985
b15c47a45207e854fb002d69f7e33f8943a5e2b3
/cluster/preprocess/pre_node_merge_text2seq.py
c25a02debf845bcb7cf7835b41e46d424efd847a
[ "Apache-2.0" ]
permissive
yurimkoo/tensormsa
e1af71c00a6b2ec3b3ed35d5adad7bafc34c6fbe
6ad2fbc7384e4dbe7e3e63bdb44c8ce0387f4b7f
refs/heads/master
2021-07-22T13:41:45.110348
2017-11-02T07:13:31
2017-11-02T07:13:31
109,469,204
1
0
null
2017-11-04T05:19:51
2017-11-04T05:19:50
null
UTF-8
Python
false
false
2,165
py
from cluster.preprocess.pre_node import PreProcessNode from master.workflow.preprocess.workflow_pre_merge import WorkFlowPreMerge as WFPreMerge class PreNodeMergeText2Seq(PreProcessNode): """ """ def run(self, conf_data): return True def _init_node_parm(self, key): """ :ret...
[ "tmddno1@naver.com" ]
tmddno1@naver.com
ae3450610d3f4a3c4469aa2562e125c8a4c0108f
475e2fe71fecddfdc9e4610603b2d94005038e94
/Facebook/moveZeroes.py
f41fef3843fc872dc295c4699bbbe39783028f77
[]
no_license
sidhumeher/PyPractice
770473c699aab9e25ad1f8b7b7cd8ad05991d254
2938c14c2e285af8f02e2cfc7b400ee4f8d4bfe0
refs/heads/master
2021-06-28T20:44:50.328453
2020-12-15T00:51:39
2020-12-15T00:51:39
204,987,730
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
''' Created on Oct 8, 2020 @author: sidteegela ''' ''' Input: [0,1,0,3,12] Output: [1,3,12,0,0] Input: [0,0] Output: [0,0] ''' ''' A two-pointer approach could be helpful here. The idea would be to have one pointer for iterating the array and another pointer that just works on the non-zero elements of the array. ...
[ "sidhumeher@yahoo.co.in" ]
sidhumeher@yahoo.co.in
2ff02576828483feb35dafe118dc773c7fb9f7a0
da19363deecd93a73246aaea877ee6607daa6897
/xlsxwriter/test/comparison/test_page_breaks05.py
fb2c64036f0be6ae53d7ae0229ca42202a630f17
[]
no_license
UNPSJB/FarmaciaCrisol
119d2d22417c503d906409a47b9d5abfca1fc119
b2b1223c067a8f8f19019237cbf0e36a27a118a6
refs/heads/master
2021-01-15T22:29:11.943996
2016-02-05T14:30:28
2016-02-05T14:30:28
22,967,417
0
0
null
null
null
null
UTF-8
Python
false
false
1,378
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTes...
[ "lealuque.tw@gmail.com" ]
lealuque.tw@gmail.com
2ae73fa529d6a5d8123828c55ea1d50f63660ebd
4a43cded9d76bd05ca87f037de19ff921a60e151
/13day/07-线程多任务.py
4669c5331f43b6623bc152dc6442a8ad57e8eec5
[]
no_license
lishuang1994/-1807
f7d54c3c93d41539747fc77529d56e73a931676f
23ee6d351a2797d3f5ba7907954d1a93d2745c10
refs/heads/master
2020-03-25T10:09:39.333264
2018-08-22T10:53:49
2018-08-22T10:53:49
143,685,206
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
import time from threading import Thread def saysorry(): print("亲爱的,跪安了") time.sleep(1) for i in range(5): #t = Threadinng(target=saysorry) #t.start() saysorry()
[ "840948928@qq.com" ]
840948928@qq.com
56e7a6002a1b13179f7eeff237b55cbc56349463
ca2b93910a308b92712cd81ac12e7345ddb7c9d1
/r_venv/bin/chardetect
a7917fbfdbafa7afbe83d9a730a5833521b87b66
[]
no_license
KeksikProg/rrs_site
e90eb146573b4dfc8a3a7d082febb43e4f904e9e
41fcbbc052b89bf5d16604b5b6a6dc14ab74ad69
refs/heads/master
2023-06-27T03:59:36.984418
2021-01-02T21:31:40
2021-01-02T21:31:40
315,104,198
0
0
null
null
null
null
UTF-8
Python
false
false
253
#!/home/maxek/python/rrs_site/r_venv/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from chardet.cli.chardetect import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "fvvfvfvf.vfvfvfv@yandex.ru" ]
fvvfvfvf.vfvfvfv@yandex.ru
e34d413a8c1c98d6d21b693a46353b5a9c8d1190
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2819/60731/291725.py
8bfd0a4aca43e95e2c7b094a9d0e61a6a52acd4a
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
324
py
n=int(input()) data=list(map(int,input().split())) numof1=data.count(1) numof2=data.count(2) numof3=data.count(3) numof4=data.count(4) ans=0 ans+=numof4 num1=int(numof1/4) ans+=num1 numof1-=4*num1 num2=int(numof2/2) ans+=num2 numof2-=2*num2 if (num2+numof3)>=numof1: ans+=(numof2+numof3) else: ans+=numof1 print(...
[ "1069583789@qq.com" ]
1069583789@qq.com
55782bca4fc53bfb30a3d26d1336c6538a21a16a
6b8c3974d3ce5f7841e51dcb406666c0c5d92155
/heat/heat_integrationtests/common/clients.py
c7a7f60e6cf45d26c6119542ab40388bb7cfed8a
[ "Apache-2.0" ]
permissive
swjang/cloudexchange
bbbf78a2e7444c1070a55378092c17e8ecb27059
c06ed54f38daeff23166fb0940b27df74c70fc3e
refs/heads/master
2020-12-29T03:18:43.076887
2015-09-21T07:13:22
2015-09-21T07:13:22
42,845,532
1
1
null
2015-09-21T07:13:22
2015-09-21T05:19:35
C++
UTF-8
Python
false
false
5,888
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
[ "kiku4@kinx.net" ]
kiku4@kinx.net
7b56fc22aa32b03fb0cfa39a1d0b49bca82553d5
59d5a801dd8361fe2b68f0cdfc1a0c06bbe9d275
/Competition/fast-flux域名检测/backup/v1/feature_engineering.py
70c7ab417fa009bb50ad40233fda391a9e85cdb7
[]
no_license
HanKin2015/Machine_to_DeepingLearning
2ff377aa68655ca246eb19bea20fec232cec5d77
58fa8d06ef8a8eb0762e7cbd32a09552882c5412
refs/heads/master
2023-01-25T01:16:41.440064
2023-01-18T08:23:49
2023-01-18T08:23:49
134,238,811
0
1
null
null
null
null
UTF-8
Python
false
false
8,016
py
# -*- coding: utf-8 -*- """ 文 件 名: feature_engineering.py 文件描述: 特征工程 作 者: HanKin 创建日期: 2022.10.18 修改日期:2022.10.18 Copyright (c) 2022 HanKin. All rights reserved. """ from common import * def exception_value_processing_by_delete(dataset, feature, lower_threshold, upper_threshold): """异常值处理(删除) ...
[ "1058198502@qq.com" ]
1058198502@qq.com
e3c587cf4a2d905939a4c7e8750bc6d0ff07f00c
4c718d78039ca97e1a9b18897642e8bc5cd394d9
/Python code of quizzes/Lesson 6/TagTypes.py
e4bdc42307b8303b26cd8b79cf4aa17d2960ee3f
[]
no_license
aish27/data-wrangle-openstreetmaps-data
81a3fa4a1a06ea8972f6e98af77e9e71350a65bc
9e5eedf49ca67b480bb969ebe4db77df62bf238d
refs/heads/master
2020-12-02T19:26:04.726496
2015-06-12T17:38:37
2015-06-12T17:38:37
37,049,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,562
py
#Determines the problematic tag types that exist in a dataset and their numbers. #!/usr/bin/env python # -*- coding: utf-8 -*- import xml.etree.cElementTree as ET import pprint import re lower = re.compile(r'^([a-z]|_)*$') lower_colon = re.compile(r'^([a-z]|_)*:([a-z]|_)*$') problemchars = re.compile(r'[=\+/&...
[ "root@ip-10-47-174-141.ec2.internal" ]
root@ip-10-47-174-141.ec2.internal
a0c7ffbc2b8b323aaf0df3752796182fa2ad9aa5
0d0cf0165ca108e8d94056c2bae5ad07fe9f9377
/12_Dimensionality_Reduction_in_Python/2_Feature_selection_I_selecting_for_feature_information/visualizingTheCorrelationMatrix.py
219bc39cbbc113f94d69e038232a34aa880c624e
[]
no_license
MACHEIKH/Datacamp_Machine_Learning_For_Everyone
550ec4038ebdb69993e16fe22d5136f00101b692
9fe8947f490da221430e6dccce6e2165a42470f3
refs/heads/main
2023-01-22T06:26:15.996504
2020-11-24T11:21:53
2020-11-24T11:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
# Visualizing the correlation matrix # Reading the correlation matrix of ansur_df in its raw, numeric format doesn't allow us to get a quick overview. Let's improve this by removing redundant values and visualizing the matrix using seaborn. # Seaborn has been pre-loaded as sns, matplotlib.pyplot as plt, NumPy as np an...
[ "noreply@github.com" ]
MACHEIKH.noreply@github.com
f765a53567eb4d535fe4f1d1fd0c6899ff8f27de
4edbeb3e2d3263897810a358d8c95854a468c3ca
/python3/psutil/count1.py
2930af68edad4e73b64927a1ebaa37e2c82cd7d6
[ "MIT" ]
permissive
jtraver/dev
f505d15d45b67a59d11306cc7252114c265f388b
2197e3443c7619b856470558b737d85fe1f77a5a
refs/heads/master
2023-08-06T02:17:58.601861
2023-08-01T16:58:44
2023-08-01T16:58:44
14,509,952
0
1
MIT
2020-10-14T18:32:48
2013-11-19T00:51:19
Python
UTF-8
Python
false
false
233
py
#!/usr/bin/env python3 #!/usr/bin/python import time import sys def main(): # for count in xrange(10000000): for count in range(10): print("%s" % str(count)) sys.stdout.flush() time.sleep(1) main()
[ "john@aeropsike.com" ]
john@aeropsike.com
22333f24e36f7de94f303b98576d2fb4166f585b
e91fe9c77c39ab855383839820867d5dda27cfdd
/posts/api/pagination.py
feb17a52e7d48c1ab4073025106caa309455469e
[]
no_license
chutchais/Blog-API
6a69580c1f97ecce01e500de56e730864f1e519a
8402d638832703aa4ede7e7e05ac47a902320cd9
refs/heads/master
2021-01-12T03:19:36.874801
2017-01-12T14:48:42
2017-01-12T14:48:42
78,195,920
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from rest_framework.pagination import ( LimitOffsetPagination, PageNumberPagination, ) class PostLimitOffsetPagination(LimitOffsetPagination): default_limit =2 max_limit=10 class PostPageNumberPagination(PageNumberPagination): page_size=2
[ "chutchai.s@gmail.com" ]
chutchai.s@gmail.com
b878c8557764a724f1d3aeb71971de4a8a664095
2fac796fa58c67fb5a4a95a6e7f28cbef169318b
/python/connecting-graph-ii.py
8dd9c83c7a70a19f748db2b7a41f9c71f45adecf
[]
no_license
jwyx3/practices
f3fe087432e79c8e34f3af3a78dd10278b66dd38
6fec95b9b4d735727160905e754a698513bfb7d8
refs/heads/master
2021-03-12T20:41:59.816448
2019-04-14T06:47:30
2019-04-14T06:47:30
18,814,777
2
0
null
null
null
null
UTF-8
Python
false
false
753
py
class ConnectingGraph2: # @param {int} n def __init__(self, n): self.father = [0 for i in xrange(n + 1)] self.counter = [1 for i in xrange(n + 1)] def find(self, a): if self.father[a] == 0: return a self.father[a] = self.find(self.father[a]) return self....
[ "jwyx88003@gmail.com" ]
jwyx88003@gmail.com
78ceb669efd476b37e638363e08047a53d19a248
2ef73026be3e830d4d272c67dc09977383b17a31
/new_python/kmltools.py
9c31df4146b23662cadd6a31cfe76ceff807764b
[ "BSD-3-Clause" ]
permissive
rjleveque/new_features_for_v5.7.0
8af89593879eb56cfb097773de59f6ca01d8afdd
b939d18c3e6ff58b7f3a1b96ce4f553a3babbda9
refs/heads/master
2020-12-09T01:46:22.336135
2020-01-26T00:21:06
2020-01-26T00:21:06
233,155,725
0
0
null
2020-01-11T00:57:09
2020-01-11T00:57:08
null
UTF-8
Python
false
false
38,490
py
r""" kmltools module: $CLAW/geoclaw/src/python/geoclaw/kmltools.py Tools to make kml files to overlay on Google Earth. Note that color is in KML format, BGR with 2 hex digits for each, e.g. FF0000 is blue, 00FF00 is green, 0000FF is red, 00FF00 is yellow. Actually it's an 8 hex digit number, where the first two d...
[ "rjl@uw.edu" ]
rjl@uw.edu
848e22f57c458f6d6b6d62ebfd4d38411ec32a4d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03623/s878257952.py
3b621e177a4b3597998ce1dffd6331ec72409b90
[]
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
114
py
import numpy as np x, a, b = map(int, input().split()) ans = 'A' if np.abs(a-x) < np.abs(b-x) else 'B' print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
10f6230475b7cd896a058d46d101b08a3ccd9aa9
1885e952aa4a89f8b417b4c2e70b91bf1df887ff
/ABC163/D.py
618f915abc6ca69fb1b9175433ddb970de9c633a
[]
no_license
takumiw/AtCoder
01ed45b4d537a42e1120b1769fe4eff86a8e4406
23b9c89f07db8dd5b5345d7b40a4bae6762b2119
refs/heads/master
2021-07-10T12:01:32.401438
2020-06-27T14:07:17
2020-06-27T14:07:17
158,206,535
1
1
null
null
null
null
UTF-8
Python
false
false
355
py
import sys readline = sys.stdin.buffer.readline MOD = 10 ** 9 + 7 def main(): N, K = map(int, readline().rstrip().split()) ans = 0 m = (N * (N + 1)) // 2 for k in range(K, N+2): mi = ((k-1) * k) // 2 ma = m - ((N-k) * (N-k+1)) // 2 ans += (ma - mi + 1) print(ans % MOD) if...
[ "w.tak.1229@gmail.com" ]
w.tak.1229@gmail.com
33f056391e83925927ed0a1ee7622d51726e6f1b
8baa00a8c04f64e983532fa4a420c68f490bdaa8
/devel/lib/python2.7/dist-packages/controller_manager_msgs/srv/__init__.py
0d59dd77bd5bfaae8a46f01276a690a4799e786e
[]
no_license
samuel-cavalcanti/TIAGo
e52c778f40ba8e03af21ba275b45b7faac5625b3
575533f713338b28ee5709279a874c9e374d77bd
refs/heads/master
2021-04-06T01:32:09.090002
2018-03-10T23:51:45
2018-03-10T23:51:45
124,707,936
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
/home/samuel/tiago_public_ws/devel/.private/controller_manager_msgs/lib/python2.7/dist-packages/controller_manager_msgs/srv/__init__.py
[ "scavalcanti111@gmail.com" ]
scavalcanti111@gmail.com
8a73ed73df99cfaa28920f158ae86bd17b3931a9
854a7abae6ac9611ee206e2fe8853b49bc556040
/manage.py
4f2f6156f0a150a56fc18926285ed3cd30f56216
[]
no_license
crowdbotics-apps/vivek-2505
5e97f3f5333ed87969be90623be63f94ae3a54f3
668389589c44885ca9a3b2d0a60ff31389bc8b64
refs/heads/master
2020-05-15T21:33:27.596420
2019-04-21T07:20:39
2019-04-21T07:20:39
182,502,578
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "vivek_2505.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that t...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5ae57a50894ee06d799ee88acb9132651d570cb8
78f54f911d47019da0deeeb6579c7e9e65bb8d21
/src/scheduler/models/dao/common/Log.py
1171ab5340bfce2bfeec5a4abb90b01fc98e85fa
[ "MIT" ]
permissive
jedicontributors/pythondataintegrator
02f8ae1a50cf5ddd85341da738c24aa6a320c442
3e877b367ab9b20185476128ec053db41087879f
refs/heads/main
2023-06-15T07:37:13.313988
2021-07-03T15:46:43
2021-07-03T15:46:43
354,021,102
0
0
MIT
2021-07-03T15:46:44
2021-04-02T13:03:12
Python
UTF-8
Python
false
false
913
py
from sqlalchemy import Column, String, Integer, DateTime from IocManager import IocManager from models.dao.Entity import Entity class Log(Entity, IocManager.Base): __tablename__ = "Log" __table_args__ = {"schema": "Common"} TypeId = Column(Integer, index=True, unique=False, nullable=False) Content = C...
[ "ahmetcagriakca@gmail.com" ]
ahmetcagriakca@gmail.com
ed2b58b2eac75fc198b26d5e62452595da90df0d
3d5c57007b7792328b89eaa55ba27f852997f579
/pysemantic/tests/test_project.py
77103f1683b85a04ded533290d3744becd10be41
[ "BSD-3-Clause" ]
permissive
abhishekarora12/pysemantic
7b39bed7fe2911c996bd2caf8609f23f3ac58086
5e4a08401c6dee62e6e298312e9401e03e952d4b
refs/heads/master
2020-12-28T22:34:24.415014
2015-09-02T07:34:29
2015-09-02T07:34:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,742
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2015 jaidev <jaidev@newton> # # Distributed under terms of the BSD 3-clause license. """Tests for the project class.""" import os.path as op import os import tempfile import shutil import warnings import unittest from ConfigParser import ...
[ "deshpande.jaidev@gmail.com" ]
deshpande.jaidev@gmail.com
643eb7f477425f02153c3d2c8d108744da4cae8e
52cb25dca22292fce4d3907cc370098d7a57fcc2
/BAEKJOON/1차원배열/10818_최소, 최대.py
86667a7ec7f8aea5cf57f1648b87a1660e4cd302
[]
no_license
shjang1013/Algorithm
c4fc4c52cbbd3b7ecf063c716f600d1dbfc40d1a
33f2caa6339afc6fc53ea872691145effbce0309
refs/heads/master
2022-09-16T12:02:53.146884
2022-08-31T16:29:04
2022-08-31T16:29:04
227,843,135
1
0
null
null
null
null
UTF-8
Python
false
false
121
py
num = int(input()) test_case = list(map(int, input().split())) print('{0} {1}'.format(min(test_case), max(test_case)))
[ "shjang113@gmail.com" ]
shjang113@gmail.com
74df909a3eadb0de7ee6075b1ba1e97fbaab5606
0e726928cc61cc4b140bb81e4187f7588cba1622
/manage.py
0cb7605ed6afbf33322846dd0c1d656b02edac5a
[]
no_license
LeoKnox/djangoadv1
7a76652b4f59174b31f36f2b2f65662cdf17f05e
82f5eb82728ec539a725a1460e387cd195af872e
refs/heads/main
2022-12-28T23:26:55.682230
2020-10-17T22:22:52
2020-10-17T22:22:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_adv.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import...
[ "noreply@github.com" ]
LeoKnox.noreply@github.com
655ca34106da480d21ec9bb6da7b33271375ad14
a56a74b362b9263289aad96098bd0f7d798570a2
/venv/lib/python3.8/site-packages/tornado/curl_httpclient.py
b81316c01b086b4136ec914a0494b394529a1c69
[ "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
24,693
py
# # Copyright 2009 Facebook # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
[ "kitae.yoon@deliveryhero.co.kr" ]
kitae.yoon@deliveryhero.co.kr
084706420a235cb05902a3d6090d79a5ce7dd498
3ce592352627591346ea33ea0c2665ad879414e2
/References/opengl/computer.graphics.through.opengl/02_basic_drawing/moveSphere.py
eda2a48c42e3589ed85713e89d5a27c85fe955ba
[ "MIT" ]
permissive
royqh1979/python_libs_usage
113df732ef106f4a5faae1343493756fd703c8c0
57546d5648d8a6b7aca7d7ff9481aa7cd4d8f511
refs/heads/master
2021-04-16T18:14:43.835482
2021-01-11T03:55:25
2021-01-11T03:55:25
249,374,754
0
0
null
null
null
null
UTF-8
Python
false
false
2,672
py
""" // moveSphere.py // // This program allows the user to move a sphere to demonstrate // distortion at the edges of the viewing frustum. // // Interaction: // Press the arrow keys to move the sphere. // Press the space bar to rotate the sphere.. // Press r to reset. // """ from PyQt5 import QtWidgets, QtCore, QtGui,...
[ "royqh1979@gmail.com" ]
royqh1979@gmail.com
e0287539bd801f859c461d1ae1d70b8055288938
5759c0ed3219c06437ce5b39ef9ad92b5e191fed
/py/0428_serialize_and_deserialize_n_ary_tree.py
1df779c0ca32628d1c3067e97cc5b065abbbda52
[]
no_license
mengnan1994/Surrender-to-Reality
ba69df7c36112ad19f19157a9f368eae6340630f
66232728ce49149188f863271ec2c57e426abb43
refs/heads/master
2022-02-25T01:34:49.526517
2019-09-22T17:21:28
2019-09-22T17:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,773
py
""" Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment. Design an algorithm to serialize and deseria...
[ "hurricane.cui@gmail.com" ]
hurricane.cui@gmail.com
3330ac47b8e263dc784e8adc5c51fdaaa3d8f3ed
140929bb7a81dd76688d5acc923f28aa0ff539d8
/env/lib/python3.6/site-packages/pyglet/gl/gl.py
124e049934b4d7e17508d83139153ba74ef16da6
[ "Apache-2.0" ]
permissive
boodahDEV/Soni-IA
bd4436895c6c61c191e8968a964667af174121cd
c452c0b3df3a3ced4b5027c2abb4f3c22fd0f948
refs/heads/master
2020-05-05T01:27:04.810504
2019-05-27T06:48:08
2019-05-27T06:48:08
179,603,282
2
1
Apache-2.0
2019-05-27T06:38:43
2019-04-05T01:39:46
Python
UTF-8
Python
false
false
134,082
py
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 Alex Holkner # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistribu...
[ "boodah21@protonmail.com" ]
boodah21@protonmail.com
18f43854543ea9c9c8c46129f56e665c7042d7d6
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/468/usersdata/304/111685/submittedfiles/Av2_Parte3.py
8f2fd9356f208463f08f81498b9a718876b02d30
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
# -*- coding: utf-8 -*- m = int(input('Quantas listas: ')) n = int(input('Qntd elemento listas: ')) for i in range (0,m,1): lista=[] for j in range (0,n,1): lista.append(int(input('Elemento: '))) media = sum(lista)/len(lista) soma = 0 for i in range (0,(n-1),1): soma += ((i - media)) dp...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6ce2e5527681d74d95f3836d7b83db44985c073f
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/resolve/AugmentedAfterAugmented.py
af870d6359d0bd6f1ecb6491cd6243ee652c1cc7
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
53
py
foo = 1 foo += 1 while True: foo += 2 # <ref>
[ "andrey.vlasovskikh@jetbrains.com" ]
andrey.vlasovskikh@jetbrains.com
877c2c1ffca4cf685c39619bd5877709a434348d
0d0ee226b655e7e665d3e7fef2aeec701f74d581
/tests/integration/test_s3.py
87e0d8ed54ceb00d306a916b40b333916b6578b8
[ "MIT" ]
permissive
spcs/botocore
435c180e93aa670ccf924a14ae776dd075d09fde
fc6b7454e5e17cfd6428b1abdffa38856d77bd25
refs/heads/master
2021-01-17T06:42:31.356668
2013-10-02T19:12:49
2013-10-02T19:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,424
py
# Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved # # 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 ...
[ "js@jamesls.com" ]
js@jamesls.com
8e858adedb2bd3195fa4dfb7bb2b4c6af2189603
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03910/s110121278.py
4c9ecfd6bfbe6621fcbe2a07ea7568326440d590
[]
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
153
py
N = int(input()) s = 0 j = 1 for i in range(1, N+1): s += i if s >= N: j = i break k = s - N for i in range(1, j+1): if i == k: continue print(i)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6adc117fbecb878e659be7ef8fe69003caf90078
9ac91b5fca46997a484fe0dd9a9d23e01dae5c7c
/OOP/OOP3.py
1d6abae38d36497d7429d8e9b897e612cd43503d
[]
no_license
HomeNerd/OrneklerPython7
b03e649a3f1c9c23730a3eeb723b0df4890273f7
711e26917244d89cdf492df0489d02b630732215
refs/heads/master
2020-06-08T15:26:37.974583
2019-08-08T12:58:24
2019-08-08T12:58:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
class KatHarita: en_sayi = 10 boy_sayi = 10 magazametre = 50 yolmetre = 50 print(dir(KatHarita))
[ "ibrahim.ediz@gazi.edu.tr" ]
ibrahim.ediz@gazi.edu.tr
fa1fa3378a017fe7890883215c6f4ed40f43828a
a2b696ba8edd5e6b8aa1a4c4aea19cc56e6beb66
/api/serializers.py
d4db895abe2ac6146ca319be0a8d40433d07655a
[]
no_license
kyrios213/drf-django
7163eeaba2f32cd0f1cfa5871718c1892a7dc83a
d61438bbb919e7ab845da14bf04cfd85d108de73
refs/heads/main
2023-06-05T03:19:33.440410
2021-06-21T03:23:46
2021-06-21T03:23:46
378,791,890
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
from rest_framework import serializers, viewsets from django.contrib.auth import get_user_model class UserSerializer(serializers.ModelSerializer): class Meta: model = get_user_model() fields = ['id', 'email', 'password'] extra_kwargs = {'password': {'write_only': True, 'min_length': 8}} ...
[ "kyrios213@gmail.com" ]
kyrios213@gmail.com
9132e1ad54fca3fe47ba425f3bbb3e1377737f65
6b6bf72694e5aa6425f11c956e4a5371b2c73e09
/populate/main.py
bcccf70630692e0c3d23db7eb0615a5c25787907
[]
no_license
danielspeixoto/elasticsearch-workshop
5d9dccebb80bf58b786f167ff8eb6de8a0282a8c
9872831361ea349453b8e202eb02880c43cbc238
refs/heads/master
2020-04-02T01:18:28.858625
2018-10-25T22:24:28
2018-10-25T22:24:28
153,848,788
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from helpers.Index import Index, connect from helpers.XMLRepository import XMLRepository connection = connect("localhost", "9200") index = Index(connection, "meu-index") dados = XMLRepository("./datasets/bitcoin/") index.bulk_insert(dados.data())
[ "danielspeixoto@outlook.com" ]
danielspeixoto@outlook.com
15aa14bd147b72e801f55c46ff70efe32d7ef80e
d6074aac6e9e5f2fa5355c3c9ddaebe892c4151d
/setup.py
8813b411347ea2ca52a5f6274befae3a458b8877
[ "BSD-2-Clause" ]
permissive
pombredanne/pydeps
f5aae8b825cf86db8308adad808b4bbf8cee52a2
95833f42f86f9c5c23ef14b675828d0ddc4df73e
refs/heads/master
2021-01-18T07:52:41.522028
2016-05-19T13:53:14
2016-05-19T13:53:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
import setuptools from distutils.core import setup setup( name='pydeps', version='1.2.7', packages=['pydeps'], install_requires=[ 'enum34' ], long_description=open('README.rst').read(), entry_points={ 'console_scripts': [ 'pydeps = pydeps.pydeps:pydeps', ...
[ "bp@datakortet.no" ]
bp@datakortet.no
1ded2999966d01cb7228a2a4f5bc86303d668757
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/aYTLW5jmRoXhnnzwj_3.py
9f67e5f61283ae4dd389aefbe398689d6bd08e13
[]
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
61
py
query = " select name from employees where salary > 45000"
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
7cb57f1aee5711236c63768e429265d71ba59e80
21b461b71b4c63f7aac341bd12ba35d211c7956e
/codes/03_func/Graph_Permutation_isomorphic/01_test_permutation.py
587c4d9c282ed70920f61d81d9c4546575e05260
[]
no_license
Ziaeemehr/workshop_scripting
cebdcb552720f31fd6524fd43f257ca46baf70e2
ed5f232f6737bc9f750d704455442f239d4f0561
refs/heads/main
2023-08-22T23:00:36.121267
2023-07-19T10:53:41
2023-07-19T10:53:41
153,342,386
4
0
null
null
null
null
UTF-8
Python
false
false
771
py
""" A_G = P A_H P.T P is permutation matrix P.T is the transpose matrix of T """ import numpy as np import networkx as nx def permutation(alpha, n): P = np.zeros((n, n), dtype=int) for i in range(n): P[i][alpha[i]] = 1 return P A_G = np.array([[0, 1, 0, 0, 0], [1, 0, 1, 0, 1],...
[ "a.ziaeemehr@gmail.com" ]
a.ziaeemehr@gmail.com
38bbf0422041425be9f4f1aac557fcfbfe23a739
694d57c3e512ce916269411b51adef23532420cd
/leetcode_review2/74search_a_2D_matrix.py
866fe5944bf1f8a5a7c20dee6738ef99ba24a70b
[]
no_license
clovery410/mycode
5541c3a99962d7949832a0859f18819f118edfba
e12025e754547d18d5bb50a9dbe5e725fd03fd9c
refs/heads/master
2021-05-16T02:46:47.996748
2017-05-10T23:43:50
2017-05-10T23:43:50
39,235,141
1
1
null
null
null
null
UTF-8
Python
false
false
421
py
class Solution(object): def searchMatrix(self, matrix, target): m, n = len(matrix), len(matrix[0]) if len(matrix) > 0 else 0 cur_i, cur_j = 0, n-1 while cur_i < m and cur_j >= 0: if target == matrix[cur_i][cur_j]: return True if target < matrix[cur_i][...
[ "seasoul410@gmail.com" ]
seasoul410@gmail.com
b76b50f294cf1d7560a3699d3704b41173c7ea8c
c956401119e44e41f3873b4734c857eda957e2cd
/metrics/lr_smape.py
8a71c4a237fb069f751070fdc252cea4f1b598f7
[]
no_license
zhekunz2/c4pp
6f689bce42215507d749b8b2be96c7f68ed8c49c
9f8054addb48d9440662d8c8f494359846423ffd
refs/heads/master
2020-09-24T06:17:29.866975
2019-12-03T17:41:25
2019-12-03T17:41:25
225,678,894
0
0
null
null
null
null
UTF-8
Python
false
false
880
py
#!/usr/bin/env python import os import json import sys import numpy as np try: smape_thres=float(sys.argv[1]) weight=float(sys.argv[2]) bias=float(sys.argv[3]) data_dir=sys.argv[4] with open(os.path.join(data_dir, 'data.json')) as json_data: d = json.load(json_data) datas = [x for x...
[ "zhekunz2@Zhekuns-MacBook-Pro.local" ]
zhekunz2@Zhekuns-MacBook-Pro.local