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
07856d5387ffb4b1e6f3b012bf0811372154a369
c72ed5e755b974c4ccba2b48c2fcde13e9afafe4
/nutc_curriculum/urls.py
c8ab2f26216a6283e8428d95b37b292180006c66
[]
no_license
alan8365/nutc_curriculum
39b1ad260116ec15c81f9de27797f0c60f19b75b
7b5e27696808f5d19adfeb083acb1c3663ab2572
refs/heads/master
2023-02-21T03:33:56.781628
2022-07-11T02:43:47
2022-07-11T02:43:47
209,300,530
3
0
null
2023-02-11T01:07:35
2019-09-18T12:16:07
JavaScript
UTF-8
Python
false
false
808
py
"""nutc_curriculum URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "alan8365@gmail.com" ]
alan8365@gmail.com
194608b5e3209504a30116a9171c850ccfd31a95
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/pkgs/numba-0.24.0-np110py27_0/lib/python2.7/site-packages/numba/tests/test_array_iterators.py
f5e2118424a1188f31f5e78d2745f973b5323ec7
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
10,372
py
from __future__ import division import numpy as np from numba import unittest_support as unittest from numba import typeof, types from numba.compiler import compile_isolated from .support import TestCase, CompilationCache, MemoryLeakMixin, tag def array_iter(arr): total = 0 for i, v in enumerate(arr): ...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
a618e029d9543648818711e1e51ea116821cc006
7d170c6e9139081874653b34a30257571a1f194f
/st2api/st2api/controllers/v1/pack_configs.py
6b7218ec39cb643f0439afab5f1983c2bed83147
[ "Apache-2.0" ]
permissive
Bala96/st2
199afd6213bafd12d4e9571020623c97b86481f9
8ab5a834fdba4f2ee0f00c0358886b98136271f1
refs/heads/master
2020-12-25T20:54:33.528699
2016-07-14T08:14:41
2016-07-14T08:14:41
63,338,070
1
0
null
2016-07-14T13:17:48
2016-07-14T13:17:48
null
UTF-8
Python
false
false
2,441
py
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use th...
[ "tomaz@tomaz.me" ]
tomaz@tomaz.me
3e23639ddfb762086a00c9b38ba8d812098bf96b
1f79d9d02810a944c45fc962c62159035c5a2247
/migrations/versions/51aaf1e0ecdd_.py
f0da03e1f425713c3bf625012ee63bb972b01029
[]
no_license
qsq-dm/mff
5f17d6ffd1d4742dc46d1367cff35233af08a450
d7f1e6f3fba95fe0d8ebb8937dda64a17e71f048
refs/heads/master
2020-12-29T02:19:29.037394
2016-08-01T15:40:42
2016-08-01T15:40:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
"""empty message Revision ID: 51aaf1e0ecdd Revises: a123ae998bf Create Date: 2015-11-16 10:22:20.483272 """ # revision identifiers, used by Alembic. revision = '51aaf1e0ecdd' down_revision = 'a123ae998bf' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - pl...
[ "root@localhost" ]
root@localhost
2d8e69d20b0a10a19b4e1dbb6e1db4890ca26594
f6e999976eab0d2e3f3eb56393fb6bc398a9eba7
/src/zeit/cms/browser/login.py
cda94675f47df1c85f906903562f53652e73b264
[]
permissive
ZeitOnline/zeit.cms
c920a927d0aad20fa46f7af1ab8db5720523d2dc
c650390aae67ec043f341c9caa43c0b3410cd404
refs/heads/master
2021-01-19T01:12:10.833386
2019-04-24T12:28:19
2019-04-24T12:28:19
28,967,637
3
2
BSD-3-Clause
2019-04-18T08:56:39
2015-01-08T13:43:39
Python
UTF-8
Python
false
false
5,588
py
from zope.authentication.interfaces import IUnauthenticatedPrincipal import json import webob.cookies import zeit.cms.browser.resources import zope.authentication.interfaces import zope.traversing.browser class Login(object): """The actual login (authentication and remembering) is performed behind the scenes ...
[ "wolfgang.schnerring@zeit.de" ]
wolfgang.schnerring@zeit.de
d91348601347e6131c75086eb88b79e5c2e4ece8
75dcb56e318688499bdab789262839e7f58bd4f6
/_algorithms_challenges/exercism/exercism-python-master/luhn/luhn.py
6c333426565dd47499069aa9ca23eb6ce43d4621
[]
no_license
syurskyi/Algorithms_and_Data_Structure
9a1f358577e51e89c862d0f93f373b7f20ddd261
929dde1723fb2f54870c8a9badc80fc23e8400d3
refs/heads/master
2023-02-22T17:55:55.453535
2022-12-23T03:15:00
2022-12-23T03:15:00
226,243,987
4
1
null
2023-02-07T21:01:45
2019-12-06T04:14:10
Jupyter Notebook
UTF-8
Python
false
false
938
py
"""Analyzes and creates luhn type codes""" class Luhn(object): """Create and analyze luhn type codes""" def __init__(self, number): """Initialize a luhn object""" self.digits = [int(d) for d in str(number)] def addends(self): """Does part of the luhn algorythm""" ends = []...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
bd16518e510b2f17700c2c1146464b8164771da6
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/heatmapgl/colorbar/title/_text.py
75b66b35b5348d99641d250df6e80023537960ed
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
418
py
import _plotly_utils.basevalidators class TextValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name="text", parent_name="heatmapgl.colorbar.title", **kwargs ): super(TextValidator, self).__init__( plotly_name=plotly_name, parent_name=p...
[ "noreply@github.com" ]
hugovk.noreply@github.com
e90e63b1cf8d8182fb104045fddfaf6633757a48
77958c1318918781217e237cbac9fe60aaee0e78
/autoLemma.py
1c713f1d00f33043fe8a3275ac519d6b2167ffec
[]
no_license
HCDigitalScholarship/lemmatizer
dff8362a7bcfa75b749c338818f20ab83f9d2e6f
1ed0e23195face2705bda9324227fd2eeb141ab9
refs/heads/master
2021-01-19T07:22:30.123050
2017-10-16T12:43:25
2017-10-16T12:43:25
100,639,725
0
0
null
null
null
null
UTF-8
Python
false
false
21,797
py
#!/usr/bin/env python # coding=utf-8 """ Identifies possible lemmata and snopyses for a set of Latin or Greek words. Uses the lemmatizer provided by the Classical Languages Toolkit. Must take a plain text file (.txt) as input; as output, a new spreadsheet is generated showing the input words and matched info about th...
[ "apjanco@gmail.com" ]
apjanco@gmail.com
3acea7c2814c7c83820d6fa17acc162c40669a03
33daf4c69a8f46d7ad8d93eaa73fc60e36fd022d
/gestion/interinos_disponibles/dodo.py
481dc7d57c2d38b9c8973eaf2ece9eb82fb14bf1
[]
no_license
OscarMaestre/estructurado
81cfc9412b77d5015be1bebf66785c357746d8e2
7649747e48128cb9c17dee937574e9490fcc9087
refs/heads/master
2021-01-10T15:05:47.695362
2016-04-28T07:30:50
2016-04-28T07:30:50
53,923,820
0
0
null
null
null
null
UTF-8
Python
false
false
1,515
py
#!/usr/bin/env python3 #coding=utf-8 from utilidades.basedatos.Configurador import Configurador from ProcesadorTablaDisponibles import ProcesadorTablaDisponibles import sys from django.db import connection configurador=Configurador ( ".." ) configurador.activar_configuracion ( "gestion.settings" ) from modelado_bd.mo...
[ "profesor.oscar.gomez@gmail.com" ]
profesor.oscar.gomez@gmail.com
28cef0af70d643a4cb4b88984505ec0ad575dca5
ccd96cd8326e530a7d535774a3c0a41685ccc406
/Evolife/Scenarii/S_Runaway.py
2c17e067b6d92fdbeb43528d12a544215331e5a5
[]
no_license
piochelepiotr/jump
33c305daa7abb6c702b6c2b515829d5a2cd4fb9a
58d45d5b7df4379da955dbe58f4445b3bf9c8283
refs/heads/master
2021-03-22T04:11:22.488431
2017-11-11T19:48:36
2017-11-11T19:48:36
84,956,533
0
0
null
null
null
null
UTF-8
Python
false
false
7,531
py
#!/usr/bin/env python ############################################################################## # EVOLIFE http://evolife.telecom-paristech.fr Jean-Louis Dessalles # # Telecom ParisTech 2017 www.dessalles.fr # # -----------------------------------------------------------...
[ "piotr.wolski@telecom-paristech.fr" ]
piotr.wolski@telecom-paristech.fr
09bf3aec0b72106a38659c833007494772db3fd6
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/framework/experimental/gradient_registry.py
b2d5ec8e17fc0eee389c2143aa1a6829e50f3df6
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,010
py
# Copyright 2020 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
945439180967459b463c0ee45463eef96362b764
c0f1254595952aa4dc692f8a00596e24394ed40d
/public/intersect/intersection.py
39992c7da3bda3b58ee46ece60040dec9bdb0457
[]
no_license
jasonsbrooks/Parsnip
adfdd3a9d4de4dc1c546bf5f274ba5ee03c784d9
8ea2e4adf56c7b7527265bfc17aafafda54be0f8
refs/heads/master
2021-01-01T16:51:20.379065
2014-06-06T23:03:46
2014-06-06T23:03:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,557
py
def intersection2c(p0, p1): [x0, y0, r0] = p0 [x1, y1, r1] = p1 dx = x1 - x0 dy = y1 - y0 d = ((x1 - x0)**2 + (y1 - y0)**2)**.5 if (d > (r0 + r1)): # no solution. circles do not intersect. return False if (d < abs(r0 - r1)): # no solution. one circle is contained in the other return False a = ((r0*r0)...
[ "pranav.maddi@gmail.com" ]
pranav.maddi@gmail.com
394751c17460a6eedc63b7a9a7b3cd6a5f87c586
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/opflex/pendresidepcont.py
6c0ad21dc06ca451ed4785d9ae2f73c937ad052d
[]
no_license
aperiyed/servicegraph-cloudcenter
4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff
9eb7975f2f6835e1c0528563a771526896306392
refs/heads/master
2023-05-10T17:27:18.022381
2020-01-20T09:18:28
2020-01-20T09:18:28
235,065,676
0
0
null
2023-05-01T21:19:14
2020-01-20T09:36:37
Python
UTF-8
Python
false
false
7,153
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "rrishike@cisco.com" ]
rrishike@cisco.com
3e36c1ef99fc2470973c858759993807e756b359
23f1e4baaddcdbe6bd03eec10a79315bfd1cf52d
/pdfplumber/utils/generic.py
311c5862aecaf4bf6f9313136500b234dccecdd0
[ "MIT" ]
permissive
jsvine/pdfplumber
453e4a5d9f322ed63f775b49f0a097f740754a2c
94da66c1b32954d02ef03a5a9b30d0177d27af84
refs/heads/stable
2023-09-01T11:17:54.401054
2023-08-12T21:05:21
2023-08-12T21:05:21
41,279,279
4,392
578
MIT
2023-09-11T16:13:59
2015-08-24T03:14:48
Python
UTF-8
Python
false
false
636
py
from collections.abc import Sequence from typing import TYPE_CHECKING, Any, Dict, List, Union from .._typing import T_seq if TYPE_CHECKING: # pragma: nocover from pandas.core.frame import DataFrame def to_list(collection: Union[T_seq[Any], "DataFrame"]) -> List[Any]: if isinstance(collection, list): ...
[ "jsvine@gmail.com" ]
jsvine@gmail.com
608643b4f73345239e144e9fa6b7583867f6b779
be1545a48c113cc497340a9d68ec05a9e8eedbe1
/controller/beetle/models.py
73b20a9bf819da79d21cc5c8e63e9b054eb32472
[ "Apache-2.0" ]
permissive
helena-project/beetle
318d82691391247c6542eb8067b094907cce0cde
6f07d864c38ea6aed962263eca20ecf8436cfb4e
refs/heads/master
2021-01-18T04:00:55.208424
2017-02-04T16:30:25
2017-02-04T16:30:25
59,785,058
16
2
null
2016-07-09T06:15:43
2016-05-26T21:41:51
C++
UTF-8
Python
false
false
4,562
py
from __future__ import unicode_literals from django.db import models from solo.models import SingletonModel from polymorphic.models import PolymorphicModel # Create your models here. class BeetleEmailAccount(SingletonModel): """Email to access SMS gateways""" class Meta: verbose_name = "Beetle Email" address ...
[ "james.hong@cs.stanford.edu" ]
james.hong@cs.stanford.edu
4080f4be115c81aa91eda2379476a08998a7ef3d
75d8667735782cd1d0eb4877e52c89da5cd92dde
/nova/tests/functional/db/test_archive.py
e1dd2a4671b92b072c07ee384cc6917f5c50bf27
[ "Apache-2.0" ]
permissive
bopopescu/nova-token
ffecfd3ec561936b7d9d7e691bc57383cde05436
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
refs/heads/master
2022-11-22T09:53:31.073483
2016-05-14T02:47:01
2016-05-15T22:02:55
282,105,621
0
0
Apache-2.0
2020-07-24T02:42:19
2020-07-24T02:42:18
null
UTF-8
Python
false
false
8,414
py
begin_unit comment|'# Copyright 2015 IBM Corp.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' commen...
[ "dmg@uvic.ca" ]
dmg@uvic.ca
2f152712d42e1d4fd121b8cdb7da3d63d0f5c065
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/246/246.strobogrammatic-number.185822057.Accepted.leetcode.py
9306340b2ea9e904f732ae54d4e02389a382c32c
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
388
py
class Solution(object): def isStrobogrammatic(self, num): table = {'0': '0', '1': '1', '6': '9', '8': '8', '9': '6' } newNum = '' for ch in num: if ch not in table: return False ...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
fbbce90ae41418b25edbc5ba6399e53aa63bb350
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/easy-money_20210129093311.py
c9377b9cc11425fec27e8c7a7029bd8b136974e2
[]
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
9,085
py
# 东方财富网 首发申报 from datetime import datetime,timedelta from urllib.parse import urlencode import pandas as pd import requests import re import time from bs4 import BeautifulSoup base_url = 'https://datainterface.eastmoney.com/EM_DataCenter/JS.aspx?' headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Ap...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
07c15d69b7aeffa01a2bf08357acb6f9bec0b5e9
bf3a447f22ede5379056402b3a53363b4f209920
/Morse/comet_simulator/src/comet_simulator/builder/robots/boat.py
3c980997b5b26bf6180bb6b084428cf3636f1d23
[]
no_license
SelenKelan/Brest2016
bfabc36e44ed84e7cacd6c670afc398493d4b99e
571f41b04dfde5ff45b1c977d14798af3b028fe1
refs/heads/master
2020-12-30T19:36:50.360337
2016-06-21T16:01:42
2016-06-21T16:01:42
61,721,989
0
0
null
2016-06-22T13:38:25
2016-06-22T13:38:25
null
UTF-8
Python
false
false
1,611
py
from morse.builder import * from comet_simulator.builder.actuators import * from comet_simulator.builder.sensors import * class Boat(GroundRobot): """ A template robot model for boat, with a motion controller and a pose sensor. """ def __init__(self, name = None, debug = True): # boat.blend is...
[ "ejalaa12@gmail.com" ]
ejalaa12@gmail.com
3cb8c5cc9f31879edf317dc9db360eb6fb2f577c
b715549ade0932ecfd0d9748bd8b1cd4e8493d04
/ImageCollection/filtering_collection.py
92aa0d12b33a99e83e8718c133db4f6aa8f6a822
[ "MIT" ]
permissive
donverone/earthengine-py-notebooks
05326b052551f2e3ad2eee8fb12c1a825a6eb5f5
99fbc4abd1fb6ba41e3d8a55f8911217353a3237
refs/heads/master
2023-05-07T00:28:36.722332
2021-03-16T15:04:57
2021-03-16T15:04:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,230
py
# %% """ <table class="ee-notebook-buttons" align="left"> <td><a target="_blank" href="https://github.com/giswqs/earthengine-py-notebooks/tree/master/ImageCollection/filtering_collection.ipynb"><img width=32px src="https://www.tensorflow.org/images/GitHub-Mark-32px.png" /> View source on GitHub</a></td> <td><a...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
b9f3cfef78f487b2255d7a337ab3f1343c076d49
7f4c602dd153f70360ecf23556a30827565d3941
/dask/graph_manipulation.py
fb048423b719992dd8615f9c5c91f03593abc196
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
timgates42/dask
1da5eb4124563a8812edf482f19adbdfa250adf0
36dfe9621dc0d4fb38260590bfa84f06dbb5e57a
refs/heads/main
2023-03-16T04:27:32.476686
2022-07-12T21:44:53
2022-07-12T21:44:53
227,522,610
0
0
NOASSERTION
2019-12-12T04:50:09
2019-12-12T04:50:08
null
UTF-8
Python
false
false
18,543
py
"""Tools to modify already existing dask graphs. Unlike in :mod:`dask.optimization`, the output collections produced by this module are typically not functionally equivalent to their inputs. """ from __future__ import annotations import uuid from collections.abc import Callable, Hashable, Set from typing import Any, L...
[ "noreply@github.com" ]
timgates42.noreply@github.com
a4ac1a13623f30dbbb8f1c9c066559e8bdbf0d10
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/003_stacks_and_queues/examples/13 Stacks Queues and Deques/Implementation of Queue.py
ab43048cef48ac39b286c599f4e70edd38d7eb14
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,266
py
# %% ''' # Implementation of Queue In this lecture we will build on our previous understanding of Queues by implementing our own class of Queue! ''' # %% ''' ____ ## Queue Methods and Attributes Before we begin implementing our own queue, let's review the attribute and methods it will have: * Queue() creates a new q...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
2ffd8b4872fd9394680fce5e5e48275fc0ca5cf5
6deafbf6257a5c30f084c3678712235c2c31a686
/Toolz/sqlmap/waf/netscaler.py
c3a5472fd34c5174458c0444a806d1ed07ec2718
[ "Unlicense", "LicenseRef-scancode-generic-cla", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license", "GPL-2.0-only", "LicenseRef-scancode-commercial-license", "LicenseRef-scancode-other-permissive" ]
permissive
thezakman/CTF-Heaven
53fcb4a72afa821ad05d8cc3b309fb388f958163
4b52a2178922f1502ab00fa8fc156d35e1dc653f
refs/heads/master
2023-04-05T18:20:54.680378
2023-03-21T13:47:45
2023-03-21T13:47:45
167,290,879
182
24
Unlicense
2022-11-29T21:41:30
2019-01-24T02:44:24
Python
UTF-8
Python
false
false
688
py
#!/usr/bin/env python """ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ from lib.core.settings import WAF_ATTACK_VECTORS __product__ = "NetScaler AppFirewall (Citrix)" def detect(get_page): retval = False for vector in WAF_ATTACK_VECTORS: ...
[ "thezakman@ctf-br.org" ]
thezakman@ctf-br.org
71a96dbb0e7005fbc1c72dcdc5536ee12b381274
aeb0a860196c7264bde3c02d51a350661520b6da
/HackerRank/Rank/medium/default_arguments.py
67aa04c3f33a74268b0dff2c58f45cb64031e673
[]
no_license
Md-Hiccup/Problem-Solving
fc9078288c59ef74fc1170e773ac20d17c28fbbb
edbee71b69aeec0b1dbeed78f033852af698b844
refs/heads/master
2022-12-10T02:35:24.315807
2022-03-16T12:50:44
2022-03-16T12:50:44
199,393,332
0
2
null
2022-12-08T01:22:44
2019-07-29T06:37:12
Java
UTF-8
Python
false
false
917
py
""" Sample Input 0 3 odd 2 # 1 3 even 3 # 0 2 4 odd 5 # 1 3 5 7 9 Sample Output 0 1 3 0 2 4 1 3 5 7 9 Explanation 0 """ class EvenStream(object): def __init__(self): self.current = 0 def get_next(self): to_return = self.current self.current += 2 return to_r...
[ "ask2md@gmail.com" ]
ask2md@gmail.com
152201d6c07e28ece83143dcb5e1f4f02f5c0f16
b44b099b48ed21ead9d579df7505e66c6d6f51be
/mainsite/wsgi.py
3030a3df8a23cedbfca4ce506e8985f7d99a7884
[ "MIT" ]
permissive
sulembutproton/youtuber
8fd062d41f1f48c40b7508526de0a6d4d629cd14
82fc6d2a3c06eab5ea8936ef3dacb68f2a2d5b85
refs/heads/master
2023-04-21T18:41:32.600011
2021-05-06T16:08:45
2021-05-06T16:08:45
364,966,514
2
1
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for mainsite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "sulembut@protonmail.com" ]
sulembut@protonmail.com
995e6c26568527a28c9705b2e3d1d415553ee1bc
15acbbe3faaa7e170d5cb29f1f3e1a1fce656f14
/ОиМП - 1/Con 4/T.py
128e045a458f1205fe2b93acb0921f9ff37a7ee6
[]
no_license
FPSarmin/HSECAOS
87ce5c34174541f772439665faff0d235574974b
fef2bb306243398f55fdf7261562e9c91074d209
refs/heads/main
2023-09-06T07:52:37.162813
2021-01-11T16:14:56
2021-01-11T16:14:56
431,747,820
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
str = input() pos1 = str.find("h") pos2 = str.rfind("h") new_str = str.replace("h", "H", str.count("h") - 1) print(new_str.replace("H", "h", 1))
[ "73155930+FPSarmin@users.noreply.github.com" ]
73155930+FPSarmin@users.noreply.github.com
df8040fd04274eb71b4801247788a80b20b8d5fb
f368bd2d59145d9e0b9b9a25b278bb919b591a44
/markdown2html.py
c66945f3f76c605efc39ba53b7ea288e652ad876
[]
no_license
OnsJannet/Markdown2HTML
4579f20f99def5b73ee53512bed1eff56791d47b
1defb4231c2e499174d6ff7fea4fc89f14c60215
refs/heads/main
2023-04-23T20:05:39.550307
2021-05-04T15:22:57
2021-05-04T15:22:57
362,921,783
1
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
#!/usr/bin/python3 """ script that takes 2 arguments """ import sys from os import path import re if __name__ == "__main__": """ a function that turns markdown to html """ if len(sys.argv) < 3: sys.stderr.write("Usage: ./markdown2html.py README.md README.html\n") sys.exit(1) elif ...
[ "onsjannet@gmail.com" ]
onsjannet@gmail.com
ccbef4f48bec2fe50d97626194fa4cbfddea05a1
2ae8fe4fccac95d98dffe77d5a948e64c3cb91b5
/12.py
9660c96c6c7a5b00050d57a8ef5f08075a5095ac
[]
no_license
lilaboc/leetcode
e61362592f87d094fe57635af1d7d2b93284bfe8
d4c5329a9d6ce945b965fd9d811757a80934dd36
refs/heads/master
2023-07-07T07:30:29.516698
2023-06-24T03:16:16
2023-06-24T03:16:16
25,621,054
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
# https://leetcode.com/problems/integer-to-roman/ class Solution: def intToRoman(self, num: int) -> str: result = "" result += 'M' * int(num / 1000) h = {1: "C", 2: "CC", 3:"CCC", 4: "CD", 5: "D", 6: "DC", 7:"DCC", 8:"DCCC", 9:"CM", 0:""} t = {1: "X", 2: "XX", 3:"XXX", 4: "XL", 5: ...
[ "lilaboc.cn@gmail.com" ]
lilaboc.cn@gmail.com
7b7cc14e1eb55e447cd82954c28e9c4a21c95d2a
c2c616894768bad045f490f15fc4c693c17e8d5c
/app_crm/views.py
43419d68d8e9b1e641b6205d8382884c84d2de89
[]
no_license
NEETHUMOLTK99/crm_automation
e38a92664a34247178d212c2633bbd49e93f034b
430568ad138004f3f52e97119566f82c9c7b0c17
refs/heads/master
2023-03-28T12:15:19.133325
2021-03-30T18:33:05
2021-03-30T18:33:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,244
py
from django.shortcuts import render, redirect, HttpResponse from .models import Course,Batch, Enquiry, Admissions,Payment from django.views.generic import TemplateView from .forms import CourseCreateForm, BatchCreateForm, CounsellorRegistrationForm, LoginForm, EnquiryCreateForm,\ AdmissionCreateForm, StudentRegistr...
[ "bibinjoy82@gmail.com" ]
bibinjoy82@gmail.com
4383f1de69efd7bb675ece409a6eadd7f2a6c6a9
a2b20597759990445081057d35d113434cfcf970
/stubs/integration_test/fixture_stubs/django/core/files/utils.pyi
9d836969d6e87809f1b5b83072f4285043a07b1d
[ "MIT" ]
permissive
facebook/pyre-check
34059599c02b65605c574f13555229f3b931fd4e
fe8ccedc572cc1faa1fd01e9138f65e982875002
refs/heads/main
2023-09-03T19:10:11.587028
2023-09-02T07:40:35
2023-09-02T07:40:35
110,274,488
6,703
575
MIT
2023-09-13T17:02:32
2017-11-10T17:31:36
OCaml
UTF-8
Python
false
false
211
pyi
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. class FileProxyMixin: pass
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
87f16f8cec7b9d01b567bc4472fda0e58bcafee6
dd27efb2b54a9ca87985dc4969f647f30273aa72
/Array GFG/ArrayReverse.py
5ffbe51209aaac03576ee0569139f56d86f0dc9f
[]
no_license
Prakashchater/Daily-Practice-questions
c47dd3deec16fa968be0b4adcd1cf296c21adcee
f60b3044c36e4fa14b140614e302ede16be778fd
refs/heads/main
2023-04-18T18:44:52.813481
2021-05-09T18:17:31
2021-05-09T18:17:31
351,801,239
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
def reverseWord(arr,start,end): while start < end: arr[start],arr[end] = arr[end],arr[start] start+=1 end-=1 return arr if __name__ == '__main__': arr = [2,1,3,4] start = 0 end = len(arr) - 1 print(reverseWord(arr,start,end))
[ "prakashchater@gmail.com" ]
prakashchater@gmail.com
fe1f61024e8157e6b9b7c090872460e840277066
2a0c2b3b682fdc7a49ff2ea107f53ac4b8fb5d20
/pyLean/dataBase/lean/test03.py
5bb1da12a51e21c561801b8deaa29e8195caaf22
[]
no_license
NoobsZero/DesignMode
29f8327c09ecd8f26e9fc3c8618e5fba3de712b2
161997377020436491520a10fc3ac927469458f1
refs/heads/master
2023-07-08T04:24:59.776257
2021-08-17T05:55:46
2021-08-17T05:55:46
303,366,863
1
0
null
null
null
null
UTF-8
Python
false
false
127,036
py
# -*- encoding:utf-8 -*- """ @File :text01.py @Time :2021/1/15 14:30 @Author :Chen @Software:PyCharm """ # 导入pymysql模块 import datetime import os import random import shutil import pymysql import sys from ast import literal_eval import pypinyin import requests from sqlalchemy.exc import IntegrityError from tomorrow ...
[ "870628995@qq.com" ]
870628995@qq.com
184ae38631828ca958724cbeac18ead25aaf2631
d63222abe326a3c8debd59bb8d24cb7eab3de09e
/codeforces/contest/1093/test_C.py
bbb936d1ee4f2431014b2627d41dd1ba938d6634
[]
no_license
tariqrahiman/pyComPro
91f47e93eb0a077d489659fcf0a75d5c1a65fc17
86ec13f47506a2495ab6b6bbb58d4e8b2a21538b
refs/heads/master
2022-02-10T04:15:40.194828
2019-06-16T10:22:38
2019-06-16T10:22:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
import unittest import C def valid(b, a): #import pdb;pdb.set_trace() for i, num in enumerate(a[:-1]): if num > a[i + 1]: return False for i, num in enumerate(b): if a[i] + a[len(a)-1-i] != b[i]: return False return True class test_class(unittest.TestCase): def test_b...
[ "alexsolbiati@hotmail.it" ]
alexsolbiati@hotmail.it
a65bf5a497abe961097c724b7dcd1c71d3642654
2c4763aa544344a3a615f9a65d1ded7d0f59ae50
/docs/slides/presentation/wscript
a85b91d28768920aae24051500680fa952691c54
[]
no_license
afeldman/waf
572bf95d6b11571bbb2941ba0fe463402b1e39f3
4c489b38fe1520ec1bc0fa7e1521f7129c20f8b6
refs/heads/master
2021-05-09T18:18:16.598191
2019-03-05T06:33:42
2019-03-05T06:33:42
58,713,085
0
0
null
2016-05-13T07:34:33
2016-05-13T07:34:33
null
UTF-8
Python
false
false
1,092
#!/usr/bin/env python # encoding: utf-8 # Jérôme Carretero, 2010 (zougloub) import sys, os from Utils import subprocess def configure(cfg): cfg.load("tex") def build(bld): def waf_cmd(task): outfile = os.path.join(task.generator.cwd, "output") with open(outfile, "w") as f: cmd = [ sys.exe...
[ "anton.feldmann@outlook.de" ]
anton.feldmann@outlook.de
58684c1d40f87a110f44ff6cf885f47f9295071c
8b39c9e9fc9be1d9f22be3959aab769979eff17f
/owlbot.py
9330cb488768f2093cbc06126d7b13a13c169369
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
googleapis/google-api-python-client
9d10bd9f27c730edf2d74d20001d1d8f8859a032
70c27ba99bb6022ee2753b46d4d3fb2b8eea00a1
refs/heads/main
2023-08-28T13:46:51.120741
2023-08-24T15:08:14
2023-08-24T15:08:14
15,749,269
4,886
1,641
Apache-2.0
2023-09-12T14:53:55
2014-01-08T21:55:56
Python
UTF-8
Python
false
false
1,978
py
# 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 agreed to in writing, ...
[ "noreply@github.com" ]
googleapis.noreply@github.com
5f8c8accfc33ba41e50f8a1941b8929b98a82f90
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/largest-series-product/b7c364580e0d43c69b6d243caa0a8b7d.py
7b67a887e8d222c4abfcf7d4e1cdb9e295b6fa20
[]
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
501
py
def largest_product(number,slice): nums = slices(number,slice) maxtotal = 0 for a in nums: total = 1 for b in a: total *= b if total > maxtotal: maxtotal = total return maxtotal def slices(longnum, size): if size > len(longnum): rai...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
9a220030c2d931cb6395a904e8f2941e865f1303
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/StudentProblem/10.21.11.12/2/1569578211.py
46113b3504cd0d2a84952368a96a3439dd2243db
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
3,516
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def is_palindromic(n: int) -> int: if n <= 0: print("n ist kein Palindrom") else: str_n = str(n) i = len(str_n) - 1 j = 0 n_reverse = [] while i != -1: n_revers...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
c1564bd4134067d05d0486d0f392c79c07bc1316
ac42f1d918bdbd229968cea0954ed75250acd55c
/admin/monitor/openstack_dashboard/dashboards/project/firewalls/workflows.py
217d6b3b0b57108dbff1474785ae21427ab6cb1f
[ "Apache-2.0" ]
permissive
naanal/product
016e18fd2f35608a0d8b8e5d2f75b653bac7111a
bbaa4cd60d4f2cdda6ce4ba3d36312c1757deac7
refs/heads/master
2020-04-03T22:40:48.712243
2016-11-15T11:22:00
2016-11-15T11:22:00
57,004,514
1
1
null
null
null
null
UTF-8
Python
false
false
15,971
py
# Copyright 2013, Big Switch Networks, 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 applic...
[ "rajagopalx@gmail.com" ]
rajagopalx@gmail.com
1f23e24f5c731f483543e30113ac02d18e7792be
97bc3425b8f7ee3311d03228fc878728ab0f97d4
/rfvision/utils/export.py
5301b47e9e3c766bb0cbbd9cc3e36c2b89550f32
[ "Apache-2.0" ]
permissive
hiyyg/rfvision
78f421714b97c7c688e93691e4853d2f76819cae
67ff343654069930ac907d77b189e0db0baca72a
refs/heads/master
2023-08-20T23:23:29.879866
2021-10-30T03:25:54
2021-10-30T03:25:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
import torch def get_k_for_topk(k, size): """Get k of TopK for onnx exporting. The K of TopK in TensorRT should not be a Tensor, while in ONNX Runtime it could be a Tensor.Due to dynamic shape feature, we have to decide whether to do TopK and what K it should be while exporting to ONNX. If ret...
[ "vinjohn@sjtu.edu.cn" ]
vinjohn@sjtu.edu.cn
3cdf56ff6f8de582f3bef2ff5661ab9681b75840
d1c3cfa4707c3d7dcb7578608c317d1e1441c3d2
/인프런/memo/sec3/cur_lan_line.py
cdac3936c162bbffa4027a7fd3805a9873409466
[]
no_license
wookim789/baekjoon_algo_note
0ad4ddc6dde187afb4346f14ef9ded2f4b7de9ae
a08903d118218d17f4ed86b16ac39bce70adeb78
refs/heads/master
2023-02-08T21:13:25.079062
2021-01-01T14:56:10
2021-01-01T14:56:10
295,260,421
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# 랜선 자르기 n, m = map(int, input().split()) arr = [ int(input()) for _ in range(n)] arr.sort() print(arr) st, ed = 0, max(arr) mid_val = ed // 2 cnt = 0 while cnt != m : cnt = 0 for i in arr: cnt += i // mid_val if cnt < m: # mid val 감 ed = mid_val - 1 mid_val = (st + ed) // 2 ...
[ "wookim789@gmail.com" ]
wookim789@gmail.com
2e14c8310d50a887d41ee4a1aa7946772e5d73c1
27e890f900bd4bfb2e66f4eab85bc381cf4d5d3f
/plugins/module_utils/azure_rm_common.py
877fd0087cb74bb2e946b13b57727fc20e50885e
[]
no_license
coll-test/notstdlib.moveitallout
eb33a560070bbded5032385d0aea2f3cf60e690b
0987f099b783c6cf977db9233e1c3d9efcbcb3c7
refs/heads/master
2020-12-19T22:28:33.369557
2020-01-23T18:51:26
2020-01-23T18:51:26
235,865,139
0
0
null
null
null
null
UTF-8
Python
false
false
65,406
py
# Copyright (c) 2016 Matt Davis, <mdavis@ansible.com> # Chris Houseknecht, <house@redhat.com> # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) import os import re import types import copy import inspect import traceback import json from os.path import e...
[ "wk@sydorenko.org.ua" ]
wk@sydorenko.org.ua
ce0535dde5612abb699223d5035f272e3c05119b
f58936d3d01b014131b9038616d6f3573dd94f44
/preprocessing_tools/noisy_word_normalizer/normalizer.py
e79b459c7bdca616a982f3cc7d1040adfdc5e9e4
[]
no_license
niteshsurtani/Personal_Assistant
69f591d03200ad9f8e66533f6968c7fb2a1d8667
363a65b3e3438b5824d8abb6caee53a70eefa024
refs/heads/master
2022-11-20T00:13:09.289399
2017-10-13T17:32:00
2017-10-13T17:32:00
106,283,072
0
1
null
2020-07-23T18:18:29
2017-10-09T12:50:48
Python
UTF-8
Python
false
false
1,262
py
import os import sys from preprocessing_tools.extended_ner.travel.api.normalizer import * import logging import nlp_logging from nlp_logging import logger def get_normalized_word(word): ''' (String) -> String Takes a noisy word as input and returns normalized word. INPUT: b4, 2morrow, uttar, going OUTPUT: bef...
[ "nitesh.surtani0606@gmail.com" ]
nitesh.surtani0606@gmail.com
9c1b1b66c6c8b95ece2ef8fc02648945f8e9126c
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/20-list-method_20200413041027.py
b77e80aba8c6bcff2bfd50ee3890a0a7fcc93618
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
basket = [21, 12,33, 35, 99] print(basket) print(len(basket)) #33 gets pops because it is 2nd number in the array print(basket.pop(2)) print(basket) #extend basket1 = [1000, 2000, 3000] print(basket.extend(basket1)) print(basket) #append - last to the list print(basket.append(700)) print(basket) #index print(baske...
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
7fb21f422970e5314f59a288dd8677af9596fbc0
11a8cca9568d1f80cd63e617d1bc88a6703750b8
/test.py
7807f8b77c43392ef4bf385c913de705fc42d9a2
[]
no_license
wyhwww66/wyh
3e3696cd0153397ed0e7c94dbb2ec086aadcb28f
7656a6f95da656b0b06088130e9d8eda58a63325
refs/heads/master
2023-09-06T04:28:10.810979
2021-11-22T08:26:12
2021-11-22T08:26:12
430,597,593
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
print ('hello') print ('hello') print ('hello word') print ('hello word')
[ "root@localhost.localdomain" ]
root@localhost.localdomain
ae09fcf871c5bd2998cd508c1f30ed584bb1d8f2
18a6b272d4c55b24d9c179ae1e58959674e53afe
/tf_rl/examples/NerveNet/scripts/policy_test/eval.py
acc4110c586945bfe1500c848d35b5903ef0539b
[ "MIT" ]
permissive
Rowing0914/TF2_RL
6cce916f409b3d4ef2a5a40a0611908f20d08b2c
c1b7f9b376cbecf01deb17f76f8e761035ed336a
refs/heads/master
2022-12-10T09:58:57.456415
2021-05-23T02:43:21
2021-05-23T02:43:21
233,476,950
9
1
MIT
2022-12-08T07:02:42
2020-01-12T23:53:48
Python
UTF-8
Python
false
false
2,742
py
import argparse from tf_rl.common.monitor import Monitor from tf_rl.common.random_process import OrnsteinUhlenbeckProcess, GaussianNoise from tf_rl.common.utils import * from tf_rl.agents.DDPG import DDPG from tf_rl.common.networks import DDPG_Actor as Actor, DDPG_Critic as Critic import environments.register as regist...
[ "kosakaboat@gmail.com" ]
kosakaboat@gmail.com
8aa11da12dec4eda9940dcddd161b6224639bfff
5d4e22ddf6e1ab9fd77cf15f5ed8f98a64d8a471
/Documentary_project/mgtv.py
c8178ed41fc92b2c77529b92bb648ced396b2ab8
[]
no_license
daiyunbin/crawler
11ef2a2577e41758c1267757d6610983702f5e5e
39d7c84cdbd177f1eabc8f0f1176dfe78037f8f0
refs/heads/master
2022-08-05T10:40:00.570806
2020-05-22T19:38:58
2020-05-22T19:38:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
55,435
py
# -*- coding:utf-8 -*- # author: Scandium # work_location: CSM Peking # project : crawler # time: 2019/12/26 10:00 import os, re, csv, json, traceback import csv,os from selenium.webdriver import ActionChains from selenium import webdriver import time import redis,copy import numpy as np rds_list = redis.StrictRedis(...
[ "360134299@qq.com" ]
360134299@qq.com
f1c4287d961cde51ba7500b04f74445f2485d959
af2431c3cfce08626a8863ec3bde8a6defe1134b
/bungie_sdk_python/Model/Destiny/Definitions/Presentation/destiny_presentation_child_block.py
ff8abc7e565e1fc516286920e88802cb70e0c29a
[]
no_license
Yogarine/bungie-sdk-python
4d8be794fd6815b5729ef9c4a52d4051092ce0c2
8f0da6501b45add0914a1ec7bac05649991c4787
refs/heads/master
2020-07-03T15:43:51.701753
2019-08-12T15:16:11
2019-08-12T15:16:11
201,954,254
1
0
null
null
null
null
UTF-8
Python
false
false
5,522
py
# coding: utf-8 """ Bungie.Net API These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. # noqa: E501 OpenAPI spec version: 2.3.6 Contact: support@bungie.com ...
[ "alwin@garsi.de" ]
alwin@garsi.de
9dcde3321646f1362ebedeb5e974401335d0faa0
5178f5aa20a857f8744fb959e8b246079c800c65
/01_basic/text/src/13/figure.py
429638889807beeddff28e9188ccfd850b827023
[]
no_license
murayama333/python2020
4c3f35a0d78426c96f0fbaed335f9a63227205da
8afe367b8b42fcf9489fff1da1866e88f3af3b33
refs/heads/master
2021-05-19T04:03:46.295906
2021-03-09T22:23:58
2021-03-09T22:23:58
251,520,131
0
3
null
2020-10-26T01:20:09
2020-03-31T06:35:18
Python
UTF-8
Python
false
false
367
py
""" 図形の面積を求める """ def triangle(width, height): """ 三角形の面積を求める """ return int(width * height * 0.5) def rectangle(width, height): """ 矩形の面積を求める """ return width * height def circle(radius): """ 円の面積を求める """ return int(radius * radius * 3.14)
[ "murayama333@gmail.com" ]
murayama333@gmail.com
05a002df9f11cbd3766c286f1b5acb6216b66e87
101d866f8e2f84dc8f76181341180c13b38e0ecf
/lib/grpc/wesrpc/warectu/warectu_pb2.py
0607b3f365624485df7302be5205c42b601d5f9d
[]
no_license
cming091/autotest
1d9a6f5f750c04b043a6bc45efa423f2e730b3aa
0f6fe31a27de9bcf0697c28574b97555fe36d1e1
refs/heads/master
2023-06-02T18:22:24.971786
2021-06-21T08:52:47
2021-06-21T08:52:47
378,858,969
0
0
null
null
null
null
UTF-8
Python
false
true
13,286
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: warectu.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_d...
[ "349152234@qq.com" ]
349152234@qq.com
687c92ed8cc637fa99ad97e261336fde0c3e7986
00c6ded41b84008489a126a36657a8dc773626a5
/.history/Sizing_Method/test2_20210715185002.py
32606eeea19b28457044e374c3cabdf858848fe3
[]
no_license
12libao/DEA
85f5f4274edf72c7f030a356bae9c499e3afc2ed
1c6f8109bbc18c4451a50eacad9b4dedd29682bd
refs/heads/master
2023-06-17T02:10:40.184423
2021-07-16T19:05:18
2021-07-16T19:05:18
346,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
2,551
py
# author: Bao Li # # Georgia Institute of Technology # from icecream import ic import sys import os sys.path.insert(0, os.getcwd()) import numpy as np import Sizing_Method.Other.US_Standard_Atmosphere_1976 as atm import Sizing_Method.Aerodynamics.ThrustLapse as thrust_lapse # ΑΒΓΔ ΕΖΗΘ ΙΚΛΜ ΝΞΟΠ ΡΣΤΥ ΦΧ...
[ "libao@gatech.edu" ]
libao@gatech.edu
abe1cdf4a8061c0e121767467c10d7283ca0c7f0
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0870-Advantage-Shuffle/soln.py
8599aec6a26f136fb5b15b824fa64a7f3a8388cb
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
634
py
class Solution: def advantageCount(self, A, B): """ :type A: List[int] :type B: List[int] :rtype: List[int] """ # greedy A = sorted(A) B = sorted(zip(B, range(len(B)))) ans = [0] * len(A) lo, hi = 0, len(A) - 1 i = 0 for...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
cb567c5db6440208cd05187bb05be1a424d22eb3
7715f49eb18c34f56df3e35156bbf89040797b3a
/tests/test_vector_layers.py
1f233d32a104812a6e7f574f896fc18ee6429203
[ "MIT" ]
permissive
nmp191194/folium
1490512a3a650ef80208252cde04bb67f7ddfffb
ecd5052b0ba85c82fba9003714fe318a71647bc4
refs/heads/master
2021-06-27T14:14:32.387298
2017-09-17T01:14:07
2017-09-17T01:14:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,045
py
# -*- coding: utf-8 -*- """" Test Vector Layers ------------------ """ from __future__ import (absolute_import, division, print_function) import json from folium import Map from folium.features import Circle, CircleMarker, Polygon, Rectangle from folium.utilities import get_bounds def test_circle(): m = Map(...
[ "ocefpaf@gmail.com" ]
ocefpaf@gmail.com
b1150583084bd1029c467ccb5f9317a36fceb72d
0a33efacb74e04110625ae16ce566e2f87680cd0
/tensorflow_probability/python/distributions/gamma_gamma.py
b258307d1247603ef7209950cceb843af9116d12
[ "Apache-2.0" ]
permissive
jmzeng/probability
60e9643be6397b34db5898808bf69243bdce479d
e7879e807d2152aafb205b67b997708350afa440
refs/heads/master
2020-03-24T02:15:38.892915
2018-07-26T20:55:57
2018-07-26T20:56:41
142,368,834
1
1
Apache-2.0
2018-09-15T04:09:39
2018-07-26T00:48:04
Jupyter Notebook
UTF-8
Python
false
false
8,522
py
# Copyright 2018 The TensorFlow Probability Authors. # # 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 o...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
f976bc70148e4cebf2b0b0a67310348e921b4fac
bb666509f2a6cf07058352f8df63cb58e46a0401
/commands/ping.py
0ac171e8c2e5b27288d64f90e09767c32333693c
[ "MIT" ]
permissive
gregzaal/Auto-Voice-Channels
f6d1764846ee5e17f98b413e1cbfab8c7a71b05a
17698450c6f885ae3ee3dae059754ba72931adf6
refs/heads/master
2023-05-25T10:10:38.320456
2022-10-08T09:09:44
2022-10-08T09:09:44
237,802,209
208
189
MIT
2023-05-22T22:41:04
2020-02-02T16:44:02
Python
UTF-8
Python
false
false
2,172
py
import cfg import discord from functions import dm_user from utils import log from commands.base import Cmd help_text = [ [ ("Usage:", "<PREFIX><COMMAND>"), ( "Description:", "Test if the bot is alive, and see the delay between your commands and my response.\n" "...
[ "gregzzmail@gmail.com" ]
gregzzmail@gmail.com
f975bd27400df29d45641d3634536867d2e8906f
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/80/usersdata/231/48027/submittedfiles/moedas.py
8f71371417363c5aa2cf379e1686f6721a6296fe
[]
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
447
py
# -*- coding: utf-8 -*- from __future__ import division a=int(input('digite moedas:')) b=int(input('digite moedas:')) c=int(input('cedulass:')) a1=0 b1=0 for i in range(1,c,1): if c>=a: x=c//a c=c-(a*x) a1=a1+x elif c>=b: y=c//b c=c-(b*y) b1=b1+y elif c>=a: ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
48b06ff6ff4a1c9c34df39d826b952740611da2d
06e34e2dface0b87fa785cab7e65422a5f20ba18
/Solutions/978-Longest-Turbulent-Subarray/python.py
499a8bdfefb55c5d7d91a52d561a7e7e9f764a64
[]
no_license
JerryHu1994/LeetCode-Practice
c9841b0ce70451c19c8a429a3898c05b6233e1d4
b0ce69985c51a9a794397cd98a996fca0e91d7d1
refs/heads/master
2022-02-10T04:42:28.033364
2022-01-02T04:44:22
2022-01-02T04:44:22
117,118,143
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
class Solution(object): def maxTurbulenceSize(self, A): """ :type A: List[int] :rtype: int """ if len(A) == 0 or len(A) == 1 or len(A) == 2: return len(A) signs = [] for i in range(len(A)-1): if A[i] < A[i+1]: signs.append(1) ...
[ "hjr01211@gmail.com" ]
hjr01211@gmail.com
66c8b3bb4cc75c171daf42e0767824f25284bc15
0210053f0cdea9a19099caaa04156cfae9a5d23a
/backend/event/admin.py
69f2a54a82ee9279b6fea6b3a119ac7944378ba3
[]
no_license
crowdbotics-apps/yang-yang-events-an-18520
a3f0f316e176f3181f7ec02203ee141a2aab4df5
9bfa0fe85b3c9e83c63d9f9b97b9e590cb702def
refs/heads/master
2022-11-13T17:11:06.067419
2020-06-30T22:54:57
2020-06-30T22:54:57
276,223,224
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
from django.contrib import admin from .models import ( Vendor, Location, Favorites, VendorDetail, Category, Faq, Presenter, Schedule, MySchedule, Sponsor, ) admin.site.register(Sponsor) admin.site.register(Favorites) admin.site.register(Presenter) admin.site.register(MySchedule)...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
b3f7335fc372f0101ab5e8e391581ae6e384b619
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2869/60593/233912.py
a863c062c09c72875fd05ff9265906685decc43a
[]
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
328
py
n=int(input()) arr=list(map(int,input().split())) vis=[0 for i in range(1001)] ans=[] arr.reverse() print(vis) for i in range(len(arr)): if(vis[i]==0): ans.append(arr[i]) vis[i]=1 print(len(ans)) for i in range(len(ans)): if(i==len(ans)-1): print(ans[i]) else: print(ans[i],''...
[ "1069583789@qq.com" ]
1069583789@qq.com
e69954fb7495a8241fc820974f7463a692e0973a
f9c98f9c127fa1cd9fba17abe17199fb5440b36b
/md_rahaman/python/full_stack_django/courses/main/settings.py
1dab6c0602ee9b218239bc8af4507d0f81755fab
[]
no_license
RibRibble/python_april_2017
162e543f97afc77d44fcc858106e4730d3f7f760
3cc4240d371a8bad8da2ea085e3675272cca2de3
refs/heads/master
2021-01-19T01:12:34.667828
2017-04-27T22:11:53
2017-04-27T22:11:53
87,233,010
1
0
null
2017-04-04T20:41:44
2017-04-04T20:41:44
null
UTF-8
Python
false
false
3,112
py
""" Django settings for main project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os # B...
[ "soikatesc@gmail.com" ]
soikatesc@gmail.com
05a1bc39f33b31070d7d62a92a9211b0fb694396
1d9cee75a15214ed19affbb11d17f22d798f297f
/config/urls.py
f62ad8f6044b6bdc29aac59d6a81f31480187f1f
[]
no_license
gurnitha/django-clone-airbnb-asof14082021
5a5e5ad27a84226061e8d8d9a4ce235524f149cc
9c2903b9c67c9a1cb179a15a3fc6ed95e384e889
refs/heads/main
2023-07-10T16:32:38.192378
2021-08-15T13:32:36
2021-08-15T13:32:36
395,838,783
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
# config/urls.py # Django modules from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), ] if settings.DEBUG: urlpatterns += static(settings.STATIC_URL, document_root=...
[ "ingafter60@outlook.com" ]
ingafter60@outlook.com
cfb06977d7604fdc0d5dfa1ca12f4dc256a9f0a3
1f0fe5369d83f66e09694c9b06502b764f6dbc10
/dobby/models/notifications/carriers/__init__.py
597ed659319bd9392bdf3e619b965f235863e4fc
[ "MIT" ]
permissive
DeepSwissVoice/Dobby
150a7f344662f7b3837487ae4273b88c477c1e75
10e9c2579f4f16cad995ba8564128928647cdf58
refs/heads/master
2022-12-20T13:19:39.756188
2018-08-14T16:02:49
2018-08-14T16:02:49
139,873,770
1
0
MIT
2022-12-08T02:16:46
2018-07-05T16:15:14
Python
UTF-8
Python
false
false
353
py
import importlib import logging from pathlib import Path log = logging.getLogger(__name__) def load_all(): here = Path(__file__) files = here.parent.glob("*.py") for file in files: if file == here: continue importlib.import_module("." + file.stem, __package__) log.debu...
[ "siku2@outlook.com" ]
siku2@outlook.com
2d41892a4a5f97dfee47a44f2678c4b42746cc11
bfef82a2190660ceb88817fc3427aa3c7b89201b
/eShop/eShopUser/views.py
f716f02303e3302f8c636ff4c551064e54e8cc60
[]
no_license
r1uchita/Django-based-Portal-for-Online-E--Shopping
a58cf69d3472ba274aec3b7b58d35a72d4274adb
6075ddb614624f18056781355f4244df437c6528
refs/heads/master
2023-06-11T21:06:21.732251
2021-07-10T16:32:22
2021-07-10T16:32:22
384,722,157
0
0
null
null
null
null
UTF-8
Python
false
false
14,241
py
from django.shortcuts import render , redirect , HttpResponseRedirect from eShopUser.models import orders from eShopUser.models import product from . import forms from eShopUser.models.product import Product from eShopUser.models.orders import Order from eShopUser.models.category import Category from eShopUser.models.c...
[ "you@example.com" ]
you@example.com
17d74224f2e9f8d3c8986dc8cf8a37a5f7f9bbd5
34ef83114e02b173bd2d55eb53ad399e738a8e3c
/django/django/catalog/views.py
df359ed038cb158a19f61a59652ba2a74b3a08c4
[ "CC0-1.0" ]
permissive
vavilon/Python3
e976a18eb301e4953696d1e3f4730ed890da015a
8c79729747ce51d60ad685e6a2e58292954ed7eb
refs/heads/master
2023-01-09T13:44:37.408601
2018-01-25T22:41:14
2018-01-25T22:41:14
100,892,055
0
1
null
2022-12-26T20:29:27
2017-08-20T22:23:06
Python
UTF-8
Python
false
false
5,405
py
from django.shortcuts import render # Create your views here. from .models import Book, Author, BookInstance, Genre def index(request): """ View function for home page of site. """ # Generate counts of some of the main objects num_books=Book.objects.all().count() num_instances=BookInstance.ob...
[ "overon4ek@gmail.com" ]
overon4ek@gmail.com
17acb9c9f5efe34ce10ec9b2168181967f529094
5c94e032b2d43ac347f6383d0a8f0c03ec3a0485
/Oxygen_3rd_Gen/SpecialMixerComponent.py
87978df23bee1bde836e583637af1745f76b0408
[]
no_license
Elton47/Ableton-MRS-10.1.13
997f99a51157bd2a2bd1d2dc303e76b45b1eb93d
54bb64ba5e6be52dd6b9f87678ee3462cc224c8a
refs/heads/master
2022-07-04T01:35:27.447979
2020-05-14T19:02:09
2020-05-14T19:02:09
263,990,585
0
0
null
2020-05-14T18:12:04
2020-05-14T18:12:03
null
UTF-8
Python
false
false
3,028
py
# uncompyle6 version 3.6.7 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.17 (default, Dec 23 2019, 21:25:33) # [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.16)] # Embedded file name: /Users/versonator/Jenkins/live/output/Live/mac_64_static/Release/python-bundle/MIDI Remote Scripts/Oxygen_3rd_...
[ "ahmed.emerah@icloud.com" ]
ahmed.emerah@icloud.com
8f2079734b76526a1377ad657c0e2099d0d05a3f
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/leetcode/leetCode/DynamicProgramming/135_Candy.py
58e9c2d74e8be4d19587de3a4e8d6b2846f5120d
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
894
py
#! /usr/bin/env python # -*- coding: utf-8 -*- class Solution(object): def candy(self, ratings): candies = [0 for i in ratings] candies[0] = 1 children_nums = len(ratings) # Scan from left to right for i in range(children_nums - 1): if ratings[i + 1] > ratings[...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
393a9ac2150c027e554d13d3861250dbbc92d642
c24fa89450cccb48fcd481c3cfa475ee0e412e09
/AnalysisCode/AnalysisStepCount.py
f2e66445ae5df876c0c64f01a18e9a30cfaf7a73
[]
no_license
PhoenixYanrongLi/CareEcoSystem_ServerCodeNew
e95d1c552cdcc70aac09482dfda63e253e01fcb0
b627484694863c425483a04391eedc2ec2ec1098
refs/heads/master
2021-01-01T04:34:51.858543
2016-04-14T17:57:30
2016-04-14T17:57:30
56,258,674
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
from AnalysisProcessingClass import AnalysisProcessingClass from pickle import dumps class StepCountDetection(AnalysisProcessingClass): def __init__(self, database, patient_id): super(StepCountDetection, self).__init__(database = database, patient_id = pa...
[ "phl_416cat@sjtu.edu.cn" ]
phl_416cat@sjtu.edu.cn
71dc6c43ba7369140a75c06316cc167979b24a67
dcdc0b95ac5755befce5e5b3424d56d0de28c18c
/source/implicit_args/implicit_arg1_dict.py
7cbf7dfda14af141544c7596035581f738799c35
[]
no_license
saurabhc123/SharedTask
adb9930b1b0b6542922960d7b3427e1f5485e714
72012419b085295ce0b267c6d55d07d87becacfc
refs/heads/master
2021-01-01T05:11:05.512253
2016-05-09T00:43:54
2016-05-09T00:43:54
56,679,555
1
1
null
2016-05-09T02:36:12
2016-04-20T10:57:01
Python
UTF-8
Python
false
false
693
py
#coding:utf-8 from util import singleton import util, config @singleton class Implicit_arg1_dict(): def __init__(self): self.dict_curr_production_rule = \ util.load_dict_from_file(config.IMPLICIT_ARG1_DICT_CURR_PRODUCTION_RULE) self.dict_prev_curr_production_rule = \ util....
[ "saurabc@yahoo.com" ]
saurabc@yahoo.com
7992e5c4d71294a1d7b854ed78f180354f8c96e2
2a8a6327fb9a7ce8696aa15b197d5170661fb94f
/zuora_client/models/proxy_actionexecute_response.py
b643f1b7a606414b0dc78573573fb65ed7677239
[]
no_license
moderndatainc/zuora-client
8b88e05132ddf7e8c411a6d7dad8c0baabaa6dad
d50da49ce1b8465c76723496c2561a3b8ebdf07d
refs/heads/master
2021-09-21T19:17:34.752404
2018-08-29T23:24:07
2018-08-29T23:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,968
py
# coding: utf-8 """ Zuora API Reference # Introduction Welcome to the reference for the Zuora REST API! <a href=\"http://en.wikipedia.org/wiki/REST_API\" target=\"_blank\">REST</a> is a web-service protocol that lends itself to rapid development by using everyday HTTP and JSON technology. The Zuora REST A...
[ "jairo.velasco@alertlogic.com" ]
jairo.velasco@alertlogic.com
a72788cdbce03648f9c39f5b7325ff2da2cb6b6e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03745/s464876063.py
779307f8fa90a9b3251a5d2a52ee3a2d11929034
[]
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
1,458
py
import sys from functools import lru_cache, cmp_to_key from heapq import merge, heapify, heappop, heappush from math import * # import math from collections import defaultdict as dd, deque, Counter as C from itertools import combinations as comb, permutations as perm from bisect import bisect_left as bl, bisect_right a...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c410ff1b507ba77c5182dbbe50c532d07d3c118b
560fc121079581f0568d6aa59a14053015da08be
/edu/cursoLN/practica_numpy/ejercicios_ECpython.py
9f89563ab43c968bc73e44a735614e4aba39d18d
[]
no_license
luisnarvaez19/Proyectos_Python
1f5c31d3592ec5fb2594d1f4b0163338d5751951
45dc51ce9d93f0b7e96eff9ca7100bd4b69e172e
refs/heads/master
2021-06-21T13:02:22.901541
2021-03-17T23:57:58
2021-03-17T23:57:58
199,532,892
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
# -*- coding: utf-8 -*- """ EJERCICIOS NUMPY - ENRIQUE CABEZAS 1. Escriba un programa usando numpy para generar cinco numeros random de distribucion normal 2. Escriba un programa usando numpy para generar 6 numeros enteros del 10 al 30 3. Escriba un programa usando numpy para encontrar el valor mas frecuente en un arr...
[ "luisnarvaezsg@gmail.com" ]
luisnarvaezsg@gmail.com
1dfdf18bf80ad8579567675ea8f5ddba5fa318d7
9c3c83007c5bf0f36635b0045b2aad7f8a11ac11
/novice/02-05-yang bener/Latihan/test.py
51b5718161581fc6748ce0b87bb3a43016da9cc9
[ "MIT" ]
permissive
septiannurtrir/praxis-academy
bc58f9484db36b36c202bf90fdfd359482b72770
1ef7f959c372ae991d74ccd373123142c2fbc542
refs/heads/master
2021-06-21T17:04:58.379408
2019-09-13T16:46:08
2019-09-13T16:46:08
203,007,994
1
0
MIT
2021-03-20T01:43:24
2019-08-18T13:38:23
Python
UTF-8
Python
false
false
274
py
import mysql.connector cnx = mysql.connector.connect(user='septiannurtrir', password='sandaljebatds07', host='127.0.0.1', database='siswa') #jejeDB dibuat manual, tapi ngga dilihatin di dokumentasi ini cnx.close()
[ "septiannurtrir@gmail.com" ]
septiannurtrir@gmail.com
523696f04e282cbcf35554ac77d7eb66b646fddb
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_neared.py
f2f752b9e9e540f98b03cef18dfbeed01b28b635
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
from xai.brain.wordbase.verbs._near import _NEAR #calss header class _NEARED(_NEAR, ): def __init__(self,): _NEAR.__init__(self) self.name = "NEARED" self.specie = 'verbs' self.basic = "near" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
31f733e5d6b636f817afdfc20ddc9c71cbbd42df
720126354851961926277c61f41318184c79fad2
/venv/bin/jupyter-run
43d8a57dcfbe3b4ce4ba3d066e9c53d305a161c3
[]
no_license
yclei/co-co-eaa
c4057025e9b91e6af01d2765196df743bfe5985d
aeb6d42ab3ce4bc83b08a1ec9a4a3d6d3da380b4
refs/heads/main
2023-03-12T14:49:03.972865
2021-03-03T22:38:48
2021-03-03T22:38:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
298
#!/Users/jakob/Desktop/Projects/implementatotion_3/co-co-eaa/venv/bin/python # -*- coding: utf-8 -*- import re import sys from jupyter_client.runapp import RunApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(RunApp.launch_instance())
[ "javetter@mail.uni-mannheim.de" ]
javetter@mail.uni-mannheim.de
99ba5c8a106194bd636aea2174661da8bbe262ac
7246faf9a222269ce2612613f58dc5ff19091f10
/baekjoon/1000~2999/1303_전쟁-전투.py
218c0c30e0ae3571cd091a165643386215698670
[]
no_license
gusdn3477/Algorithm_Study
87a2eb72a8488d9263a86db70dadc7944434d41d
3fefe1dcb40122157845ffc542f41cb097711cc8
refs/heads/main
2023-08-30T12:18:21.412945
2021-09-28T13:00:11
2021-09-28T13:00:11
308,364,230
0
1
null
null
null
null
UTF-8
Python
false
false
900
py
def DFS(x, y, ch): global ct visited[x][y] = 1 ct += 1 for i in range(4): dx = x + nx[i] dy = y + ny[i] if dx < 0 or dx >= M or dy < 0 or dy >= N: continue if visited[dx][dy] == 0 and arr[dx][dy] == ch: DFS(dx, dy, ch) N, M = map(int, input()....
[ "gusdn3477@naver.com" ]
gusdn3477@naver.com
4c9ad7f7986c68ea1e57055114150a67e2b0963a
d13e8f9a0c32516f637bdcd18698b86b0e0aa8af
/test_app/migrations/0008_road_name.py
36a2e7a11124853c65715b8e1a2720b96fadd327
[ "BSD-3-Clause", "LGPL-3.0-or-later" ]
permissive
makinacorpus/django-mapentity
01ebc58749317098083a459c5d32ae15baab04c2
75598fed04a7ab1172242990bc73b3a68814e58d
refs/heads/master
2023-09-01T15:59:04.186825
2023-08-14T12:40:30
2023-08-14T12:40:30
13,127,264
33
18
BSD-3-Clause
2023-09-13T12:19:00
2013-09-26T16:01:49
JavaScript
UTF-8
Python
false
false
404
py
# Generated by Django 3.2.12 on 2022-03-16 09:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('test_app', '0007_dummymodel_description'), ] operations = [ migrations.AddField( model_name='road', name='name', ...
[ "j.e.castagnede@gmail.com" ]
j.e.castagnede@gmail.com
4a45b8d2874186dcb163e6f4e0ff5118dbc429a2
5fd89ea6264766d608373dd52a5485da3cc0b74c
/unit2/video22.py
44cc611e69dcd26beff549466c8fc9558127674c
[]
no_license
rambo/udacity_CS373
e55a06b58865307c1a62331e4513f516f8c26662
286df1730d671506b4e7a5f179e7b7b15d061567
refs/heads/master
2016-09-05T22:17:06.609612
2014-07-09T12:25:18
2014-07-09T12:25:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
# Write a program to update your mean and variance # when given the mean and variance of your belief # and the mean and variance of your measurement. # This program will update the parameters of your # belief function. def update(mean1, var1, mean2, var2): new_var = 1.0/((1.0/var1)+(1.0/var2)) new_mean = ((var...
[ "eero.afheurlin@iki.fi" ]
eero.afheurlin@iki.fi
ac497098f4208e55c656aefaccc80fec3e0ab7c5
9923e30eb99716bfc179ba2bb789dcddc28f45e6
/openapi-generator/python/test/test_door_response_sensors.py
1591a577470deac735ca8f228ddee2247d942c7f
[]
no_license
silverspace/samsara-sdks
cefcd61458ed3c3753ac5e6bf767229dd8df9485
c054b91e488ab4266f3b3874e9b8e1c9e2d4d5fa
refs/heads/master
2020-04-25T13:16:59.137551
2019-03-01T05:49:05
2019-03-01T05:49:05
172,804,041
2
0
null
null
null
null
UTF-8
Python
false
false
6,480
py
# coding: utf-8 """ Samsara API # Introduction Samsara provides API endpoints for interacting with Samsara Cloud, so that you can build powerful applications and custom solutions with sensor data. Samsara has endpoints available to track and analyze sensors, vehicles, and entire fleets. The Samsara Cloud AP...
[ "greg@samsara.com" ]
greg@samsara.com
7af931d4954928dff81383ea1ba9fad21a365a7c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02413/s474245551.py
00278cb38ea51515936d32d63fbdcaa74b5cb2fb
[]
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
150
py
r,_=map(int,input().split()) m=[list(map(int,input().split()))for _ in[0]*r] for s in m:s.append(sum(s))or print(*s) print(*[sum(c)for c in zip(*m)])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
99ac055c8fc8b7e906e83e4634f2fffe04478cc1
0f71bcca668c2deffe81ddf7e236a3e1a482cc7d
/test/test_segment.py
c213bb9490f69388573fed075cbbb7e549705332
[ "MIT" ]
permissive
zhongli1990/3DUnetCNN
7ce73cfbbdeeb35fcb695d929da7dcbf5be5e7fe
d6db9583fb972443955bd31671d68661dcc79927
refs/heads/master
2022-12-26T21:25:31.585066
2020-10-08T10:44:29
2020-10-08T10:44:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
from unittest import TestCase import numpy as np from fcnn.utils.utils import convert_one_hot_to_label_map, split_left_right class TestSegment(TestCase): def test_segment_left_right(self): data = np.zeros((10, 10, 10), dtype=np.int16) labels = [3, 17] data[4] = labels[0] data[5] =...
[ "david.ellis@unmc.edu" ]
david.ellis@unmc.edu
bff912885d490144762683bb63725e1dda30846c
9464c2b1a21b4a7d82e11e78553e248cc68111fe
/webapp/events/migrations/0002_auto_20180426_1507.py
887a68ca5e337d84a969042f7a1a68acd447ee1d
[]
no_license
feastkl-app/attendance-tracker
99b16971d4bb1f281e63ca3b4e37ac1f86f070ef
72081d22ca40bce642299efb519d31cd71fab4c3
refs/heads/master
2021-09-23T13:56:21.136030
2018-09-23T16:30:03
2018-09-23T16:30:03
119,234,041
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-04-26 15:07 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('events', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "rpebenito@xyber.ph" ]
rpebenito@xyber.ph
968b7b813c7b4e04958228fb99e0e6b768880c49
e99044c0fec8046829da95bad6bf96f5e2cd9e18
/day2/chapter6/function1.py
39904bd9e66bec3f89ae2396f50cf3684547849b
[]
no_license
Arosebine/PythonJobs
1b49d30a5989671caec1540e4f0a9bb5bf8f2697
30c24b2cb256186ed9dcdb20a5574a16e4ce39f0
refs/heads/master
2023-03-29T20:41:45.803371
2021-04-04T08:27:05
2021-04-04T08:27:05
352,402,018
0
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
def hello(): print('Hello people!!') hello() def greetings(name, salute): print(f'Good {salute} Mr. {name}') greetings('Benedict', 'morning') greetings('Alabi', 'afternoon') greetings('Tope', 'night') def add(num1, num2): summation = num1 + num2 print(summation) add(5, 6) add(15, 7) add(11, 10) #...
[ "nonwaz78@gmail.com" ]
nonwaz78@gmail.com
8698efb6308c33f170405bef3140e3b777361249
7f4fb112bc9ab2b90f5f2248f43285ce9ac2e0a0
/src/igem/neutronics/air/bare/borosilicate-glass-backfill/0wt/plot_all.in.one_cask.thickness_dose.rate_t4045_south.py
c93e0b9e90f6516906b1b66e0ddfd08d1404e29b
[]
no_license
TheDoctorRAB/plot
dd3b5134c91c8fa7032fcc077c5427b26a80e49d
ed6746d511222c03e79f93548fe3ecd4286bf7b1
refs/heads/master
2021-07-11T10:21:19.347531
2020-07-16T17:13:15
2020-07-16T17:13:15
20,462,189
0
0
null
null
null
null
UTF-8
Python
false
false
6,118
py
######################################################################## # R.A.Borrelli # @TheDoctorRAB # rev.11.March.2015 ######################################################################## # # Plot routine # All in one file, with no separate control input, lib files # Plot data is contained in a separate data f...
[ "borrelli@localhost.localdomain" ]
borrelli@localhost.localdomain
1c671e4c962348de36e77bf0c494dec70dcfc1a1
8d53c47877c0b26f69c0890d92212bef2384cb43
/hackernews/apps/posts/migrations/0003_auto_20141104_0957.py
d7cbc3383cb6d83982d2ed3ed62c753f69b9f5f8
[]
no_license
siolag161/hackernews-clone
925652208b1319a7ede807a3e77c23ba7c27aa79
f4f482e331f121ab368f855348d75e6f196d2f73
refs/heads/master
2016-09-10T00:32:14.979978
2014-11-10T01:46:37
2014-11-10T01:46:37
26,165,720
0
1
null
null
null
null
UTF-8
Python
false
false
613
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('posts', '0002_auto_20141104_0950'), ] operations = [ migrations.AddField( model_name='post', name='p...
[ "thanh.phan@outlook.com" ]
thanh.phan@outlook.com
0c9960264da35b52af160c61769c2835d6a0c80c
5054c805be8bf94d660b806dc7ee5a9f426d49bc
/posthog/settings/utils.py
d1fc27c9f5318a06453b0aabe4cbdfc46be3723b
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
BElluu/posthog
31a121ee1e690ee5d88cb268a3cd922031dcbee4
1e207230ba285c64ea8e7f58fd1f78ef7d7c160a
refs/heads/master
2022-11-29T09:37:13.072632
2022-07-06T16:38:37
2022-07-06T16:38:37
254,587,554
0
0
null
2020-04-10T08:48:41
2020-04-10T08:48:41
null
UTF-8
Python
false
false
859
py
import os from typing import Any, Callable, List, Optional from django.core.exceptions import ImproperlyConfigured from posthog.utils import print_warning, str_to_bool __all__ = ["print_warning", "get_from_env", "get_list", "str_to_bool"] def get_from_env(key: str, default: Any = None, *, optional: bool = False, t...
[ "noreply@github.com" ]
BElluu.noreply@github.com
1aeabf7964320b569ffc69f7767922bb1a83dc75
661ed0d6372d11d81e8fe11e638956325c289648
/env/pyinstaller_pack_f.spec
bd3b480e44e602b1fca9097085ef238898de2ea5
[ "Apache-2.0" ]
permissive
fanqyyy/RT-Flash
7b9dd7ceefed1296ec2602b08a8f8c6349524d05
5bf1549ef3cea76e96b554b2e519436af0084f36
refs/heads/master
2020-07-27T19:38:03.322046
2019-09-18T12:25:39
2019-09-18T12:25:39
209,198,017
0
0
Apache-2.0
2019-09-18T02:19:06
2019-09-18T02:19:06
null
UTF-8
Python
false
false
1,633
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['..\\src\\main.py', '..\\src\\win\\flashWin.py', '..\\src\\ui\\uicore.py', '..\\src\\run\\runcore.py', '..\\src\\ui\\uidef.py', '..\\src\\boot\\bltest.py', '..\\src\\boot\\comm...
[ "jie.heng@nxp.com" ]
jie.heng@nxp.com
8ced0b293bdb01777eaa82ce5b5010c7adf8e65e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_circulated.py
bae5c9fd6d178ead341020afa3897b1d986d0ffe
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
#calss header class _CIRCULATED(): def __init__(self,): self.name = "CIRCULATED" self.definitions = circulate self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['circulate']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
01764dd8e42faee14a5efb7a85961906224bbd76
477bf2f615bf5494d4ae5d806bbe57c77be5de10
/lib/transformers/pio_transformers/__init__.py
06eaa3794af7228b666cc06ffb87d76d7e9642a3
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
sunshinelu/pipeline
d941a5c91275620aa40fd23177e6b9939608c136
10c8350d87480a70da977b5d09d276196333e712
refs/heads/master
2021-03-19T18:06:33.948200
2017-07-18T03:19:04
2017-07-18T03:19:04
97,696,856
1
0
null
2017-07-19T09:12:26
2017-07-19T09:12:26
null
UTF-8
Python
false
false
312
py
import pandas as pd from io import BytesIO, StringIO import numpy as np __version__ = "0.2" def csv_to_df(csv: bytes) -> pd.DataFrame: return pd.read_csv(BytesIO(csv)) def df_to_csv(df: pd.DataFrame) -> bytes: buf = StringIO() df.to_csv(buf, index=False) return buf.getvalue().encode('utf-8')
[ "chris@fregly.com" ]
chris@fregly.com
4894069e14c39b78628410f5ed471f3ce5fd7898
288711f749033ba462d920cb25c4fd0f51093716
/scripts/envs.py
b08def7abb4d28c18b001449224ee332b2dd7aff
[]
no_license
shqliu22/doudizhu-C
ced09fa03b4e0c51a41c84afd8c226c2a3cb6fc5
a05df81bc21fdd961caa9ac65b483d1a0719ebab
refs/heads/master
2020-04-19T08:33:03.011010
2019-01-28T03:53:53
2019-01-28T03:53:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,284
py
from datetime import datetime import numpy as np from card import Card, Category, CardGroup, action_space from utils import to_char, to_value, get_mask_alter, give_cards_without_minor, \ get_mask, action_space_single, action_space_pair, get_category_idx, normalize import sys import os if os.name == 'nt': sys.pa...
[ "447626601@qq.com" ]
447626601@qq.com
daa6f9fe7f6bd86b522abab90ab7f720dbb6b278
36fea845f6b80e7b1e626af81b47c470cf22e21e
/232.用栈实现队列.py
963f8dca9ec64a26ca68eef2c6573402c9e01fbc
[]
no_license
nerutia/leetcode_new
d7e87911d06798e2c1ffaa3109731e05809d6a92
be10290be530f3fa7f54f3ea4140265cdbce6964
refs/heads/master
2023-04-26T15:00:48.048616
2021-05-18T14:37:10
2021-05-18T14:37:10
355,743,019
0
0
null
null
null
null
UTF-8
Python
false
false
1,354
py
# # @lc app=leetcode.cn id=232 lang=python3 # # [232] 用栈实现队列 # # @lc code=start class MyQueue: def __init__(self): """ Initialize your data structure here. """ self.front = [] self.end = [] def push(self, x: int) -> None: """ Push element x to the back ...
[ "765126614@163.com" ]
765126614@163.com
0165327f3cdda8e7a0a05c5a9587d2a3ae65cbe5
7ce909830e4df4418725a9fa3ac1c1f4a1872089
/venv/Lib/site-packages/ase/test/forcefields/test_qmmm.py
06692fbc7a6ff47740808e53bb1f7827f654ae65
[]
no_license
Pratiksha1317/e-shop
421a71c78111f433f6d04e1e8678b35a179038ea
6299b76c0504c5a7f7e94271aba9907a8ce77719
refs/heads/master
2023-05-29T17:34:15.726262
2021-06-12T11:58:35
2021-06-12T11:58:35
376,225,246
0
0
null
null
null
null
UTF-8
Python
false
false
3,166
py
def test_qmmm(): from math import cos, sin, pi import numpy as np import ase.units as units from ase import Atoms from ase.calculators.tip3p import TIP3P, epsilon0, sigma0, rOH, angleHOH from ase.calculators.qmmm import (SimpleQMMM, EIQMMM, LJInteractions, ...
[ "partugurav@gmail.com" ]
partugurav@gmail.com
15fd46bb6441d8469adb14676c14c095fcc40da6
4cf3f8845d64ed31737bd7795581753c6e682922
/.history/main_20200118153337.py
c7216bcdaf2d37ce0f7ca28021d87a406175dbac
[]
no_license
rtshkmr/hack-roll
9bc75175eb9746b79ff0dfa9307b32cfd1417029
3ea480a8bf6d0067155b279740b4edc1673f406d
refs/heads/master
2021-12-23T12:26:56.642705
2020-01-19T04:26:39
2020-01-19T04:26:39
234,702,684
1
0
null
2021-12-13T20:30:54
2020-01-18T08:12:52
Python
UTF-8
Python
false
false
400,283
py
from telegram.ext import Updater, CommandHandler import requests import re # API call to source, get json (url is obtained): contents = requests.get('https://random.dog/woof.json').json() image_url = contents['url'] def get_url(): contents = requests.get('https://random.dog/woof.json').json() url = cont...
[ "ritesh@emerald.pink" ]
ritesh@emerald.pink
03b4ed85e5bf6a8c8e4e75c1060215e929f990bf
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/SjShRightSide/YW_GGQQ_QLFSJHA_049.py
2f8268fdd98859cea4452a8f93f04236f2e520c5
[]
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,473
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys import json sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/option/service") from OptMainService import * from OptQueryStkPriceQty import * sys.path.append("/home/yhl2/workspace/xt...
[ "418033945@qq.com" ]
418033945@qq.com
3fb4cf0b30bbd2ecedca5d64966ab7a45d3dd10e
e00fe1e065b448f6f8c0472ed2b8a39991fa7b1b
/Fuzzy_clustering/version3/project_manager/Model_3d_object.py
b3e85208cece9ae8acd48a40bbaa2cc361d7b001
[ "Apache-2.0" ]
permissive
joesider9/forecasting_library
1a4ded5b09fc603f91fa1c075e79fc2ed06c08a8
db07ff8f0f2693983058d49004f2fc6f8849d197
refs/heads/master
2023-03-29T12:18:22.261488
2021-04-01T08:57:08
2021-04-01T08:57:08
319,906,316
0
0
null
null
null
null
UTF-8
Python
false
false
2,278
py
import joblib import os class model3d_object(): def __init__(self, static_data, cluster, method, params): self.params = params self.test = params['test'] self.method = str.lower(method) self.cluster = cluster self.istrained = False if self.method == 'cnn': ...
[ "joesider9@gmail.com" ]
joesider9@gmail.com
92ff3dd2d4dcff6273d6819ca21c8b9701358614
938e8df765caeba073efa0e41f19c24d3ecb3356
/setup.py
712956900bd39d41b5b29dda1cc0a3527ffc332b
[ "MIT" ]
permissive
Daiver/pygeom_tools
3a3ce969cc68059fcd66cb72622df3f60329e2ac
bc36c0b08dab8d3ec4e804deae4eaeeaf90a1c28
refs/heads/master
2023-01-08T03:53:23.430933
2022-12-22T11:10:26
2022-12-22T11:10:26
180,998,235
12
1
null
null
null
null
UTF-8
Python
false
false
1,719
py
import setuptools import os PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__)) # I took it from catalyst setup.py https://github.com/catalyst-team/catalyst/blob/master/setup.py def load_version(): context = {} with open(os.path.join(PROJECT_ROOT, "geom_tools", "version.py")) as f: exec(f.read(...
[ "ra22341@ya.ru" ]
ra22341@ya.ru
14c583dd1ac32105452a31373cc7e714875933bc
86e683157cc55fc284759957e8073ec1d3ca6a4e
/rpl3/wsgi.py
7df4c95b9aebf84bfe0941dc85de20fadeb4c7b2
[]
no_license
writerlab/rpl3
e584c4d9163129d5cc7d781803b982ba877a2c25
7829203ccdd8073c4f8329ead1e0b787995133c7
refs/heads/master
2020-04-18T02:56:30.839189
2019-03-20T06:34:53
2019-03-20T06:34:53
167,181,497
3
0
null
null
null
null
UTF-8
Python
false
false
386
py
""" WSGI config for rpl3 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTING...
[ "netspytux@gmail.com" ]
netspytux@gmail.com
3771c2ed1acd6f4591e04a5a4418091dc5566bea
37683c6f6c36f47ff4c7344576b268817e992ec3
/网课刷题/函数/计算三维空间某点距离原点的欧式距离(补全代码) .py
17fcaab3c0bc908727e42bc06969bcf276fe407b
[]
no_license
WhiteSheep-y/Python
33e026a798e2a02d75908cefa2b02fa2c654e199
a166bdb8ec8bcea2f955b43d16e9c9b92c44f558
refs/heads/main
2023-06-01T02:09:32.641415
2021-06-16T15:00:09
2021-06-16T15:00:09
359,199,929
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
import math def distance(x,y,z): return math.hypot(x,y,z) x,y,z=input().split(",") d=distance(float(x),float(y),float(z)) #调用distance函数 print("这个点与原点的距离为{:.2f}。".format(d)) #输出距离值,保留两位小数
[ "xiaomie_y@163.com" ]
xiaomie_y@163.com
82fa22c105109ccedb546550fefd2b3366998df0
ebd8668c013cb77a290f3d8d96fd759bf464a63d
/ivi/agilent/agilentE4421B.py
81b17e5afc52684cb595732c088ff513861fe9c5
[ "MIT" ]
permissive
python-ivi/python-ivi
1ee23df729a77f9afc1834a12fc20123336e74cd
cfa45ceade0758debe4bc24ba4c8195222cad1e2
refs/heads/master
2022-09-17T19:55:16.124070
2017-02-18T22:57:26
2017-02-18T22:57:26
6,012,233
191
98
MIT
2023-08-03T08:40:04
2012-09-29T19:12:23
Python
UTF-8
Python
false
false
1,493
py
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2014-2017 Alex Forencich 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...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
35f1c05b71cc15c8b0b15aa330dbfea3bf1d0906
b500996a0b29829fde6afe8b23178ca9df4a239d
/rydinfap/src/procdata/procsoftinv.py
14cbc788b003327df4e746b7cf97f124ccb49375
[]
no_license
eocampo2000/test-code
48c4d444e323eef5e6fe7e61b018952ef3cd4134
49328664243e1a9daf9c567d1aaaa19fd4654c02
refs/heads/master
2016-08-11T07:35:31.346464
2016-02-13T12:33:55
2016-02-13T12:33:55
51,642,188
0
0
null
null
null
null
UTF-8
Python
false
false
5,127
py
''' Created on Nov 5, 2010 @author: emo0uzx ''' #=============================================================================== # Standalone auxiliary methods. #=============================================================================== #Data #prod_rs = [] #env_rs = [] #vendor...
[ "eocampo1000@hotmail.com" ]
eocampo1000@hotmail.com
b886d3feadc8f052bfd7c52892fc809b83153827
8520c991dc543f5f4e1efe59ab401824173bb985
/920-number-of-music-playlists/solution.py
f3336a8d28704b335e2da41c56f5050eac364b2c
[]
no_license
katryo/leetcode
d44f70f2853c4f5ea9a462d022feb0f5436c2236
0da45559271d3dba687858b8945b3e361ecc813c
refs/heads/master
2020-03-24T12:04:53.859047
2020-02-18T04:27:55
2020-02-18T04:27:55
142,703,107
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
# https://leetcode.com/articles/number-of-music-playlists/ # from functools import lru_cache class Solution: def numMusicPlaylists(self, N, L, K): """ :type N: int :type L: int :type K: int :rtype: int """ table = [[-1] * (N+1) for _ in range(L+1)] ...
[ "katoryo55@gmail.com" ]
katoryo55@gmail.com
5d033f41cf97b5fdc83c5378a47e2078cdb8747b
52b5773617a1b972a905de4d692540d26ff74926
/.history/coder_20200618171846.py
fc9105b66da720cb987724783ec93c6e46c82ea3
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
def MinWindowSubstring(strArr): # code goes here containing_string = strArr[0] search_string = ''.join(sorted(strArr[1])) print # min_chars_required = len(search_string) # solution = '' # solution_array = [] # for x in containing_string: # solution += x # total_cnt = 0 # # print(s...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com