blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
d9337e2102d09d190b10a4807dffc96e72e6149c
84249d799ca6a29b564a6c080b9027225a1bc374
/buzzfeed/serializers.py
447f288396bb105b558f63c5225a80b6b755d389
[]
no_license
pruksmhc/buzzfeedAPI
8f9417fcbe16e66961cb4e21f5ec92b5b31d694d
228f37d0667771539cf87e023742fb2f5de3d874
refs/heads/master
2021-01-10T04:38:01.492874
2016-08-26T00:14:08
2016-08-26T00:14:08
46,350,448
2
0
null
null
null
null
UTF-8
Python
false
false
568
py
from rest_framework import serializers from buzzfeed.models import BuzzfeedSearch class BuzzfeedSerializer(serializers.Serializer): json= serializers.CharField(required=False, allow_blank=True, max_length=100), date= serializers.CharField(required=False, allow_blank=True, max_length=100) user = serializers.CharF...
[ "pruks22y@mtholyoke.edu" ]
pruks22y@mtholyoke.edu
3d8d585292a746614efaa27e4e3e5a4191b41c1e
6730df75ff003ad2415331698650f69e65275b84
/publicacion/urls.py
49a2ff4c5ee016ce59dcbef60387d4fd596aaf0a
[]
no_license
jcomorera/AppDjango
e5df4598e0f4a3124c8902bd609e715fc2174efd
871b317702974476107e15b603165df903237271
refs/heads/master
2020-04-21T04:42:34.128916
2019-02-05T22:15:10
2019-02-05T22:15:10
169,320,534
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from django.urls import path from django.conf.urls import include, url from django.contrib.staticfiles.urls import static from django.conf import settings from django.contrib.staticfiles.urls import staticfiles_urlpatterns from . import views urlpatterns = [ path('', views.base, name='list'), path('detail/<in...
[ "joancomoreraa@gmail.com" ]
joancomoreraa@gmail.com
e0d573348dd1198f91672dd4f39b8bb4dfd79c7b
ee648ccfa67ee4ba888a1194fef039242a62a362
/verification/scripts/misc/rename_method_groups.py
5d6d64164113231ef13e82d663fa92e065c83e8d
[ "MIT" ]
permissive
fmidev/lagrangian-convolutional-neural-network
dd3c12d995778f293a4caed5a6e90a9e9c65ef9b
655e7dc62f28f142521d3abb7221e4b6860452a4
refs/heads/main
2023-08-22T02:16:39.498491
2023-08-16T05:44:15
2023-08-16T05:44:15
541,975,069
9
0
MIT
2023-08-16T05:44:16
2022-09-27T08:14:50
Python
UTF-8
Python
false
false
797
py
""" Small script to rename the method group in prediction hdf5 file. Hardcoded configuration. Bent Harnist, FMI - 23.02.2022 """ import h5py from tqdm import tqdm # HARD CODED CONFIGURATION fname = "prediction_db_lk_default.hdf5" path_template = "{time}/{method}" old_name = "extrapolation" new_name = "extrapolation_...
[ "jenna.ritvanen@fmi.fi" ]
jenna.ritvanen@fmi.fi
87065e3c01c61fde025ccd0f6c5743fa9fcc8c8d
588682d3b6ce748edadda15f7febf32ad14f142b
/dp_easy/house_robber_using_dp.py
96f12eb634863686d43f905fac19e994df395ee8
[]
no_license
99rishita/Leetcode-Problems
f3fb0fd06b8e7a2740ff0f4956da6f6051c4b4d6
6502197ca1acc8a57a4c22ebf2aadda331fe655c
refs/heads/master
2022-12-19T00:53:23.578882
2020-09-25T18:05:59
2020-09-25T18:05:59
289,722,332
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
class Solution: def rob(self, nums: List[int]) -> int: n = len(nums) if n == 0: return 0 if n == 1: return nums[0] if n == 2: return max(nums[0], nums[1]) dp = [0]*(n) dp[0] = nums[0] dp[1] = max(nums[0], nums[1]) fo...
[ "pinnintirevati999@gmail.com" ]
pinnintirevati999@gmail.com
849dc1807fe16ecac5070e3121b7fd7e68273c1b
a298d0b4a3e9e12170651a6bf728093b4badfac7
/LeetCode/139-Word Break/wordBreak.py
9ae2c67ef2277e6e3d899e9566e0351c2fca0871
[]
no_license
gavinz0228/AlgoPractice
fc8ecd194ea2d26de59df45909838161c802b8cd
1cb183a326a0612a5cd941778500a8265e1d7255
refs/heads/master
2022-07-27T11:42:06.887668
2022-07-18T20:38:31
2022-07-18T20:38:31
172,929,652
1
0
null
null
null
null
UTF-8
Python
false
false
690
py
class Solution: def wordBreak(self, s: str, wordDict: List[str]) -> bool: des = len(s) - 1 visited = set() nex_start = [0] while nex_start: new_nex_start = [] for sp in nex_start: for w in wordDict: if s[sp:].startswith(w): ...
[ "noreply@github.com" ]
noreply@github.com
1d669561c57756fea89e4c6a3c2fe3ed1e522b3d
35bb363d97e33861c76106251991410311f193ca
/maskrcnn_benchmark/structures/bounding_box.py
798ae6d1c5dc0ca06d657ca290fd22d24e9858d1
[ "MIT" ]
permissive
krumo/Domain-Adaptive-Faster-RCNN-PyTorch
82c17dda3d133d6cbae8b16d5a6653e8d1c38df5
0da7af8ae4e62d86fb97239026ef1875470e4ca0
refs/heads/master
2022-07-25T02:39:28.775147
2022-07-11T15:04:13
2022-07-11T15:04:13
211,833,935
298
77
MIT
2019-10-27T22:09:33
2019-09-30T10:22:00
Python
UTF-8
Python
false
false
9,645
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import torch # transpose FLIP_LEFT_RIGHT = 0 FLIP_TOP_BOTTOM = 1 class BoxList(object): """ This class represents a set of bounding boxes. The bounding boxes are represented as a Nx4 Tensor. In order to uniquely determine the bou...
[ "whrzxzero@gmail.com" ]
whrzxzero@gmail.com
d3d43b27d7acb7f4ee49fbfa29facced3a76ae40
06e39442f10e2b03bc09dbdd78382bb2446c37ec
/muscle/transcriptID.py
d6a9fee4dcd4cccfbc10e5fb58d4487bf393a14d
[]
no_license
ShinHyeok/Transcriptome
23c656c3af141330931008f2aede84a09e467b5a
793f1b88f5b7a0c8e8229e8009d7e732fe6f18a6
refs/heads/master
2021-01-19T04:48:37.793909
2017-05-29T08:11:21
2017-05-29T08:11:21
84,444,007
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
import os import sys import re import gzip filename_tbl = sys.argv[1] filename_tbl2 = sys.argv[2] def diction(name): f = open(name,'r') table = [] for line in f: table.append(line) return table f_tbl = diction(filename_tbl) f_tbl2 = diction(filename_tbl2) f_p = open('mart_result.txt','w') fo...
[ "noreply@github.com" ]
noreply@github.com
9071b7fc995efcb5ee62e5f8c9bb6686f81995ad
0dfa97730b9ad9c077868a045d89cc0d4b09f433
/tests/integration/goldens/logging/samples/generated_samples/logging_generated_logging_v2_metrics_service_v2_delete_log_metric_async.py
d0cc9d1c89b506c8ea260ed70f9f4a35d27fd0db
[ "Apache-2.0" ]
permissive
anukaal/gapic-generator-python
546c303aaf2e722956133b07abb0fb1fe581962f
e3b06895fa179a2038ee2b28e43054e1df617975
refs/heads/master
2023-08-24T23:16:32.305652
2021-10-09T15:12:14
2021-10-09T15:12:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
noreply@github.com
f8f65e196f11b269fde20070eede28542672537f
c90ddd0930894c565197b739cd76140a7151fffd
/HLTrigger/Configuration/python/HLT_75e33/modules/ticlTrackstersTrk_cfi.py
637619941b75d5432b2f17d0999e370ad953eef6
[ "Apache-2.0" ]
permissive
p2l1pfp/cmssw
9cc6b111ff1935e49f86ec3da9f9b84fb13bbcdf
9f0a3a22fe451c25114134c30ac1f5c1261f3183
refs/heads/L1PF_12_5_X
2023-08-17T00:38:15.374760
2023-06-13T12:55:57
2023-06-13T12:55:57
127,881,751
6
1
Apache-2.0
2023-09-05T13:54:59
2018-04-03T09:10:17
C++
UTF-8
Python
false
false
3,346
py
import FWCore.ParameterSet.Config as cms ticlTrackstersTrk = cms.EDProducer("TrackstersProducer", detector = cms.string('HGCAL'), filtered_mask = cms.InputTag("filteredLayerClustersTrk","Trk"), itername = cms.string('Trk'), layer_clusters = cms.InputTag("hgcalLayerClusters"), layer_clusters_hfnose_...
[ "Thiago.Tomei@cern.ch" ]
Thiago.Tomei@cern.ch
ba48e1bb69449eddda61785c1c0dff4ee0a4329e
9a824bfddb08124cb7b16547ca3f8115f1e7e3ea
/pgatour_stats/spiders/stats.py
f2063ddaa659b4bc2b1d9f4c053c49850109d2a9
[]
no_license
zachgoll/pga-tour-stats
5962c278f64e5d8a766e9eda9eede2b8f9489845
d32232bdc551d77f172e580f5a4d85e9f00badba
refs/heads/master
2021-01-19T15:47:57.729009
2017-08-21T16:33:31
2017-08-21T16:33:31
100,972,189
2
0
null
null
null
null
UTF-8
Python
false
false
1,453
py
# -*- coding: utf-8 -*- import scrapy class StatsSpider(scrapy.Spider): name = 'stats' allowed_domains = ['pgatour.com'] def start_requests(self): stat_list = ['102', '103', '02437', '077', '329', '328', '327', '326', '419', '111', '130', '364', '119', '398', '399', '400', ...
[ "zach.gollwitzer@gmail.com" ]
zach.gollwitzer@gmail.com
bc283f771a4640fa7909f233dfab7e97af46bcc3
64832dd1e64cfc6de83c5abf099461eda50f648c
/search_info/urls.py
8587eaf61ed78cf4f3127e201604c8459a092c05
[]
no_license
showzvan/mysite
d7e79e16eb8c2d3598d00d1a96fa0b1940765913
32826c83915a2f95440c04ed20a7800d2c343ac1
refs/heads/master
2020-04-27T17:05:19.143296
2019-03-08T09:09:45
2019-03-08T09:09:45
174,504,656
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
#-*-coding:utf-8-*- from django.urls import path from . import views app_name = 'search_info' urlpatterns = [ path('search/',views.search,name='search'), path('search_school/',views.searchSchool,name='search_school'), path('search_major/',views.searchMajor,name='search_major'), path('search_center/',vi...
[ "1183005957@qq.com" ]
1183005957@qq.com
bb92bdfa55269584e0c9e90ffa918be6f93794fa
1366178f97e850622aa11a4ff2482fe6c08b4e42
/tests/test_Game.py
b5b07b5b7ea69e4c1410a3ed8ef929dbcca468a5
[]
no_license
eczeno/tetrisish
31747d876b0cd6df1870dd10cbccb28e6b8aca38
672b5f0051b9291706138e4ff8aef87f013345e1
refs/heads/master
2022-11-07T05:56:19.254660
2020-05-20T21:48:25
2020-05-20T21:48:25
272,504,924
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
#!/home/zeno/Desktop/tetris/.tetris/bin/python import pytest from tetris.tetris.tetris import Game @pytest.fixture def game(): return Game() def test_init(game): assert len(game.grid) == 20 for row in game.grid: assert len(row) == 10 def test_is_valid_space(game): assert game.is_valid_space...
[ "e.chancellor.zeno@gmail.com" ]
e.chancellor.zeno@gmail.com
80118693dae894623c5c482a3cc431b9122f0762
2e2196761689898433f876b6f331105925111a63
/test/api_test.py
de3a56a8c2e384ba4098181c277cfcf2ea603933
[ "MIT" ]
permissive
Cornode/cornode.lib.py
5b6b494bbd8bb5180a2c9b3f64763ffebc523369
866230123a62acc235ca8f46e7b59fe08655049b
refs/heads/master
2021-01-01T16:03:12.164937
2017-07-19T21:55:57
2017-07-19T21:55:57
97,764,404
0
0
null
null
null
null
UTF-8
Python
false
false
3,727
py
# coding=utf-8 from __future__ import absolute_import, division, print_function, \ unicode_literals from unittest import TestCase from cornode import InvalidCommand, Strictcornode from cornode.adapter import MockAdapter from cornode.commands import CustomCommand from cornode.commands.core.get_node_info import GetNo...
[ "noreply@github.com" ]
noreply@github.com
6067d491a3ef3fd9da12894d2846e8b148516edb
e3a2a99e206a634ae5dac7f25874af0a822df6eb
/app/migrations/0003_auto_20200818_2130.py
e2010821fd9afb88f5dccbd4e19086b649741184
[]
no_license
rohanaj/serviceapp_in_django
4a7cd749cc29133d6d2a12b2dda1cd1ee86156a5
ee4a3dbab33d6fd18b00ff3eba36866defbae5de
refs/heads/master
2022-12-14T04:54:58.027306
2020-09-06T08:44:24
2020-09-06T08:44:24
293,230,926
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 2.1 on 2020-08-18 16:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0002_auto_20200818_2126'), ] operations = [ migrations.AlterField( model_name='status', name='status', ...
[ "rohan.ajmani@gmail.com" ]
rohan.ajmani@gmail.com
181d43e24181783eb5951926b783acdfaaa1d589
35ff4e124ea73cd2630ddf25dfe019b4b4e3f5d6
/1049_LastStonesWeightII/1.py
94da9316791ede57cc7e265f444bd5df23a4a344
[]
no_license
H-Cong/LeetCode
0a2084a4845b5d7fac67c89bd72a2adf49f90c3d
d00993a88c6b34fcd79d0a6580fde5c523a2741d
refs/heads/master
2023-03-19T15:22:00.971461
2021-03-11T00:33:00
2021-03-11T00:33:00
303,265,129
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
class Solution: def lastStoneWeightII(self, stones: List[int]) -> int: dp, sumA = {0}, sum(stones) for a in stones: dp = {a + x for x in dp} | {a - x for x in dp} return min(abs(x) for x in dp) # TC: O(ns) # SC: O(s) # s is the sum of stones # ref: http...
[ "nych1989@gmail.com" ]
nych1989@gmail.com
16002a260cceaa3bef438cbf82267cb2d1d93396
863af1e966de7852537cc904a08589e83b0f8d63
/models/post.py
d49ded2c0d5cca916904e0af90521ae4a4253ad0
[]
no_license
kjannette/python-terminal-blog
6ce8b11bc14f5dc7868557d9ee406122f7509ff2
64ae318a09b4b7c20ca31a6c8959e528147b3b30
refs/heads/master
2020-04-09T14:37:45.473824
2018-12-04T18:41:20
2018-12-04T18:41:20
160,402,593
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
import uuid from database import Database import datetime class Post(object): def __init__(self, blog_id, title, content, author, date=datetime.datetime.utcnow(), id=None): self.blog_id = blog_id self.title = title self.content = content self.author = author self.created_d...
[ "KenJannette@Kens-MacBook-Pro.local" ]
KenJannette@Kens-MacBook-Pro.local
797ed167a297b3b88f382d4fdaf56f788fa28eb7
c9c1ac74238bd9ce8598af9ec4a52baae3cd4c26
/pkg/cm-vnc/DEBIAN/postinst
5b31b5c6d984e669c1aeb297de47e049b40fabb0
[ "Apache-2.0" ]
permissive
cloudcache/cc1
4dbd9b5931483eed2d62459546c502c2d0ceb513
360392995a8aea37573dd772d809a006b78f575b
refs/heads/master
2021-01-24T04:13:54.670317
2014-06-06T08:17:46
2014-06-06T08:17:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
#!/usr/bin/python import sys import subprocess if __name__ == '__main__': if 'configure' in sys.argv: print "CM-VNC: Removing old .pyc files" subprocess.call("find /usr/lib/cc1/cm-vnc -name '*.pyc' -exec rm {} \\;", shell=True) subprocess.call("find /etc/cc1/cm-vnc -name '*.pyc' -exec rm {...
[ "cc1@cloud.ifj.edu.pl" ]
cc1@cloud.ifj.edu.pl
c4531a2be80f3ce661a9ae2665f908493de8ced1
d9c1b6a641a5a788475ea7540a10a6276ace52e3
/odev.py
73ba2086c4bedb2e08792e139a87d57e85a7b72a
[]
no_license
metogpc/TopAtisiAlgoritmasi
301988fba71e75e1012d38ecb41e5fbc2da8cd95
a192d77286cd3b4a2daebe0e5e1b51a8b424af27
refs/heads/main
2023-03-31T17:28:21.396260
2021-04-03T19:44:18
2021-04-03T19:44:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
def top_tipi(x): if x=='B' or x=='b': return 0.7 elif x=='F' or x=='f': return 0.75 elif x=='V' or x=='v': return 0.9 else: print(" HATALI GIRIS YAPTINIZ!!") return 0 def top_hareketi(yukseklik , ziplama , katsayi): if katsayi==0: p...
[ "noreply@github.com" ]
noreply@github.com
607a984076b4324bbad05afbb43b085966e82315
b3389ac9da5d2d72545c556ebc0c43b5517a06be
/pyMD/builder/velocities.py
b2d8eebc96ce24302644a0fc0c10be28b53c05a5
[ "MIT" ]
permissive
king-michael/python_MD_engine
cefbcb95cd0b7e73547bc4b456501ea230fe6e84
4bbcb86722fc8eb071e7db9061d765f935f8990e
refs/heads/master
2021-05-25T20:47:32.263264
2020-04-22T12:27:36
2020-04-22T12:27:36
253,913,726
0
0
null
null
null
null
UTF-8
Python
false
false
2,518
py
import numpy as np class Velocities: constants = { 'LJ': {'mvv2e': 1.0, 'boltz' : 1.0}, 'real': {'mvv2e': 2390.0573615334906, 'boltz' : 0.0019872067}, 'metal': {'mvv2e': 0.00010364269, 'boltz' : 8.617343e-05}, } def __init__(self, n_atoms, masses, temperature, units='LJ'): ...
[ "michael.king@uni-konstanz.de" ]
michael.king@uni-konstanz.de
470f72141f0edfb3d699e50200846aa70985df85
d02ca3ae92041b6710df6dbcc85b6d658b50a7f8
/xrpl/core/binarycodec/types/uint16.py
59d8b669d43676002129de39503aa088ae483c5f
[ "ISC", "LicenseRef-scancode-unknown-license-reference" ]
permissive
brettmollin/xrpl-py
70899d76e3fec82265ea4e9f24c842c4374d7bee
2877b789b1ec507934b3c422a26d859d94925e32
refs/heads/master
2023-03-31T15:56:19.625422
2021-03-30T22:15:07
2021-03-30T22:15:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
"""Class for serializing and deserializing a 16-bit UInt. See `UInt Fields <https://xrpl.org/serialization.html#uint-fields>`_ """ from __future__ import annotations from typing import Optional, Type from typing_extensions import Final from xrpl.core.binarycodec.binary_wrappers.binary_parser import BinaryParser from...
[ "noreply@github.com" ]
noreply@github.com
c61a3e871232e755e995d2c2ef6405f009116757
7d50b07303df1541ce98205bc08bf48a7e0177da
/Laba1.py
6b39d9bc6d1d5e3e31a46df3f352cd6a40cd5771
[]
no_license
sburov/Python_Lab
46995953235b21f09e78eb8b65ae5c3022e22d32
61167e44803fb6177d4b8adbde22a4ac8d30aeec
refs/heads/main
2023-03-11T05:07:10.267823
2021-02-28T20:46:42
2021-02-28T20:46:42
343,207,888
0
0
null
2021-02-28T21:07:53
2021-02-28T20:30:37
Python
UTF-8
Python
false
false
1,101
py
class Radiator: radiators_class = 'Heating' def __init__(self, thremal_power, color, manufacturer, wheelbase): self.thremal_power = thremal_power self.color = color self.manufacturer = manufacturer self.wheelbase = wheelbase def __del__(self): return ...
[ "noreply@github.com" ]
noreply@github.com
bf4c1f232d1638b7190899afbb63f2f82ad429d5
6fa01095cefd0b19886ad5a14a26b71c892e05ed
/GAN/gan.py
17c88665c929797bb8c549147678f8ba654bdce1
[]
no_license
pgilitwala/computer_vision
9d277bd6d0f8744498910d68c522401aed413fe0
c466849ce66b9c05e4e1a7237da5d16c32bde3af
refs/heads/master
2022-09-22T03:29:21.332641
2020-05-15T17:03:57
2020-05-15T17:03:57
262,562,446
0
0
null
null
null
null
UTF-8
Python
false
false
4,664
py
# -*- coding: utf-8 -*- from __future__ import print_function import torch import torch.nn as nn import torch.nn.parallel import torch.optim as optim import torch.utils.data import torchvision.datasets as dset import torchvision.transforms as transforms import torchvision.utils as vutils from torch.autograd i...
[ "pgilitwala@nvidia.com" ]
pgilitwala@nvidia.com
e52f3d87bb4a8c0bb6b141804dc039c4f7dfb913
54a0e9b2388671c6bb2f41fdc3fccf20eefed0a7
/workspace/migrations/0018_auto_20200425_2100.py
d54a42f48bba5aae34d04956dfb4a2f1b58099da
[]
no_license
shumnyj/TeacherWorkSpace
3a570d18e2abbb370303a82c5e5d14304004199b
1dd7e760c4e09fc7305313a21f3a3df18ba6729c
refs/heads/master
2021-05-23T12:51:14.926420
2020-05-27T17:09:24
2020-05-27T17:09:24
253,289,246
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# Generated by Django 2.2.5 on 2020-04-25 18:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('workspace', '0017_auto_20200424_2042'), ] operations = [ migrations.AlterField( model_name='controlentity', name='da...
[ "notbadgamegroup@gmail.com" ]
notbadgamegroup@gmail.com
3309d54321ed3a037a8ea55aa4d15f22c82f19e7
e2a2c12cde1cc8afbb0a1687609e65b4029bc146
/deep/web/creds.py
84c69ade9bba7f47efb37ffb0c978b569ac6d26c
[]
no_license
MoysheBenRabi/lod_2020
3426cd25eeedafcd9857c152a05fbb93aba60b14
0bf38c7980717b52f3bf5791f8d40a7b8cdf08b0
refs/heads/master
2022-12-10T17:55:35.718300
2020-08-23T05:23:40
2020-08-23T05:23:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
""" @file config.py @brief read config in single place @details Copyright (c) @author Nikolay Vovk @since $Id: $ """ import requests import json from urllib.parse import quote_plus from tornado.web import RequestHandler, Application, StaticFileHandler from tornado_http_auth import DigestAuthMixin, B...
[ "dyvniy@yandex.ru" ]
dyvniy@yandex.ru
abc0011dbfb4ab488f7e3be8d5c79270e819b9c9
9cdab664a653b70d61d4d453d5fd3e1e5f37af62
/88.py
995361b2221cf9dbebbdbb54e6a870be1921fe18
[]
no_license
Devikd/devi
5ca77ad2a60470b470434cd13c1cbf87757ec0f1
60f0f7cdb09c43456003f47c837a494545c19e7f
refs/heads/master
2020-12-25T15:17:40.053844
2019-01-23T06:32:24
2019-01-23T06:32:24
66,335,503
0
1
null
null
null
null
UTF-8
Python
false
false
212
py
xx1,yy1=map(int,input().split(' ')) if xx1 > yy1: great = xx1 else: great = yy1 while(True): if((great % xx1 == 0) and (great % yy1 == 0)): lcm = great break great += 1 print(lcm)
[ "noreply@github.com" ]
noreply@github.com
a9aef3c9172ccf1a9be03463c66bcb1e40763907
f9c4045579889334fbb2368811da425a9e25c997
/source/drivers/power_method.py
e2dcc01c83a4ba57f6926d5c264a5469de6c6be0
[]
no_license
adityaramesh/svhn_experiments
a8ab6e67501d45b0fb532a2d2de23ada2107c63d
2560ed75f7a04fc7b4347e53d7a638100030d4ab
refs/heads/master
2016-09-05T11:28:13.246696
2015-07-18T05:00:26
2015-07-18T05:00:26
35,318,254
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
import math import numpy as np from numpy.linalg import norm def max_eig(A): assert(len(A.shape) == 2) v = np.random.rand(A.shape[1]) for _ in range(1, 20): u = np.copy(v) v = A.dot(v) print(math.acos(u.dot(v) / (norm(u) * norm(v)))) v = v / norm(v) print(v) ret...
[ "_@adityaramesh.com" ]
_@adityaramesh.com
067964cf776ed35f58639284268c0bef6e90517b
b3b443f0bc49bbb10c26b51fe89e6860d4ca3d3a
/venv/Lib/site-packages/tqdm/std.py
14ab11a0a8925fb0c62d034778a7727f705ee902
[ "MIT" ]
permissive
naveens33/ctreport-selenium
6b3a1cc93a6741a1d493c2452c1cf56c6d85c052
9553b5c4b8deb52e46cf0fb3e1ea7092028cf090
refs/heads/master
2022-12-23T04:55:12.226339
2020-08-29T19:22:00
2020-08-29T19:22:00
228,779,087
2
2
MIT
2022-12-18T22:53:51
2019-12-18T07:03:39
Python
UTF-8
Python
false
false
55,546
py
""" Customisable progressbar decorator for iterators. Includes a default (x)range iterator printing to stderr. Usage: >>> from tqdm import trange[, tqdm] >>> for i in trange(10): #same as: for i in tqdm(xrange(10)) ... ... """ from __future__ import absolute_import, division # compatibility functions and uti...
[ "naveensagayaselvaraj@gmail.com" ]
naveensagayaselvaraj@gmail.com
871063080f473020dc6912e524d1273d901ce35c
bb7d547f547d5f903a0ce574841be5a45c0e1352
/HW08/tasks.py
0d995d547c7ab347c7672695dc281cef5502eca3
[]
no_license
itsanti/uii_py_dev
bfedf6a52739dd00af86612f896826e840c3935b
74f16c8ced10bdd4572fa212bae5ad38743bde67
refs/heads/master
2020-11-25T14:33:05.095744
2019-12-30T15:48:59
2019-12-30T15:48:59
228,716,679
1
0
null
null
null
null
UTF-8
Python
false
false
3,406
py
from time import time from functools import wraps from utils.tools import bytes2human import os import sys import psutil # 1. Написать декоратор, замеряющий время выполнение декорируемой функции. # используем @wraps, чтобы задать __name__ для декорируемой функции def timeit(f): @wraps(f) def wrapper(*args, **...
[ "kurov.aleksandr+github@gmail.com" ]
kurov.aleksandr+github@gmail.com
61c4e91d406b03f4ffd25ceca3c172ae005c1448
7533d42ff0e5e6cf49ffc6aebc5e6ff8fc00d052
/All_Programs/JiangXi/jiangxi.py
88ff8c1cea57c1bf2befec6c78156ef0beeb239d
[]
no_license
oxw-118/shuiwu
0aee439e253f4e55a3ae5a565052740fc80bee22
19d1a08c5407df13dd1f3715c63774626372a4ac
refs/heads/master
2020-05-03T12:43:11.495555
2019-03-07T10:06:04
2019-03-07T10:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,646
py
# coding=utf-8 import PackageTool import re import os import traceback import gevent import gevent.monkey import datetime from lxml import html import urlparse import logging from xml.etree import ElementTree from tax import MyException, MySQL,MainFunc from tax.config import config_one, config_two from tax.MainFunc imp...
[ "tc3114186@163.com" ]
tc3114186@163.com
fd634b7303d63082eaff4aa3cbd3f25501db004c
cc805febad6425cf16d9a4dcda532ff2a24ecfec
/gDrive (03.08.19)/radar_boot_gsheets.py
64337a117618481c87d22a55c95a487c9427cf0e
[]
no_license
frosty939/lw
5e83c4c5ed384fa435a470cc06d623730f1ced80
a57d50266858920613354c244e645417c54ddefa
refs/heads/master
2020-05-04T14:43:23.633460
2019-09-20T08:47:49
2019-09-20T08:47:49
179,207,869
0
0
null
null
null
null
UTF-8
Python
false
false
2,097
py
# importing the requests library import csv import time import gspread import re import sys from oauth2client.service_account import ServiceAccountCredentials nagios_stat_file = sys.argv[1] google_worksheet_name = "Sheet1" google_workbook_name = "/boot Alert Tickets" scope = ['https://spreadsheets.google.com/feeds','...
[ "wayne@localhost.localdomain" ]
wayne@localhost.localdomain
ed2d3c54de34d9b50d8652f91880c29d14747cd6
0ad58e0d707651254a2ef7dfd54c15d4eb0603b1
/algorithms/greedy_algorithms/huffman_encoding.py
ba44f33b9d6b20e9f647ded4cc4b777ec75ce26c
[ "MIT" ]
permissive
weirdname404/courses
d484bf58e1b2b84bc0592f7ec06af77d717e55f3
611443422cc6acc1af563d9d7d07181e9984ddab
refs/heads/master
2020-05-29T09:26:37.846651
2019-08-12T17:06:09
2019-08-12T17:06:09
189,062,872
3
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
import heapq from collections import Counter, namedtuple """ This program implements Huffman encoding with the help of Python heap. """ class Node(namedtuple("Node", ["left", "right"])): def walk(self, code, acc): self.left.walk(code, acc + '0') self.right.walk(code, acc + '1') class Leaf(named...
[ "lebedev.alex69@gmail.com" ]
lebedev.alex69@gmail.com
5f8e4ddc7c7a402821aa65d4a9e77ec66e0e6a7b
67aaed7e8490561c157b1fb8dd3c7344e94a4d06
/home/models.py
93394331cb7b8da949f49ac85f16f6837c966093
[]
no_license
VEDANSHKUMAR/The_Readers_Heart
b554dcffc072bcaaf5a130f6ac5a2f972e87a400
86bfd1e47b38b6c42054747424856c9759e4b2f3
refs/heads/main
2023-06-14T20:26:52.162547
2021-07-12T17:28:49
2021-07-12T17:28:49
385,202,011
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
from django.db import models # Create your models here. # This is the model in Home. class Contact(models.Model): sno = models.AutoField(primary_key=True) name= models.CharField(max_length=50) email= models.CharField(max_length=100) phone= models.CharField(max_length=13) content= models.TextField...
[ "57553809+VEDANSHKUMAR@users.noreply.github.com" ]
57553809+VEDANSHKUMAR@users.noreply.github.com
6dddc001f815f7c76070f5808ecebae5477f4e9a
44b0079ba7a3a21be1ec77cbc5f316cb4ad79f29
/Examples/NumPyExample.py
66d6e036e3aaf358e96c5e9e9fe2389409bacfd0
[ "MIT" ]
permissive
WzqProgrammer/DeepLearning
2faa6ea481f407b2dab9993ec97dba346c86808c
e619696c18e29ecf04fb94654f0baaf6ca965a41
refs/heads/master
2020-07-02T17:39:24.588972
2019-09-13T00:42:39
2019-09-13T00:42:39
194,270,848
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
import numpy as np import matplotlib.pyplot as plt #生成数据 x = np.arange(0, 6, 0.1) #以0.1为单位,生成0到6的数据 y1 = np.sin(x) y2 = np.cos(x) #绘制图像 plt.plot(x, y1, label = "sin") plt.plot(x, y2, linestyle = "--", label = "cos") #用虚线绘制 plt.xlabel("x") #x轴标签 plt.xlabel("y") #y轴标签 plt.title('sin & cos') #标题 plt.legend() plt.sho...
[ "1418807683@qq.com" ]
1418807683@qq.com
f6ea4462080e5a65473a6fc0f8c050a070bd7f56
1207d50126d4d59966573927c5eadd94db6aeb59
/svggen/library/legacy/Simulation.py
d8321b335dfcb676d698b0a9b6bad553578b8989
[]
no_license
christianwarloe/robotBuilder
aee03c189972f1d305c6e13d106b362b5d26d187
3f8fbc267ac7b9bbae534d1208278541a7b5eaa5
refs/heads/master
2021-06-13T02:42:24.834816
2017-04-07T01:01:52
2017-04-07T01:01:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from svggen.api.component import Component from svggen.api.ports.SimulationPort import SimulationPort class Simulation(Component): def assemble(self): self.addInterface("sim", SimulationPort(self)) if __name__ == "__main__": h = Simulation() #h._make_test()
[ "prathyush.katukojwala@gmail.com" ]
prathyush.katukojwala@gmail.com
d696a9a539a215e0a30f4815358fe6bde131f4a5
8486a8342312585227ced1505ef0ed09d5edb9fa
/2_Python/Week7/ajax/apps/notes/migrations/0001_initial.py
bb968b55cd31170a57e324a2ee8bca5c8c939d5e
[]
no_license
nickchic/Coding_Dojo
acef3a8d33b4ab99f6b16738589c03699b58ea94
99c2047fe33862aa62b0c61875e5573b3149aaa4
refs/heads/master
2021-01-02T08:59:27.423365
2017-11-08T20:33:12
2017-11-08T20:33:12
99,114,282
1
0
null
null
null
null
UTF-8
Python
false
false
675
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-10-12 20:01 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Note', ...
[ "chicirda2@gmail.com" ]
chicirda2@gmail.com
3ff991fc53a02cfd81dd20519bbfc82a7466974b
1838f5da624e0da625ff0c00a642bbff10f9bde6
/guild/steps_main.py
dac3b109450ce28e5eae0512466f9afb922846c2
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
Jim-Holmstroem/guildai
75b57785654b98902aefcb50ace0f227ad95fd18
ed80e307fca20c0d607c600180cdb0854f42021d
refs/heads/master
2020-12-31T19:48:39.996994
2020-02-06T18:02:20
2020-02-06T18:02:20
239,023,692
0
0
Apache-2.0
2020-02-07T21:13:39
2020-02-07T21:13:39
null
UTF-8
Python
false
false
13,077
py
# Copyright 2017-2020 TensorHub, Inc. # # 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 writ...
[ "g@rre.tt" ]
g@rre.tt
b0e68147b2ea49e70419c08976b17d13dde1f95e
3c71ce7e0dce9d752a6bcb1f74972f475ba3c314
/Day12_3.py
9735f0a49b583f87fd6183798705959fe2958965
[]
no_license
L-xbin2020/PytorchStudy
7a45026848e834930f4e4276399ef3bda219a2fb
f09aafe003ad26c0edd17b9901804b266424a0e4
refs/heads/master
2023-06-12T22:24:38.799497
2021-07-03T13:35:31
2021-07-03T13:35:31
379,948,128
0
0
null
null
null
null
UTF-8
Python
false
false
1,733
py
import torch num_class = 4 input_size = 4 hidden_size = 8 embedding_size = 10 num_layers = 2 batch_size = 1 seq_len = 5 idx2char = ['e', 'h', 'l', 'o'] x_data = [1, 0, 2, 2, 3] y_data = [3, 1, 2, 3, 2] one_hot_lookup = [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [...
[ "961995427@qq.com" ]
961995427@qq.com
055a80f3c4715a2e12bb8a911d2314285ffc1eac
d30f5ebe8acbe707cd712c9123f3d085af396b16
/Cat.py
7888d36ee2d56e36ceceffcff9cfb64f8bc973b5
[]
no_license
GYIChen/Cat
d1210d4bac37ec2e538c5461001473235fa5e3bf
4d930a8fb1249c98cc44d0c7539306cff3abc351
refs/heads/master
2020-12-01T19:12:17.921074
2019-12-29T14:19:52
2019-12-29T14:19:52
230,738,026
0
0
null
null
null
null
UTF-8
Python
false
false
3,443
py
# -*- coding: utf-8 -*- """ Created on Sun Apr 29 09:09:27 2018 @author: 56576 """ import os from PIL import Image import numpy as np from keras.utils import np_utils #用于将Label向量化 from keras.models import Sequential from keras.layers.core import Dense,Dropout,Activation,Flatten from keras.optimizers import SGD,RMSpro...
[ "97gyhen@gmail.com" ]
97gyhen@gmail.com
474884d2663ea739fd328bb46491680706af870b
8d246b93b9a61399c17686ff340e3cc52c0a888b
/matrix.py
3149c2d6d3d7331053d73ebaba9b0032432bff06
[]
no_license
natansalda/isdcnd-matrix-class
965f77241d9720250485b010885e3d4c762b8a1e
1803fcb0127e2b955b9670e9ee4948c34b749f8b
refs/heads/master
2020-03-14T16:12:33.865082
2018-05-01T08:55:54
2018-05-01T08:55:54
131,693,292
0
0
null
null
null
null
UTF-8
Python
false
false
7,227
py
import math from math import sqrt import numbers def zeroes(height, width): """ Creates a matrix of zeroes. """ g = [[0.0 for _ in range(width)] for __ in range(height)] return Matrix(g) def identity(n): """ Creates a n x n identity matrix. """ I...
[ "noreply@github.com" ]
noreply@github.com
73a48ea26e3be2cbe1878f84f00111545c04c9f2
c299590232a59121423770328246883e7ff66fde
/Prep classes/day1.py
3805d83517b86707c258afc32f4d758d6c2d6207
[]
no_license
Gillt1/Python_Class
8cd6481ea65e4d56c98381cdd7540834bc469265
5e256a19f3e6cbe71f697938e0538524eecc1aeb
refs/heads/master
2023-08-11T02:25:59.117141
2021-10-05T14:05:43
2021-10-05T14:05:43
398,307,201
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
# print("My name is", "Python.") # print('Monty Python.') # # print(0o123) # print(0x123) # print(0b1011) # # print(9%6%2) # # kilometers = 12.25 # miles = 7.38 # # miles_to_kilometers = miles*1.61 # kilometers_to_miles = kilometers/1.61 # # print(miles, "miles is", round(miles_to_kilometers, 2), "kilometers") # print(...
[ "thomas.a.gill@protonmail.com" ]
thomas.a.gill@protonmail.com
1da13a7abe102f60f46225cf67bc38ecbb4d1614
2db13a0dfa223b83813e1e36218b88a6c0ddf70d
/factory/build_dir.py
47f8bdacd9505f393736d2f56f78b247640475e1
[]
no_license
iblaauw/Factory
29e8ca8c3a43f07b03c2026a204dee8e31566446
2ec009d8bf11ab4d26996aba589c89027337946f
refs/heads/master
2021-01-01T20:21:03.367232
2017-09-23T18:42:53
2017-09-23T18:42:53
98,820,640
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
import os from .utils import ensure_dir_exists known_files = set() # This set of files will not be placed in the build directory, but left at their normal path build_dir = "build" def translate_file(path): if path in known_files: return path current_dir = os.getcwd() abspath = os.path.abspath(pat...
[ "naibla8358@gmail.com" ]
naibla8358@gmail.com
239d6da3847f27608fc18ae31fae85e8ecae219c
428989cb9837b6fedeb95e4fcc0a89f705542b24
/erle/ros_catkin_ws/build_isolated/sensor_msgs/catkin_generated/pkg.develspace.context.pc.py
962d116bff1103c9be9555c3ddaba18e3740f052
[]
no_license
swift-nav/ros_rover
70406572cfcf413ce13cf6e6b47a43d5298d64fc
308f10114b35c70b933ee2a47be342e6c2f2887a
refs/heads/master
2020-04-14T22:51:38.911378
2016-07-08T21:44:22
2016-07-08T21:44:22
60,873,336
1
2
null
null
null
null
UTF-8
Python
false
false
701
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/erle/ros_catkin_ws/devel_isolated/sensor_msgs/include;/home/erle/ros_catkin_ws/src/common_msgs/sensor_msgs/include;/usr/include".split(';') if "/home/erle/ros_catkin_ws/devel_isolated/sensor_msgs...
[ "igdoty@swiftnav.com" ]
igdoty@swiftnav.com
6e8a3eca7927a9085efd586269d0b7f6a359ebe1
c2dfd9743d777e1f3102c5cf4bca5c4efd52e45b
/Assignments/EvenandOdd.py
068fa844776754d701b3c2e5a4c11451a35bb2f3
[]
no_license
bharath210/PythonLearning
8dc2212ff5604b687834366e0c33ede0cb6cf906
f5de2d527593886ff570808673ed4e989484126b
refs/heads/master
2022-12-03T05:28:53.708200
2020-08-12T15:09:00
2020-08-12T15:09:00
287,031,508
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
nums = [] n = int(input("number of values")) for i in range(n): val = int(input('enter value')) nums.append(val) def evenOddCount(vals): even = 0 odd = 0 for i in vals: if(i % 2 == 0): even += 1 else: odd += 1 return even,odd even,odd = evenOddCount(nu...
[ "barathkumargoudpalsa@gmail.com" ]
barathkumargoudpalsa@gmail.com
0c1cdfc5c5aa0a537f3efafe3c64ae8d4370e2fb
798cfdb26135a9d6228c03ce7a63ed024d7f69c5
/scripts/fetch_aws_data.py
9b3ceb3b17d1d4d673a55a1e89a83831ecb9446d
[ "MIT" ]
permissive
nunojesus/HippoIgnited
0548fc4f54cbc8f415ba46b3627c985cdde74476
79316965f41f9cd7f1024de5eb34942cba285358
refs/heads/master
2020-03-20T21:24:44.211638
2018-06-18T10:44:30
2018-06-18T10:44:30
137,739,418
1
0
null
2018-06-18T10:40:06
2018-06-18T10:40:05
null
UTF-8
Python
false
false
5,512
py
#!/usr/bin/env python3 __author__ = "Dilawar Singh" __copyright__ = "Copyright 2016, Dilawar singh <dilawars@ncbs.res.in>" __credits__ = ["NCBS Bangalore"] __license__ = "GNU GPL" __version__ = "1.0.0" __maintainer__ = "Dilawra Singh" __email__ = "dilawa...
[ "dilawars@ncbs.res.in" ]
dilawars@ncbs.res.in
787c678c43e432a2b35b976043067acbfd52115f
75402b6c851a12ae41359fdd83e89d2160c308af
/zentral/contrib/mdm/forms.py
7aa53ae26b0622c2703c47135a545d469bfa1415
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-commercial-license" ]
permissive
neocode12/zentral
7b05aeeb823a5a3d7d268cc2b01e0bf1a5e4be71
9ecc8d8334148627fcccaa875f100adacd7a018b
refs/heads/main
2023-04-09T12:06:45.355559
2023-03-15T14:05:05
2023-03-15T14:05:05
327,651,549
0
0
Apache-2.0
2021-01-07T15:30:00
2021-01-07T15:30:00
null
UTF-8
Python
false
false
29,637
py
import base64 import hashlib import json import logging import plistlib from dateutil import parser from django import forms from django.db import transaction from django.db.models import Q from realms.utils import build_password_hash_dict from .app_manifest import build_enterprise_app_manifest from .apps_books import ...
[ "eric.falconnier@112hz.com" ]
eric.falconnier@112hz.com
9fbef7fb8b455016bf7a16b47c1eb1263256544f
011157c49983db38489f26f51db7fe22f8519afc
/problems/977.py
035f621ca2688c4bba3cd595ee1a4ef4aab09562
[]
no_license
chasecolford/Leetcode
c0054774d99e7294419039f580c1590495f950b3
dded74e0c6e7a6c8c8df58bed3640864d0ae3b91
refs/heads/master
2023-08-04T11:33:18.003570
2021-09-10T21:06:55
2021-09-10T21:06:55
283,154,381
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
""" Given an array of integers A sorted in non-decreasing order, return an array of the squares of each number, also in sorted non-decreasing order. Example 1: Input: [-4,-1,0,3,10] Output: [0,1,9,16,100] Example 2: Input: [-7,-3,2,3,11] Output: [4,9,9,49,121] Note: 1 <= A.length <= 10000 -10000 <= ...
[ "56804717+ChaseSinify@users.noreply.github.com" ]
56804717+ChaseSinify@users.noreply.github.com
67e7e62ac85175645e06c74f6e4061d903339161
26d065c72e4f8dccaf47c67cedd77228fcf12127
/gps/gps.py
6d7e924fd0b0824081c62d1d360f805312e1a548
[]
no_license
lucaskotres/Expert-Systems
a22ebbfa8aec71b15d3a34c47054a56adb7915dd
2ef749879a7b44554eee5a07d3dc4f2af3863ae1
refs/heads/master
2022-12-01T12:59:58.695572
2020-08-24T01:07:41
2020-08-24T01:07:41
289,792,500
0
0
null
null
null
null
UTF-8
Python
false
false
1,592
py
def gps(initial_states, goal_states, operators): prefix = 'Executando ' for operator in operators: operator['add'].append(prefix + operator['action']) final_states = achieve_all(initial_states, operators, goal_states, []) if not final_states: return None return [state for state in...
[ "lucaskotres@gmail.com" ]
lucaskotres@gmail.com
620786b8f15687edf3669042c8154777773f288f
9bdc6b5b88ed3d9bf631210e5232afce10d9f51b
/maze.py
3b1b56f91b25c5480689927cb10df60f53d1f746
[]
no_license
ghe/maze
7b65a40381cff86e2a8d108b3f80caaad5a0ae3f
2e52b69e328059962f4777c2a5f12b3dfa9ae0a8
refs/heads/master
2016-09-05T15:42:31.528763
2014-10-29T03:14:10
2014-10-29T03:14:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,829
py
import random class Room(object): directions = ["North", "South", "East", "West", "Up", "Down"] next_id = 65 def __init__(self): self._hallways = {} self._name = chr(Room.next_id) Room.next_id += 1 def __str__(self): s = "%s: " % (self.name,) for d in self._hal...
[ "GerardEns@gmail.com" ]
GerardEns@gmail.com
33e8f7f92f2887a69a0c5b50443e0f1c5b971d3a
83c5f79fb96c02d1b10c5b55cd843a3941dbc3ab
/oldPythonScripts/reading_in_files_fuzz_attempt2.py
06038869bffbc653a9d02ba38a8017ba97cb26c7
[]
no_license
mnfienen/fuzztest
be9bcaea79298dffd469770f3c3373c7328c7944
7067cfffed2a175bfaeb29bfe400021037e35e5a
refs/heads/master
2016-09-01T18:54:46.539895
2012-11-01T16:29:22
2012-11-01T16:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,035
py
import numpy as np import csv import shapefile as shp import os from fuzzywuzzy import fuzz from fuzzywuzzy import process def parse_fields(allfields): # make an empty list fields_list = [] # loop over the input fields list and pull out the names for cf in allfields: fields_list...
[ "mnfienen@usgs.gov" ]
mnfienen@usgs.gov
73010681591a7f85d82ed79e2c13ddcc3221d9e9
7543bd745b3637138cb5d14ee1fe7d9791f88385
/week 6/problem set 6: readability/readability.py
6cba57027c7a1d45a11c2ca971d60a52424bff48
[]
no_license
ModruKinstealer/CS50ProblemSets
43a72e75575c6b32805a4556adbd1ef3b4837627
888b0d186f657eb6308ce14b2630864f6b4cdb31
refs/heads/master
2022-10-11T13:20:44.222634
2022-09-20T00:25:48
2022-09-20T00:25:48
171,741,915
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
# TODO from cs50 import get_string from sys import exit text = get_string("Text: ") letters = 0 words = len(text.split()) sentences = text.count("?") + text.count(".") + text.count("!") for letter in text: if letter.isalpha(): letters += 1 # Coleman-Liau index is computed as 0.0588 * L - 0.296 * S - 15...
[ "noreply@github.com" ]
noreply@github.com
060d93de1b98a3827caea4b362264c3f865e5bf1
bcf39edb9d991527ea79df8a6d52cc1253c4178b
/RandomForest/load_salaryprediction.py
4ec7f11459d0dddee57c364fd835b02d979e2e55
[]
no_license
dmt3182/DMT_MASTER_REPO
73c8ff184d182b2ae0ac3c0e40e93a51dd9ca567
c5484c927e0b26f622ee73ee897524ed16901055
refs/heads/main
2023-04-29T07:32:59.686018
2021-05-16T11:11:02
2021-05-16T11:11:02
355,144,838
0
0
null
2021-05-01T16:17:57
2021-04-06T10:16:53
Python
UTF-8
Python
false
false
1,372
py
import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestRegressor from sklearn.tree import export_graphviz from sklearn.metrics import mean_absolute_error from sklearn.metrics import mean_absolute_error from sklearn.metrics import mean_square...
[ "deepak.mathew.thomas@gmail.com" ]
deepak.mathew.thomas@gmail.com
f390bf894bb179ecd6b1f1424fcc5d1d824ce593
a5be28057bb55e0ebc4a25fce90143ad50c77f5c
/Data processing, runs generator and utility file/FunctionApproximator.py
af38ac61c7d9148c02e260052c7c0c2071fec486
[]
no_license
vijetadeshpande/meta-environment
fa76d1c9dbb220c376a2a8f7b3b8b50c0b9a0b41
87eb12826a11e57e3ef09baf616959dae1c38fc8
refs/heads/master
2023-02-04T14:59:03.826016
2020-12-14T19:08:33
2020-12-14T19:08:33
263,530,317
0
0
null
null
null
null
UTF-8
Python
false
false
5,626
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun May 24 02:45:04 2020 @author: vijetadeshpande """ import torch import torch.nn as nn import sys sys.path.insert(1, r'/Users/vijetadeshpande/Documents/GitHub/meta-environment/RNN GRU') sys.path.insert(1, r'/Users/vijetadeshpande/Documents/GitHub/meta-en...
[ "vkdeshpande@umass.edu" ]
vkdeshpande@umass.edu
a926f0874a57cd89c4d221f631eb494992969736
27e27dbf548b1d2688a0501cb4b5c58ae6745ffd
/Veranstaltungen/apps.py
66c54886abf50ff8dc86d9bd4ae70a621ee56859
[ "MIT" ]
permissive
valuehack/scholarium.at
e751f81583a24eb687ee4a5babb466ecdc902652
b81220ab18ae6db057132ae2cc43afc22545e5e6
refs/heads/master
2022-12-13T05:56:52.002885
2018-11-23T13:22:13
2018-11-23T13:22:13
84,197,454
1
4
MIT
2022-12-08T00:39:44
2017-03-07T12:38:23
Python
UTF-8
Python
false
false
105
py
from django.apps import AppConfig class VeranstaltungenConfig(AppConfig): name = 'Veranstaltungen'
[ "ilja.goethel@arcor.de" ]
ilja.goethel@arcor.de
74f430010ddc429b42ea3e7cb62b1e5722297a7b
ded4ebb64405d1127b6aa6b89c3cc46488f99810
/Selenium/Implicit_Wait.py
c7419162010f46653105fd97cf6026b8a73e76e7
[]
no_license
Mushtaq-Hussain/Best_Practice_of_AutomationTest
0bbbcf81541dfa01edabd5d8f15651180b91943b
5513f02394cb7e3fadcdfd17da0ce3eb302042c4
refs/heads/main
2023-02-25T01:24:16.379602
2021-01-21T16:11:33
2021-01-21T16:11:33
331,680,511
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
from selenium import webdriver from selenium.webdriver.common.by import By import time class ImplicitWait(): def test(self): driver = webdriver.Chrome(executable_path=r"C:\Users\mushtaq.hussain\PycharmProjects\Selenium\driver\chromedriver.exe") driver.maximize_window() driver.get("https:...
[ "hussainturi128@gmail.com" ]
hussainturi128@gmail.com
2e0f274be0cf1698b720e80ef936afa5f41ae5b9
5b9e88b380e671be712a733a511932314114bfaa
/switch.py
3093e9ff40ffa4a76f8c74cda14b4335989380d4
[]
no_license
jasoneka/code_carrots
fd32e487e340c8efc41dd1cd6747fd9006608f83
c88d9855af7b7da5918425c162c9823d33625792
refs/heads/master
2021-01-10T10:36:59.885174
2016-01-03T22:12:55
2016-01-03T22:12:55
48,961,923
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
# This class provides the functionality we want. You only need to look at # this if you want to know how this works. It only needs to be defined # once, no need to muck around with its internals. class switch(object): def __init__(self, value): self.value = value self.fall = False def __iter__...
[ "andrzej@jasonek.com" ]
andrzej@jasonek.com
bb5fb0d3300035b2515c8a8f07d0d2e77578c6e6
d85cd9218f13b4d42ef014daae0498766c1b6f18
/user_enterpoint.py
21c1e6112f9078d325b3d1a359ea5a067968f4d9
[]
no_license
zhongsheng-sudo/CrazyAss
90067f8dc0f318b9aa6ab6d46c566f58a3d66cc7
a091485d8bed2a43ad93760fed557c3925cb7e3c
refs/heads/master
2020-08-11T13:12:39.480678
2019-10-12T05:17:37
2019-10-12T05:17:37
214,570,324
0
0
null
null
null
null
UTF-8
Python
false
false
5,030
py
#_author: hasee #date: 2019/10/7 import getpass,os from django.contrib.auth import authenticate import subprocess import hashlib,time class UserPortal(object): """用户命令行端交互入口""" def __init__(self): self.user = None def user_auth(self): """完成用户交互""" retry_count = 0 while ret...
[ "978351934@qq.com" ]
978351934@qq.com
4e24f321f536b7e455988e96ee9e8a930f4d65d0
7d99585ae8003adec03d360d0587fe2229175514
/dataset.py
6a1fcc58d5be228b78c1f1dd9cd600668ed08d62
[]
no_license
serginogues/convolutional_autoencoder
6634a8c11cd349479bfa4838cfa3390e14417a57
ef469d3e3698cb08536af627d839aecf0d8a54ec
refs/heads/main
2023-09-05T08:42:01.294182
2021-11-16T20:05:58
2021-11-16T20:05:58
424,561,749
0
1
null
null
null
null
UTF-8
Python
false
false
5,276
py
""" Dataset class to work with CIFAR-10 torchvision.transforms.ToTensor: Converts a PIL Image or numpy.ndarray (H x W x C) in the range [0, 255] to a torch.FloatTensor of shape (C x H x W) in the range [0.0, 1.0] """ import torch from torchvision import datasets from torch.utils.data.dataset import random_split from ...
[ "nogues.s.6@gmail.com" ]
nogues.s.6@gmail.com
5310f6e313d1735a1628ce83e8b4b91c644ccf1e
0c7ff0ec35ba2bb38f99ef6ecb261ec33466dd52
/Day5/e1.py
856fb2751777b59a9b6e020c6e2d67feceed42ca
[]
no_license
TheKinshu/100-Days-Python
15cbacc608ee349cc9733a7032e10a359bebb731
293ad6b3e5f5208da84efbc5b2d2d395a5a53421
refs/heads/master
2023-04-18T08:21:30.361800
2021-05-02T18:48:39
2021-05-02T18:48:39
351,582,416
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# 🚨 Don't change the code below 👇 student_heights = input("Input a list of student heights ").split() for n in range(0, len(student_heights)): student_heights[n] = int(student_heights[n]) # 🚨 Don't change the code above 👆 average = sum(student_heights)/len(student_heights) average = int(round(average, 0)) prin...
[ "kc007919@gmail.com" ]
kc007919@gmail.com
d685fdf5a33893a73983249d78950dde67df297a
78e09e343e91e3706120983b477ea452f83bf29e
/metadata-ingestion/src/datahub/ingestion/source/nifi.py
d4c3c0d1278e0f382e4b10de5bf960bab1be343f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
sandertan/datahub
7cda1dba7d8d0a5fda6501b8f53056ffb647edba
46810e0df934d6cbf589895d3a58b84e2715749e
refs/heads/master
2023-03-16T15:56:18.636988
2023-02-14T19:32:03
2023-02-14T19:32:03
146,737,346
0
0
null
2018-09-06T10:07:51
2018-08-30T11:03:24
null
UTF-8
Python
false
false
43,251
py
import json import logging import ssl import time from dataclasses import dataclass, field from datetime import datetime, timedelta, timezone from enum import Enum from typing import Callable, Dict, Iterable, List, Optional, Tuple from urllib.parse import urljoin import requests from dateutil import parser from packag...
[ "noreply@github.com" ]
noreply@github.com
4f5e5904ce00031faa7806ac96e6a40d08997a71
12b857508d2019a3e98c51a3a74317ae1bdaffba
/app/core/tests/test_commands.py
94e26ec57fcb12bb67d5b0433e020fe8b9406d2d
[]
no_license
robwa10/recipe-api
78d19f560d8d9e13a438485dab189b71d26edd7c
a180bbde0990befd9c8b2c1a3db2d6af44170ef5
refs/heads/main
2023-07-20T05:10:48.064301
2021-09-08T15:07:52
2021-09-08T15:07:52
358,300,842
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
from unittest.mock import patch from django.core.management import call_command from django.db.utils import OperationalError from django.test import TestCase class CommandTests(TestCase): def test_wait_for_db_ready(self): """Test waiting for when db is avaliable""" with patch('django.db.utils.Con...
[ "rob.c.hubbard@gmail.com" ]
rob.c.hubbard@gmail.com
ac2b95962eb2b69aa3a49d68911172431d9d1a85
1af217d712239d33cba828ad053a77085d84e92a
/Lovely Loveseats.py
c6411338ed4585dae9dfd7c2f4daa99033814633
[]
no_license
henryprosser/Codecademy-Computer-Science-Projects
b4769c2d235537aa025a32505c8cae72a4090c20
3b8b99dd435d4e833858d56ef5faced039abca06
refs/heads/main
2023-02-08T09:35:51.370218
2020-12-13T13:04:21
2020-12-13T13:04:21
321,066,398
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
### Lovely Loveseats Items ### lovely_loveseat_description = "Lovely Loveseat. Tufted polyester blend on wood. 32 inches high x 40 inches wide x 30 inches deep. Red or white." lovely_loveseat_price = 254.00 stylish_settee_description = "Stylish Settee. Faux leather on birch. 29.50 inches high x 54.75 inches wide...
[ "noreply@github.com" ]
noreply@github.com
d523fb173a6b5d2bbc2d1621bb82076c316b6427
da9a01faf674fa064f067ff58a53743f6a77c534
/wallboard-import.py
b0480174094a79130302208550967748e4f91a1a
[ "MIT-0" ]
permissive
MysteriousSonOfGod/aws-serverless-connect-wallboard
9cb491f45c5e2d42b4110711d4a32cc9fb7182ba
423bae868bd3326dc56ce7b372ce68426f6a1185
refs/heads/master
2022-02-28T04:07:03.613492
2019-09-25T02:30:10
2019-09-25T02:30:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,142
py
#!/usr/bin/python # # Copyright 2019 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 limitat...
[ "brettski@amazon.com" ]
brettski@amazon.com
f9e9b2943ccb15b94b8b42c726468487b409d19b
14270abc8fd50fa175bddd20026375c341529665
/code.py
dac36207a33e958de205081ea63a4a10a8f5d50b
[]
no_license
jiyunyang/final-exam-code
78fad55720dfc9a0c613008f9993a52ac20f883b
ba91ce47ce81d3b33edac976b33fa0c96f773ea7
refs/heads/master
2020-04-12T15:56:45.567013
2018-12-20T15:45:16
2018-12-20T15:46:08
162,597,411
0
0
null
null
null
null
UTF-8
Python
false
false
6,363
py
import pandas as pd import numpy as np # 데이터가 있는 엑셀 파일 읽어오는 코드 df = pd.read_excel('movie.xlsx',sheet_name='sheet0') print(df) # 컬럼명 확인 df.columns # 데이터 입력하기 전에 어떤 항목이 있고, 그것을 어떻게 입력을 해야되는지 알려주는 것 print("*********************************************************************************************************") print(...
[ "wldbs_0127@naver.com" ]
wldbs_0127@naver.com
28d16a95a7654b735dd314ccf8811baeb980f1c9
9328148bacec19b5bb726828ba36ee6844be4b1e
/thrump/ifeng/ifeng/items.py
68636e644188eb2ccedc22a400a8cb6d68f95fed
[]
no_license
chenzuoli/scrapy
f6e83572681956546cc062ff0867d9debd8edc40
94a218274831cf8a556768f143ec193867f5dfa8
refs/heads/master
2020-04-16T03:38:19.494868
2019-03-07T00:30:24
2019-03-07T00:30:24
165,238,580
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class IfengItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() html = scrapy.Field()
[ "chenzuoli709@163.com" ]
chenzuoli709@163.com
5c7a418721b647d34b668e03b1eb4c253e2ee006
2c143ba64032f65c7f7bf1cbd567a1dcf13d5bb1
/SQL/第二高的薪水.py
5297fdc8e37bd996231a0dd8276a6f6ccab45462
[]
no_license
tx991020/MyLeetcode
5b6121d32260fb30b12cc8146e44e6c6da03ad89
cfe4f087dfeb258caebbc29fc366570ac170a68c
refs/heads/master
2020-04-09T21:43:41.403553
2019-03-27T18:54:35
2019-03-27T18:54:35
160,611,089
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
''' 编写一个 SQL 查询,获取 Employee 表中第二高的薪水(Salary) 。 +----+--------+ | Id | Salary | +----+--------+ | 1 | 100 | | 2 | 200 | | 3 | 300 | +----+--------+ 例如上述 Employee 表,SQL查询应该返回 200 作为第二高的薪水。如果不存在第二高的薪水,那么查询应返回 null。 +---------------------+ | SecondHighestSalary | +---------------------+ | 200 ...
[ "wudi@hetao101.com" ]
wudi@hetao101.com
c979902db626a94f569e02694bd867a213a599ea
d43184572d1b6c76df8efe9eac69ddf386af4e4e
/HelloWorldFlask/venv/bin/pip3
0c25b303e45de737ec6117990b23fa563b7a1740
[]
no_license
Alanhliu/flask_demo
b7aa9a94e908b20a42afd50e396f3905c721fb16
2aa3b31ac73e27caf59e22135b50b7842c8fb78f
refs/heads/master
2022-12-11T18:15:30.809735
2018-09-07T07:14:09
2018-09-07T07:14:09
145,682,864
0
0
null
2022-12-08T02:47:47
2018-08-22T08:56:26
Python
UTF-8
Python
false
false
261
#!/Users/siasun/PycharmProjects/HelloWorldFlask/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "liuhao257@163.com" ]
liuhao257@163.com
f303f581cf4290e32862c3144f0b6ad34a657e84
afcf65a67664617786dcd5cf60240722a141ecff
/schoolsystem/settings.py
aa1b55a0141d0ab60cf2012b465eb56e23f0cc02
[]
no_license
Veronicahwambui/SchoolSystem
381c9a1e88ecd31ae424476628b5383e73c75ab0
4cb3e81b1bc1670e60e047c2a29e382f78a1776b
refs/heads/master
2023-08-15T10:30:49.846334
2021-10-11T09:47:18
2021-10-11T09:47:18
380,294,113
1
0
null
null
null
null
UTF-8
Python
false
false
3,940
py
""" Django settings for schoolsystem project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import ...
[ "njengaveronicahwambui@gmail.com" ]
njengaveronicahwambui@gmail.com
39a61eea065ceb59bb7a08646c76413e1dcfde6a
2b7afa059380665ecd1c112a502d6a27021ad257
/djangoApp/djangoApp/settings.py
ecec553c4b85ad90138980742a56a1ed0a40260d
[]
no_license
huhugon/spring_maven
f32323e3599b0c0f7cc08f1b703cc23429f97281
7d7c03947b0499eb2a06bad05fb3ea97c1c04e5a
refs/heads/master
2021-01-01T05:47:22.929270
2015-07-19T04:18:08
2015-07-19T04:18:08
39,322,132
0
0
null
null
null
null
UTF-8
Python
false
false
2,739
py
""" Django settings for djangoApp project. Generated by 'django-admin startproject' using Django 1.8.2. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build pa...
[ "calvin.super@yahoo.com" ]
calvin.super@yahoo.com
7182ed9ce35f16120f1079795d73ee4d7bf32f25
62eaa871e4e825a0a8c3a014b5d08fcf976aedef
/nbs/renum.py
93448e4776c14d527ddd247487d02254b78f4fdf
[ "Apache-2.0" ]
permissive
timeseriesAI/tsai
f1006b37062a328edabb2fae3e8361dcda0fc68b
06ab2a9c6870b311fa0efe4cb3fc4df0009d1965
refs/heads/main
2023-07-19T22:11:06.425058
2023-07-13T07:06:16
2023-07-13T07:06:16
211,822,289
3,526
458
Apache-2.0
2023-06-15T13:57:12
2019-09-30T09:18:31
Jupyter Notebook
UTF-8
Python
false
false
404
py
#!/usr/bin/env python "Rename ipynb files starting at 01" import re import os from pathlib import Path dir_path = os.path.dirname(os.path.realpath(__file__)) os.chdir(dir_path) i = 1 for p in sorted(list(Path().glob('*.ipynb'))): pre = re.findall(r'^(\d+)[a-z]?[A-Z]?_(.*)', str(p)) if not pre: contin...
[ "11656416+oguiza@users.noreply.github.com" ]
11656416+oguiza@users.noreply.github.com
066a78af26ccc2d3e5cfcf6e21edabd2bde00b1b
51d525529e7ff8add891590067c74a3edd5dbc57
/turtle.py
77217489c4bce254023e26dffe44dd6db8702475
[ "MIT" ]
permissive
btsai-dev/coco-viewer
034c6df85b11c7d15f388a2035a73ec4470daf05
57bab068dd4116bedf361689e184296e77600360
refs/heads/main
2023-04-30T05:29:12.046581
2021-05-02T21:22:59
2021-05-02T21:22:59
338,417,183
0
1
MIT
2021-02-12T19:46:14
2021-02-12T19:46:14
null
UTF-8
Python
false
false
143,098
py
# # turtle.py: a Tkinter based turtle graphics module for Python # Version 1.1b - 4. 5. 2009 # # Copyright (C) 2006 - 2010 Gregor Lingl # email: glingl@aon.at # # This software is provided 'as-is', without any express or implied # warranty. In no event will the authors be held liable for any damages # arising from th...
[ "godonanabt@gmail.com" ]
godonanabt@gmail.com
6c8c336cb02605b572c852d0c5d06f95343dd29c
c5dd04970499e8a22240397836eccdf6d4d59b2b
/myproject/views.py
ba9a92b766a262c1e999b7b24fd5f52a8b3721d7
[]
no_license
WaryWolf/findacrafter-web
c4de5379d85094ae6a7bd27146b692dcfdb10094
1f9ee87a6a08aa36dc90d1c295b47ce77d4113dd
refs/heads/master
2021-01-25T03:48:34.227824
2014-11-10T00:43:39
2014-11-10T00:43:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,099
py
from pyramid.i18n import TranslationStringFactory from pyramid.response import Response from pyramid.view import view_config from pyramid.renderers import render_to_response from db import Armory import time def faq(request): #print request.client_addr return render_to_response( 'templates/faq.jinja2', ...
[ "WaryWolf@gmail.com" ]
WaryWolf@gmail.com
020f6ba95c246f4001622880ac00796c24b6e62e
ba2829830b35fa51917e86fabf274196fc0a04f1
/Alien_Invasion/bullet.py
0275bf9dc343e9e82b658d0841b67ffccf9c796a
[]
no_license
Welpyfish/python
5dca9583928d94479ac9dbf9a9b076d3ce36896b
d3caf0c16abc5be5a9011dd61639e86188fa507d
refs/heads/master
2021-12-25T06:01:24.946401
2021-12-20T14:43:02
2021-12-20T14:43:02
253,290,562
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
import pygame from pygame.sprite import Sprite class Bullet(Sprite): """A class to manage bullets fired from the ship""" def __init__(self, ai_game): """Create a bullet object at the ship's current position.""" super().__init__() self.screen = ai_game.screen self.settings = ai_...
[ "williamzhou2015@gmail.com" ]
williamzhou2015@gmail.com
81a1159b32031f1e45daa05415840674d3b923dc
b8ebac1c26f0bac56db5ce0331c6dd476d8c76eb
/0029.DivideTwoIntegers.py
f986aade3fc7a94bab79e073713cec2dbc06b702
[]
no_license
iLtc/LeetCodePython
7fbfc16292c85af95c00f9cc7531f17a29c8b957
67fed821e1488d164b6e5218aee803ac9fa93b93
refs/heads/master
2023-02-21T22:18:45.342863
2021-01-24T03:42:36
2021-01-24T03:42:36
323,800,655
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
class Solution: def divide(self, dividend: int, divisor: int) -> int: if dividend == -2 ** 31 and divisor == -1: return 2 ** 31 - 1 negative = False if dividend < 0: negative = not negative dividend = - dividend if divisor < 0: negat...
[ "i@iltc.io" ]
i@iltc.io
e7b790cd9c0e154da4b7517b407c40060421a495
98f184d758f99ce6490a0bfc0cc5a8a016ffa07b
/HackerRank/HackerRank_Diagonal_Difference.py
d6f07c827f45d6137bc1a4b9c0ab872c9b751551
[]
no_license
leehb0531/problemsolving
115dfe4c844c4d9d009971f4f38c1de103e28792
eb230677fb431261ce171926ff17f917bdf83d68
refs/heads/master
2023-02-06T13:57:05.274004
2020-12-24T22:05:34
2020-12-24T22:05:34
279,533,723
0
1
null
2020-08-13T04:02:39
2020-07-14T08:56:27
Python
UTF-8
Python
false
false
768
py
#!/bin/python3 import math import os import random import re import sys # # Complete the 'diagonalDifference' function below. # # The function is expected to return an INTEGER. # The function accepts 2D_INTEGER_ARRAY arr as parameter. # def diagonalDifference(arr): result = 0 length = len(arr)-1 for i in...
[ "ksmlee0531@gmail.com" ]
ksmlee0531@gmail.com
d4c76811ae02e5656c6798a6a0d1db42b0e691d3
dc88075fc9ea51d279d288993c61bda3b7099c10
/eureka/lib/hiloerr.py
eed648f0414ac2af84714a0197fdacc426564e8f
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
AarynnCarter/Eureka
941456a80408fcc4cccdefebd105f655374faa05
bb17db92cfddf694ba4c509e8296a5b7b3c619f3
refs/heads/main
2023-06-02T12:55:20.551727
2021-06-25T23:50:13
2021-06-25T23:50:13
379,359,328
0
0
MIT
2021-06-22T18:03:58
2021-06-22T18:03:58
null
UTF-8
Python
false
false
3,877
py
""" NAME: HILOERR PURPOSE: This function computes two-sided error bars for a set of values. It treats Data as a representative set of measurements of a quantity, and returns the distance in parameter space from Value (default: MEDIAN(Data)) to the low and high bounds of the given CONFidence interval centered ...
[ "kbstevenson@gmail.com" ]
kbstevenson@gmail.com
aac4544b92197a517401bbcf3d375390df0f3689
8001e6a88312e9b2966909a817031027efdf9c3c
/scripts/setsep.py
48ec2e97a316e1b51dd8fff444a331fd3342e5b1
[ "MIT" ]
permissive
rhong3/Neutrophil
e7e67f6773e1d943b0872afe272f1609b0948d0a
97efb7cc01dc7b1bb06e29a824352d493bb4add5
refs/heads/master
2021-07-05T00:53:26.606819
2020-07-31T15:16:57
2020-07-31T15:16:57
140,477,754
2
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
""" Prepare sample split Created on 05/07/2020 @author: RH """ import pandas as pd def set_sep(path, cut=0.3): trlist = [] telist = [] valist = [] dic = pd.read_csv('../../sampled_label_ready.csv', header=0) dic = dic.dropna() unq = list(dic.slide.unique()) validation = unq[:int(len(unq...
[ "michaelhong1995@gmail.com" ]
michaelhong1995@gmail.com
4c4a49028f4ef33794a21b4e930dab8ace2ba98a
3e24611b7315b5ad588b2128570f1341b9c968e8
/pacbiolib/thirdparty/pythonpkgs/numpy/numpy_1.9.2/lib/python2.7/site-packages/numpy/distutils/tests/test_misc_util.py
1d94cce4f9a446602ea4d652551dc01c0b278231
[ "BSD-2-Clause" ]
permissive
bioCKO/lpp_Script
dc327be88c7d12243e25557f7da68d963917aa90
0cb2eedb48d4afa25abc2ed7231eb1fdd9baecc2
refs/heads/master
2022-02-27T12:35:05.979231
2019-08-27T05:56:33
2019-08-27T05:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,092
py
#! python from __future__ import division, absolute_import, print_function from numpy.testing import * from numpy.distutils.misc_util import appendpath, minrelpath, \ gpaths, get_shared_lib_extension from os.path import join, sep, dirname ajoin = lambda *paths: join(*((sep,)+paths)) class TestAppendpath(TestCase...
[ "409511038@qq.com" ]
409511038@qq.com
0016dfecabc8f4703006c562cb1830759b8d09f0
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnuninvit.py
b685fb2e70cc37ddf8c39aef951b7792608f3af0
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
335
py
ii = [('BentJDO2.py', 1), ('CoolWHM2.py', 1), ('GodwWSL2.py', 1), ('SadlMLP.py', 1), ('CarlTFR.py', 2), ('CoolWHM.py', 1), ('LandWPA.py', 1), ('AinsWRR.py', 1), ('SoutRD2.py', 1), ('FitzRNS4.py', 2), ('CoolWHM3.py', 2), ('FitzRNS.py', 2), ('BentJRP.py', 1), ('LyttELD3.py', 1), ('StorJCC.py', 1), ('ClarGE3.py', 3), ('Fi...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
a6d280517aa13ff2286782889883671f512780fc
795c2d7e2188f2ecb3e72bbb4053726856009c0d
/cosmic/mid_point_norm.py
dc35014fc1e912c5516995bc63fffda6fb829d4d
[ "Apache-2.0" ]
permissive
markmuetz/cosmic
3a4ef310cb9cb92b81ff57b74bb1511841f790a5
f215c499bfc8f1d717dea6aa78a58632a4e89113
refs/heads/master
2023-08-01T10:55:52.596575
2021-09-20T19:26:33
2021-09-20T19:26:33
217,045,140
0
1
null
null
null
null
UTF-8
Python
false
false
2,328
py
import numpy as np from numpy import ma from matplotlib import cbook from matplotlib.colors import Normalize class MidPointNorm(Normalize): # See https://stackoverflow.com/a/7746125/54557 def __init__(self, midpoint=0, vmin=None, vmax=None, clip=False): Normalize.__init__(self, vmin, vmax, clip) ...
[ "markmuetz@gmail.com" ]
markmuetz@gmail.com
b3ebe561bbaf02cde6bf104ccd343e4934fb3c27
f6af8b2ebeae16ff443e08b90508d88461bfc521
/to-do.py
946031eaff78d7931a072f02d077eb67c22d3b74
[]
no_license
mitch-io/JetBrains
0a8d92c9a30460c64b89bc3a1b848558acb02c0e
d75aea34be05e574a3e2b99845f16921e2048be7
refs/heads/master
2022-12-31T12:01:54.656062
2020-10-23T04:04:57
2020-10-23T04:04:57
278,274,506
0
0
null
null
null
null
UTF-8
Python
false
false
4,824
py
# All imports from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String, Date from sqlalchemy.orm import sessionmaker from datetime import datetime, timedelta # create engine engine = create_engine('sqlite:///todo.db?check_same_t...
[ "noreply@github.com" ]
noreply@github.com
9b3eeaf3a7baffc0bdfdf4bec62ad338a74ae4c4
2116d41bc28555bf6cb82f5a845a34de6c68d234
/05-natural-language-processing-fundamentals-in-python/4-building-a-fake-news-classifier/03-CountVectorizer-for-text-classification.py
c7e89dbf27b49570c54be1d4c9b2bde2f32c4711
[]
no_license
tfuzi/DataCamp
7084f47ec13f91b307b98d9ce3496f1119120a27
dfea4eb56d9171ef9ee2553c4f169600cbddca9e
refs/heads/master
2023-08-09T03:10:28.251624
2019-02-22T21:22:06
2019-02-22T21:22:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,150
py
""" CountVectorizer for text classification It's time to begin building your text classifier! The data has been loaded into a DataFrame called df. Explore it in the IPython Shell to investigate what columns you can use. The .head() method is particularly informative. In this exercise, you'll use pandas alongside scik...
[ "tfuzi@edu.hse.ru" ]
tfuzi@edu.hse.ru
2108350f34a6977f7d3ca23b432fe55f8291869c
bdde256489bdb400cb3030f0127d67d6dfa632d0
/Keras/2020-11-10/keras08_val.py
87e227e340fb7d57f9743c6dd0b38d19129cc70f
[]
no_license
Vaan525/Bit_seoul
04c9555811b18a3598eecb79fa59fd552000e9ed
60acb552802bce85aed1d04db7a8acb0370fa3d9
refs/heads/master
2023-01-06T15:17:33.436178
2020-11-10T09:42:33
2020-11-10T09:42:33
311,254,620
0
0
null
2020-11-10T09:42:35
2020-11-09T07:18:33
Python
UTF-8
Python
false
false
1,395
py
import numpy as np # 1. 데이터 x_train = np.array([1,2,3,4,5,6,7,8,9,10]) # 테스트 하고싶은 데이터 y_train = np.array([1,2,3,4,5,6,7,8,9,10]) x_val = np.array([11,12,13,14,15]) # 검증용 데이터 y_val = np.array([11,12,13,14,15]) #x_pred = np.array([16,17,18]) # 예측하고 싶은 데이터 x_test = np.array([16,17,18,19,20]) y_test = np.array([16,17,1...
[ "justicia0310@gmail.com" ]
justicia0310@gmail.com
378a723595ccae9179bb45c15e7c834c5b569232
fd23009998b2a3859094f7fd937601b60f9f286b
/membershipfunction.py
822f24cf02524b8a86ed60cf392ab57e5f8b0c53
[]
no_license
ravids/ryerson-mrp
d92164f956474973e7d4be4b1a724ae18bb6ae33
b6867c7a8e189006e4753ef2b40ddb67c911dc3e
refs/heads/master
2022-12-02T01:57:38.854542
2020-08-14T21:52:05
2020-08-14T21:52:05
284,830,641
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
# -*- coding: utf-8 -*- """ Created on Mon Mar 31 15:41:58 2014 @author: tim.meggs """ from skfuzzy import gaussmf, gbellmf, sigmf class MemFuncs: 'Common base class for all employees' funcDict = {'gaussmf': gaussmf, 'gbellmf': gbellmf, 'sigmf': sigmf} def __init__(self, MFList): self.MFList = ...
[ "ravindra.desilva@rubylife.com" ]
ravindra.desilva@rubylife.com
195c47dfd62cdc4b7d62af99a21336417ce49bd1
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PyQt5/QtGui/QPolygon.py
612c81e27c75cf5f9c7410d056a20153ffc499ab
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
8,062
py
# encoding: utf-8 # module PyQt5.QtGui # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtGui.pyd # by generator 1.146 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import sip as __sip class QPolygon(__sip.simplewrapper): """ QPolygon() QPolygon(QPolygon) ...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
bbb7f1c83f7359a38d4466e00142b058246b28e4
35434cd441fd21073299b491336921d5b0921e02
/common/migrations/0002_auto_20190622_1347.py
dd6397c361de387c614d9215c7cc0c34d65c3e16
[]
no_license
liyustar/cube
2948ad82bf979951424a457a6fdffb4192db5101
1c39eb8596175f5d0c56bad1b995f7e05dfbe5d0
refs/heads/master
2022-12-15T07:11:07.371030
2019-06-23T10:20:28
2019-06-23T10:20:28
193,177,852
0
0
null
2022-12-08T05:48:12
2019-06-22T01:29:05
Python
UTF-8
Python
false
false
1,097
py
# Generated by Django 2.2.2 on 2019-06-22 13:47 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), ('common', '0001_initial')...
[ "yuxing.li@ims.jsfund.cn" ]
yuxing.li@ims.jsfund.cn
b45fbda2e9e72240e143a19f2b3b9996bdab660d
cc3385ad008196cb07c66af5efcc84ce0ea00398
/sentiment_analysis/pcfgcp.py
efc679743a19326515f834eaa81ec93c29717a36
[]
no_license
mjeffries-pivotal/cloudnativeroadshow
8d8d6b6777185a107b6c4ce2ceb7e82bb7d6b092
88e388644cdff7ed24783b593b69e4c6f59e7d57
refs/heads/master
2021-01-18T16:39:21.703059
2017-03-30T22:11:13
2017-03-30T22:11:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,703
py
import json import os from operator import itemgetter import base64 from google.cloud import language #from google.cloud import vision #from google.cloud.vision.image import Image from google.oauth2.service_account import Credentials """Base class for accessing Google Cloud Platform services from Python apps deployed...
[ "cstewart@pivotal.io" ]
cstewart@pivotal.io
fc0bc268c193d1a0b5b1738a09c6d40d21974a8e
32179c2b88bebd842ca21747f7ad163c310e0845
/src/loss/loss_functions.py
0e316f45f0520943222e59dea7da8c4862e4c0f1
[]
no_license
TimingSpace/PADVO2
dc529a04ea2a430047e7de6ac8009a79e77baee5
b19f137af01f9e276c3d133dce7b71f704de055d
refs/heads/master
2022-11-22T02:45:17.070083
2020-07-28T16:02:18
2020-07-28T16:02:18
282,482,176
0
0
null
null
null
null
UTF-8
Python
false
false
7,074
py
from torch import nn from torch.autograd import Variable import torch import numpy as np celoss = nn.CrossEntropyLoss() # predict_result b c h w # ground truth b c 1 1 # attention b 1 h w def SingleShotAttentionLoss(predict_result,ground_truth,attention,mask=[0,1,2,3,4,5]): diff = ground_truth[:,mask]-pr...
[ "wangxiangwei.cpp@gmail.com" ]
wangxiangwei.cpp@gmail.com
439ec9062ebb4fe2660056dafa23ccf81014f54a
f85efe1dd356642cef0a8862c6a10d1f1e0fada8
/generate_model.py
d7c31e7d0dfa0aec990f3f94f2599bd7314b8209
[ "Apache-2.0" ]
permissive
euCanSHare/model_generation
5fb49c72fef70533524fe691e933d27ee4f071a4
8e0bbeabc1b78ca6da2e1473338b2e993268d892
refs/heads/master
2022-06-26T07:55:28.480104
2020-05-08T15:45:40
2020-05-08T15:45:40
262,355,786
0
0
Apache-2.0
2020-05-08T19:27:13
2020-05-08T15:12:06
Python
UTF-8
Python
false
false
11,551
py
import sys,os,logging,random,pickle,datetime,joblib import pandas as pd import numpy as np #Preprocessing from sklearn.preprocessing._data import MinMaxScaler,RobustScaler #Feature selection and dimensionality reduction from sklearn.feature_selection import SelectKBest, chi2 from sklearn.decomposition import PCA, NMF...
[ "carlos.martinisla@upf.edu" ]
carlos.martinisla@upf.edu
3829807beef07b648386a173d4c50a71d313af9e
dec487349b4a874eacda2ef818db779186496d70
/Conv3DModel.py
c01d6e5aa81dab18f605bca5258142ecab190e70
[]
no_license
HYUNJI09/PD_FP-CIT_classification
ff7b65574a51ad2a0485ea5f6cf89426ad88d127
7ec480ba4e6843c899fc578e35746dc51969d8d3
refs/heads/master
2023-09-02T09:06:15.849009
2021-11-13T08:08:20
2021-11-13T08:08:20
427,600,740
0
0
null
null
null
null
UTF-8
Python
false
false
72,790
py
import os import sys import operator import pandas as pd import numpy as np import matplotlib.pyplot as plt from tqdm import tqdm import cv2 from sklearn.preprocessing import StandardScaler from sklearn.model_selection import StratifiedShuffleSplit, KFold from sklearn.metrics import accuracy_score, f1_score, precisio...
[ "shyunji09@naver.com" ]
shyunji09@naver.com
4e09e9ab402842bb82f4da39ba8ec96246fa05a2
9a92cf81495006f9ee6ffcfb60a66bc2ac5eb258
/main.py
9ceb3d6c44f78ec9dbf87cbd3ba8fd307fae3eaf
[]
no_license
Haburto/ConwaysGameOfLife
f63dc5c387c737d6f4305702dabdd4c4ff4ea03e
50ad79dd68049dbc51cb67b0802c1750c70d505d
refs/heads/master
2022-07-27T22:48:36.711000
2020-05-21T18:22:37
2020-05-21T18:22:37
264,438,339
0
0
null
null
null
null
UTF-8
Python
false
false
16,677
py
import pygame import tkinter from tkinter import messagebox # I am not sure if my game_init solution is the best solution, but it definitely helps to fight the clutter # That some of my function calls have had # It also helps me to only have one part of the code that I need to change for options like colour and size ...
[ "shadowibsack@live.de" ]
shadowibsack@live.de
8a1fec061394b19970ba9343a8c7a90ec4eb7554
037472eacfb1bc8d61692e52fce5e47ab11c6d4d
/pwkit/sherpa.py
bfb5aa332bea9198b883316a32ade380197f4e82
[ "MIT" ]
permissive
pkgw/pwkit
2aa5bdde99399183a424ee6d821bd0fc9f5371f6
ff0ac3d9cc563b441143cf73f282dd4ae98c7a51
refs/heads/master
2023-08-03T03:12:47.502647
2023-07-21T03:14:13
2023-07-21T03:14:13
19,895,334
24
8
MIT
2023-08-17T17:05:15
2014-05-17T20:15:04
Python
UTF-8
Python
false
false
25,865
py
# -*- mode: python; coding: utf-8 -*- # Copyright 2017 Peter Williams <peter@newton.cx> and collaborators. # Licensed under the MIT License. """This module contains helpers for modeling X-ray spectra with the `Sherpa <http://cxc.harvard.edu/sherpa/>`_ package. """ from __future__ import absolute_import, division, pri...
[ "peter@newton.cx" ]
peter@newton.cx
3d53d4bb40c4268b088868ff8984f18d7124d394
818173671edf15d7c6d775ed003bcd35608233f9
/waflib/extras/fluid.py
28fbfd2776e9d6d9868249bacd8c53ced6b340e8
[]
no_license
zsx/waf
a1e87e079e22443ae3ed98e08cefc705b5f73906
66d1c6ede4ceda66a98dbbf9dd473f1d5c5752ba
refs/heads/master
2021-01-13T12:56:12.379186
2010-07-12T17:27:13
2010-07-12T17:27:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
#!/usr/bin/python # encoding: utf-8 # Grygoriy Fuchedzhy 2009 """ Compile fluid files (fltk graphic library). Use the 'fluid' feature in conjuction with the 'cxx' feature. """ from waflib import Task from waflib.TaskGen import extension class fluid(Task.Task): color = 'BLUE' ext_out = ['.h'] run_str = '${FLUID}...
[ "tnagy1024@f0382ac9-c320-0410-b3f0-b508d59f5a85" ]
tnagy1024@f0382ac9-c320-0410-b3f0-b508d59f5a85
48de20fc8323234c249ebd7b875a5f7ae2bd275c
8bb63e2a80173a3158eab9a521a7f5e17d16c947
/test_scripts/mimo_project/test_batch.py
69e4321927336da6d0df9f90a5a9b62b5cf363b7
[]
no_license
pascaie/python_test_private
c0541c4b70441d365b14def662a308617bda4b5f
03af3d4a0599869e466fdae16ab07848b9f0c889
refs/heads/master
2020-04-08T03:34:17.139424
2018-12-21T01:03:28
2018-12-21T01:03:28
158,981,277
0
0
null
null
null
null
UTF-8
Python
false
false
1,539
py
# pictures location: C:\Users\pascaie\Pictures import os # work with files and the Operating System from datetime import datetime folder = r"C:\Users\pascaie\Pictures\pictures_download" # "r" is for "raw string" location = input("Photo location: ") # asks the user to input a location which will be added to the new...
[ "enrico.pascai@gmail.com" ]
enrico.pascai@gmail.com
ed55f165177b62a572dd5f14ba39bcca8cf7496e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02659/s368852702.py
9a8d0466876ef1d34613c066aa5e8c5f12f432d7
[]
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
79
py
a,b = input().split() a = int(a) b = int("".join(b.split("."))) print(a*b//100)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
417ec970032c0b5a7d2d5f7859da0e1c583efa67
8d3adc636d0ea114490f66420123f08fae3483e2
/tutorial/python_advance/multiple_job.py
c018e41f44603fcb82465dc75e72a66346df0513
[]
no_license
sengeiou/python_intern
a7658873de7e01c14ee8061a1401b7bee9aff350
73caa984d1429dc1882446432075ccf986380308
refs/heads/master
2023-02-02T19:00:05.204600
2020-12-23T23:41:11
2020-12-23T23:41:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
# -*- coding=utf-8 -*- """ 该文件主要练习Python多线程的使用 Author : Cucumber Date : 10/22/20 """
[ "thefullhorizon@gmail.com" ]
thefullhorizon@gmail.com
10fcbced63f004253d5e1ff2975551c9f3875eb9
8cf978166ba469d789bc125189c67fda56e26f52
/venv/bin/pylupdate5
c9bd440d6bd2fd83f63cfc58868cb978ed5bb735
[]
no_license
soraWontForget/QuirkyVikavolt
3c5657923c5145b6f1e1509cb4c8c491f1b8b5d7
56d5af0f5b7cd4fcac9893e5aacb684c3587515b
refs/heads/master
2020-05-25T08:30:47.160183
2019-05-28T21:16:53
2019-05-28T21:16:53
187,712,255
0
0
null
null
null
null
UTF-8
Python
false
false
257
#!/Users/sora/Projects/QuirkyVikavolt/venv/bin/python # -*- coding: utf-8 -*- import re import sys from PyQt5.pylupdate_main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sora.corrumpit@gmail.com" ]
sora.corrumpit@gmail.com
b816eb86977a2da6e487ea2ed2972230e405415f
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/GEM/YW_CYBMM_SZSJ_392_1.py
0526e7bb0d7cacf744ce16914885c815a8094da4
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,079
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
93d59d9fc54cacf0f27df38051f0f003723c7ae8
cf287ec28cee69ff1e0060f01e5fd74f9d1f3e87
/venv/Scripts/pip-script.py
c0723f02d2f371b9cd458ab3529a3a2e19c358eb
[]
no_license
CookyChou/leetcode
1325b9be4d937401dfd8af278481abd6dae53bb4
73768b4fd9bcddc7e207450cff9091342a42f607
refs/heads/master
2020-05-07T08:08:16.244991
2019-04-09T07:39:06
2019-04-09T07:39:06
180,311,925
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
#!D:\leetcode\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( lo...
[ "962338247@qq.com" ]
962338247@qq.com
8f57897c877404183d9f16f2cee0aa40e810a153
8d22d3784377165a57d5bea3896d6b6898e33d12
/django_portfolio_site/urls.py
e6434e5388f5fcc22375c19ace1a714f729dd61d
[ "MIT" ]
permissive
gbungbung/django-portfolio-site
0440969a08ff1364a2dc2f26a2e9fa24e2a558a3
7810211e157eac3c76bf139e2b65dc4a73d90cbc
refs/heads/master
2022-04-28T00:42:28.000930
2019-10-09T14:42:15
2019-10-09T14:42:15
211,950,587
0
0
MIT
2022-04-22T22:25:26
2019-09-30T20:28:32
JavaScript
UTF-8
Python
false
false
184
py
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include('portfolio.urls'), name='portfolio') ]
[ "geobung@gbungung.com" ]
geobung@gbungung.com
a63ddf10b5dbe3cdaf65d13bf66221200c99a607
3ab9618e43aca5193e3538e35dd9452e4b598fc5
/__openerp__.py
9a7c092d9d3fe2ceaa5ae94b19e684e7d8270c6e
[]
no_license
cgsoftware/ImportParArticoli
60a3cd3561a102a025ac8f00aaa005b5ffc3be5c
4294bb4787091b9dc680120a1b231b1a87b42f55
refs/heads/master
2021-01-01T19:29:49.889526
2011-07-26T14:39:46
2011-07-26T14:39:46
2,107,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,485
py
# -*- encoding: utf-8 -*- ############################################################################## # # Copyright (C) 2009 Italian Community (http://www). # All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Genera...
[ "g.dalo@cgsoftware.it" ]
g.dalo@cgsoftware.it