blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
26bf117218c6051324644c2dbf2de1158d34b2eb
18e52d7a4a030023d0984237caa32412883182ab
/choose_word_dim.py
e9df64841031b6a9b0eac02dec4b0b87721b7217
[]
no_license
pink1y/NLP
433dd97af02405546739891d889ba49726c9cc3c
1f2eb5160dd912a44f02ed1ef30de2148113a695
refs/heads/master
2021-07-19T11:17:47.716433
2017-10-28T22:40:23
2017-10-28T22:40:23
108,548,189
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
# this program pick words as dimension for further analyse import json import os import math import operator from time import time # determine choosing method # ---frequency control freq = 100 # ---pos control _pos = 'VB' with open('word_bank_sorted.json', 'r') as _bank: all_words = json.load(_bank) # store ch...
[ "noreply@github.com" ]
pink1y.noreply@github.com
86a0f6781fa527b727ad2ba1ea7aba2cb48c180a
d1017c1786522122e49462fbac81d3eaf63ad955
/guides/migrations/0003_auto_20181219_1323.py
98e0cb72d93a5c893b8e0ad42b50dcf7ddca31ef
[]
no_license
DmitriyMaksimovich/guideline
a27bcca496bd3515e7ced5968b00e486ac5eee7b
eff8d7bc714d3bf5ec845ea469a73d7e171cf3f1
refs/heads/master
2020-04-19T00:58:39.571738
2019-02-18T19:20:12
2019-02-18T19:20:12
167,860,725
2
0
null
null
null
null
UTF-8
Python
false
false
562
py
# Generated by Django 2.1.3 on 2018-12-19 13:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('guides', '0002_guide_author'), ] operations = [ migrations.RenameField( model_name='guide', old_name='preveiw', ...
[ "d.maksimovich@vivaldi.net" ]
d.maksimovich@vivaldi.net
2d23c486b6b8d09a019de7151d5b7f233fd6c5d7
0be530943bf413f53ae9da9f374d730d4275c4ac
/去除字符串中的.py
5775625bfaf11006613964933746427a2ad4614d
[]
no_license
649568078/DB_pingtest
346e763c93c7f913a2b043b874f8419aacc0ca13
cd04d63dacd9bc04ec3ecf6e863aae07776c654a
refs/heads/master
2022-12-15T06:35:14.096355
2020-08-28T12:28:24
2020-08-28T12:28:24
291,041,184
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
r='http://discovery.imicams.ac.cn/' print(r.replace('/','').replace(':',''))
[ "649568078@qq.com" ]
649568078@qq.com
0006232e66e9b267c54344acf505f520ca34f480
0adf94fc39a02018165b62e93dd83edddd041230
/.history/configurations/settings_20190226153809.py
75cf74155e05e00a2fbe0afc31d36aded4447481
[]
no_license
SabitDeepto/BrJobs
1e3baa143331cf46b9c70911c6644d1efd4fffd6
1a458c8c667f8093a2325d963e5542655467c7aa
refs/heads/master
2020-04-24T08:02:26.350007
2019-03-17T05:53:30
2019-03-17T05:53:30
171,818,024
0
0
null
null
null
null
UTF-8
Python
false
false
4,011
py
""" Django settings for configurations project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ impor...
[ "deepto69@gmail.com" ]
deepto69@gmail.com
425a930b4ab70532dafbfb2209460ae38ba9e02a
dba16833d28984eb21eea7658d81d4d989f03687
/auth.py
5841b75858fd6f97d9c12741637c8e11841b1934
[]
no_license
jcarley/catalyze-python
eae8f1758b492a9e8dde6051e0d70b8554fdb3b4
52ee749fcdd03c58ef793d27996046a918db45df
refs/heads/master
2020-03-21T20:43:46.821623
2018-02-06T16:45:16
2018-02-06T16:45:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,684
py
import falcon import json import sqlite3 import uuid import datetime import users def authHook(request, response, resource, params): if not resource.authcheck.isAuthenticated(request): if(resource.authcheck.token is None): title = "No Token" message = "You did not provide an authent...
[ "nmartinez@argusinvent.com" ]
nmartinez@argusinvent.com
fe67b91e8610c21774cc8c9bc3590b8914095c52
b62a74192561e950e53574aaab178eebec713d1b
/ML/main_EXP_G_VULN_MULTIPLE_GUESSES_create_channel_wrapper.py
3f9906b53d45f8269718a763cf1a690f80db44fe
[]
no_license
LEAVESrepo/leaves
a094fdf9bc020c43dd1af485502e196db41f2188
0a8590733c0b85c93c404ef1154bb96b4ab51edb
refs/heads/master
2020-12-30T01:06:33.501736
2020-06-07T22:33:00
2020-06-07T22:33:00
239,523,846
2
0
null
null
null
null
UTF-8
Python
false
false
218
py
from EXP_G_VULN_MULTIPLE_GUESSES import main_EXP_G_VULN_MULTIPLE_GUESSES_create_channel if __name__ == '__main__': main_EXP_G_VULN_MULTIPLE_GUESSES_create_channel.main_EXP_G_VULN_MULTIPLE_GUESSES_create_channel()
[ "leavesgit@gmail.com" ]
leavesgit@gmail.com
7c2053007884b073def00f0df60c6c1fff28c5c5
9251d88c49ad1f6ba40ca69d119a2ada44d3c49f
/test/functional/wallet_listsinceblock.py
4b9291a0e160f7e4ad37f52b398950f24bbfea6a
[ "MIT" ]
permissive
jessiepathfinder/sthcoin
a8cc7dd19aa86fe4589279794defd06c8b73a095
6930dc9ad9d9e6b5b9d3bdc4638ee741066031e0
refs/heads/master
2023-03-16T16:22:22.767464
2020-06-05T03:06:46
2020-06-05T03:06:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,734
py
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the listsincelast RPC.""" from test_framework.test_framework import SthcoinTestFramework from tes...
[ "sth@eclipso.eu" ]
sth@eclipso.eu
d8540332363e4542f1d3e14e1a972bf98aee5365
e6e56d6c7f45c9b3e55c1bc76b619e0af6d89ed7
/3.py
082d7efb5c530b0a927260460a3ef7feff57da8a
[ "Apache-2.0" ]
permissive
hsebastian/fuzzy-octo-avenger
f7cbac63bf298279fc21552061c8438fe726e6aa
71e533e87bf27b30d9a66597ba9e67c4d1caf807
refs/heads/master
2021-01-23T03:13:28.091464
2015-07-01T06:15:39
2015-07-01T06:15:39
35,732,717
0
0
null
null
null
null
UTF-8
Python
false
false
101,408
py
import re body = """ kAewtloYgcFQaJNhHVGxXDiQmzjfcpYbzxlWrVcqsmUbCunkfxZWDZjUZMiGqhRRiUvGmYmvnJIHEmbT MUKLECKdCthezSYBpIElRnZugFAxDRtQPpyeCBgBfaRVvvguRXLvkAdLOeCKxsDUvBBCwdpMMWmuELeG ENihrpCLhujoBqPRDPvfzcwadMMMbkmkzCCzoTPfbRlzBqMblmxTxNniNoCufprWXxgHZpldkoLCrHJq vYuyJFCZtqXLhWiYzOXeglkzhVJIWmeUySGuFVmLTCyMshQtvZpPwu...
[ "hsebastian@users.noreply.github.com" ]
hsebastian@users.noreply.github.com
fe9acfaaafc22f65505a8d9228e03bf8308c8fd6
c97648fc60f893f5eea6b6d4732a6626b8bdd4e7
/Python/Modulos/Modulo1-Imprimir listas/setup.py
885f002b3d2afb13625827693af2debe0c965a2e
[ "Unlicense" ]
permissive
lima1756/Learning
c1f1f9167feee141a91e7f57c4ac4a0ce369c863
b21f8680211d41033d67a5c0739868900d902028
refs/heads/master
2021-05-08T05:22:25.062799
2019-03-16T22:39:09
2019-03-16T22:39:09
106,345,701
0
0
null
null
null
null
UTF-8
Python
false
false
337
py
from distutils.core import setup setup( name = 'Imprimir_Listas', version = '1.0.4', py_modules = ['Imprimir_Listas'], author = 'LIMA', author_email= 'luisivanmorett@gmail.com', url = 'https://plus.google.com/+LuisIv%C3%A1nMorett/posts', description = 'Imprime items de listas y de sus respectivas li...
[ "luisivanmorett@gmail.com" ]
luisivanmorett@gmail.com
2c219d59e1628a76ec98b36650781110431b3447
bfaf71568450a0eb6b720c6ba3d64b2bb2c3fbb6
/polls/migrations/0005_auto_20191119_1115.py
84163bf00be88e1665293836c051139ffc8e5607
[]
no_license
dominikabial/kurs_django
56f6b2e1a2a7f5d07237990e5e19b5d6f5c97b41
4b151cbecef4c32efe8e1c211cb00284a733d618
refs/heads/master
2020-09-12T16:57:06.079464
2019-11-20T15:44:15
2019-11-20T15:44:15
222,485,985
0
0
null
null
null
null
UTF-8
Python
false
false
1,619
py
# Generated by Django 2.2.7 on 2019-11-19 10:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0004_auto_20191119_1012'), ] operations = [ migrations.AlterModelOptions( name='question', options={'verbos...
[ "bialczak.d@poczta.onet.pl" ]
bialczak.d@poczta.onet.pl
872d847d6fb99cc0d03cf950c45dda5a962a4960
c62ad505020c8c886a64989715ca99628d36fa3b
/config.py
28005011d6729ba1d04ba1125368e3ad74a958e4
[]
no_license
yuvarajselvam/meetfiles-auth
7057e1d691de66c3fc7e99d21577854d322fd652
a3b56e3b954006daa072884c924937f1608e3941
refs/heads/master
2022-12-26T22:00:04.199486
2020-10-16T15:54:39
2020-10-16T15:54:39
304,656,522
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
from os import path, getenv from pymongo import MongoClient basedir = path.abspath(path.dirname(__file__)) class Config: SECRET_KEY = getenv('SECRET_KEY') JWT_SECRET_KEY = getenv('JWT_SECRET_KEY') SESSION_TYPE = getenv('SESSION_TYPE') SESSION_PERMANENT = getenv('SESSION_PERMANENT') PERMANENT_SE...
[ "imyuvarajselvam@gmail.com" ]
imyuvarajselvam@gmail.com
e08b56438e32c7bed043b26ab41637c0f4664902
e67c90a1a1c3f2f06e22dd90ade286228a9781eb
/project/migrations/0005_auto_20170207_1552.py
17f03a02161ad7ad1e3cd43cf4cd394f23856129
[]
no_license
duojing/yagudjango
82a03e5d2e0d6307dffd212781a09046e191d65a
7c6c25ca2a387b19ab7a9dcaa7f8d4b5349f412e
refs/heads/master
2021-01-13T01:17:54.503960
2017-02-16T06:13:32
2017-02-16T06:13:32
81,444,932
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-07 06:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('project', '0004_gujang_theme'), ] operations = [ ...
[ "SUBEEN LEE" ]
SUBEEN LEE
e2073c9ce4789c584bccca6fc3c3479b3e086bb5
584dec8d31f55099a972ba8032282b349c91a572
/Homework 1/CSC527_hw1_c.py
0d28d21e92511e1dfe0ffbe51d5798f7cc705682
[]
no_license
nguyenhq15/CSC527
67b9350bdddd0937ee36eb83ba175a7cb141363a
49547eb33c44acbd78d896e9959e6a7ec10019f6
refs/heads/master
2023-01-13T21:56:07.671645
2020-11-13T04:38:39
2020-11-13T04:38:39
294,264,146
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
# Han Nguyen # CSC 527 Homework 1 - question c # Prediction function ---------------------------------------------------------------------- def predict(row, weights): activation = weights[0] for i in range(len(row) - 1): activation += weights[i + 1] * row[i] return 1 if activation >= 0 el...
[ "noreply@github.com" ]
nguyenhq15.noreply@github.com
3bf7867e76e6b09f41ef9ef9b15838cd7877e8a7
6254332852b07b4c01b200bb556f70d23ba8160d
/learn1/58.py
6e601b91aeb2d0a0ef1f4ccff0752e043ea48101
[ "MIT" ]
permissive
raghavi101/HackerRank
d8c0213ea75094035d780afc477d1f05789b2165
48bf812f1b3c60b5201a95458be76ae9b7323a88
refs/heads/master
2020-08-15T15:51:12.585765
2019-10-15T18:19:48
2019-10-15T18:19:48
215,366,521
0
0
MIT
2019-10-15T18:15:07
2019-10-15T18:15:06
null
UTF-8
Python
false
false
189
py
import calendar a = list(map(int, input().split())) b = calendar.weekday(a[2], a[0] , a[1]) c = ['MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY', 'SATURDAY', 'SUNDAY'] print(c[b])
[ "noreply@github.com" ]
raghavi101.noreply@github.com
c20daa90e10f37cd3daaa3887e51c68a55a4ec41
b94325563f307bb5a66a297322087ece021446e1
/migrations/versions/885283b1816e_.py
cd9fa372eb47a475613d7d077b2d01998b84a544
[]
no_license
Amberchen8892/ovia-pregantcy
bff08d158bcfb055b80d2516538847c9a0b8d263
93b93f9b68d6102ac5f71d3238296da1dc234c85
refs/heads/master
2022-12-10T18:56:21.905576
2019-10-03T10:47:22
2019-10-03T10:47:22
212,554,459
0
0
null
2022-12-08T06:40:12
2019-10-03T10:38:41
Python
UTF-8
Python
false
false
664
py
"""empty message Revision ID: 885283b1816e Revises: 5bf88277c9e6 Create Date: 2019-09-30 16:28:02.930928 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '885283b1816e' down_revision = '5bf88277c9e6' branch_labels = None depends_on = None def upgrade(): # ...
[ "myphuong8892@yahoo.com" ]
myphuong8892@yahoo.com
a596daecfa4be0ecac632471b413594a13500b36
15a4cbf8e3902c74d47da3d321d8b9e559ba44aa
/my_mnist.py
7c24eb19c45bfa9324883e5e7a67075080560fe5
[]
no_license
Svjatogor/ev3dev-python
5fbae3230091e951729aef3c29276f8fd569f89a
199f256a0ad9f499b18bd756c1222bec07fc1fcc
refs/heads/master
2021-01-20T22:19:25.710719
2016-08-16T17:11:10
2016-08-16T17:11:10
65,838,811
0
0
null
null
null
null
UTF-8
Python
false
false
2,550
py
#!/usr/bin/env python """ classify.py is an out-of-the-box image classifer callable from the command line. By default it configures and runs the Caffe reference ImageNet model. """ import numpy as np import pandas as pd import os import sys import argparse import glob import time import caffe from number_for_lcd impor...
[ "vsjo.zanjato@gmail.com" ]
vsjo.zanjato@gmail.com
9db7d06e77f1687d0d2672b9209d7d26e6646dab
55b320c4ca3895e080a4d2e8914b155981c26238
/snovault/tests/test_clear_db_es_contents.py
b6dc47af5a758657f21313d235bef5e1f4a84612
[ "MIT" ]
permissive
4dn-dcic/snovault
606eeeb9fd2ad79da57706dc0372635662c77137
e85bc37c427d2a930326faee190dcdda2a736dd3
refs/heads/master
2023-08-30T23:15:06.664185
2023-08-28T19:56:32
2023-08-28T19:56:32
63,274,287
1
1
NOASSERTION
2023-08-31T17:26:08
2016-07-13T19:37:37
Python
UTF-8
Python
false
false
15,979
py
import contextlib import pytest from dcicutils.lang_utils import disjoined_list from dcicutils.qa_utils import logged_messages, input_mocked from unittest import mock from ..commands import clear_db_es_contents as clear_db_es_contents_module from ..commands.clear_db_es_contents import ( clear_db_tables, run_cl...
[ "wrr33@cornell.edu" ]
wrr33@cornell.edu
8bbe10ec9f9d538ff2af58beaee2fe77b23096dc
5785d7ed431b024dd910b642f10a6781df50e4aa
/revise-daily/educative.io/medium-dp/longest-common-subsequence/11_edit_distance.py
0afe28a66ab6ed5f3dc9fc015d21e758fbb667d4
[]
no_license
kashyapa/interview-prep
45d77324446da34d99bf8efedb3544b367b5523e
7060c090c40602fb9c4778eace2078e1b51e235b
refs/heads/master
2023-07-28T13:12:49.515299
2021-09-06T14:33:25
2021-09-06T14:33:25
403,706,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,004
py
def find_min_operations(s1, s2): return find_min_operations_recursive(s1, s2, 0, 0) def find_min_operations_dp(s1, s2): n1, n2 = len(s1), len(s2) dp = [[-1 for _ in range(n2 + 1)] for _ in range(n1 + 1)] # if s2 is empty, we can remove all the characters of s1 to make it empty too for i1 in range...
[ "schandra2@godaddy.com" ]
schandra2@godaddy.com
5b7d814c74d0223c8f4afc2ce955a0eb0058f191
4c1dfb02072a9bc156de77ca6df547858332b8b1
/shaders/blinn.py
7d339c63c4de0a4ec21c1c860e1d4057feb91e5b
[]
no_license
jonike/animShader
1950111af29a743c920bf6645300dc831ec47421
6964c5dbc84a58b769a849a5e3d0522f751e8241
refs/heads/master
2020-07-28T04:35:27.573278
2015-11-14T16:28:02
2015-11-14T16:28:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
""" This module contains the declaration a blin attribute """ from maya import cmds from animShader.shaders import lambert from animShader.attributes import rgb_attr from animShader.attributes import numeric_attr class Blinn(lambert.Lambert): """ This is an implementation of the material Lambert """ ...
[ "marco.giordano.work@gmail.com" ]
marco.giordano.work@gmail.com
deba5b11d3fbcee8d6703f6624c0f05ca88099e4
d090b4573fb0e72558737dcaa9acfedf866583d2
/src/try/migrations/0003_auto_20180131_1100.py
e5c565f9638afa80e35b21820a3bcc213ea9419f
[]
no_license
Bhoomikapanwar/django-try
b3fb05854a8625d6012a2e53d24d5beeab092f64
8f65ea8bf0f18031567785bfe7032f45ed3c37bf
refs/heads/master
2021-05-16T16:25:43.349054
2018-01-31T20:19:55
2018-01-31T20:19:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
# Generated by Django 2.0.1 on 2018-01-31 11:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('try', '0002_projects_use'), ] operations = [ migrations.RenameModel( old_name='Projects', new_name='Project', ), ...
[ "shivam.mcs17.du@gmail.com" ]
shivam.mcs17.du@gmail.com
37a1074856a1aeb6f0ac2d22ac04719f370ca06d
347a75ff09bbf5acb7a946bd2749313d0e17e983
/nltk_light/sem/logic.py
90f4d5cecc7e8034cddc1ede00a53d1abfe5fac0
[]
no_license
madewild/cfg
03dccd22d0b05dc8011d2d0714ec3e9c9e7a792f
66f72ffdad505bf3d75d01c03dc0f1a7d78e29ad
refs/heads/main
2023-05-14T20:44:31.459606
2023-05-07T16:00:15
2023-05-07T16:00:15
101,398,223
0
0
null
2023-05-07T16:00:16
2017-08-25T11:39:22
Python
UTF-8
Python
false
false
68,006
py
# Natural Language Toolkit: Logic # # Author: Dan Garrette <dhgarrette@gmail.com> # # Copyright (C) 2001-2017 NLTK Project # URL: <http://nltk.org> # For license information, see LICENSE.TXT """ A version of first order predicate logic, built on top of the typed lambda calculus. """ from __future__ import print_functi...
[ "madewild@ulb.ac.be" ]
madewild@ulb.ac.be
16e751e65cdf7cb6c2c235034da4adfbe96cebaa
bc0e530056755e3211f87f0ab96424eabfe06b74
/src/calabash/scripts/calabash/animUtils.py
aacf4e8549c0d975190f6763110dc2582432431a
[]
no_license
thomasjmoore/Calabash-Tools
739ee30e274f0df6558db565c24fd531bead1db0
a229943649582cb2229fc44fe18bd1bd2ea410b8
refs/heads/master
2021-05-09T16:19:29.548165
2020-07-29T16:35:13
2020-07-29T16:35:13
119,112,417
1
2
null
2018-11-28T16:54:58
2018-01-26T23:00:03
Python
UTF-8
Python
false
false
12,502
py
import pymel.core as pm import maya.cmds as cmds import pymel.mayautils as pu import os import re from PySide2 import QtWidgets from maya.app.general.mayaMixin import MayaQWidgetDockableMixin import increaseVersion import fileUtils import shutil # Convert Ui file from Designer to a python module # run this in script e...
[ "youngstuart12@gmail.com" ]
youngstuart12@gmail.com
42e669632d907f6abfa4d452c7f6c0d7800b9a63
0a6b5fcde7f9d37b182e780201aedeeab533180e
/src/executor.py
3326ad7ac8c63e4f0156142f0ef083028427c8a3
[]
no_license
GuyBol/raspremote-server
7e8a6286b0a6b3e9a9594da85067758fb31b1f64
6ee667bf9430f6f11ec03f65b33b59a6e15961fb
refs/heads/master
2022-04-01T06:40:15.211831
2020-01-25T16:08:23
2020-01-25T16:08:23
107,022,368
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- class Executor: ''' Base class to execute any query ''' def __init__(self): self.result = {} def process(self, request): ''' Entry point to process a request. Return True if processed OK. ''' if not req...
[ "tanguy.maltaverne@gmail.com" ]
tanguy.maltaverne@gmail.com
57e22be4d102c46b36053002f0e09e027786d335
cfb06e1d413cdbb8a2ce3e6276ed3aba096fcb87
/Two_IntroductionML/pca_afternoon.py
bed45b4f5d1df78acb27959c9f00670388c46bf5
[]
no_license
MerlinQueen/IAB_AI
cd746a1963cafb989769b35d25719128a01cb4a4
9a5cf309ec77ccb02e16f6ecd97b39139c5fb6f6
refs/heads/master
2020-09-22T16:57:53.556964
2019-12-25T08:13:47
2019-12-25T08:13:47
225,271,191
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
# %% import numpy as np import pandas as pd import matplotlib.pyplot as plt # 导入人脸识别数据集 from sklearn.datasets import fetch_lfw_people # 导入sklearn中PCA函数 from sklearn.decomposition import PCA # %% # 查看数据集的数据结构, faces = fetch_lfw_people() print(faces.data.shape) # 把数据集用二维平面可视化展示 faces.images.shape # %% # 随机获取36张人脸,pe...
[ "1131357029@qq.com" ]
1131357029@qq.com
b532081aaa769fc56e4142beaeafe9cc3c22fc13
ff4ab3a8aac4d26534d1d980f85f7b4ca3e0905b
/config.py
b909dff713e1be51064f9d8b0ab0d5244ecb1a54
[]
no_license
pandeynandancse/Named_Entity_Reognition_BERT
be19db084079d035a59356cdf6ede8153f856055
a6205240d312f6ca02b3ef5c8cc34512126815f0
refs/heads/master
2022-11-29T09:33:32.747433
2020-08-11T15:54:51
2020-08-11T15:54:51
286,786,451
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
import transformers MAX_LEN = 128 TRAIN_BATCH_SIZE = 32 VALID_BATCH_SIZE = 8 EPOCHS = 10 BASE_MODEL_PATH = "../input/bert_base_uncased" MODEL_PATH = "model.bin" TRAINING_FILE = "../input/ner_dataset.csv" #also can grab tokenizer from tokenizers library that is also from hugging face TOKENIZER = transformers.Ber...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b17d5447ec129a74fcbb4326a1296662f4da0b92
11abb8a59931081a879391fcf5878be714488ed2
/Remove Duplicates from Sorted List.py
2d6c3097c6581d96a382ce7200db6dc96136d8ac
[]
no_license
liuwanping/leetcode-problems-python-solutions
b7bb9f755ad9a221cddcde0c30177392c70e3553
c4ae2be3f4107c5e2123b6bd642fb950ae4bee4d
refs/heads/master
2021-09-15T05:37:50.774751
2018-05-27T03:05:02
2018-05-27T03:05:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
class ListNode(object): def __init__(self, x): self.val = x self.next = None def deleteDuplicates(head): """ :type head: ListNode :rtype: ListNode """ # solution 1: if head==None or head.next==None: return head p=ListNode(0) q=ListNode(0) p=head q=he...
[ "1342324774@qq.com" ]
1342324774@qq.com
92477a74ddf7368251f5eb84629ddfdceae7e660
c53106868c12b4dd560b0ee8b96608eee63732f4
/extension_finder/Finder.py
18d5f31765bb889a335a6430362245d4a2af7834
[]
no_license
security-geeks/extension_finder
c4ed057cee79beea5af02f461c4d180f6387af5e
df004639f30e45633e9c14d2762bb6d2cb8bc63c
refs/heads/master
2021-01-15T10:34:38.563360
2016-06-14T18:16:25
2016-06-14T18:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,023
py
""" Finder.py - @brad_anton Simple Script to identify which browser extensions are installed on a system. """ import platform from tabulate import tabulate from Constants import MacBrowsers, WinBrowsers from Browsers.Chrome import Chrome from Browsers.InternetExplorer import InternetExplorer class Finder: de...
[ "brad.antonie@gmail.com" ]
brad.antonie@gmail.com
40d23b8838346a3e4a87b40138e312ce3ea359e5
82e4c59edacae23578eb7fe38aad390d94010e84
/pythagoreanTriplets.py
986a491c680f067c4e34fbcf7a602147e4b23b34
[]
no_license
ankitam2030/Python-files
d50226021e7c923180dcd5c5aa9cf6dda09b7224
7c1a52b9302b217fed021b61e3dc0b60087574dc
refs/heads/main
2023-08-19T19:10:12.982091
2021-10-26T16:38:08
2021-10-26T16:38:08
412,736,071
0
7
null
2021-10-04T15:47:52
2021-10-02T08:24:01
Python
UTF-8
Python
false
false
503
py
import math allPythagoreanTriplets = [] def findPythagoreanTriplets(limit): c,m = 0,2 global allPythagoreanTriplets while c < limit: for n in range(1, m): a = m**2 - n**2 b = 2*m*n c = m**2 + n**2 allPythagoreanTriplets.append([a,b,c]) ...
[ "noreply@github.com" ]
ankitam2030.noreply@github.com
ffa2ae378f1565ed2e05a6f4d0a4a43f0bf68c78
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-1095.py
05e4945e404661ab2c9357d6ed718b6d3fb30b48
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,742
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
dbba51d1399c56bed72f4e121b93767b82d2afd0
3145ed258bc420cb169bebe0794357a05f78e392
/tahlilproject/polls/migrations/0021_requestletter_date_time.py
f61a0ac25e4848de253d88276895c7f78fe87832
[]
no_license
alimfaraji/tahhlilThelastSamurai
567390a02d890b3015aa87e4fec15634bd860ac1
41f31c51d82250d92f8a31cdf408127b53ce4d66
refs/heads/master
2021-01-18T16:56:59.063645
2017-08-27T09:42:11
2017-08-27T09:42:11
100,476,807
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-24 13:15 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0020_auto_20170822_2302'), ] operations = [ migrat...
[ "alimfaraji@users.noreply.github.com" ]
alimfaraji@users.noreply.github.com
7d889e5f60b2ce4f29c0a9fa5d27385256fc7af1
47f4395b78f48e555bbd40e5ac3434f079258a31
/proj1/defs.py
15448913313a0909c21b97f4a54d7832508d71a1
[]
no_license
odeke-em/w2015
97fff6525b4c50ec88212c570e105a6106bd0d30
d2ec51447307cb503f0a3e56f5b41114f370715a
refs/heads/master
2020-04-11T06:00:22.646186
2015-03-01T06:36:10
2015-03-01T06:36:10
31,156,011
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
#!/usr/bin/env python3 ACK = 'A' RECV = 'R' WAYPOINT_PREFIX = 'N'
[ "emm.odeke@gmail.com" ]
emm.odeke@gmail.com
03297337030843dd31c0b3f3d16b50e48675e4ad
0c754d584aed17d0ad6eafa0b26510efd2a26a76
/puppycompanyblog/core/views.py
13cd1e50ceda39f7c52ececafd99cc8f8a799bf1
[]
no_license
jc23729/Large-Project-Socal-Company-Blog
d1395c14d6f72a62aa39be42fd0edf14d7d28318
d3f4e81bf6452b5869c9828c884adcac39ae4923
refs/heads/master
2023-03-25T05:50:39.119391
2021-03-23T03:45:50
2021-03-23T03:45:50
335,781,135
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
#core/views.py from flask import render_template, request, Blueprint core = Blueprint('core',__name__) @core.route('/') def index(): #More to come return render_template('index.htm') @core.route('/info') def info(): return render_template('info.html')
[ "jc23729@gmail.com" ]
jc23729@gmail.com
846bef0e72a7592d7c6f4f77588449dd2f1e10ce
56ffe0c8c9795541b8bcb35d81d22c8a2f00520c
/cog/management.py
98380f831065d2686b825ad3372d77d67924d8fd
[]
no_license
GCC-NF404/discord-bot
f502690627ff8fc751413e530238df4ac9237eae
13e51fb16a98473e075fbbeaa4ed9bf429c2b4a6
refs/heads/master
2022-12-31T21:16:55.253930
2020-10-24T07:10:16
2020-10-24T07:10:16
303,047,382
1
0
null
2020-10-24T04:44:47
2020-10-11T05:13:58
Python
UTF-8
Python
false
false
1,195
py
from discord.ext import commands import discord,logging COLOR = 0xdddddd class Management(commands.Cog): def __init__(self,ctx): pass @commands.command() async def rolecheck(self,ctx): guild = ctx.guild role_admin = discord.utils.get(guild.roles, name='管理者').id role_stu = ...
[ "36390388+Daikonnbatake@users.noreply.github.com" ]
36390388+Daikonnbatake@users.noreply.github.com
60979a8ade62ba28d58cd3e3ed95c34182d3d71e
63b79c404d83e4980891c488f4d9592558ecda35
/assets/src/ba_data/python/bastd/ui/coop/__init__.py
3262255308ce6f45e4b6dc0da8fd42ee5b06cf20
[ "MIT" ]
permissive
kakekakeka/ballistica
56e8879cd5b4b990e5e05da3dfd300d7cbb45446
3ffeff8ce401a00128363ff08b406471092adaa9
refs/heads/master
2022-11-14T08:11:57.160782
2020-07-01T05:43:13
2020-07-01T05:49:44
276,755,445
2
0
MIT
2020-07-02T22:18:37
2020-07-02T22:18:36
null
UTF-8
Python
false
false
1,178
py
# Copyright (c) 2011-2020 Eric Froemling # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish,...
[ "ericfroemling@gmail.com" ]
ericfroemling@gmail.com
1d92cd4caf466194bc8dd0b7e0808a2f847ca1c2
093781f6a182c4988bb72c518e9747b723528e65
/14_pooling.py
dc3c8a0f6d26c083f847ea87a72901437bc557b4
[]
no_license
cjy02044027/quincy-pytorch
889d821685865687853df8c080352e534ac71b0d
c6a226196ec3d7d23121291c3b5696ea57152f57
refs/heads/master
2023-01-12T10:46:39.394664
2020-02-14T06:23:10
2020-02-14T06:23:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
#!usr/bin/env python # -*- coding:utf-8 _*- """ @version: author:yanqiang @time: 2019/04/09 @file: main.py @description: 最大池化和平均池化 """ import torch from torch import nn print(torch.__version__) # 二维最大池化层和平均池化层 def pool2d(X, pool_size, mode='max'): """ 池化层 :param X: :param pool_size: :param mode:...
[ "1185918903@qq.com" ]
1185918903@qq.com
94768e824242c2667ed45aca018207be8805b01e
5cc204e2ecb9a756127e7c71633a1edcdb3e989b
/qcmo/vers2/mplot_mo_v2.py
491cc9611375114efd4e3caf9526341e0ec30c19
[]
no_license
hopefulp/sandbox
1a1d518cf7b5e6bca2b2776be1cac3d27fc4bcf8
4d26767f287be6abc88dc74374003b04d509bebf
refs/heads/master
2023-06-27T17:50:16.637851
2023-06-15T03:53:39
2023-06-15T03:53:39
218,209,112
1
0
null
2022-09-13T13:22:34
2019-10-29T05:14:02
C++
UTF-8
Python
false
false
38,996
py
#!/usr/bin/python ### made by J. Park ### 2016. 10. 25 developed for radical ### 2016. 10. 28 developed for line ### 2016. 11. 14 developed for homo-reference ### 2016. 11. 15 developed for nbo BD ### 2016. 11. 21 developed for MO Coefficients analysis ### 2016. 11. 24 developing for nbo charge ### 2016. 12. 13 develop...
[ "joonho@rho.(none)" ]
joonho@rho.(none)
183410bdfb8042262d93eed8ce4c30989f21da34
0767d180776a705cf05748fdd7b335b500cd4e99
/blog/models.py
21be179fe256272ccc4ddca41623d94d70f00ff8
[]
no_license
IdaBela/my-first-blog
fd2bc37814c66431ee33d2d3a75601dc82ade853
c6828d4430f27272775fb26a6e286230d6db411e
refs/heads/master
2020-03-27T20:30:52.381745
2018-09-02T10:08:37
2018-09-02T10:08:37
147,074,405
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) text = models.TextField() image = models.ImageField() created_date = models.DateTimeField( default=timezone.now) published_date = m...
[ "ida.goetz@gmail.com" ]
ida.goetz@gmail.com
a377dbfa8f26b7861de74c95d4613b8a82e4da11
ee664018fe21850a32f8cc3f6c70a2aa239c197e
/Project 4 - Data Lake/etl.py
6021d519e5052bfedca2dc2093506ba434ce5d03
[]
no_license
Mgarcia-pajarel/DEND-Projects
3b7777b6e8d90bfe528614772c8433359978c8a7
cb79c63cd4326a0ccd2c9671db8856b693fc853d
refs/heads/master
2020-06-10T00:26:15.082462
2019-11-17T00:17:06
2019-11-17T00:17:06
193,535,227
0
0
null
null
null
null
UTF-8
Python
false
false
5,655
py
import configparser from datetime import datetime import os from pyspark.sql import SparkSession from pyspark.sql.functions import udf, col from pyspark.sql.functions import year, month, dayofmonth, hour, weekofyear, date_format, dayofweek config = configparser.ConfigParser() config.read('dl.cfg') os.environ['AWS_AC...
[ "noreply@github.com" ]
Mgarcia-pajarel.noreply@github.com
19cd0e98e9cd1c10d394a446b8a280ff343e4fa8
1316cd6763e784811c769c1de577235c921af0de
/Apps/BLMPlotter/__init__.py
484e11a8dd13e822572f7e6f93e0dceedc1617e3
[]
no_license
VELA-CLARA-software/Software
a6fb6b848584e5893fd6939a447d23134ce636cc
2e2a88ac0b2b03a495c868d2e11e6481e05097c3
refs/heads/master
2023-02-05T07:40:58.260798
2023-01-27T09:39:09
2023-01-27T09:39:09
69,860,536
7
3
null
2021-04-07T14:17:07
2016-10-03T10:20:46
Mathematica
UTF-8
Python
false
false
1,027
py
import os import sys # if os.environ['COMPUTERNAME'] == "ASTECDELL10": # print 'port' # sys.path.append(os.getcwd()) # sys.path.append('\\\\apclara1\\ControlRoomApps\\Controllers\\bin\\stage') # else: # print 'desk' # sys.path.append('\\\\apclara1\\ControlRoomApps\\Controllers\\bin\\stage') from PyQt4 import QtGu...
[ "alexander.brynes@stfc.ac.uk" ]
alexander.brynes@stfc.ac.uk
ac273704ce38a56c8a94723b4e4938cb94fe8e5b
f0b1503b1206f3a00cf3ff4b8e66e3617805943c
/Strategies/PlayerMoveCountStrategy.py
83e9c40161187f5cdd01acb0f3e61d653a2878d4
[]
no_license
JohnTheTechie/BoardGame_Py
79163fe94f42b968efd47af5ce5df44b6e19267b
b705360a09c5aa8f45cee9065637686cf9910488
refs/heads/master
2020-05-15T10:52:32.436982
2019-08-01T17:28:31
2019-08-01T17:28:31
182,206,071
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
from Enumerations.Types import MovementCountQueueingStrategyType as MType from Error import InvalidMovementStrategyError class MoveCountStrategy: strategyType = None def __init__(self, type = None): if type is None: raise InvalidMovementStrategyError else: self.strate...
[ "janakiraman3394@gmail.com" ]
janakiraman3394@gmail.com
d389fc075dd4f2cfd395d8712b085a5ab1caccea
9a97090ee3da5beeb2513bd18319aae1cbafa6c1
/0_detect_face_rectangle.py
b4522386c42ea5f4d40b26f25be45d7fd9db975a
[]
no_license
hwmrocker/face_swap
71186f7a06fcd9294813814af480ffc4fffce7b7
da4e1b7eebb467600ed1d9b4a01a1059875a4d3b
refs/heads/master
2020-04-08T20:50:49.278422
2018-11-29T19:37:26
2018-11-29T19:37:26
159,717,727
0
0
null
2018-11-29T19:36:01
2018-11-29T19:36:01
null
UTF-8
Python
false
false
854
py
import cv2 import dlib import numpy as np RESIZE_HEIGHT = 360 detector = dlib.get_frontal_face_detector() predictor = dlib.shape_predictor("shape_predictor_68_face_landmarks.dat") cap = cv2.VideoCapture(0) while True: ret, img = cap.read() if not ret: continue height, width = img.shape[:2] ...
[ "sylwek1992@gmail.com" ]
sylwek1992@gmail.com
3d644a725c08ea9daec3f528f66eb863207dbfdd
961a80c0982e988f3fcad9e8f8825bd19bd206c7
/hatebu-dump
fbbfd64e24a8948c481132bbe3e525176864d1fc
[ "BSD-2-Clause" ]
permissive
fuktommy/homebin
c7a57e60e94dfbde459bf175f64642460abce307
7c4176b734d8dc421a64c45815142e789687d934
refs/heads/master
2023-08-05T16:18:19.354060
2023-07-30T23:57:45
2023-07-30T23:57:45
3,526,871
2
0
null
null
null
null
UTF-8
Python
false
false
4,252
#!/usr/bin/python # -*- coding: utf-8 -*- # """Hatena Bookmark Dump Tool. This tool export logged in user's all hatena bookmarks. Usage: hatebu-dump username output.xml This script refered id:ymotongpoo's WSSE client. http://d.hatena.ne.jp/ymotongpoo/20081201/1228115936 http://code.google.com/p/0x7d8/source/browse/t...
[ "info@fuktommy.com" ]
info@fuktommy.com
f3a07f02268fdfe27b330e612e8b7945659aa549
77c7c1bb838fe3c7972e1fd54aab21ce50da0654
/bhp045/apps/cancer_subject/models/subject_off_study_mixin.py
5d0ff6fbd5c6fd21124adcf8aafec5f26650affd
[]
no_license
botswana-harvard/cancer
394124fe4cb8ae5e03ca70842a13e20220201be9
410cdd637d1da5b9d5081da02697eb1d03ae0984
refs/heads/master
2021-01-21T18:24:58.316116
2017-05-22T13:11:05
2017-05-22T13:11:05
92,045,682
1
0
null
null
null
null
UTF-8
Python
false
false
236
py
from edc.subject.off_study.mixins.off_study_mixin import OffStudyMixin class SubjectOffStudyMixin(OffStudyMixin): def get_off_study_cls(self): from .subject_off_study import SubjectOffStudy return SubjectOffStudy
[ "leslie.kep@gmail.com" ]
leslie.kep@gmail.com
22f3c7b2b8b5269b2eb652875ca6d336ee7a6cec
60ff43d265665bcea865723af91e44d641b5fd17
/Datamanager/migrations/0041_auto__add_bundlepicture.py
6af00bc6d067b38e40ee3e10f6a2efaf7fea37b3
[]
no_license
Adnn/Collecster_OLD
62714a29a07e0b9733b704439cda071e87b8240e
43dc3bd791f19be4134eb931134e03d40c7872be
refs/heads/master
2021-06-23T18:53:57.912176
2020-10-22T09:11:29
2020-10-22T09:18:06
130,383,298
0
0
null
null
null
null
UTF-8
Python
false
false
17,528
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'BundlePicture' db.create_table('Datamanager_bundlepicture', ( ('id', self.gf('dj...
[ "Adnn@users.noreply.github.com" ]
Adnn@users.noreply.github.com
6abde58c2c7813da0693cc6347cd6916351e7fd8
4c2def4621865535d36e6beb605691a6d53628d4
/ask_weather/action.py
af6d79fd48a1e8ad45ce006213b73d645d5dcce1
[]
no_license
liaozhihui/work
4485722c73a796c25896bb083d84d0e4f79e05c5
61a11d591875e17818b1b303d3552818441efafc
refs/heads/master
2020-07-16T17:04:07.788674
2019-09-02T10:13:28
2019-09-02T10:13:28
205,828,908
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
from rasa_core_sdk import Action from rasa_core_sdk.events import SlotSet class ActionAskWeather(Action): def name(self): return 'action_ask_weather' def run(self, dispatcher, tracker, domain): dispatcher.utter_message(f'您问的天气地点是哪里呢') return [SlotSet('city', '深圳')]
[ "1581627402@qq.com" ]
1581627402@qq.com
c6f943d940cd40e4cd75f8a423317573ce368af9
6c70ddb651a0396b7777c446ee4c8b2469cc58cd
/config/settings.py
bb44c7f06535fc982b7f080e8093e8413fc21efa
[]
no_license
Mike1218/TradeRobot
7632d318e0767f4ef695e7f2fd2475e47a7c99cc
860483cb8febe659bb9596d44136daa9732c2db1
refs/heads/master
2020-09-04T13:11:07.937029
2018-07-18T06:36:37
2018-07-18T06:36:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,905
py
import datetime import sys import logging # 日志配置文件 from copy import deepcopy # 此处填写APIKEY ACCESS_KEY = " " SECRET_KEY = " " # 用户ID(火币网个人中心可看) ACCOUNT_ID = None _filename = None _format = "%(asctime)-15s [%(levelname)s] [%(name)s] %(message)s" _datefmt = "%Y/%m/%d %H:%M:%S" _level = logging.INFO if _filename: h...
[ "ahbbhywmd@163.com" ]
ahbbhywmd@163.com
f3bc5f10e099056351a6bf8d8cae5b6d5e494f82
2e34b181fb568955309af16993a3ccac2eb8d5f3
/pysyrenn/frontend/tests/averagepool_layer.py
ae9b1858228c54b4e997e09e954c7ce5db4414d4
[ "MIT" ]
permissive
ricklentz/SyReNN
837f2187ca58adbac3cfa1a5129c9b1df14bbb0c
34d3799924d6d032364edf491220324d77a4b566
refs/heads/master
2023-02-14T01:27:40.466596
2021-01-06T19:51:57
2021-01-06T19:51:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,248
py
"""Tests the methods in averagepool_layer.py """ import numpy as np import torch from helpers import main from pysyrenn.frontend.strided_window_data import StridedWindowData from pysyrenn.frontend.averagepool_layer import AveragePoolLayer def test_compute(): """Tests that the AveragePool layer correctly computes a...
[ "masotoudeh@ucdavis.edu" ]
masotoudeh@ucdavis.edu
1e7deed0799f4953deba45fffbb718d862433b38
085d9c997085b6484b3289295c203b3c7cbec303
/Environmental_Covariates_Processing/mfdf_extraction.py
9eda8764e8fc19b8f766e09a51ea28dd95971ee6
[]
no_license
lydiabrugere/tsrmodel
252abb119b68ad63bff62d876dc18a6cf6b7d041
ada4f89e3647f5ebba0f0f9d0744412ba0c9afaf
refs/heads/master
2023-03-16T15:32:18.511032
2023-03-10T16:08:58
2023-03-10T16:08:58
233,513,725
0
0
null
null
null
null
UTF-8
Python
false
false
3,385
py
""" This script calculate Mean frost day frequency (MFDF, days per month) as mean days per month for 1901 to 2009 Download Page: http://www.cgiar-csi.org/data/uea-cru-ts-v3-10-01-historic-climate-database Data size: GB Method: 1. Crop global AI to each 20 by 20 km grid; 2. Sum up frost day per month from 1901 t...
[ "lydiabrugere@gmail.com" ]
lydiabrugere@gmail.com
a2efd889e9c3ae28a736a6f6348be61d9a01d513
64e603ec4597d898f8046f3dc8b3b33fffba8dea
/flaskdemo/__init__.py
0159256179af05f9b7dfe995cb679c344ca1d4d3
[]
no_license
mrbarge/flask-ajaxdatademo
8a67037bad43d21c0cdb3d37fb3e0de311bb6c62
b0c1da3c3b3c77e8e6b094bd1d876f836a9cf85a
refs/heads/master
2020-06-15T02:18:09.825410
2017-03-19T04:05:06
2017-03-19T04:05:06
75,179,688
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
from .flaskdemo import app
[ "matt.bargenquast@gmail.com" ]
matt.bargenquast@gmail.com
15ef52905e13533fa9d435af56eb8b6194dfcb23
9a76fe4ea554cc153e9a520d92cb673544f03a08
/scripts/python3/data_manip/formats/mascaretgeo_file.py
4214cb7d514b4265faf2c3577ab789d606362122
[]
no_license
msecher/scripts_python_3_opentelemac_r14499
2262c92ac64c0cdf668b5a511eb26943362c300e
738e8e491e10bbbc3c21afe01221ed4661ce8a87
refs/heads/master
2021-04-07T00:16:48.090702
2020-03-19T23:40:03
2020-03-19T23:40:03
248,626,841
0
0
null
null
null
null
UTF-8
Python
false
false
9,143
py
from collections import OrderedDict import os.path from data_manip.formats.mascaret_file import Reach, Section from utils.exceptions import MascaretException class MascaretGeoFile: """ Parse Mascaret geometry file (geo/geoC/georef/georefC) Handles multiple reaches TODO: handle major/minor bed At...
[ "matthieu.secher@edf.fr" ]
matthieu.secher@edf.fr
ed8f1e7a9bca1240742287d1ba9ff1752519e407
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/9/wn2.py
7e5061c53baa9c33c3a5a765f753cb76544cb01f
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
e272af84fa652dea7f8eb98e985ce5c5a95bec08
d4fff0e4ba1aa1e2a2b6f0bab4ffe6b94a2082b3
/챕터8_4.py
7a0b12beebeb42ec92a515e054d183da93454390
[]
no_license
Rebel07/tree
0b47819a3a852775fa68127bdb0d98b699dc74db
a656beb8ffe89c00ee875e20845407631d51d608
refs/heads/master
2020-03-17T10:57:39.149169
2018-05-16T00:15:42
2018-05-16T00:15:42
133,531,530
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
deg = {10:'A',9:'A',8:'B',7:'C',6:'D',5:'F',4:'F',3:'F',2:'F',1:'F',0:'F'} score=int(input('점수 : ')) score_d=score//10 if score >= 0 and score <= 100: print(score,':',deg[score_d]) else: print('입력가능한 점수 범위는 0~100입니다.')
[ "noreply@github.com" ]
Rebel07.noreply@github.com
f91cf335ffb5ae504912e85f2b34e8f8d44bd43f
bf1ca2f85987a3d95142ffb6c4f922349ce0c933
/HNapp/urls.py
afdb34aa6fafb622afe9b9bb0023280d1b53da54
[]
no_license
estebesov01/hacker_news_with_scraping
b1c0158a4030ded2bc6020ba9d503449516b560c
e35b610b59aad37f78f69793d790861a9d2ba48e
refs/heads/master
2023-06-21T06:06:59.391202
2021-07-14T12:34:01
2021-07-14T12:34:01
385,933,565
0
0
null
null
null
null
UTF-8
Python
false
false
985
py
from django.contrib import admin from django.urls import path, include from .views import * app_name = 'HNapp' urlpatterns = [ path('', post_list_view, name='home'), path('new', new_post_list_view, name='new_home'), path('user/<username>', user_info_view, name='user_info'), path('posts/<username>', us...
[ "estebesov7777@gmail.com" ]
estebesov7777@gmail.com
bef53d6d00bdcf0b5e303329cc8c7c3010ab69d6
4ea02c55d2b28994575e9bb16b40a77591b1a26e
/biblioteca/views.py
c3e09a6af16f840edc0d9b7e3b4716b90b95b332
[]
no_license
jairnet/djangotest
0f09cdc0e02895f84ab06372ca63f46bbddc987e
d727258b2fb52e5d76a657fefd75f82c06aecdb8
refs/heads/master
2021-01-23T04:09:26.748182
2015-04-24T21:59:42
2015-04-24T21:59:42
34,014,771
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
from django.http import HttpResponse from django.shortcuts import render from biblioteca.models import Libro def formulario_buscar(request): return render(request, 'formulario_buscar.html') def buscar(request): errors = [] if 'q' in request.GET: q = request.GET['q'] if not q: errors.append('Por favor intr...
[ "jairbuitron@MacBook-Pro-de-Jair.local" ]
jairbuitron@MacBook-Pro-de-Jair.local
641b66f94f1c28edf5ba707179570df11b4c0776
0c69e5697bbe50d3ef24554c097d1cde4e5928d2
/rango/migrations/0005_category_slug.py
bdf2637263f659f1e6cfffb523b9488f73ce58d7
[]
no_license
UltWolf/Blog
814c9dc5448972402e59b540b3ba2bd4cfa233b4
5d7e59672cfc4e11d64c2273cb4b107953409d80
refs/heads/master
2021-01-22T18:43:11.678161
2017-03-15T18:40:34
2017-03-15T18:40:34
85,108,211
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-10 16:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rango', '0004_remove_category_slug'), ] operations = [ migrations.AddField(...
[ "ctrateg@bigmir.net" ]
ctrateg@bigmir.net
c212b7abfa204151fd7118f9c1047b5c3fb541c4
a9d4beb507b284e0a30b6f6522d448bec37ab7d6
/math/0x01-plotting/5-all_in_one.py
c1616e1f02491a0cca18080e0f79cb2b3375c8b4
[]
no_license
Danucas/holbertonschool-machine_learning
b9aedaccb93627adb9514f6c2fae1b67a1aeb0af
83e6185ebe3935f4fea27afa5db9f448722f2e2a
refs/heads/main
2023-07-12T17:08:02.813748
2021-08-17T05:22:30
2021-08-17T05:22:30
318,015,962
0
0
null
null
null
null
UTF-8
Python
false
false
1,830
py
#!/usr/bin/env python3 import numpy as np import matplotlib.pyplot as plt y0 = np.arange(0, 11) ** 3 mean = [69, 0] cov = [[15, 8], [8, 15]] np.random.seed(5) x1, y1 = np.random.multivariate_normal(mean, cov, 2000).T y1 += 180 x2 = np.arange(0, 28651, 5730) r2 = np.log(0.5) t2 = 5730 y2 = np.exp((r2 / t2) * x2) x3 ...
[ "danrodcastillo1994@gmail.com" ]
danrodcastillo1994@gmail.com
a8b90f128c3542091c0642e7627a617eddbde20b
6b909af47c5aa61277e1f352ee9c6d0ae4aabee2
/setup.py
dbb1591c1736279231db321087a5a158a654cad8
[ "EFL-2.0" ]
permissive
cottongin/sopel-climacell
3e03ff10357dbfc1cfeb7673f83f03bdab6274ac
3429844746f45e157e12bb6f380eca827f61dd41
refs/heads/master
2022-11-24T16:14:03.028519
2020-07-28T01:23:32
2020-07-28T01:23:32
283,060,750
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import sys from setuptools import setup, find_packages if __name__ == '__main__': print('Sopel does not correctly load plugins installed with setup.py ' 'directly. Please use "pip install .", or add ' '{}/sopel_climacell t...
[ "cottongin@users.noreply.github.com" ]
cottongin@users.noreply.github.com
54c87564c4c34225925aac236b20d9e29fdf3384
81a922548c49118452573a2cc4da97bcce88203e
/spinner.py
2ff15e015678922fc8bd1d8023f21df980c96528
[]
no_license
nestorlee/DIS-Booth
7d2eab9b3b6f468e1a157d94ad085c81fd828811
5d0f9f30f102b6398f2b05a83e3362f9d2138685
refs/heads/master
2023-03-08T18:14:37.601308
2018-03-19T11:07:10
2018-03-19T11:07:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
# Written by Nestor Lee for DIS2018 # # Background Audio by: Balloon Game Kevin MacLeod (incompetech.com) # Licensed under Creative Commons: By Attribution 3.0 License # http://creativecommons.org/licenses/by/3.0/ # # Background Image found: https://pngtree.com/freebackground/circus-stage-background-material_8057...
[ "noreply@github.com" ]
nestorlee.noreply@github.com
d20d0862c0bc14f8a343819a18037592d6950392
734a31e81f206c0bb9ab1e1fd6745a29aaa10b14
/src/products/migrations/0015_auto_20180115_0209.py
86f87585cdc543286771d23aa9edee108ffaf53d
[ "MIT" ]
permissive
shan18/Kart
d39974ba3f2eca14e68f6e51ed9132ffcf8a540a
a38f648d00b829a2f0a875e78c102c62c9718ee1
refs/heads/master
2022-12-10T05:33:41.198309
2022-11-29T07:16:32
2022-11-29T07:16:32
118,975,709
26
18
MIT
2020-06-08T09:47:11
2018-01-25T22:34:36
Python
UTF-8
Python
false
false
622
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-01-14 20:39 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0014_auto_20180114_0359'), ] operations = [ migrations.AddField...
[ "thegeek.004@gmail.com" ]
thegeek.004@gmail.com
8b363f046499487518a67cb87eb0ec039c027f5f
025333407ea7219540c4873091ade8bff9ced829
/manage.py
f2211cdbdecf378c6af5618fe89fcac935d26090
[]
no_license
PyconUK/ironcage18
317b6250019f0173c421b0f1980dcee52c727528
4ffb1c8449437f8d4dc08a1f344d47383b542598
refs/heads/master
2021-04-15T18:24:30.180384
2019-05-15T08:48:57
2019-05-15T08:57:20
126,659,139
1
4
null
2018-10-10T07:38:22
2018-03-25T02:53:05
Python
UTF-8
Python
false
false
714
py
#!/usr/bin/env python import os import sys import dotenv if __name__ == "__main__": if 'test' in sys.argv: os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ironcage.settings.test") else: dotenv.read_dotenv() os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ironcage.settings.local") ...
[ "peter.inglesby@gmail.com" ]
peter.inglesby@gmail.com
31ab032e54bf47596e702e42e35b49e5afb56914
dbd87fe6e9466c4cada18b037667cfdddc62c193
/data/Quandl/Quandl_to_Email/mailer.py
fc9f7c8bf40471494b8853214d35944ab0aff2b3
[]
no_license
alexanu/Python_Trading_Snippets
74515a40dc63ba50d95bd50330ed05d59b5dc837
85969e681b9c74e24e60cc524a952f9585ea9ce9
refs/heads/main
2023-06-25T03:27:45.813987
2023-06-09T16:09:43
2023-06-09T16:09:43
197,401,560
18
17
null
2023-02-08T22:25:25
2019-07-17T14:05:32
Jupyter Notebook
UTF-8
Python
false
false
1,112
py
import sendgrid import os from sendgrid.helpers.mail import Email, Content, Mail class Mailer(object): def __init__(self): if os.environ["SENDGRID_API_KEY"] is None: raise EnvironmentError("Missing env SENDGRID_API_KEY") self.sendgrid_client = sendgrid.SendGridAPIClient( ...
[ "oanufriyev@gmail.com" ]
oanufriyev@gmail.com
e52ee398e2f0f924ba0cc83bb4f348dfbf1ce04f
5fe0a5588d27dfcd98e1ebedbf8a2138dcb33117
/catkin_ws/devel/lib/python2.7/dist-packages/hebi_cpp_api_examples/srv/_SetFeedbackFrequency.py
251c66d59b13f5f3f80e54095bf4aef4e2b6d126
[]
no_license
Florian9638/HEBI_ros
370511dbeca00c698afea8a969960094b1678930
7f7b46b329aec043019a79d7e67fe1c821f20684
refs/heads/main
2023-02-06T04:19:48.506795
2020-12-15T21:16:13
2020-12-15T21:16:13
319,692,741
1
0
null
2020-12-15T21:16:14
2020-12-08T16:14:07
Makefile
UTF-8
Python
false
false
7,171
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from hebi_cpp_api_examples/SetFeedbackFrequencyRequest.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class SetFeedbackFrequencyRequest(genpy.Message): _...
[ "florian.dallago@aigritec.com" ]
florian.dallago@aigritec.com
ee064386a7aaf9850e3d34639ef62a060c0dc432
79abd4788b43d87b1e150c858812451e75ac72fa
/catalog/admin.py
7b87a6e4d214222d152faf018c57ac693ee89af0
[]
no_license
AlanaKaimi/w4-MDN-django-tutorial
02b35aec8f50f65d239d6ce747502a2a73f2df21
7730322f0b150834b3cfac9db1951c1bfb1ed9a0
refs/heads/master
2020-04-26T19:37:37.410779
2019-03-08T18:50:57
2019-03-08T18:50:57
173,781,197
0
0
null
2019-03-04T16:29:52
2019-03-04T16:29:52
null
UTF-8
Python
false
false
1,372
py
from django.contrib import admin # Register your models here. from catalog.models import Author, Genre, Book, BookInstance, Language # admin.site.register(Book) # admin.site.register(Author) admin.site.register(Genre) # admin.site.register(BookInstance) admin.site.register(Language) class BooksInline(admin.TabularIn...
[ "ajbryce@live.com" ]
ajbryce@live.com
3803d5d6dd25e08077d0af692babddeac57db15b
8e715842524ca70eaaf0e33dc6762163fc0049a7
/.ipynb_checkpoints/stock_scraper-checkpoint.py
c203593e93d5bdb9d71678b9cf5a7f7666c4e69e
[]
no_license
philipk19238/trump-volatility-analysis
420f6ddeab4d2ef4d6326f59c11e11fe623f6952
e07d512145ffc3df19b7bce2b2a42a30c1da59b9
refs/heads/master
2022-07-03T05:55:18.449183
2020-05-12T05:13:04
2020-05-12T05:13:04
257,753,761
0
0
null
null
null
null
UTF-8
Python
false
false
2,107
py
import selenium from selenium import webdriver import pandas as pd import matplotlib.pyplot as plt import time #path of chromedriver object. If you are trying to test the code, ensure you point the path #to the proper location path = r'C:\Users\Philip\AppData\Local\Programs\Python\Python38-32/chromedriver.exe'...
[ "pkung67@utexas.edu" ]
pkung67@utexas.edu
01a09bdf0985601e4e1064f94e9cbf0604b694f9
115bcc399fe9faaa3ba2580cf8aed9b5ab66c867
/coursework/Attendence_Register.py
35c217dcf5e1e1879a1cf2eb2b611f8c61c83c46
[]
no_license
joelhogg/pi_webserver1
4e9a682f6797c966c0a7f1d6b446033a367d4d0c
e3270fcc889e9ab69e885530f27b527386d7aa33
refs/heads/master
2020-08-01T21:34:32.025459
2019-09-26T16:00:46
2019-09-26T16:00:46
211,124,182
0
0
null
null
null
null
UTF-8
Python
false
false
3,241
py
from tkinter import * import sqlite3 #note there is a seperate py program to input into db table class Table(Frame): #height=no. of columns width=rows[database function must be first ran] def __init__(self,master,height,bigarray): #width += 1 #have to use up one row for Subtitles width = (le...
[ "noreply@github.com" ]
joelhogg.noreply@github.com
49476596bd8b7c288c123de77bef0c007daa18b2
76ea86d5a8f7eaedd0e8d5353e837ad0dcc467ac
/downloadDependancy.py
007ec80978a1c8845ecdb84f50857feb5257fcfd
[]
no_license
kangsheng89/package_downloader
3afcaeca029bb815d47ca08a024cf6ade6ae4178
9c63f9691f66f561086482dc709bb8a7fd21d809
refs/heads/main
2023-06-03T13:16:52.449208
2021-06-15T08:46:33
2021-06-15T08:46:33
377,093,304
0
0
null
null
null
null
UTF-8
Python
false
false
6,541
py
import os import sys import json from datetime import datetime import subprocess from multiprocessing.pool import ThreadPool json_file="dependencies.json" dependancies_folder = "D://dependencies//" def _main(): data, list_name, path_list, date_list, size_list = ReadJson(json_file) initial, empty...
[ "noreply@github.com" ]
kangsheng89.noreply@github.com
0e83a10947f41ecdc8506924ac075dff32b6b7b0
5b6ec656a247d10011fd67a920aa002ebdf873c3
/GithubOctarofile/GithubOctarofile/urls.py
d618d9a5c3257a4b79841c4d90f628af694f8d70
[]
no_license
KhaledAbuNada-AI/Django-Projects
cfb46d46da5f5358171294ca8c02c62c5babf2cf
ff264426d7a650f3c513678bbd71b5519372f6d3
refs/heads/master
2022-04-24T10:52:26.791436
2020-04-22T15:27:37
2020-04-22T15:27:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
976
py
"""GithubOctarofile URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/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') Cl...
[ "siddhant.shah.1986@gmail.com" ]
siddhant.shah.1986@gmail.com
334850726cb5730adbe35a2bcc7781f8210c4d90
b420d3acadeda01b6fbb9be96963dfae396ab659
/.config/bspwm/scripts/resize.py
3119e2608311862333a8c22ec9038979b7fa3a10
[]
no_license
yousufinternet/config-files
d6bc2db60d50787f0db102ba17d2d9fa85405e86
85bf3038b081c840138b2b634fcc53b97f3493dd
refs/heads/master
2023-03-12T13:09:01.459906
2023-03-04T20:19:52
2023-03-04T20:19:52
161,055,204
20
0
null
null
null
null
UTF-8
Python
false
false
783
py
#!/usr/bin/env python # Python version of the following code # https://github.com/phenax/dotfiles/blob/master/.config/bspwm/scripts/resize.sh import sys from wmutils.utils import is_floating from wmutils.processes import cmd_run, cmd_output dir_ = sys.argv[1] delta = 40 if len(sys.argv) < 3 else sys.argv[2] x = f'+{...
[ "yousufinternet@gmail.com" ]
yousufinternet@gmail.com
b4d34fe8abe990c21dd3d582565360d613e2f4ca
814a896307bc2b99ec20d0800cb106280fb1b303
/venv/lib/python3.6/site-packages/pyquickhelper/pycode/venv_helper.py
55ccc1978d821f067c1568795e6c9d9e12bfed3f
[]
no_license
mahagala/HecHms
ae0d4bedfcba33bc7e70eeefadcbd5361a00bd73
47521f9cd8dc0f2a51bb6e2660f67a81b3634b16
refs/heads/master
2021-09-20T04:16:23.691577
2018-08-03T12:46:38
2018-08-03T12:46:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,624
py
""" @file @brief Helpers for virtualenv .. versionadded:: 1.2 """ import os import sys from ..loghelper import noLOG, run_cmd class VirtualEnvError(Exception): """ Exception raised by the function implemented in this file. """ pass def is_virtual_environment(): """ Tells...
[ "hasithadkr7@gmail.com" ]
hasithadkr7@gmail.com
cc33c74f1c0ac7232046e55292d8b413ca1bc988
5759c0ed3219c06437ce5b39ef9ad92b5e191fed
/py/0114_flatten_binary_tree_to_linked_list.py
50bdf3fcfc9bb4e70f86523429fbe8d284228f61
[]
no_license
mengnan1994/Surrender-to-Reality
ba69df7c36112ad19f19157a9f368eae6340630f
66232728ce49149188f863271ec2c57e426abb43
refs/heads/master
2022-02-25T01:34:49.526517
2019-09-22T17:21:28
2019-09-22T17:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
""" Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 \ 2 \ 3 \ 4 \ 5 \ 6 """ class TreeNode: def __init__(self, x): self.v...
[ "hurricane.cui@gmail.com" ]
hurricane.cui@gmail.com
5283afd1a67dc93c78bd29ba946a0554dbd535ec
fc2f0187f58a2d8462e5742da491c052117167e7
/raspberry/scripts/streamingPi-scripts/streamingPi-scripts-master/utils.py
768b276a151bf93ab5d1624f5113cf9db796d743
[]
no_license
megamole/raspberry_audio_streamer_prd
b11d6a2cf09693933a72f5e7be0707034c6e8efc
483a5943f26ede2fbd6cf54138ccc49ed480cf76
refs/heads/master
2020-03-25T12:39:28.991639
2018-09-16T16:09:15
2018-09-16T16:09:15
143,786,334
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
import socket import subprocess import os import psutil import hashlib import time import datetime darkiceConnection = False def is_connected(urlToCheck): try: host = socket.gethostbyname(urlToCheck) s = socket.create_connection((host, 80), 2) return True except: pass retur...
[ "jm.alonso.garcia@gmail.com" ]
jm.alonso.garcia@gmail.com
5c09ebca8ecae8dd8a16916eb07164e8561acb34
fcbdf1de6486f807f19f4cfc5be99fed0ebad904
/models/prd_api.py
ef632108e0de0176b706b090e731c61220c5a38f
[]
no_license
fslvmg/PRD
4029c03aa553b6c0bd91a83becf803f744321e14
ab7ada965ec78ae311f4b79135404811af752933
refs/heads/master
2020-06-04T07:52:48.978983
2019-07-29T02:18:53
2019-07-29T02:18:53
191,932,984
0
0
null
null
null
null
UTF-8
Python
false
false
5,735
py
import uuid from odoo import models, fields, api from .. import defs import logging from .. import API _logger = logging.getLogger(__name__) class PrdCompany(models.Model): _name = 'company_prd.company' _inherits = {'res.partner': 'partner_id'} name = fields.Char(related='partner_id.name',string='名称', inh...
[ "fslvmg@qq.com" ]
fslvmg@qq.com
e2edb5d82d0b7b9a5ce5c04dca7d99743fcc26ab
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/week_or_work/give_group/go_place/fact/child/world.py
ef11efc3b6b9c83521114179cecdc22ea2e4faa1
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
#! /usr/bin/env python def fact_or_different_group(str_arg): other_thing(str_arg) print('last_life_and_time') def other_thing(str_arg): print(str_arg) if __name__ == '__main__': fact_or_different_group('part')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
ba89f8b4fbc89acfbdb68504386a71ea5e70c4ca
b3fc641d4a746401301d917d42dd204a8661874b
/authors/apps/articles/migrations/0009_reported_times_reported.py
7fd11b5ff494f57db3c9d8ee75cc09f9b68ec1b0
[ "BSD-3-Clause" ]
permissive
andela/ah-backend-lannister
7998e0f9729036627ef2aabcdb1bb3c89b356727
091bd7e892eb0709a937f0f992f2675ab81ce40c
refs/heads/develop
2020-03-29T02:31:52.662672
2018-11-20T09:14:50
2018-11-20T09:14:50
149,441,528
0
5
BSD-3-Clause
2018-11-20T09:14:51
2018-09-19T11:39:36
Python
UTF-8
Python
false
false
394
py
# Generated by Django 2.1.1 on 2018-10-18 13:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('articles', '0008_auto_20181018_1517'), ] operations = [ migrations.AddField( model_name='reported', name='times_repo...
[ "kimbsimon2@gmail.com" ]
kimbsimon2@gmail.com
d77cc9cfc19abaad7bd34df16677a4312d3ea8d1
f7648ea1c8a9565371c3d4654f7bdf1f2c9278f5
/BAEK_JOON/Python_algorithm/백준_11053번_가장긴증가하는부분수열.py
46abd5d65adc6c66937eba0785359af736f28207
[]
no_license
Sungmin-Joo/Algorithm-competition
521e019d532cc73e7620c5d1218142d32820eb1f
6b9513e15f284d95a21eecd84a0a4d0f2ff03402
refs/heads/master
2020-05-01T15:25:16.404513
2020-01-19T10:41:25
2020-01-19T10:41:25
177,546,171
2
0
null
null
null
null
UTF-8
Python
false
false
354
py
import sys input = sys.stdin.readline global dp, l n = int(input()) arr = [*map(int,input().split())] dp = [0] * n m = 0 for i in range(n): if i == 0: dp[i] = 1 else: max_dp = 0 for j in range(0, i): if max_dp < dp[j] and arr[j] < arr[i]: max_dp = dp[j] ...
[ "big-joo_dev@naver.com" ]
big-joo_dev@naver.com
61b16488d1272ea297377739b9d59515dbe88c4f
2f963d7989749037a3ec27aaa39b31416b33cbb2
/ib_recommender/interfaces/ib_recommender_service_interface.py
d49a6e35f35d335762e37a87f3106329613780e4
[]
no_license
migsantos121/phd3-backend
3cd014908856c995de3c4473d82059bc9c1b5794
9d1d2bd6f55dc89719ce5a1916c5db3d573aec1e
refs/heads/master
2022-12-12T17:25:59.334509
2020-03-09T09:24:08
2020-03-09T09:24:08
245,991,086
0
0
null
2022-06-28T14:45:50
2020-03-09T09:17:18
Python
UTF-8
Python
false
false
1,562
py
from django_swagger_utils.drf_server.decorators.handle_exceptions import handle_exceptions from ib_common.interface_utils.interface_utils import InterfaceUtils __author__ = 'ibhubs' class IBRecommenderServiceInterface(InterfaceUtils): def __init__(self, *args, **kwargs): super(IBRecommenderServiceInterfa...
[ "migsantos121@outlook.com" ]
migsantos121@outlook.com
c09f85345c3dbd7703a477e0a395ea9b622a00b2
1cf2e0dd080eb1a29ee9d2c610b6b5a2e6835af8
/Examples/1D/NanoRibbon_BN/Model_Scaling/alpha.10/plot_eps.py
8c4d201439cd62dc52f295bce184bfb57f9788e1
[ "BSD-3-Clause" ]
permissive
skw32/CoFFEE_PoissonSolver_KO_pa
7f74d482bac03f7ea08ca3296c89ac3926da2ae1
27a0ec8021ffefda1a4a4aa3d8086ac7d5561559
refs/heads/master
2020-05-05T09:56:28.584067
2019-05-21T06:50:39
2019-05-21T06:50:39
179,923,735
0
2
BSD-3-Clause
2019-05-21T06:50:41
2019-04-07T05:50:05
Python
UTF-8
Python
false
false
1,585
py
#!/usr/bin/python import sys, string import numpy as np import pickle import matplotlib.pyplot as plt import matplotlib.colors as colors import matplotlib.path as mplPath import matplotlib.patches as mpatches import matplotlib.gridspec as gridspec celldm1 = 47.242904115801814*0.52918 celldm2 = 109.449973*0.52918 eps...
[ "suzywallace501@gmail.com" ]
suzywallace501@gmail.com
4a29f10e33ce3c1431e034164db1ab5d9c7fb4a5
155ca885e954ed7b06b5e11230515daa9ac8c271
/venv/bin/easy_install
41ee3bd4311e48f380b13b763f17eb84ad0a9c58
[]
no_license
quizhpi/python-functions
18d1c118b21400d9e9dfda06a4439f2589364042
2e08d8042ed3622f35304f13b676b410f556f6e2
refs/heads/master
2022-10-04T15:01:10.136895
2020-06-04T01:52:31
2020-06-04T01:52:31
268,954,102
0
0
null
null
null
null
UTF-8
Python
false
false
291
#!/Users/mquizhpi/Developments/python-projects/python-functions/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "mquizhpidev@gmail.com" ]
mquizhpidev@gmail.com
049c4dc2db5be4fd368e5ce43b127e50e6149da7
794619331a828993244100b06c98a6bc65b55423
/SparkSql.py
8217eb713424f9303ee137c7025c083c356dc97c
[]
no_license
abhilash97sharma/pyspark
86e86045e9d7999e870c7ef8443008a42faa101c
f83698543aa2b0990fc3da0b6eeddbfed799cb70
refs/heads/master
2020-04-06T19:43:06.029971
2019-05-23T17:10:32
2019-05-23T17:10:32
157,746,879
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
from pyspark import SparkContext from pyspark import SQLContext sc=SparkContext("local","SparkSql") sqlContext=SQLContext(sc) file=sqlContext.read.text("/home/abhilash/Documents/files/file")
[ "noreply@github.com" ]
abhilash97sharma.noreply@github.com
1916e513eafefb27fe7d285a88ec64c687dc8244
2660096f480b140a8aa37d731544753cabaac878
/stanford_cs231n/assignment1/cs231n/classifiers/softmax.py
482d420e7be24872dd0c72f42b65573f08e67024
[]
no_license
rheehot/deeplearning_projects
77d26a4c0d950dcbfaf87adb5e38b2b12d7ebe12
455b5de301a745c7aa51bdca3db26e831acd224c
refs/heads/master
2022-12-07T22:20:17.614192
2020-09-06T12:36:04
2020-09-06T12:36:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,446
py
from builtins import range import numpy as np from random import shuffle from past.builtins import xrange def softmax_loss_naive(W, X, y, reg): """ Softmax loss function, naive implementation (with loops) Inputs have dimension D, there are C classes, and we operate on minibatches of N examples. I...
[ "43261253+yunjh0420@users.noreply.github.com" ]
43261253+yunjh0420@users.noreply.github.com
d0246473a73acbe2f1c695ae87eac646345820f5
f431c887db2c24d17dc35265500f5f8f6bf0f8ab
/warmHeaters.py
c03b25367958da2e4f093746ca247c25be50a3af
[]
no_license
pratiktest/problems
e16aeb1a676b90db5361766036d2bb4b9a9b8860
433e28b3abadae3bfecea6e86e7abe31096a51a5
refs/heads/master
2020-08-13T04:06:10.211119
2019-11-09T22:33:07
2019-11-09T22:33:07
214,902,213
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
def findRadius(houses, heaters): """ :type houses: List[int] :type heaters: List[int] :rtype: int """ heaters.sort() houses.sort() """ 2 pointer method Now we iterate over the houses idea is to find NEAREST HEATER FOR EACH HOUSE 1,2,3,4,5,6,7,8 1...
[ "prkale@ebay.com" ]
prkale@ebay.com
ac94494db60215aecea6f359e1742c5edac32c50
91697e9a4b4371a3a56dc0d5ca40a3305230d31d
/address/models.py
7977d1cdc2d339ae6b70d2b3c83fec4edd82f59d
[]
no_license
cheahee/myappss
ed682894b89004ea6bdf3d7285cdbad35bc75062
bf2f1936eff9968c8c503ea3ca40637474dd0ec5
refs/heads/master
2023-05-30T22:39:26.859581
2021-06-18T00:12:41
2021-06-18T00:12:41
378,296,277
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
from django.db import models # Create your models here. class Address(models.Model): # idx(필드명,컬럼명) = 자료형(속성) idx = models.AutoField(primary_key=True) # 길이제한, 빈값을 허용, nulll값 허용 name = models.CharField(max_length=50, blank=True, null=True) tel = models.CharField(max_length=50, blank=True, null=True)...
[ "parkyejin07@naver.com" ]
parkyejin07@naver.com
c53d49bb1ae8c8fd8536a3e1942b44f24e7cf396
45191a4524455724f0ef0355cff67088ae4053e1
/BaseTools/Source/Python/fpd2dsc/StoreDsc.py
f8123a2f9722b61439792d35369b3e439a18e72c
[]
no_license
AshleyDeSimone/edk2
ba63b2a0a1298c3e347468ea5369ce9ca1565427
a50f7c4c0985f1659d4b24e94f6d3aee9f6922dd
refs/heads/master
2021-01-15T20:48:59.667094
2012-03-27T12:07:38
2012-03-27T12:07:38
4,475,751
1
1
null
null
null
null
UTF-8
Python
false
false
33,664
py
## @file # Store a Platform class object to an INF file. # # Copyright (c) 2007 - 2009, Intel Corporation. All rights reserved.<BR> # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full tex...
[ "lgao4@6f19259b-4bc3-4df7-8a09-765794883524" ]
lgao4@6f19259b-4bc3-4df7-8a09-765794883524
477b16d16663ab8f4e4bfc7e6aad7848f174394e
6e35071dc938dcd91a89a8f8a3057da92f52a283
/Python/ЕГЭ2021/23/Решение заданий. Поляков/3067.py
b1ddd2332001ce8d21d77b917734266c51fa68c8
[]
no_license
dealvv/EGE
ca5857a4ae1fc6655fcc8b16600021265bf5a787
2947b1727f805616fc765e82a1c38e31ab73bda4
refs/heads/main
2023-07-13T10:36:45.498341
2021-08-21T15:31:15
2021-08-21T15:31:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
#(№ 3067) Исполнитель А12S преобразует целое число, записанное на экране. #У исполнителя три команды, каждой команде присвоен номер: #1. Прибавь 1 #2. Прибавь 2 #3. Прибавь предыдущее #Первая команда увеличивает число на экране на 1, вторая увеличивает это число на 2, #третья прибавляет к числу на экране число, меньшее...
[ "87613601+Malenago@users.noreply.github.com" ]
87613601+Malenago@users.noreply.github.com
6211c93ef5e464339a3ece24a4c1a0c77ec991bc
419873dd3b7412f704b1a7907b64a60b44cedf39
/python/设计/157. 用 Read4 读取 N 个字符.py
014893b2ac1f2b51dbcea4b77c5c3014bcf07fec
[]
no_license
Weless/leetcode
0585c5bfa260713f44dabc51fa58ebf8a10e7814
0566622daa5849f7deb0cfdc6de2282fb3127f4c
refs/heads/master
2021-11-13T07:59:20.299920
2021-10-25T02:09:53
2021-10-25T02:09:53
203,720,668
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
class Solution: def read(self, buf, n): count=0 while count<n: temp = [''] * 4 cur = read4(temp) if cur == 0 : break i = 0 while i < cur and count <n: buf[count] = ...
[ "409766394@qq.com" ]
409766394@qq.com
06c1080704250b98512bbb483e36ee722e16a04f
5bca4a354edb5025194d9a078edb97c0bd21c8b4
/xiaohei/xiaohei/apps/users/urls.py
3f8b993732b6c763ef73a59a6d5404099f3dfe82
[]
no_license
chenxingwu/DjangoWeb
8cd27fc220b77294b27036485bba6c2e0c036995
c55d3fac85f295b018eb1083032ba4faca346fa6
refs/heads/master
2022-11-09T06:21:30.274245
2020-06-30T13:31:29
2020-06-30T13:31:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
"""xiaohei URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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') Class-based...
[ "ff696977@qq.com" ]
ff696977@qq.com
68272c65077f65f2c3b4c0fd79c8e38fc53c48f0
36f2147d46cf0bb8f85acc81bfe2b4486405e33a
/ZXYJ_GG-master/PyCharm/A_Computer/ZdFr.py
25fdd5c3cd0c0b3b7020e0ceccce42e1a4f0e7d5
[]
no_license
LDPGG/dm
4aab9b54a6f4e6dae57baede40c9b5f094c3607e
7b0e267418fd2345923fb1b4c48d53347eec13dd
refs/heads/master
2021-03-06T20:09:20.126015
2020-03-10T06:06:20
2020-03-10T06:06:20
157,844,279
0
0
null
null
null
null
UTF-8
Python
false
false
3,793
py
# -*- coding: utf-8 -*- # @Time : 2018/8/25 0025 上午 11:49 # @Author : 刘登攀阿!! # @FileName: ZdFr.py # @Software: PyCharm from selenium import webdriver import time ''' 账号封禁 ''' def add_change(): # yy = input('请输入封禁原因:') # 添加零钱申请 # 打开谷歌浏览器 driver = webdriver.Chrome() webdriver.Firefox() # 浏览器...
[ "1583141776@qq.com" ]
1583141776@qq.com
99d0b1a49a4b2b619be7874cf19a6e505931f6d8
35b6013c1943f37d1428afd2663c8aba0a02628d
/appengine/flexible_python37_and_earlier/storage/noxfile_config.py
a97c6f1e260127c6b721ab0af921439d0e47fcf6
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
GoogleCloudPlatform/python-docs-samples
d2a251805fbeab15d76ed995cf200727f63f887d
44e819e713c3885e38c99c16dc73b7d7478acfe8
refs/heads/main
2023-08-28T12:52:01.712293
2023-08-28T11:18:28
2023-08-28T11:18:28
35,065,876
7,035
7,593
Apache-2.0
2023-09-14T20:20:56
2015-05-04T23:26:13
Jupyter Notebook
UTF-8
Python
false
false
1,892
py
# Copyright 2021 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" ]
GoogleCloudPlatform.noreply@github.com
764482f357be9bb1f771028e738e7a9b659a4c28
f361126ee099303113b5ed3cc0e838bd01a9e41b
/Semana3/apoio_pense_python_01.py
70ff1f0e90b4ccda9dbca5bab5a6967a4df4cce8
[]
no_license
ju-c-lopes/Univesp_Algoritmos_II
e1ce5557d342ea75fe929cf7b207e633f9aa89cd
5d4eec368be91c18f0ae5c17d342e6eb0f1c79be
refs/heads/master
2023-06-05T11:09:25.415719
2021-07-07T22:26:53
2021-07-07T22:26:53
383,600,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
def list_sum(num_list): the_sum = 0 for i in num_list: the_sum = the_sum + i return the_sum print(f'Função {list_sum([1, 3, 5, 7, 9])}') soma_1 = ((((1 + 3) + 5) + 7) + 9) print(f'Soma 1 "((((1 + 3) + 5) + 7) + 9)" = {soma_1}') soma_2 = (1 + (3 + (5 + (7 + 9)))) print(f'Soma 2 "(1 + (3 + (5 + ...
[ "juliano.co.lopes@gmail.com" ]
juliano.co.lopes@gmail.com
e4839e0d0adfd3b843ec9dedf0d6413ef26f6c71
3a2993c7a152cc5cd837f0077338c3ebbf61bef8
/snippets/urls.py
67fcdf7574f9bd33ea476d5a290a8543784c1e60
[]
no_license
shaddygarg/pastebinAPI
2dbd3abfb78fc97a282dd98afccfc7c1bb508cd5
f800160f28eeffbf0d08314e3170cb74ca7ab433
refs/heads/master
2021-01-18T13:16:47.399664
2017-08-15T12:33:20
2017-08-15T12:33:20
100,375,215
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
from django.conf.urls import url,include from rest_framework.urlpatterns import format_suffix_patterns from snippets.views import SnippetViewSet,UserViewSet from rest_framework import renderers from rest_framework.routers import DefaultRouter from rest_framework.schemas import get_schema_view """ snippet_list=SnippetV...
[ "shaddygarg1@gmail.com" ]
shaddygarg1@gmail.com
4eb049824c98be47db25dc2ec7fbfdb10d364ecc
41e2a0a2bc0bdbac046942d9288f8d820215a1f4
/networkmonitor.py
42828593f5c75964877930d787338a9f5792494b
[]
no_license
david98/pynetmonitor
1d3a819778ab967f86eba36cc0f9e85b5a86bcf9
b869641ae4bf94545de31b3e4c914becda6fc50f
refs/heads/master
2020-03-15T11:54:38.167920
2018-05-10T11:36:34
2018-05-10T11:36:34
132,130,314
0
0
null
null
null
null
UTF-8
Python
false
false
6,681
py
#!/usr/bin/python3.6 import datetime import os import queue import sys import time import apiserver import iperfmonitor import latencymonitor LATENCY_DUMMY = 9999 DEFAULT_PORT = 8081 REFRESH_TIME = 5 WAIT_THREAD_FOR = 1 LOGS_DIRECTORY = './logs' BASE_LOGFILE_NAME = 'results-' def cls(): os.system('cls' if os.n...
[ "davidevolta98@gmail.com" ]
davidevolta98@gmail.com
84a2e2cedba48190937bd11bb57b6bfa47a7b970
cb6e5ce5cbbb785d8612e3a16f7396c352912fb1
/project2/DessiLBI/MNIST/plot.py
f89a85091cb9e5a90c04872f55203cbc1f775095
[]
no_license
Name-less-King/DATA130011.01-Neural-Network-and-Deep-Learning
902d33bc11be81ac48130bdb52ce0f5864502af2
64f90abd90dad4639ff1ea5c29cd31aa23fabd84
refs/heads/master
2023-07-10T03:57:58.628654
2021-08-19T06:14:47
2021-08-19T06:14:47
397,836,968
12
1
null
null
null
null
UTF-8
Python
false
false
6,907
py
""" Created on Sat Nov 18 23:12:08 2017 @author: Utku Ozbulak - github.com/utkuozbulak """ import os import cv2 import numpy as np import torch from torch.optim import Adam # from torchvision import models from torch import nn from misc_functions import preprocess_image, recreate_image class CNNLayerVisualization(...
[ "947813392@qq.com" ]
947813392@qq.com
0feb9874f79f30d024d161bf5af8d1e79d098f1c
b556abadea683bc614489574a85faedddca48203
/backend-py/aplicacion/modelos/tipoconsulta.py
796f7be8bcf04feb8f340fcc950cecc7e57abab2
[]
no_license
Mile1981/CNT_PY
a48b1ae7d0058b391a923e2dd8194d0c2d8d23cb
3e764de025ae3ebbd517e9aa4c0b73d407cca097
refs/heads/master
2023-03-10T19:12:09.284639
2021-03-02T12:08:24
2021-03-02T12:08:24
343,761,242
0
0
null
null
null
null
UTF-8
Python
false
false
2,160
py
# coding: utf-8 import sys, os, re from sqlalchemy import BigInteger, Column, Date, DateTime, Float, Index, Integer, String, Table, Text, Time from sqlalchemy.schema import FetchedValue from sqlalchemy.dialects.mysql.types import LONGBLOB from sqlalchemy.dialects.mysql.enumerated import ENUM from flask_sqlalchemy impo...
[ "53157364+Mile1981@users.noreply.github.com" ]
53157364+Mile1981@users.noreply.github.com
70d062bd933c4bdcb9186f000f83f2637828ff6e
b8fbe492b787e2053592ac4487aa0e72f747b8ab
/compress.py
c001388242397829c090c9796551d42a9802680b
[]
no_license
AhmedEssam19/XML-Editor
5c1b22dc1512a8554bb74b5198281806ee9bcf3c
297919dfc2cfe0b186d0444f9ba491cb995a4e85
refs/heads/master
2023-06-23T14:37:05.229317
2021-07-15T19:53:53
2021-07-15T19:53:53
384,942,890
0
0
null
null
null
null
UTF-8
Python
false
false
3,641
py
from heapq import heappush, heappop from collections import defaultdict from typing import Dict, List from bitstring import BitArray class Node: def __init__(self, char, freq, left, right): self.char = char self.freq = freq self.left = left self.right = right def is_leaf(sel...
[ "mostafaelsharnobi@gmail.com" ]
mostafaelsharnobi@gmail.com
9d420c1e6d569842ac81ee8f2b51aeee380229d2
2b84d52b8b264ee299d01a2b3bf503a1e4610bd0
/po/forms.py
7bc6958f75b5d8aa65fe5400288ec4af898ea765
[]
no_license
dbaugh0310/Post-Offices
f4f4754cd7172527f6d6b3e330ba406d6b9c4640
ffc0d555cd42a3b1f186dc39ba2045f3fd56bc48
refs/heads/main
2023-06-24T19:24:53.443673
2023-06-14T02:54:50
2023-06-14T02:54:50
314,629,294
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
from django import forms from po.models import LogMessage class LogMessageForm(forms.ModelForm): class Meta: model = LogMessage fields = ("message",) # NOTE: the trailing comma is required
[ "justin.deffenbaugh@gmail.com" ]
justin.deffenbaugh@gmail.com
272fe74eaf3eb220407cf3f170f25e94cf1d1ea6
37908440ce625e4ad15c7fdae0f5c42a0f7f06cd
/exploits/efa_vbulletin_afd.py
8b51cf55eb2f9dbda403b2f0c0a4eaa2fdf4901a
[]
no_license
sec-js/EaST
daff1c84e73e43825a87e3c2c1ec63d05d73141b
4b1ab5333022bbd476e9a43f13c4a4b559488752
refs/heads/master
2023-01-07T13:14:28.480980
2022-09-18T18:21:19
2022-09-18T18:21:19
337,508,843
0
0
null
2022-12-21T23:26:22
2021-02-09T19:09:47
null
UTF-8
Python
false
false
3,347
py
#! /usr/bin/env python # -*- coding: utf_8 -*- # The exploit is a part of EAST Framework - use only under the license agreement specified in LICENSE.txt in your EAST Framework distribution import sys import os import urllib2 from collections import OrderedDict sys.path.append('./core') from Sploit import Sp...
[ "noreply@github.com" ]
sec-js.noreply@github.com
286727604a1a4097edb3d5d89a5b2ef564a96ae2
9ccbf2d40c4cfcf8fd8be9ca296a5d5a73f29f81
/lib/test/image.py
ab06da5d2da937285dcda135951190257901a57f
[]
no_license
garyggyy/mmdetection-train
cf6ffc4c447d3b297e14a742cc831f363d36e79e
0c5efcadbb12e2734146957d4601c9329071b441
refs/heads/master
2020-05-16T15:05:01.498670
2019-04-29T08:12:35
2019-04-29T08:12:35
183,121,988
0
0
null
null
null
null
UTF-8
Python
false
false
4,552
py
import cv2 import numpy as np from mmcv.image import imread, imwrite from color import color_val def imshow(img, win_name='', wait_time=0): """Show an image. Args: img (str or ndarray): The image to be displayed. win_name (str): The window name. wait_time (int): Value of waitKey para...
[ "407698629@qq.com" ]
407698629@qq.com
54edc40f413a8bdc6c690c94d4dfc6b7b6e9e41f
385d9344272180085feea0248417b501b44cbb70
/python/3day/lab4_skeleton/lab_4_3/lab_4_3.py
1d0de408edec59d94103a7e389290f3364ba0ad1
[]
no_license
kyongpiltae/seoul
5a5d09c620466c05eac8a145abb10aae8887fb87
4d69e7b604fc62760ce428df5826baf0566530cd
refs/heads/master
2020-12-09T13:11:09.994466
2020-02-28T06:39:53
2020-02-28T06:39:53
233,313,610
0
0
null
null
null
null
UTF-8
Python
false
false
1,894
py
## 알파벳 소문자와 빈칸만 iuput으로 주어진다 가정합니다. import numpy as np # ========== EDIT HERE ========== # TODO : 인코딩, 디코딩 할때 쓸 자료형 alphabet = np.arange(0,27) I_alphabet = np.identity(26) abc = "abcdefghijklmn" char_to_int = dict(((k,v)for k,v in enumerate(abc))) int_to_char = dict(((k,v)for k,v in enumerate(abc))) # ===============...
[ "kyongpiltae@gmail.com" ]
kyongpiltae@gmail.com
806772a9631abdebc2f5a013b448bf7605dbfda1
a6fd360bd0a6c2cc6e4d0ae6f7f4ffe48384ed0f
/data/webscraper/webscraper/spiders/aveyron_spider.py
bf1b628d311d6459f1eb03f9daa6c7e368508ee5
[]
no_license
psaikko/opi-tuntemaan-sienet
b46ba1060db11a8d3a2daa4b867d91227f0ef300
bae05bcfbbc6483d18e2473320131e2d3d283428
refs/heads/master
2020-12-10T11:16:36.076183
2020-01-13T16:47:08
2020-01-13T16:47:08
233,578,816
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
import scrapy from scrapy.utils.url import urljoin_rfc class AveyronSpider(scrapy.Spider): name = "aveyron" download_delay = 2.0 def start_requests(self): urls = [ 'http://champignons.aveyron.free.fr/', ] for url in urls: yield scrapy.Request(url=url, callba...
[ "paul.saikko@gmail.com" ]
paul.saikko@gmail.com
f11e5c4fc4eba99f3e4c1bd4a833e5275353cc10
afdaa684f1772921276df40838a6c9f1a9510f14
/Exercicios/ex015.py
550616629b9cc8f3890f81b7d756cf08ade1c56c
[ "MIT" ]
permissive
Vitmambro/Python9
f45d88121aafa83b8ec20e6c99df2528a5cad256
d084e6fd8230b71e4dade87086a411210e131320
refs/heads/main
2023-04-09T05:39:10.722421
2021-04-14T21:35:26
2021-04-14T21:35:26
358,033,051
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
dias = int(input('Dias alugados: ')) km = float(input('Quantos km rodados: ')) pago = (dias * 60) + (km * 0.15) print('O total a pagar seria: {:.2f}'.format(pago))
[ "vitormambro@gmail.com" ]
vitormambro@gmail.com