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
8f390a25d57a5ddd7b928a96666f049cdc978a3b
005c16321899c0524f040bfea364636dfb9436dd
/myblog/settings.py
7eef1adab2702ac4640f1b1c1da8315d70406d19
[]
no_license
martin-martin/django-blog-api
885f4581476fb7fcde44658c11a21a56e9be1028
ce7f23fbfa304b296ebccbf02ffbac2f2e8b71a1
refs/heads/master
2023-08-01T06:41:25.342548
2021-03-23T09:55:36
2021-03-23T09:55:36
256,978,046
0
0
null
2021-09-22T18:57:07
2020-04-19T11:05:43
Python
UTF-8
Python
false
false
3,164
py
""" Django settings for myblog project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # ...
[ "breuss.martin@gmail.com" ]
breuss.martin@gmail.com
62a80ae08072529984b1a0256c6be46b21908b1e
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/atomic/unsignedInt/Schema+Instance/NISTXML-SV-IV-atomic-unsignedInt-maxExclusive-5-1.py
c11af821e8d2a5c9ae1f1b7dfaaca7a056973162
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
295
py
from output.models.nist_data.atomic.unsigned_int.schema_instance.nistschema_sv_iv_atomic_unsigned_int_max_exclusive_5_xsd.nistschema_sv_iv_atomic_unsigned_int_max_exclusive_5 import NistschemaSvIvAtomicUnsignedIntMaxExclusive5 obj = NistschemaSvIvAtomicUnsignedIntMaxExclusive5( value=0 )
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
fe4511bceb8e23425fa960fa5fdac05119f7b611
8a141ce2232eb3ed1ec505ceecc7c9b431bf52c6
/virtual/lib/python3.6/site-packages/bootstrap_py/pypi.py
7e7833a39073390bc95c9e108bb97ea5bf6213f2
[ "MIT" ]
permissive
monicaoyugi/Pitch
9f11531e43070e397cbe9afb7aa36949a9e9a0c5
9ac865760884dd4514b60a415ce40ef22aa673ac
refs/heads/master
2022-12-11T00:51:49.205736
2020-02-15T13:01:06
2020-02-15T13:01:06
238,953,626
0
1
MIT
2022-12-08T03:37:09
2020-02-07T15:10:29
Python
UTF-8
Python
false
false
976
py
# -*- coding: utf-8 -*- """bootstrap_py.pypi.""" import requests import socket from requests.exceptions import Timeout, HTTPError from bootstrap_py.exceptions import BackendFailure, Conflict #: PyPI JSONC API url PYPI_URL = 'https://pypi.org/pypi/{0}/json' def package_existent(name): """Search package. * :c...
[ "monicaoyugi@gmail.com" ]
monicaoyugi@gmail.com
0f167bfe47aff24f922605fa722f2da76518a893
d13edf81cd374edd927d0cdc5109b0b35fde886a
/python/lnx2/__init__.py
3353576f19b035057403b03ac984dc077d7e3c84
[ "MIT" ]
permissive
piotrmaslanka/lnx2
6abe49167dcd46ff28db7d46185daf2ffb552c2f
c293201d947b6cff09ae7ba15e1c2a3acd2e4a7f
refs/heads/master
2016-08-03T09:26:46.826574
2014-03-27T22:18:55
2014-03-27T22:18:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
from lnx2.packet import Packet from lnx2.exceptions import LNX2Error, PacketMalformedError, \ NothingToRead, NothingToSend from lnx2.channel import Channel, RTM_NONE, RTM_MANUAL, RTM_AUTO, \ RTM_AUTO_ORDERED from lnx2.connection import Connection from lnx2.lnxsocket ...
[ "piotr.maslanka@henrietta.com.pl" ]
piotr.maslanka@henrietta.com.pl
7a1335a92e08e2bb539af11845648d329f4ce995
fd3f0fdc6af4d0b0205a70b7706caccab2c46dc0
/0x0B-python-input_output/10-student.py
ed4a0271932ff2cea23672d9f0aa295adef4d322
[]
no_license
Maynot2/holbertonschool-higher_level_programming
b41c0454a1d27fe34596fe4aacadf6fc8612cd23
230c3df96413cd22771d1c1b4c344961b4886a61
refs/heads/main
2023-05-04T05:43:19.457819
2021-05-12T14:51:56
2021-05-12T14:51:56
319,291,958
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
#!/usr/bin/python3 """Holds a student class""" def is_str_list(ary): """Checks if all elements of a list are strings""" if type(ary) != list: return False for elm in ary: if type(elm) != str: return False return True class Student: """Models a real life student""" ...
[ "paulmanot@gmail.com" ]
paulmanot@gmail.com
edcbc595f7c8bf6bfecec9a9027632eb33ee6baa
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5706278382862336_0/Python/Lameiro/a.py
8a12ee4379870bbc29b5b97cb71c0c8160521f72
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,093
py
from pprint import pprint from itertools import product import sys from fractions import Fraction powers_of_two = {(2**i) for i in xrange(100)} epsilon = 1e-13 #def is_power_of_two(x): # for o in powers_of_two: # if o <= x+epsilon: # return True # return False def read_list_of(n...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
40d3309b87632bb9b677e881c23eded5c2c4b491
24fe1f54fee3a3df952ca26cce839cc18124357a
/servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/fv/overallhealth1year.py
3552af84433f805643eed3a4b12e282197234a2a
[]
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
11,372
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
bf79fe7c794bce4db6b3e36ed5ae575b77a97dca
63f917864d85f0f9e810cbb4e6163f48611a8b3d
/third_party/filebrowser/base.py
0ef473f2b71074f514625206ae64785952c539dc
[]
no_license
davidraywilson/suit_materialized
37aa521d52f8dd746b55b121262501147dffb95c
035405defedd5ee8257b42aac82749794080af4f
refs/heads/master
2021-01-18T14:05:01.797452
2015-06-03T02:03:55
2015-06-03T02:03:55
32,526,877
4
1
null
null
null
null
UTF-8
Python
false
false
6,097
py
# coding: utf-8 # imports import os, re, datetime from time import gmtime, strftime # django imports from django.conf import settings # filebrowser imports from filebrowser.settings import * from filebrowser.conf import fb_settings from filebrowser.functions import get_file_type, url_join, is_selectable, get_version...
[ "davidraywilson@live.com" ]
davidraywilson@live.com
ad1e27f5c9102e1482dd8f3957d9d2fb4cd8bb45
ae2caee4759ed54048acb223ee2423ce147c3986
/bika/lims/exportimport/instruments/fiastar.py
c2b94c6ee14d5f5b9e4087f4ef90115684d7c723
[]
no_license
cheslip/Bika-LIMS
b4bf620426cf63beb6cfcd40ca06be4eb78230ba
8d524589a3191dc8d22bd400c16a8c8df8289f8f
refs/heads/master
2021-01-18T04:05:55.985951
2012-01-30T12:31:52
2012-01-30T12:31:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,625
py
""" Fiastar """ from DateTime import DateTime from Products.CMFCore.utils import getToolByName from Products.Five.browser import BrowserView from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile from Products.Archetypes.event import ObjectInitializedEvent from bika.lims import bikaMessageFactory as _ ...
[ "campbell@bikalabs.com" ]
campbell@bikalabs.com
1beb2e528c471684c319966b412c74359454e913
ea178f0977127189c7559dfa9ca2faadceef5ff8
/python/jittor/test/test_auto_diff.py
933a44e9ded740bcf082495e7343a4d606c8c0b3
[ "Apache-2.0" ]
permissive
AbbasMZ/jittor
a0bb5b2cbceeffb40c61405b863e7e4b91567756
fcec57f70422b52d6b8d0235e29f91fd2212f559
refs/heads/master
2023-06-20T07:07:22.952846
2021-07-15T14:40:54
2021-07-15T14:40:54
386,115,280
0
0
Apache-2.0
2021-07-15T00:42:22
2021-07-15T00:39:53
null
UTF-8
Python
false
false
1,953
py
# *************************************************************** # Copyright (c) 2021 Jittor. All Rights Reserved. # Maintainers: Dun Liang <randonlang@gmail.com>. # This file is subject to the terms and conditions defined in # file 'LICENSE.txt', which is part of this source code package. # *************************...
[ "randonlang@gmail.com" ]
randonlang@gmail.com
87597d7424f9eebfa25701cb9370b644ec76b843
a4873925556df4b96c936e1ac12d9efb825db5af
/tac_kbp/detect_events_v2_bilstm_v3_posdep.py
d2257ad1d782fb17e0eaeda3d06b8faf5b79c5b9
[]
no_license
Heidelberg-NLP/aiphes-hd-tac2016-kbp-event-nuggets
9a4f9b086fb8f47dd7602bbdb6f974b8af62d790
4dc76a8d3b2cf675156efd39d0e7e5d1c8b29702
refs/heads/master
2020-07-12T04:46:51.590278
2018-09-06T11:33:55
2018-09-06T11:33:55
204,722,173
0
0
null
2019-08-27T16:32:54
2019-08-27T14:32:54
null
UTF-8
Python
false
false
72,543
py
"""Event Nugget Detection Run train and test on the TAC Event Nugget detection task """ import codecs import json import random import sys from datetime import datetime import logging # logging # from sklearn import preprocessing # from sklearn.grid_search import GridSearchCV # from sklearn.linear_model import...
[ "tbmihailov@gmail.com" ]
tbmihailov@gmail.com
773cf06a03db23a20481c582d9f289de0f9226f7
28489cb7b78af54f0812362682ed5245ea8f844c
/6 - Python/Strings/8 - Desginer Door Mat.py
4ab5b2cebf19eaea093d9d7aafd0429d6b725d68
[ "MIT" ]
permissive
sbobbala76/Python.HackerRank
7782b179d0c7b25711fe2b98763beb9ec22d7b09
33c5c30d1e6af1f48370dbb075f168d339f7438a
refs/heads/master
2021-05-23T12:29:11.302406
2020-06-01T12:28:49
2020-06-01T12:28:49
253,286,651
0
0
MIT
2020-04-05T17:00:33
2020-04-05T17:00:32
null
UTF-8
Python
false
false
276
py
n, m = map(int,input().split()) # More than 6 lines of code will result in 0 score. Blank lines are not counted. for i in range(1, n, 2): print ((".|." * i).center(m, '-')) print ("WELCOME".center(m, '-')) for i in range(n - 2, -1, -2): print ((".|." * i).center(m, '-'))
[ "ehouarn.perret@outlook.com" ]
ehouarn.perret@outlook.com
5ce3ea9f60875b83c78de02f52a5b51e04639afd
45df508e4c99f453ca114053a92deb65939f18c9
/tfx/tools/cli/handler/handler_factory.py
3bb20df41fbe67898d03601ac853a29e07ad5135
[ "Apache-2.0" ]
permissive
VonRosenchild/tfx
604eaf9a3de3a45d4084b36a478011d9b7441fc1
1c670e92143c7856f67a866f721b8a9368ede385
refs/heads/master
2020-08-09T13:45:07.067267
2019-10-10T03:07:20
2019-10-10T03:07:48
214,100,022
1
0
Apache-2.0
2019-10-10T06:06:11
2019-10-10T06:06:09
null
UTF-8
Python
false
false
4,015
py
# Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
f653716998f94f2dc22f92e0238512eba7349306
f12ec753dc42958714343b5aa8a11a83f7fe5e1a
/roboticstoolbox/backend/xacro/tests/test_xacro.py
779c4295ac73f3803c64e954b3dd9bc067a42523
[ "MIT" ]
permissive
RPellowski/robotics-toolbox-python
6bedecccbcf14740c3aa65823b5bab8ba3ade93b
837b33ebbca1347126a611edb83131e284dd065b
refs/heads/master
2023-01-01T04:53:23.117118
2020-10-12T05:25:47
2020-10-12T05:25:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
47,455
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2015, Open Source Robotics Foundation, Inc. # Copyright (c) 2013, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met...
[ "jhavl@users.noreply.github.com" ]
jhavl@users.noreply.github.com
54f2fc3f5ae22cc683bea5d9709baa7e6a5fab6a
80576f0a050d87edf6c60f096779aa54e8548e6b
/djangosige/apps/estoque/views/consulta.py
3d6249b21ea28097cb51df7d7022e2792850c8af
[ "MIT" ]
permissive
HigorMonteiro/djangoSIGE
fb9ded1641622a7d105781fd7b004f4d3f8a17a7
8fc89a570663b32e1be032ce9a45d37842b82008
refs/heads/master
2020-12-02T22:39:46.446177
2017-07-05T02:07:00
2017-07-05T02:07:00
96,162,182
0
0
null
2017-07-04T01:09:59
2017-07-04T01:09:59
null
UTF-8
Python
false
false
1,354
py
# -*- coding: utf-8 -*- from django.core.urlresolvers import reverse_lazy from django.views.generic.list import ListView from djangosige.apps.cadastro.models import Produto from djangosige.apps.estoque.models import LocalEstoque class ConsultaEstoqueView(ListView): template_name = "estoque/consulta/consulta_est...
[ "thiagovilelap@hotmail.com" ]
thiagovilelap@hotmail.com
33da9285ec09b6b5f1b27bf790bcaea7b6820864
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_96/875.py
276e1f647b1feac69a7d212c271358860c599206
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
from copy import copy scores_n = map(lambda x:-1, range(31)) scores_s = copy(scores_n) for i in range(11): for j in range(i, i+3): for k in range(i, i+3): score = i + j + k if score>30 or j>10 or k>10: continue if j==i+2 or k==i+2: if max([i,j,k])>scores_s[score]: scores_s[score] = max([i...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
98e2c351373391cdab276e22d809edbe37d7a18a
94f524333d8a6f44985adec85242c8f57acfb6f0
/fastaRenamers/spadesContigsRenamer.py
fee774105212ea6f6b52ac65a1404182e78e7d9b
[ "MIT" ]
permissive
nickp60/open_utils
5185288959eef30fc0d11e91d1aa76fe2e8236e7
628d102554e7c13fadecef5b94fa0dc0b389d37b
refs/heads/master
2021-01-17T02:32:15.820342
2020-04-21T16:29:11
2020-04-21T16:29:11
48,182,000
1
3
null
null
null
null
UTF-8
Python
false
false
2,081
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ """ import argparse import sys import logging import os def get_args(): parser = argparse.ArgumentParser( description="given a contigs file from spades, this renames each " + "this renames the header line to include the file's basename") parser...
[ "nickp60@gmail.com" ]
nickp60@gmail.com
b7968e221fae41e83c55e7ffda8a44e5f3bf2795
d1687f79f6e389f2b695b1d4bdf2eeb8ef07048e
/src/netius/test/extra/smtp_r.py
80fb13816a097a82c50120c8380dc13689f37f10
[ "Apache-2.0" ]
permissive
zdzhjx/netius
4604d3a772644338ef5020defa967d5cd8b89e6a
c8b050c42c5d9e6a0980604f08d7508bba0f996e
refs/heads/master
2021-01-22T12:07:57.608669
2016-08-30T17:26:28
2016-08-30T17:26:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,204
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Hive Netius System # Copyright (c) 2008-2016 Hive Solutions Lda. # # This file is part of Hive Netius System. # # Hive Netius System is free software: you can redistribute it and/or modify # it under the terms of the Apache License as published by the Apache # Foun...
[ "joamag@hive.pt" ]
joamag@hive.pt
0523121cce605e677e973420974d98141f287da8
622f779c8ed0bf589b947c5550c11f64f438444a
/src/Checking-Valid-String-In-Binary-Tree.py
ae103e30993f7e0ebb59eb38ed512376518291d2
[ "MIT" ]
permissive
sahilrider/LeetCode-Solutions
9290f69096af53e5c7212fe1e3820131a89257d0
9cac844c27b5dbf37a70c2981a09cd92457f7ff1
refs/heads/master
2023-01-03T22:35:28.377721
2020-10-25T16:15:49
2020-10-25T16:15:49
232,368,847
2
0
MIT
2020-10-25T16:15:50
2020-01-07T16:37:43
Python
UTF-8
Python
false
false
985
py
'''https://leetcode.com/explore/featured/card/30-day-leetcoding-challenge/532/week-5/3315/''' # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def isValidSe...
[ "sahilriders@gmail.com" ]
sahilriders@gmail.com
fa29cbe747d06ae6b51db93c6ce0423dc4b07024
7704dfa69e81c8a2f22b4bdd2b41a1bdad86ac4a
/nailgun/nailgun/utils/migration.py
f17807f187bf6ec511e997a0c7368cdb4ee7ec65
[ "Apache-2.0" ]
permissive
andrei4ka/fuel-web-redhat
8614af4567d2617a8420869c068d6b1f33ddf30c
01609fcbbae5cefcd015b6d7a0dbb181e9011c14
refs/heads/master
2022-10-16T01:53:59.889901
2015-01-23T11:00:22
2015-01-23T11:00:22
29,728,913
0
0
Apache-2.0
2022-09-16T17:48:26
2015-01-23T10:56:45
Python
UTF-8
Python
false
false
11,522
py
# Copyright 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "akirilochkin@mirantis.com" ]
akirilochkin@mirantis.com
32e21376754df4221bc846a99c412c84967a1a96
2a119e23ac73cd2fa0dbbb96cd01045562ab0835
/citties.py
6a75b6fa09e66271a00bf425b921fa57c812317c
[]
no_license
pavel-malin/python_work
94d133834348350251684ef366923698e5e2f289
d860e5d15116771e3cbe9e316fc032a28a3029e2
refs/heads/master
2020-04-28T05:17:45.067766
2019-04-20T19:39:43
2019-04-20T19:39:43
175,014,343
1
0
null
null
null
null
UTF-8
Python
false
false
330
py
# Executing a loop by value is correct and # completing through break prompt = "\nPlease enter the name of a city you have visited: " prompt += "\n(Enter 'quit' when you are finished.) " while True: city = input(prompt) if city == 'quit': break else: print("I'd love to go to " + city.title...
[ "noreply@github.com" ]
pavel-malin.noreply@github.com
6d696fd319ed1d5bafd79955314f0e5c2a0591bd
6adf334dd2a074686447e15898ed3fff793aab48
/02_Two_Pointers/13_shortest_window_sort.py
0649343b6278c871289f402481d7b1642ea3c9ed
[]
no_license
satyapatibandla/Patterns-for-Coding-Interviews
29ac1a15d5505293b83a8fb4acf12080851fe8d6
b3eb2ac82fd640ecbdf3654a91a57a013be1806f
refs/heads/main
2023-05-07T07:56:01.824272
2021-06-01T04:02:50
2021-06-01T04:02:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
# Time O(N) | Space O(1) def shortest_window_sort(arr): n = len(arr) left, right = 0, n - 1 while left < n - 1 and arr[left] <= arr[left + 1]: left += 1 if left == n - 1: return 0 while right > 0 and arr[right] >= arr[right - 1]: right -= 1 sub_min = float('inf') s...
[ "shash873@gmail.com" ]
shash873@gmail.com
bbaae8ba9d96ccfec2270b1e13f5afbc2dd4d684
ea01ed735850bf61101b869b1df618d3c09c2aa3
/python基础/网络编程/套接字/tcp_Socket/小作业简单模拟ssh/存在粘包问题的ssh/客户端粘包/client.py
965fe7a1d0a3a342ab614d08ffbe2b145e78ac05
[]
no_license
liuzhipeng17/python-common
867c49ac08719fabda371765d1f9e42f6dd289b9
fb44da203d4e3a8304d9fe6205e60c71d3a620d8
refs/heads/master
2021-09-27T10:39:45.178135
2018-11-08T01:49:33
2018-11-08T01:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
# -*- coding: utf-8 -*- import socket phone = socket.socket(socket.AF_INET, socket.SOCK_STREAM) phone.connect(('127.0.0.1', 8080)) phone.send('hello'.encode(encoding='utf-8')) phone.send('world'.encode(encoding='utf-8')) # data = phone.recv(1024) # print("服务端返回内容:%s" % data) # phone.close()
[ "liucpliu@sina.cn" ]
liucpliu@sina.cn
c47a29657f2c9622c4d133a0ed587fd61faf21bb
a5fe2130ea434f958f6151cd4d8c92d43f1c1ca1
/src/app/urls.py
3e64476466f19c1ff036b6caa5569139515fdffa
[]
no_license
DavidArmendariz/django-movies-app
44da33cc200773ef473ea21f67a1dfff57ea0e96
b77f1f538bae4a906d0b00597fef8fef97ea409b
refs/heads/master
2023-03-11T16:43:02.956765
2021-02-23T04:28:17
2021-02-23T04:28:17
338,206,453
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from django.contrib import admin from django.urls import path, include urlpatterns = [path("admin/", admin.site.urls), path("", include("movies.urls"))]
[ "darmendariz1998@outlook.com" ]
darmendariz1998@outlook.com
727bfa21f987a7f6a8b67b48d83909fe08a8b388
dbaad22aa8aa6f0ebdeacfbe9588b281e4e2a106
/專03-MySQL/可支配所得/03-延續專2-可支配所得XML-匯入.py
21efdf3f8e63ba0884679301caad1fe8c6af6a50
[ "MIT" ]
permissive
ccrain78990s/Python-Exercise
b4ecec6a653afd90de855a64fbf587032705fa8f
a9d09d5f3484efc2b9d9a53b71307257a51be160
refs/heads/main
2023-07-18T08:31:39.557299
2021-09-06T15:26:19
2021-09-06T15:26:19
357,761,471
1
0
null
null
null
null
UTF-8
Python
false
false
5,306
py
#!/usr/bin/env python # -*- coding=utf-8 -*- __author__ = "Chen" """ 家庭收支調查-所得收入者職業別平均每人"所得收入總計" ↓ 2020-10-27 https://data.gov.tw/dataset/131148 家庭收支調查-所得收入者職業別平均每人"非消費支出" ↓ 2020-11-18 https://data.gov.tw/dataset/132281 家庭收支調查-所得收入者職業別平均每人"可支配所得" ↓ 2020-09-23 https://data.gov.tw/dataset/130027 主要欄位 ↓ Year、臺灣地區、民意代表及主...
[ "47476106+ccrain78990s@users.noreply.github.com" ]
47476106+ccrain78990s@users.noreply.github.com
a5d4381d2e7fb369853b31614a859d2ff6b32d68
40cc021bfa13a1fc6b3d94ac1628d404a0800c10
/functional_tests/functional_test.py
06d96ff97dc5dc5a0fbc18c6a413da1cfa12bd56
[]
no_license
dvoong/lins-alterations
ffffb7da1cc8c6608764c7f90a75e6fa5d9a72af
d0eac4e5647e716918ff3c075fccc6fdff2cc8af
refs/heads/master
2021-01-17T20:30:16.355168
2016-08-08T21:06:34
2016-08-08T21:06:34
61,430,210
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
from selenium import webdriver from django.test import LiveServerTestCase class FunctionalTest(LiveServerTestCase): def setUp(self): self.browser = webdriver.Chrome() def tearDown(self): self.browser.quit()
[ "voong.david@gmail.com" ]
voong.david@gmail.com
843c46e20f9e27d506f7e0513e60ff58cfd8a899
bac37a96ead59a3c4caaac63745d5748f5060195
/数据库编程/03操作sqlite3数据库插入多条数据.py
50dd4ad9ddd086e75837820c57fc0f898c149c69
[]
no_license
pod1019/python_learning
1e7d3a9c10fc8c1b4e8ff31554d495df518fb385
a15213d33a253c3a77ab0d5de9a4f937c27693ca
refs/heads/master
2020-09-14T11:11:53.100591
2020-04-11T04:00:27
2020-04-11T04:00:27
223,112,718
0
0
null
null
null
null
UTF-8
Python
false
false
838
py
# 导入模块 import sqlite3 # 创建连接 con = sqlite3.connect('D:/python_learning/数据库编程/sqlite3demo/demo.db') # 创建游标对象 cur = con.cursor() # 编写插入sql # 由于pno设置的是自增,所以不需要在写,values(?,?)用?占位 sql = 'insert into t_person(pname,age) values (?,?)' # 执行插入多条数据的sql try: # 插入多条数据用executemany(),而且参数用列表形式----注意与插入一条的区别,一条用元组 cur.execut...
[ "pod1019@163.com" ]
pod1019@163.com
be15e630f100b6c734ffc9282a5a15fa6666b4bc
d5ad13232e3f1ced55f6956bc4cbda87925c8085
/RNAseqMSMS/21-rna-seq-sv-stats/22-sv-num-plot.py
7a1af076451c2238ba8f8a0ef5d277e0c20d152a
[]
no_license
arvin580/SIBS
c0ba9a8a41f59cb333517c286f7d80300b9501a2
0cc2378bf62359ec068336ea4de16d081d0f58a4
refs/heads/master
2021-01-23T21:57:35.658443
2015-04-09T23:11:34
2015-04-09T23:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
import math inFile = open('HeLa-Deletion-Duplication-Inversion-Translocation-Gene-more_than_two-num') D = {} for line in inFile: line = line.strip() fields = line.split('\t') num = int(fields[1]) D.setdefault(num,0) D[num]+=1 inFile.close() L1 = [] L2 = [] L3 = [] for k in D: L1.append(k) L...
[ "sunahnice@gmail.com" ]
sunahnice@gmail.com
d908966e8967f4625b79dcef07c794977cb2bf18
17966824e4bac02b66a802091b3d6277131995a2
/子集1.py
d60e5dead1f874f1c571538b5194d51748e1c203
[]
no_license
to2bage/mixx
8f00c2c888cc3dfe7f681077118121a6c6a3982b
c09337cc162449a8246b29b419187b38075a1268
refs/heads/master
2021-07-15T09:38:10.426660
2017-10-18T05:32:54
2017-10-18T05:32:54
104,962,609
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
class Solution: """ @param: nums: A set of numbers @return: A list of lists """ def subsets(self, nums): ret = [] nums.sort() for i in range(len(nums) + 1): combs = self._subsets(nums, 0, i) for comb in combs: ret.append(comb) ...
[ "to2bage@hotmail.com" ]
to2bage@hotmail.com
642206b159003756166684fbe8234e97aa9c6180
073f486ffe0397302a4b54594cf86daea50123f3
/Cap04-variaveis/variaveis_python.py
50d3022e569fc9c4abaade462dc771e2617b7033
[]
no_license
frclasso/CodeGurus_Python_mod1-turma2_2019
314f9cf0c0bdcefbf5cd786998b8c914da3cf9d0
f04c5857a97a0aab1e532e422020b4aa0d365dd6
refs/heads/master
2020-05-22T17:04:10.440217
2019-07-13T11:11:28
2019-07-13T11:11:28
186,445,385
0
1
null
null
null
null
UTF-8
Python
false
false
1,755
py
# variaveis lang = 'Python' print(lang) print(id(lang)) print(type(lang)) # string ord = 1 print(type(ord)) # inteiro/int ord2 = 2.0 print(type(ord2)) # float ord3 = 2+3j print(type(ord3)) # complex numero = 1000.000000000 print('{:.1f}'.format(numero)) # variaveis compostas listas = [] mercado = ['leite', ...
[ "frcalsso@yahoo.com.br" ]
frcalsso@yahoo.com.br
3501629570f43c265e2db96c74ccdebae5329084
452b8b849e080cda5a26f4018cafa5a674ff7c20
/froide/foirequest/south_migrations/0008_auto__chg_field_foirequest_status.py
069d28864ec44dfbcda830afab2a5479ff5e1844
[ "MIT" ]
permissive
okffi/tietopyynto
1262dcaf748c41b49be4a774be552fc75fc9b336
66b7e7dbf3c3395d79af3da85b3b58f01fad62dc
refs/heads/tietopyynto
2021-01-17T21:07:04.829856
2016-10-30T19:26:53
2016-10-30T19:26:53
14,255,294
3
2
MIT
2021-01-05T11:51:18
2013-11-09T10:19:16
Python
UTF-8
Python
false
false
16,045
py
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models from froide.helper.auth_migration_util import USER_DB_NAME APP_MODEL, APP_MODEL_NAME = 'account.User', 'account.user' class Migration(SchemaMigration): def forwards(self, orm): ...
[ "mail@stefanwehrmeyer.com" ]
mail@stefanwehrmeyer.com
1b01898879304e77c804c5595ccc87d222693ea1
7a23870e9b0b56b112f634d26760282ff7a4f46c
/Projects/Archived Tk code/From extensions folder/Pmw/Pmw_1_3/demos/NestedDialogs.py
7d5eb03b725e4ec779920d6fee5ea3055e19a2b5
[]
no_license
leo-editor/leo-editor-contrib
0c671998c4ec7fd7c4ce890a201395afe340481b
28c22721e1bc313c120a8a6c288893bc566a5c67
refs/heads/master
2023-06-25T04:28:54.520792
2023-06-14T20:18:12
2023-06-14T20:18:12
16,771,641
6
6
null
2023-06-09T11:26:42
2014-02-12T15:28:36
Python
UTF-8
Python
false
false
1,991
py
title = 'Modal dialog nesting demonstration' # Import Pmw from this directory tree. import sys sys.path[:0] = ['../../..'] import Tkinter import Pmw class Demo: def __init__(self, parent): # Create button to launch the dialog. w = Tkinter.Button(parent, text = 'Show first dialog', command...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
e9dfda94eae7e425e96c91ab025607701adb78f6
633fdb0bd4c8246dfabb27c680ede42879922664
/music/views.py
acec97bbd24b616bd30134972d6c7b3cca24b691
[]
no_license
xarala221/django-api
0b134ad6b2c05b77a54390f96d0c7d1b30f06d17
52498eb5272391d2b27fd8ee8ffabec3f4b6d833
refs/heads/master
2020-04-05T16:46:52.976200
2018-11-10T22:53:58
2018-11-10T22:53:58
157,028,142
1
0
null
null
null
null
UTF-8
Python
false
false
272
py
from rest_framework import generics from .models import Songs from .serializers import SongsSerializer class ListSongsView(generics.ListAPIView): """ Provides a get method handler. """ queryset = Songs.objects.all() serializer_class = SongsSerializer
[ "xaralaxarala@gmail.com" ]
xaralaxarala@gmail.com
5e5f0a055c727a0333d32942d973e0d30bc1a7f0
ea4e3ac0966fe7b69f42eaa5a32980caa2248957
/download/unzip/pyobjc/pyobjc-14.1.1/pyobjc/stable/pyobjc-framework-Cocoa/PyObjCTest/test_nscoder.py
22ae4552930af5aacfd31164ce73dd9af98a1053
[ "MIT" ]
permissive
hyl946/opensource_apple
36b49deda8b2f241437ed45113d624ad45aa6d5f
e0f41fa0d9d535d57bfe56a264b4b27b8f93d86a
refs/heads/master
2023-02-26T16:27:25.343636
2020-03-29T08:50:45
2020-03-29T08:50:45
249,169,732
0
0
null
null
null
null
UTF-8
Python
false
false
4,190
py
import unittest import objc from Foundation import * from objc.test.testbndl import PyObjC_TestClass4 class TestNSCoderUsage(unittest.TestCase): if not hasattr(unittest.TestCase, 'assertAlmostEquals'): # XXX Move to a PyObjC unittest module? def assertAlmostEquals(self, val1, val2): se...
[ "hyl946@163.com" ]
hyl946@163.com
50edcb60e68fe42f0f72122d986487e8ebf59fec
cdb7bb6215cc2f362f2e93a040c7d8c5efe97fde
/V/ValidPalindromeII.py
73923540643cfb6825921f25a0d4fe449e430b43
[]
no_license
bssrdf/pyleet
8861bbac06dfe0f0f06f6ad1010d99f8def19b27
810575368ecffa97677bdb51744d1f716140bbb1
refs/heads/master
2023-08-20T05:44:30.130517
2023-08-19T21:54:34
2023-08-19T21:54:34
91,913,009
2
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
''' -Easy- Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Input: "aba" Output: True Example 2: Input: "abca" Output: True Explanation: You could delete the character 'c'. Note: The string will only contain lowercase characters a-z. The maximu...
[ "merlintiger@hotmail.com" ]
merlintiger@hotmail.com
04c6ed85fac8a1c9ef45fb35b18a08e8bc9c1389
a96af1535c19244640b9d137ede80f61569d6823
/tests/test_flows/test_entry_flow.py
eb6d7a5f170af2b7ff46b1deb10707f8799c5e71
[ "BSD-2-Clause-Views" ]
permissive
emmamcbryde/summer-1
260d2c2c0085b5181f592b3bd8a186902f923135
3ea377b3352c82edaed95ea1e5683b9a130fe9e6
refs/heads/master
2023-04-23T20:06:52.800992
2021-04-29T05:29:29
2021-04-29T05:29:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,726
py
import pytest from summer import AgeStratification, Compartment, Stratification, adjust from summer.flows import BaseEntryFlow class EntryFlow(BaseEntryFlow): """Basic entry flow used to test BaseEntryFlow stratification.""" def get_net_flow(self, compartment_values, time): return 1 def test_entry...
[ "mattdsegal@gmail.com" ]
mattdsegal@gmail.com
ba78451ad07eb548fb5ffe59673629454f0a2308
afc8d5a9b1c2dd476ea59a7211b455732806fdfd
/Configurations/qqH_SF/Full2017_HTXS_Stage1p2_v7/dyestim_qqH_SF_HTXS.py
fb89234cc9d70bb632281379b9f845032a2a4efb
[]
no_license
latinos/PlotsConfigurations
6d88a5ad828dde4a7f45c68765081ed182fcda21
02417839021e2112e740607b0fb78e09b58c930f
refs/heads/master
2023-08-18T20:39:31.954943
2023-08-18T09:23:34
2023-08-18T09:23:34
39,819,875
10
63
null
2023-08-10T14:08:04
2015-07-28T07:36:50
Python
UTF-8
Python
false
false
9,824
py
## RAndKff RAndKff['DYmva0p8'] = { 'RFile' : 'rootFile/plots_qqH_HTXS_SF_2017_v7_DYESTIM080.root', 'KffFile' : 'rootFile/plots_qqH_HTXS_SF_2017_v7_DYESTIM080.root', 'Regions' : { '2jVHee' : { 'kNum' : 'VH_ee_in', 'kDen' : 'VH_mm_in', 'RNum' : 'VH_ee_out', ...
[ "nicolo.trevisani@cern.ch" ]
nicolo.trevisani@cern.ch
9dd1e8bd790d488dadc9b288d9e994e7777949cf
36901e58fbdeabc7380ae2c0278010b2c51fe54d
/payment/email_notifications/payment_notification.py
0ea88280de8f2067d7125cb21ce4857c20d1015e
[]
no_license
hugoseabra/congressy
e7c43408cea86ce56e3138d8ee9231d838228959
ac1e9b941f1fac8b7a13dee8a41982716095d3db
refs/heads/master
2023-07-07T04:44:26.424590
2021-08-11T15:47:02
2021-08-11T15:47:02
395,027,819
0
0
null
null
null
null
UTF-8
Python
false
false
993
py
from payment.exception import PostbackNotificationError from payment.models import Transaction from .boleto_notification import BoletoPaymentNotification from .credit_card_notification import CreditCardPaymentNotification class PaymentNotification(object): def __init__(self, transaction: Transaction) -> None: ...
[ "nathan.eua@gmail.com" ]
nathan.eua@gmail.com
90bf295d99e4e9ef6b100034b69f966ad7d867e2
8fc37fd33f2f4deefa83d878af037aec9773c320
/workshop/urls.py
13213f67f6c8adeaf87abecec365b9c6e9b0a787
[]
no_license
skoudoro/dipy_web
1929c5aec56c3977fdd6b35e937e33dfb2ad7045
ad3f8b127fc7497857910bc6327f7f17b1f92ac6
refs/heads/master
2023-06-22T09:41:18.731724
2023-06-13T21:16:37
2023-06-13T21:16:37
94,094,201
0
0
null
2017-06-12T12:33:06
2017-06-12T12:33:06
null
UTF-8
Python
false
false
1,766
py
"""Workshop URL Configuration.""" from django.urls import path, re_path from . import views app_name = 'workshop' urlpatterns = [ # Worskhop Management path('dashboard/', views.dashboard_workshops, name='dashboard_workshops'), path('dashboard/add/', views.add_workshop, name='add_worksho...
[ "skab12@gmail.com" ]
skab12@gmail.com
0b115ff4976bad15e6dbc77960999a474071d672
9d032e9864ebda8351e98ee7950c34ce5168b3b6
/duplicate_char.py
8d48005b6d5f264b1e072a6a842dcf9cbab9824e
[]
no_license
snpushpi/P_solving
e0daa4809c2a3612ba14d7bff49befa7e0fe252b
9980f32878a50c6838613d71a8ee02f492c2ce2c
refs/heads/master
2022-11-30T15:09:47.890519
2020-08-16T02:32:49
2020-08-16T02:32:49
275,273,765
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
''' Given an array A of strings made only from lowercase letters, return a list of all characters that show up in all strings within the list (including duplicates). For example, if a character occurs 3 times in all strings but not 4 times, you need to include that character three times in the final answer. You may re...
[ "55248448+snpushpi@users.noreply.github.com" ]
55248448+snpushpi@users.noreply.github.com
2d697a26b38aa9eff91081fb9f09475784aa33b5
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/hBFo8jAu5E7824esW_15.py
65e5bdf465ae25e0bc421b595a08e1d5d92268ce
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
""" Create a function that takes a string and returns the word count. The string will be a sentence. ### Examples count_words("Just an example here move along") ➞ 6 count_words("This is a test") ➞ 4 count_words("What an easy task, right") ➞ 5 ### Notes * If you get stuck on a challenge, f...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c1529e9e8d7bcb4519291a88ef1a26b4f35a0ff7
cf2b8c952512a16bc7a1038f3239370cada02561
/function/reduce.py
b430ef2fb1409f6799c7229f598b1cadff5ceeea
[]
no_license
liupengzhouyi/LearnPython3
ad382b99423b7bb10612c255bbbeabbbf79500ad
6b001ae169288af1dd0776d4519905a6e0d1ab87
refs/heads/master
2023-04-07T20:08:41.207008
2023-03-27T04:18:43
2023-03-27T04:18:43
174,716,342
1
0
null
null
null
null
UTF-8
Python
false
false
561
py
from functools import reduce l = [x+1 for x in range(10)] print(l) def f(a, b): print('a =', a, 'b =', b, 'a + b =', a + b) return a + b L = reduce(f, l) print(L) # string to int def ff(x, y): return x * 10 + y def fff(x): return int(x) def ffff(x): return float(x) print(reduce(ff, map(fff, ...
[ "liupeng.0@outlook.com" ]
liupeng.0@outlook.com
cf7576ab44e1301d169880224c53a68b4a78571f
d125c002a6447c3f14022b786b07712a7f5b4974
/tests/bugs/core_2053_test.py
3a09eb5f28d73086e601a056d7c2ac4bd862848f
[ "MIT" ]
permissive
FirebirdSQL/firebird-qa
89d5b0035071f9f69d1c869997afff60c005fca9
cae18186f8c31511a7f68248b20f03be2f0b97c6
refs/heads/master
2023-08-03T02:14:36.302876
2023-07-31T23:02:56
2023-07-31T23:02:56
295,681,819
3
2
MIT
2023-06-16T10:05:55
2020-09-15T09:41:22
Python
UTF-8
Python
false
false
942
py
#coding:utf-8 """ ID: issue-2489 ISSUE: 2489 TITLE: Computed expressions may be optimized badly if used inside the RETURNING clause of the INSERT statement DESCRIPTION: JIRA: CORE-2053 FBTEST: bugs.core_2053 """ import pytest from firebird.qa import * init_script = """create table t1...
[ "pcisar@ibphoenix.cz" ]
pcisar@ibphoenix.cz
0ec0d41500189485bf383218e27ef9bf921e8073
7bededcada9271d92f34da6dae7088f3faf61c02
/docs/source/examples/FB2.0/delete_policies.py
78faa51fd20fdd610a868c07dd09b44109e3e3c2
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
133
py
# delete a policy name p1 client.delete_policies(names=["p1"]) # Other valid fields: ids # See section "Common Fields" for examples
[ "asun@purestorage.com" ]
asun@purestorage.com
d10933b94eff2598a2fb705bc5f3d90e90c3bcaf
7275f7454ce7c3ce519aba81b3c99994d81a56d3
/Programming-Collective-Intelligence/ch02/deliciousrec.py
0bf529394e03b6f519b599db31104a7456a671e3
[]
no_license
chengqiangaoci/back
b4c964b17fb4b9e97ab7bf0e607bdc13e2724f06
a26da4e4f088afb57c4122eedb0cd42bb3052b16
refs/heads/master
2020-03-22T08:36:48.360430
2018-08-10T03:53:55
2018-08-10T03:53:55
139,777,994
0
1
null
null
null
null
UTF-8
Python
false
false
1,026
py
from pydelicious import get_popular, get_userposts, get_urlposts import time def initializeUserDict(tag, count=5): user_dict = {} # get the top count' popular posts for p1 in get_popular(tag=tag)[0:count]: # find all users who posted this for p2 in get_urlposts(p1['href']): use...
[ "2395618655@qq.com" ]
2395618655@qq.com
6ee5ac56d40ad4378e7ddb54be81a110f152bafa
fd18ce27b66746f932a65488aad04494202e2e0d
/day33/codes/webgl_3d/manage.py
def02335a5564d7d1276ba846cb34283d6f305b9
[]
no_license
daofeng123/ClassCodes
1acbd843836e550c9cebf67ef21dfca9f6b9fc87
fbcd1f24d79b8bb56ad0669b07ad118064609612
refs/heads/master
2020-06-24T12:34:28.148197
2019-08-15T03:56:40
2019-08-15T03:56:40
198,963,469
3
0
null
2019-07-26T06:53:45
2019-07-26T06:53:44
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'webgl_3d.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "38395870@qq.com" ]
38395870@qq.com
939ed3af70136ac0ddc78b816260a32916d9ac0c
a6052990178139cf4f828b6f28168b859ae2c51e
/src/antlr4/Lexer.py
23e625f61fb661c4ba8474119585ba6668599e12
[]
no_license
shiva/antlr4-python2
f07b55b9f9b6798fffbc289f3e3801334eac8f60
533eca53bf83f215ad63e4bbb03e76e69f8e6b01
refs/heads/master
2021-01-18T08:55:13.513383
2014-05-20T17:12:02
2014-05-20T17:12:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,475
py
# [The "BSD license"] # Copyright (c) 2012 Terence Parr # Copyright (c) 2012 Sam Harwell # Copyright (c) 2014 Eric Vergnaud # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistr...
[ "eric.vergnaud@wanadoo.fr" ]
eric.vergnaud@wanadoo.fr
71cfec6b6b9e27fe83cfc001cc4ad1339dfe99df
67029d54bb92cb7a28604bffdd6d11ceb644dc3b
/cpab/cpa1d/utils/__init__.py
b3699988cf74a856c5921b0461fd5edecedab72b
[ "MIT" ]
permissive
freifeld/cpabDiffeo
eead4244de8bb32d00c492a20afc57cf7e4bc397
22df6cdbd7111b9ae3e7f1c0e31ff85e92d281a6
refs/heads/master
2021-07-16T05:51:08.970724
2020-07-11T09:14:39
2020-07-11T09:14:39
42,126,959
23
4
null
null
null
null
UTF-8
Python
false
false
123
py
#from _create_cells import create_cells #from _create_verts_and_H import create_verts_and_H from constraints import *
[ "freifeld@csail.mit.edu" ]
freifeld@csail.mit.edu
1ba3e37cf62afa4381eb4a60293241151837accd
f8f26a0e60de5d41e30aceabf2722607c46f8fc2
/python/opencv/js/darkeras/plot_test.py
6c3ae883503dcc8631fce2adf496a0b351efd4d2
[]
no_license
dzzp/RapidCheck
27051ce171f5edc4d40923295d7a8b6f8071dbd9
10006e7697a32678df7dfec165d226f83b8ba55f
refs/heads/master
2021-01-19T18:22:21.557350
2017-07-08T08:22:02
2017-07-08T08:22:02
101,127,935
0
0
null
2017-08-23T02:21:37
2017-08-23T02:21:37
null
UTF-8
Python
false
false
1,923
py
import matplotlib.pyplot as plt import numpy as np # http://parneetk.github.io/blog/cnn-cifar10/ # def plot_model_history(model_history): # fig, axs = plt.subplots(1,2,figsize=(15,5)) # # summarize history for accuracy # axs[0].plot(range(1,len(model_history.history['acc'])+1),model_history.history['acc'])...
[ "ljs93kr@gmail.com" ]
ljs93kr@gmail.com
def9b229d4f8f07a154b7c0be292e0f9c31c6f2a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2439/60772/281961.py
3ba6408ce44293d0ee46113b4717be8571aaa839
[]
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
437
py
li = input().split() n = int(li[0]) res = 0 for i in range(n-1): li = input().split() for ele in li: res += int(ele) m = int(input()) for i in range(m): li = input().split() for ele in li: res += int(ele) if res == 96: print(10) elif res == 111: print(8) elif res == 114: p...
[ "1069583789@qq.com" ]
1069583789@qq.com
b0d0371965b44cb1672c3952dd23c4b77d3c7b42
88ae8695987ada722184307301e221e1ba3cc2fa
/native_client/src/untrusted/minidump_generator/nacl.scons
f098aec36088ad4a8b1170e84cad277f11759255
[ "BSD-3-Clause", "Zlib", "Classpath-exception-2.0", "BSD-Source-Code", "LZMA-exception", "LicenseRef-scancode-unicode", "LGPL-3.0-only", "LGPL-2.0-or-later", "LicenseRef-scancode-philippe-de-muyter", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-intel-osl-1993", "HPND-sell-var...
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
610
scons
# -*- python -*- # Copyright (c) 2013 The Native Client Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. Import('env') # Allow Breakpad headers to #include other Breakpad headers. env.Append(CPPPATH=['${SOURCE_ROOT}/breakpad/src']) # B...
[ "jengelh@inai.de" ]
jengelh@inai.de
895c700b0cf82f002fb394b588104ebed83b1847
b015800d85d701a498701183742eff91e9e5eb4c
/drf_3/jobboard/jobs/admin.py
bfeb3320775d4be3106a8c03b6329c7bf3553084
[]
no_license
davjfish/drf-course
72b41767d2ac7dd998b3bb029b7b730a4828da2d
38a7f598a84e61254f8e93a1ba1da1526140949f
refs/heads/master
2023-03-04T17:05:33.443047
2021-02-16T18:35:00
2021-02-16T18:35:00
339,492,171
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from django.contrib import admin from . import models # Register your models here. admin.site.register(models.JobOffer)
[ "davjfish@gmail.com" ]
davjfish@gmail.com
ae0123369dc0aa17be6c89bc0d2a0fdc15a2876f
d40fbefbd5db39f1c3fb97f17ed54cb7b6f230e0
/directory/tests/test_bench.py
db9ec1dde4f5412eb3cc3629740f96cf68daa170
[]
permissive
slightilusion/integrations-core
47a170d791e809f3a69c34e2426436a6c944c322
8f89e7ba35e6d27c9c1b36b9784b7454d845ba01
refs/heads/master
2020-05-20T18:34:41.716618
2019-05-08T21:51:17
2019-05-08T21:51:17
185,708,851
2
0
BSD-3-Clause
2019-05-09T02:05:19
2019-05-09T02:05:18
null
UTF-8
Python
false
false
587
py
# (C) Datadog, Inc. 2018 # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import shutil import subprocess import sys import tempfile from datadog_checks.directory import DirectoryCheck def test_run(benchmark): temp_dir = tempfile.mkdtemp() command = [sys.executable, '-m', 'vi...
[ "ofekmeister@gmail.com" ]
ofekmeister@gmail.com
b22ed3dfb6be249e67e0af435db85b8f6fd07646
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/MuonSpectrometer/MuonReconstruction/MuonRecExample/share/MuonTrackPerformance_jobOptions.py
24f3bad94f2dd3e8c92c1c161969e15dbd9a7783
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
732
py
from RecExConfig.RecFlags import rec from MuonRecExample.MuonRecFlags import muonRecFlags muonRecFlags.setDefaults() from MuonTrackPerformance.MuonTrackPerformanceConf import MuonTrackPerformanceAlg from AthenaCommon.CfgGetter import getPublicTool if muonRecFlags.doStandalone: getPublicTool("MuonTrackTruthTool") ...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
9a9e79296fa97cf9f37c6f7b8ff32a4a84d4fbb9
1b08bba4779e28e345bc19cf2999d22d1676b47d
/url-recon.py
5241acd8afed9a8350f106ccf56d938193547bc3
[]
no_license
nathunandwani/url-recon
d8ef0b5cf1c6abae1378f4e38b90f1ddc5ded0d1
64cf26bd64de0e5745e5574f8754b21d7215a4e1
refs/heads/master
2020-03-12T22:40:07.926180
2018-04-24T16:04:23
2018-04-24T16:04:23
130,851,431
0
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
import urllib2 def getrobots(url): arr = [] try: domain = url.split("//")[-1] if not domain.endswith('/'): domain = domain + '/' domain = "http://" + domain + "robots.txt" response = urllib2.urlopen(domain) contents = response.read() for item in conte...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
bbb536f4f8206b937361825497ee38d0066b9c2c
ba854e267bede78e2aab78dd33b3e0332d666b13
/lambda/sfr-doab-reader/tests/test_scripts.py
f7591222dc3a72bf8869d302c87ee63e83e6825c
[]
no_license
NYPL/sfr-ingest-pipeline
968dde45abafca25c2a570f469da25ef2bbfce6c
07d4116405f202d254f4b3121d4d0580c4147969
refs/heads/development
2023-03-03T11:59:15.827611
2021-02-11T18:50:42
2021-02-11T18:50:42
245,267,219
1
0
null
2021-02-11T18:50:43
2020-03-05T21:02:55
Python
UTF-8
Python
false
false
8,524
py
import unittest from unittest.mock import patch, mock_open, call, MagicMock import logging import json import sys from scripts.lambdaRun import main, setEnvVars, createEventMapping, updateEventMapping # noqa: E501 from helpers.errorHelpers import InvalidExecutionType # Disable logging while we are running tests logg...
[ "mwbenowitz@gmail.com" ]
mwbenowitz@gmail.com
8ce0090b1f6392af36c950e4a91fc7b788d89f48
b708135eb3ac0bb0167ca753768c8dec95f5113a
/bookwyrm/models/relationship.py
dbf997785fe3343f4ef600381f2a121f2fbdd7d0
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
emiljacobsen/bookwyrm
ffd31db236eac55847b7b73893abc7466087d366
da5af56f720c9f063c864427faedd30bf3ac74ae
refs/heads/main
2023-01-06T01:12:36.207476
2020-11-08T05:17:52
2020-11-08T05:17:52
311,099,307
0
0
NOASSERTION
2020-11-08T15:59:08
2020-11-08T15:59:07
null
UTF-8
Python
false
false
3,131
py
''' defines relationships between users ''' from django.db import models from bookwyrm import activitypub from .base_model import ActivitypubMixin, ActivityMapping, BookWyrmModel class UserRelationship(ActivitypubMixin, BookWyrmModel): ''' many-to-many through table for followers ''' user_subject = models.Fo...
[ "mousereeve@riseup.net" ]
mousereeve@riseup.net
1a6573c3666aa22400e97b0e0d505d38e1c72e21
8c06beebdb5ee28f7292574fefd540f8c43a7acf
/App/migrations/0001_initial.py
c157c870476b74079d770270a01bfd316e86aab6
[]
no_license
progettazionemauro/ARCTYPE_DJANGO_DASHBOARD
0c3baf93c6a3f8dd28d9459a21a273efbed1f4e3
60d1dab19c32b7a80d70de85e846fd6760be9a26
refs/heads/master
2023-04-12T01:37:57.317231
2021-05-03T01:48:41
2021-05-03T01:48:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
# Generated by Django 3.1.7 on 2021-04-28 12:07 import datetime from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='PageView', fields=[ ('id', ...
[ "chukslord1@gmail.com" ]
chukslord1@gmail.com
de7774fa92e3ca8ed10bcacbc64aa31115a9ca00
18305efd1edeb68db69880e03411df37fc83b58b
/pdb_files_1000rot/r9/1r9o/tractability_550/pymol_results_file.py
67892b1deb53cd23a00dd9ad1e19d337669ba3e4
[]
no_license
Cradoux/hotspot_pipline
22e604974c8e38c9ffa979092267a77c6e1dc458
88f7fab8611ebf67334474c6e9ea8fc5e52d27da
refs/heads/master
2021-11-03T16:21:12.837229
2019-03-28T08:31:39
2019-03-28T08:31:39
170,106,739
0
0
null
null
null
null
UTF-8
Python
false
false
7,382
py
from os.path import join import tempfile import zipfile from pymol import cmd, finish_launching from pymol.cgo import * finish_launching() dirpath = None def cgo_arrow(atom1='pk1', atom2='pk2', radius=0.07, gap=0.0, hlength=-1, hradius=-1, color='blue red', name=''): from chempy import cpv radius, gap =...
[ "cradoux.cr@gmail.com" ]
cradoux.cr@gmail.com
bbf3f6774454f669d508e9bd59974b7037b28edc
8a780cb47eac9da046bdb5d6917f97a086887603
/problems/last_stone_weight/solution.py
b701204b3ce26b9e7f0bd1ecd7c4157ef3cd893b
[]
no_license
dengl11/Leetcode
d16315bc98842922569a5526d71b7fd0609ee9fb
43a5e436b6ec8950c6952554329ae0314430afea
refs/heads/master
2022-12-20T03:15:30.993739
2020-09-05T01:04:08
2020-09-05T01:04:08
279,178,665
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from heapq import heappush, heappop class Solution: def lastStoneWeight(self, stones: List[int]) -> int: q = [] for s in stones: heappush(q, -s) while len(q) > 1: y, x = -heappop(q), -heappop(q) if x == y: continue heappush(q, -abs(x-y)) ...
[ "ldeng1314@gmail.com" ]
ldeng1314@gmail.com
58381efaf4839fe920f12a83c30b22c3e1049d1d
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_19735.py
cc4940e64134129ef4d9c1607ac40344591557c1
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
# driver.find_element_by_css_selector("input[onclick*='1 Bedroom Deluxe']")
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
6560fcf0b82ad4f6d534807dfb58e01c1e45ebde
df83f97ed2c6dd199005e96bc7c494cfb3b49f8c
/LeetCode/Array/Median of Two Sorted Arrays.py
23633445d236acc7f9d0e0983179064bc07b5909
[]
no_license
poojan14/Python-Practice
45f0b68b0ad2f92bbf0b92286602d64f3b1ae992
ed98acc788ba4a1b53bec3d0757108abb5274c0f
refs/heads/master
2022-03-27T18:24:18.130598
2019-12-25T07:26:09
2019-12-25T07:26:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,455
py
''' There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). You may assume nums1 and nums2 cannot be both empty. ''' class Solution(object): def determineMedian(self,k,A,size): if size % 2 ...
[ "noreply@github.com" ]
poojan14.noreply@github.com
51a9df87f975ff813ccf7a8035df497a2618fb73
8f24e443e42315a81028b648e753c50967c51c78
/python/ray/train/examples/horovod/horovod_example.py
e548ce41c1bd73d6976c69b16a83100ce344b890
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
simon-mo/ray
d07efdada8d05c6e10417f96e8dfc35f9ad33397
1e42e6cd15e2fb96c217cba8484e59ed0ef4b0c8
refs/heads/master
2023-03-06T00:09:35.758834
2022-12-23T18:46:48
2022-12-23T18:46:48
122,156,396
4
2
Apache-2.0
2023-03-04T08:56:56
2018-02-20T04:47:06
Python
UTF-8
Python
false
false
8,299
py
import argparse import os import horovod.torch as hvd import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torch.utils.data.distributed from filelock import FileLock from torchvision import datasets, transforms import ray from ray.air import session from ray.train.horovod import Ho...
[ "noreply@github.com" ]
simon-mo.noreply@github.com
20a15b3c0182c1e1b3333858ecf1a1dbd05f7f53
44722fb1541645937f17e8e920f4954ff99cc046
/src/gamesbyexample/clickbait.py
5075628e0b5995e53b6187567a31e16e9385eb21
[]
no_license
asweigart/gamesbyexample
a065d21be6c2e05a4c17643986b667efae0bc6de
222bfc3b15ade1cf3bde158ba72a8b7a969ccc5a
refs/heads/main
2023-07-16T12:12:58.541597
2021-09-01T21:24:35
2021-09-01T21:24:35
343,331,493
89
10
null
null
null
null
UTF-8
Python
false
false
4,979
py
"""Clickbait Headline Generator, by Al Sweigart al@inventwithpython.com A clickbait headline generator for your soulless content farm website. This code is available at https://nostarch.com/big-book-small-python-programming Tags: large, beginner, humor, word""" __version__ = 0 import random # Set up the constants: OBJ...
[ "asweigart@gmail.com" ]
asweigart@gmail.com
e02d915d5a6b8071f34409db34e69e57ba779233
41ea088695ed956ef8c6e34ace4d8ab19c8b4352
/XDG_CACHE_HOME/Microsoft/Python Language Server/stubs.v1/VhzJ2IJqcIhdz9Ev1YCeFRUb9JMBYBYPD6jceZX7twM=/_isotonic.cpython-37m-x86_64-linux-gnu.pyi
3dde1904791e24e112bf6d51edbc57ec74501d07
[]
no_license
ljbelenky/decline
d5c1d57fd927fa6a8ea99c1e08fedbeb83170d01
432ef82a68168e4ac8635a9386af2aa26cd73eef
refs/heads/master
2021-06-18T17:01:46.969491
2021-04-26T18:34:55
2021-04-26T18:34:55
195,559,200
0
0
null
null
null
null
UTF-8
Python
false
false
695
pyi
import builtins as _mod_builtins __builtins__ = {} __doc__ = None __file__ = '/home/land/.local/lib/python3.7/site-packages/sklearn/_isotonic.cpython-37m-x86_64-linux-gnu.so' __name__ = 'sklearn._isotonic' __package__ = 'sklearn' def __pyx_unpickle_Enum(): pass __test__ = _mod_builtins.dict() def _inplace_contigu...
[ "ljbelenky@gmail.com" ]
ljbelenky@gmail.com
0a13f9b43163b6133340ad53e879fb1b311e02df
6a0d42149f8bbe5f7d6cb8103fe557d0d048c832
/products/views.py
90e967bcee4f19e5fcc3e1352d1d349f846acbf8
[]
no_license
syfqpipe/product-public
8f3b2f81d0c9fdc61bb5841db1d4d9d26bb618a1
62b918bd9f24b4a47fab04398ca8112268e1e2b1
refs/heads/master
2023-01-22T05:14:19.132567
2020-12-05T03:22:56
2020-12-05T03:22:56
318,689,598
0
0
null
null
null
null
UTF-8
Python
false
false
54,260
py
from django.http import JsonResponse from django.shortcuts import render from django.db.models import Q from django.core.files.storage import default_storage from django.utils.timezone import make_aware from django.template.loader import render_to_string from weasyprint import HTML, CSS from django.core.files.storage ...
[ "syafiqbasri@pipeline-network.com" ]
syafiqbasri@pipeline-network.com
db718b81d3b369a7e54eb24bc87b9937a19c913e
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/22_专题/k个数组/Minimum Adjacent Elements-有序数组绝对差最小.py
58546a10f7e514dd6f22e222eef4b4ea8489b9b1
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
1,206
py
# we say that two numbers nums[i] ≤ nums[j] are adjacent if there's no number in between (nums[i], nums[j]) in nums. # Return the minimum possible abs(j - i) such that nums[j] and nums[i] are adjacent. # 注意到排序之后,adjacent元素相邻 from collections import defaultdict class Solution: def solve(self, nums): ...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
ee0881c5232ed496734cc80cb0f6a2d2473e02be
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/third_party/catapult/third_party/gsutil/gslib/daisy_chain_wrapper.py
4e5717df8077b8fe1e8e89d58468da3e082c1eb6
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
11,679
py
# -*- coding: utf-8 -*- # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
f73f5c06d8e28761f419f7a2ccc812f56ad2a01a
66977f7c7dd20c7d774859e7dcdc07e83ba0e5b9
/venv/bin/easy_install-3.6
5d0a7e0fdca0e1390822c69263e03a922e8b1f28
[]
no_license
Andchenn/music163
850ff93cb83164e4ce22d77e9beb832de8efe59c
916ca671c51d79352bbe12fc2d4e7a43775b155c
refs/heads/master
2020-03-25T11:47:25.609623
2018-08-07T14:19:18
2018-08-07T14:19:18
143,748,629
1
0
null
null
null
null
UTF-8
Python
false
false
444
6
#!/home/feng/PycharmProjects/music/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '...
[ "1476204794@qq.com" ]
1476204794@qq.com
158cdf4a256d934f8f9e8b2fb414972e17b1e9a1
7755b126435af273dcfd538759c799e5d70965f8
/django_startproject/project_template/myproject/conf/dev/settings.py
daa853108b003d5e478481f0f6fc991371446d22
[]
no_license
k1000/django-startproject
79bef3a218f0203e6f8a434811cb2d1e3bb34df3
50c04fe0ba8202bfad9e5b7eb217ae09640a76fa
refs/heads/master
2020-04-05T23:44:54.051938
2010-03-25T18:56:20
2010-03-25T18:56:20
585,700
1
0
null
null
null
null
UTF-8
Python
false
false
252
py
from myproject.conf.settings import * DEBUG = True TEMPLATE_DEBUG = DEBUG ROOT_URLCONF = 'myproject.conf.dev.urls' # DATABASE_ENGINE = 'postgresql_psycopg2' # DATABASE_NAME = 'myproject' # DATABASE_USER = 'dbuser' # DATABASE_PASSWORD = 'dbpassword'
[ "pete@lincolnloop.com" ]
pete@lincolnloop.com
eae0f5c1f2698520e2d6f239064c70f6a0dd2aec
95b6f547270557a99c435b785b907896f62e87d1
/l_method.py
e80afe423815f6bab9ce4a911f61535b0f0fae60
[]
no_license
phizaz/seeding-strategy-ssl
6b3b58c9b1f556f8cd42fea5e3dc20e623462a08
85655ce3297130b273d5f86075ee6bdf1f12be0a
refs/heads/master
2021-01-10T06:18:26.618009
2016-04-02T14:50:08
2016-04-02T14:50:08
49,761,712
0
0
null
null
null
null
UTF-8
Python
false
false
7,883
py
from fastcluster import linkage from disjoint import DisjointSet from collections import deque from sklearn.metrics import mean_squared_error from sklearn.neighbors import BallTree import time from itertools import islice import numpy import math from collections import Counter class Result: def __init__(self, lab...
[ "the.akita.ta@gmail.com" ]
the.akita.ta@gmail.com
60d0182ebaf8ffb2c0c8299d16ab51c952127e4b
5b77ea24ccda4fcf6ed8a269f27ac33d0a47bcad
/Startcamp/1218/scraping/currency.py
8bb9389b05b71a0541ed79b360a0b0d022513aee
[]
no_license
yooseungju/TIL
98acdd6a1f0c145bff4ae33cdbfbef4f45d5da42
e6660aaf52a770508fe8778994e40aa43d2484d4
refs/heads/master
2020-04-11T21:13:56.981903
2019-09-28T12:34:03
2019-09-28T12:34:03
162,099,150
4
0
null
null
null
null
UTF-8
Python
false
false
452
py
import requests from bs4 import BeautifulSoup req = requests.get("https://www.naver.com/").text soup = BeautifulSoup(req, 'html.parser') hotkeyword = soup.select("#PM_ID_ct > div.header > div.section_navbar > div.area_hotkeyword.PM_CL_realtimeKeyword_base > div.ah_roll.PM_CL_realtimeKeyword_rolling_base > div > ul > ....
[ "seung338989@gmail.com" ]
seung338989@gmail.com
cbdf09255f98e70ee2ccb3b428ce1f08511f9203
6a7766599b74fddc9864e2bcccddafb333792d63
/otree/widgets.py
6995e7c1bbc975567a5cc5963b862294f962e9ad
[ "MIT" ]
permissive
PrimeCodingSolutions/otree-core
4a6e113ba44bd6ded1a403c84df08b84fe890930
952451e0abde83306f3b6417fc535eb13e219c61
refs/heads/master
2021-04-18T15:22:48.700655
2020-08-28T13:05:06
2020-08-28T13:05:06
249,556,953
2
1
NOASSERTION
2020-08-28T12:39:11
2020-03-23T22:20:48
HTML
UTF-8
Python
false
false
535
py
# We moved the otree.widgets module to otree.forms.widgets # prior to adding otree.api in September 2016, each models.py contained: # "from otree import widgets" from logging import getLogger logger = getLogger(__name__) MSG_NEW_IMPORTS = ''' otree.widgets does not exist anymore. You should update your imports in mo...
[ "chris@otree.org" ]
chris@otree.org
fa632f8b6d4b51cc22f1d1ea13c796836f1d83b2
0c47a1529b2ebcecbb177fa5a3929a9c281b6e55
/src/NetworkViewer.py
571b09242d9b6137f987c55eb8c97c3e8f569a77
[]
no_license
theideasmith/rockefeller
c7a80ac095cf021548c4a63d48df5acc6e4d5320
436b5b3daaf488d2bd6272af76bee27b043d5a05
refs/heads/master
2020-12-24T19:36:58.562908
2016-05-17T18:58:17
2016-05-17T18:58:17
57,930,979
0
0
null
null
null
null
UTF-8
Python
false
false
7,963
py
""" Network Viewer Visualizes the dynamics of a network and assoicated parameters during learning """ __license__ = 'MIT License <http://www.opensource.org/licenses/mit-license.php>' __author__ = 'Christoph Kirst <ckirst@rockefeller.edu>' __docformat__ = 'rest' #import sys, os import numpy as np import pyqtgraph as...
[ "aclscientist@gmail.com" ]
aclscientist@gmail.com
1d86fa9c04a543fb69270f8ebc482da953ce3942
ca75f7099b93d8083d5b2e9c6db2e8821e63f83b
/z2/part2/interactive/jm/random_normal_1/782677726.py
60fa6b4705369acbc350e9f2c37456a1a42fa5b5
[ "MIT" ]
permissive
kozakusek/ipp-2020-testy
210ed201eaea3c86933266bd57ee284c9fbc1b96
09aa008fa53d159672cc7cbf969a6b237e15a7b8
refs/heads/master
2022-10-04T18:55:37.875713
2020-06-09T21:15:37
2020-06-09T21:15:37
262,290,632
0
0
MIT
2020-06-09T21:15:38
2020-05-08T10:10:47
C
UTF-8
Python
false
false
3,118
py
from part1 import ( gamma_board, gamma_busy_fields, gamma_delete, gamma_free_fields, gamma_golden_move, gamma_golden_possible, gamma_move, gamma_new, ) """ scenario: test_random_actions uuid: 782677726 """ """ random actions, total chaos """ board = gamma_new(4, 4, 5, 1) assert board is...
[ "jakub@molinski.dev" ]
jakub@molinski.dev
0192a55bee2cdb27c882409abd6d92b255bcbb66
a5e6ce10ff98539a94a5f29abbc053de9b957cc6
/problems/dynamic_programing/knapsack1.py
fd45ebc6c136b21f6fbffd1e18dc65c3b37eb2ff
[]
no_license
shimaw28/atcoder_practice
5097a8ec636a9c2e9d6c417dda5c6a515f1abd9c
808cdc0f2c1519036908118c418c8a6da7ae513e
refs/heads/master
2020-07-26T10:59:51.927217
2020-06-13T11:53:19
2020-06-13T11:53:19
208,622,939
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
# atcoder https://atcoder.jp/contests/dp/tasks/dp_d def main(): N, W = map(int, input().split()) w, v = [], [] for _ in range(N): wi, vi = map(int, input().split()) w.append(wi) v.append(vi) dp = [[0 for j in range(W+1)] for i in range(N+1)] for i in range(1, N+1): ...
[ "shima.w28@gmail.com" ]
shima.w28@gmail.com
7de2a9da3fb85e1c6dd5a800ccf836c5f6680029
fc4aaf15ef2b10c89728651316300ada27f14ae3
/basic_app/models.py
3b159a9e093f32b2a9c91d455459336aa4a8d7bc
[]
no_license
ethicalrushi/seller
7f6231e710b32e8d7700e32e321879728de65546
9473fcb6595c27c7adbcea24990b6e8f006d3e8a
refs/heads/master
2020-03-08T04:00:59.089892
2018-04-04T17:48:19
2018-04-04T17:48:19
126,335,389
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Department(models.Model): name = models.CharField(max_length=50) def __str__(self): return self.name class Product(models.Model): name = models.CharField(max_length=200) departm...
[ "pupalerushikesh@gmail.com" ]
pupalerushikesh@gmail.com
14b3a7755aa94e83563c1b91bd941e54547348fb
bc108434d5f485a5ca593942b0fbe2f4d044ebda
/pl/python/test_io.py
8367110f97859b28297fce0385a5f0f9db15de28
[]
no_license
js-ts/AI
746a34493a772fb88aee296f463122b68f3b299d
353e7abfa7b02b45d2b7fec096b58e07651eb71d
refs/heads/master
2023-05-29T16:19:03.463999
2021-06-22T05:49:44
2021-06-22T05:49:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
import io from io import StringIO, BytesIO # open
[ "wenyu.lyu@gmail.com" ]
wenyu.lyu@gmail.com
d4cb7acb76a7609399131caf54bb1033a481ac87
a185d936357b6f376df921de291654f6148f2a77
/Database/Scripts/Treenut/script4.py
50cb738e24bb4264a5381cfd93ecaa9b2698f0ca
[]
no_license
virajnilakh/ZenHealth
021edd06a8e01fb96db5ce9c34c200bd277942bf
02f274bbed2b16a2aff01c7f57e81b705af90012
refs/heads/master
2021-05-07T07:11:09.096859
2018-07-06T00:27:58
2018-07-06T00:27:58
109,096,469
1
0
null
null
null
null
UTF-8
Python
false
false
3,656
py
from firebase import firebase import json import requests import os from pprint import pprint import pymongo ''' Query 4 http://api.yummly.com/v1/api/recipes?_app_id=dummyid&_app_key=dummykey&allowedAllergy[]=395^Treenut-Free &allowedDiet[]=386^Vegan&allowedCourse[]=course^course-Main Dishes&maxResult=30&n...
[ "noreply@github.com" ]
virajnilakh.noreply@github.com
a639ff252d2e58adfdcc7f5e04bcf9e520e04141
4513ce2e8589b0a20c0a64abf434da2ceeb2ab80
/manage.py
4029ae8897747c482d7573d58204a193ab25bbcc
[]
no_license
nralif/pages_app
98f1be7d041a9ad6b5d0c052f662349bd97fad16
57ad71aa5d4b52f2638ef8850bae1a6739cbe1e6
refs/heads/main
2023-05-09T18:40:02.492885
2021-05-22T12:40:00
2021-05-22T12:40:00
369,753,705
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'page_project.settings') try: from django.core.management import execute_from_command_line except...
[ "naeemurrahman.aalif@gmail.com" ]
naeemurrahman.aalif@gmail.com
283359a20e140bad25199256e77196298e581515
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/429/usersdata/321/101659/submittedfiles/jogoDaVelha_BIB.py
b62888cd1d8baaf9b6d90df806d218ed55543e07
[]
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
1,257
py
# -*- coding: utf-8 -*- # COLOQUE SUA BIBLIOTECA A PARTIR DAQUI import random def simbolo(): s = str(input('Qual símbolo você deseja utilizar no jogo? (X ou O) \n')) while s != 'X' and s != 'O': print('Isira um símbolo válido') s = str(input('Qual símbolo você deseja utilizar no jogo? (X ou O)...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
480f4bce7c618584210823d38405128065d34426
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/alexaforbusiness_write_1/user_delete.py
552e70148262104efc7a5436e0538e2e95345610
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/alexaforbusiness/delete-user.html if __name__ ==...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
4ff4bc8aa3fd0344b8ce84d0b596891346d80dfe
91fb65972d69ca25ddd892b9d5373919ee518ee7
/pibm-training/sample-programs/range_example_001.py
13445a33e06d8a5a5c134cdf7f0e7bc0e480f99a
[]
no_license
zeppertrek/my-python-sandpit
c36b78e7b3118133c215468e0a387a987d2e62a9
c04177b276e6f784f94d4db0481fcd2ee0048265
refs/heads/master
2022-12-12T00:27:37.338001
2020-11-08T08:56:33
2020-11-08T08:56:33
141,911,099
0
0
null
2022-12-08T04:09:28
2018-07-22T16:12:55
Python
UTF-8
Python
false
false
430
py
#range_example_001.py #range converted to lists # print ("List range(10) ---", list(range(10))) print ("List range(1,11) ---", list(range(1, 11))) print ("List range(0,30,5) --- ", list(range(0, 30, 5))) print ("list(range(0, 10, 3)) ---", list(range(0, 10, 3))) print ("list(range(0, -10, -1)) ---" , list(range(0,...
[ "zeppertrek@gmail.com" ]
zeppertrek@gmail.com
4dfc5e22548977aa77f85efeb2ee388d37034424
d1f971b9fa0edfa633b62887cf9d173d6a86a440
/concepts/Exercises/list_slicing.py
94af34cfb70f29e3e12488fea14a57a678427d25
[]
no_license
papan36125/python_exercises
d45cf434c15aa46e10967c13fbe9658915826478
748eed2b19bccf4b5c700075675de87c7c70c46e
refs/heads/master
2020-04-28T10:01:10.361108
2019-05-10T13:45:35
2019-05-10T13:45:35
175,187,760
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
my_list = ['p','r','o','g','r','a','m','i','z'] # elements 3rd to 5th print(my_list[2:5]) # elements beginning to 4th print(my_list[:-5]) # elements 6th to end print(my_list[5:]) # elements beginning to end print(my_list[:])
[ "noreply@github.com" ]
papan36125.noreply@github.com
a085709fcdbdec5df615f02c6aaf7c0065cac542
cb3bce599e657188c30366adb0af3007ff9b8f96
/src/network/ex32-1.py
21c0c7b5953a8427ef1ae7759e30900f4bd4c1c3
[]
no_license
skk4/python_study
534339e6c378d686c29af6d81429c472fca19d6d
4bdd2a50f4bdfd28fdb89a881cb2ebb9eac26987
refs/heads/master
2021-01-01T04:36:52.037184
2017-12-08T01:04:27
2017-12-08T01:04:27
97,207,719
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
''' Created on 2017.7.19 @author: Administrator ''' a_dict = {'s':'1', 'x':'2'} b_dict = {'s':'2', 'x':'4'} print
[ "skk_4@163.com" ]
skk_4@163.com
521e0942d4a805129e2348001d434618159ac9d1
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Sklearn_scipy_numpy/source/scipy/weave/tests/test_c_spec.py
278650de00e217afb3beacef411730d2a8e9aad4
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
18,927
py
from __future__ import absolute_import, print_function import os import sys import tempfile import string import time from numpy.testing import TestCase, assert_, run_module_suite from scipy.weave import inline_tools, ext_tools, c_spec from scipy.weave.build_tools import msvc_exists, gcc_exists from scipy.weave.cata...
[ "master@MacBook-Pro-admin.local" ]
master@MacBook-Pro-admin.local
cbd21866c009354fdebf87e289855b910528d4bc
a5da45e771fb57b4785bd19d46261c7c6488040d
/src/rv/utils/batch.py
9c97506bd94043348b15da280c4b57ea5e3da67d
[ "Apache-2.0" ]
permissive
bw4sz/raster-vision
6f6888f9dbb1277f9c4e40c3dfb53d5e79b3a4e8
02465c49ad64f7efebc4772b716a08b23cd438bf
refs/heads/develop
2021-05-14T00:19:25.786863
2018-01-14T23:59:30
2018-01-14T23:59:30
116,536,741
0
0
null
2018-01-14T23:59:31
2018-01-07T04:17:39
Python
UTF-8
Python
false
false
1,479
py
from os import environ import click import boto3 s3_bucket = environ.get('S3_BUCKET') def _batch_submit(branch_name, command, attempts=3, cpu=False): """ Submit a job to run on Batch. Args: branch_name: Branch with code to run on Batch command: Command in quotes to run o...
[ "lewfish@gmail.com" ]
lewfish@gmail.com
d466f070c3427581d6259d57f853f56ec3df69ab
edebd47922910982979c19f276f202ffccdd3ee3
/test/lit.cfg
97912f426659bf1dac4a61700bfd5fcbe076776d
[]
no_license
cadets/watchman
a6bbcb6bf88db90d81c000387194dc03c98033ea
daeb8d1c7f93f427aa1bb5598971f64646103470
refs/heads/master
2021-01-10T12:55:58.186096
2016-04-01T18:28:49
2016-04-01T18:28:49
55,184,504
0
0
null
null
null
null
UTF-8
Python
false
false
3,861
cfg
# vim:syntax=python import lit import os import sys # # Basic information about this test suite. # config.name = 'WATCHMAN' config.suffixes = [ '.c', '.cpp', '.ll' ] config.excludes = [ 'Inputs' ] config.test_format = lit.formats.ShTest() params = lit_config.params # # Useful environment variables. # # This variab...
[ "jonathan.anderson@ieee.org" ]
jonathan.anderson@ieee.org
0543881f2afd1d173d833918d01e03824189afec
64bf39b96a014b5d3f69b3311430185c64a7ff0e
/intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/community/docker/plugins/modules/docker_container.py
033b5c72070540685e0da70e5b9c9f8771168ef8
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
SimonFangCisco/dne-dna-code
7072eba7da0389e37507b7a2aa5f7d0c0735a220
2ea7d4f00212f502bc684ac257371ada73da1ca9
refs/heads/master
2023-03-10T23:10:31.392558
2021-02-25T15:04:36
2021-02-25T15:04:36
342,274,373
0
0
MIT
2021-02-25T14:39:22
2021-02-25T14:39:22
null
UTF-8
Python
false
false
154,384
py
#!/usr/bin/python # # Copyright 2016 Red Hat | Ansible # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' --- module: docker_container short_description: manage docker ...
[ "sifang@cisco.com" ]
sifang@cisco.com
785a2ac4c6ea2b724fc3667b58832bcb92498198
1218aa61721b39064ec34812175a3b2bf48caee1
/app/replicas/api/serializers.py
07cad2ce75dfead0dcdd58cf96c7b84537cad290
[]
no_license
omegion/Mongo-Sharded-Cluster-Monitoring-with-Django-and-Docker-Compose
fd31ace2ab08d59ed2733c94792fcc832bbea963
3937845a2b9ee224ff42e896639ce6b7635b1c6e
refs/heads/master
2023-07-06T10:42:46.393369
2019-05-16T15:57:36
2019-05-16T15:57:36
184,385,304
1
1
null
2023-06-24T08:55:17
2019-05-01T07:52:35
JavaScript
UTF-8
Python
false
false
1,056
py
from django.core.management import call_command from django.conf import settings from django.db.models import F from rest_framework import serializers from datetime import datetime, timedelta # Models from replicas.models import Replica, Check class ReplicaSerializer(serializers.ModelSerializer): # user...
[ "vagrant@homestead" ]
vagrant@homestead
2878cfc7fe099af6ea3dd0037c1f3faf7d1c2e83
f3762dca5e4956144f430f423340bdcd6604dfea
/scripts/Buffer Contour.py
1c01743f5fa28d13e7e93e4eda4be3935aba9e29
[]
no_license
sindile/QGIS-Processing
7ba7a6e5eda79d86589770b423ae4d00528d0bf9
9cd18fa13ab7b74c24de0da3653aa252ec055de7
refs/heads/master
2020-12-25T03:49:19.966042
2014-06-02T20:33:24
2014-06-02T20:33:24
20,726,685
1
0
null
null
null
null
UTF-8
Python
false
false
1,764
py
##Points=vector ##Value_field=field Points ##Levels=string 10;20 ##Buffer_parameter=number 60 ##Max_buffer_size=number 500 ##Group_by_field=boolean True ##Group_Field=field Points ##Contour=output vector from qgis.core import * from PyQt4.QtCore import * from processing.core.VectorWriter import VectorWriter from shape...
[ "volayaf@gmail.com" ]
volayaf@gmail.com
4993149be8c698b9e63a433c14c910f7cae87885
a5fdc429f54a0deccfe8efd4b9f17dd44e4427b5
/0x06-python-classes/0-square.py
1a79ed9a820966620e5d4ee00e1a77cd94c84336
[]
no_license
Jilroge7/holbertonschool-higher_level_programming
19b7fcb4c69793a2714ad241e0cc4fc975d94694
743a352e42d447cd8e1b62d2533408c25003b078
refs/heads/master
2022-12-20T20:41:33.375351
2020-09-25T02:02:28
2020-09-25T02:02:28
259,471,881
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
#!/usr/bin/python3 """Module here""" class Square: """Class defined here as empty class of square""" pass # pass as empty
[ "1672@holbertonschool.com" ]
1672@holbertonschool.com
ebb3b622a8dd2029e68b69e158f95feb702b8a52
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_094/ch1_2019_02_22_13_18_51_955616.py
423e906e0e2ddecae0e43790ed3561a549ffb207
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
85
py
def calcular_valor_devido(valor0,juros,n): y = valor0*(1+juros)**n return y
[ "you@example.com" ]
you@example.com
a57641283552933fe4ce9c6587a51d4d46875d6d
605d63d23bc2e07eb054979a14557d469787877e
/utest/libdoc/test_datatypes.py
e6020b697cbcbd1133a446ff34af7ab630690134
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
robotframework/robotframework
407b0cdbe0d3bb088f9bfcf9ea7d16e22eee1ddf
cf896995f822f571c33dc5651d51365778b1cf40
refs/heads/master
2023-08-29T03:19:00.734810
2023-08-27T18:14:48
2023-08-28T18:14:11
21,273,155
8,635
2,623
Apache-2.0
2023-09-05T04:58:08
2014-06-27T11:10:38
Python
UTF-8
Python
false
false
741
py
import unittest from robot.libdocpkg.standardtypes import STANDARD_TYPE_DOCS from robot.running.arguments.typeconverters import ( EnumConverter, CombinedConverter, CustomConverter, TypeConverter, TypedDictConverter ) class TestStandardTypeDocs(unittest.TestCase): no_std_docs = (EnumConverter, CombinedConvert...
[ "peke@iki.fi" ]
peke@iki.fi
558cf29fd9568653cc559f9993465037ecee7ae6
979f47ef23640b7655c8c562faa31e03cab434d4
/config.py
b41777940696163daf1c3457098c6c01da33b6b1
[ "LicenseRef-scancode-sata" ]
permissive
ckelsel/captcha_platform
f3fe9b29bebca325a1d1875eff73c057665c29b0
62915afac879cb9c8b9e012974d0d6d13c437da8
refs/heads/master
2020-04-16T10:09:26.891613
2019-01-13T12:20:42
2019-01-13T12:20:42
165,493,280
0
0
NOASSERTION
2019-01-13T10:41:08
2019-01-13T10:41:08
null
UTF-8
Python
false
false
8,349
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # Author: kerlomz <kerlomz@gmail.com> import os import uuid import yaml import hashlib import logging from logging.handlers import TimedRotatingFileHandler from character import * class Config(object): def __init__(self, conf_path: str, graph_path: str = None, model_p...
[ "kerlomz@gmail.com" ]
kerlomz@gmail.com
3730c7a184b3d699c21a6e262940768d03cefb66
f03efb1242053bb5f532f654015afa6172cc8891
/wk02-simple-algorithms/exercise/function/function-02.py
ab7ab6a3cc3198010edf9e1898c94f191495b81e
[]
no_license
nabilatajrin/MITx-6.00.1x-IntroductionToComputerScienceAndProgrammingUsingPython
f283135edfb07cb652881489424afa7a683f5b3f
d79fe9f7088392d7de2015a61ef1178ab65d325e
refs/heads/master
2022-12-14T10:59:58.212864
2020-09-15T05:45:59
2020-09-15T05:45:59
245,590,470
1
0
null
null
null
null
UTF-8
Python
false
false
51
py
a = 10 def f(x): return x + a a = 3 print(f(1))
[ "nabilatajrin@gmail.com" ]
nabilatajrin@gmail.com
57e01f66e7647c4f10f809f8c799d1ce79bbf434
a4fcaa28f288ff495ac09c3f8070f019f4d3ba80
/virtualenvs/rp-3-python3_6_flask_bokeh_bette/bin/pip3.6
25f52bb7807a73b9ddac0577075cb8067474af93
[]
no_license
tomwhartung/always_learning_python
db44b0745f27f482e6482faa821f89dc7809dda8
ab27c164a724754e3e25518bf372bd4437995d64
refs/heads/master
2020-12-07T15:57:04.184391
2017-05-18T19:35:31
2017-05-18T19:35:31
67,449,327
0
0
null
null
null
null
UTF-8
Python
false
false
317
6
#!/var/www/always_learning/github/customizations/always_learning_python/virtualenvs/rp-3-python3_6_flask_bokeh_bette/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "tomwhartung@gmail.com" ]
tomwhartung@gmail.com
161fa8607b38260ceab9820c52b08e6799e531be
89fc945e93c9cfacaab0d3bac0071ee95c86f81d
/bookdata/schema.py
16f3874b8f8748971303648b94e3517ebe924d3f
[ "MIT" ]
permissive
jimfhahn/bookdata-tools
2341825438aa627554eb91d1929545e7fe0b24f5
cd857028a7947f369d84cb69a941303a413046b6
refs/heads/master
2023-09-05T07:38:43.604828
2021-03-11T22:21:30
2021-03-11T22:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
""" Data schema information for the book data tools. """ import pandas as pd class NS: def __init__(self, name, num): self.name = name self.code = num self.offset = num * 100000000 ns_work = NS('OL-W', 1) ns_edition = NS('OL-E', 2) ns_loc_rec = NS('LOC', 3) ns_gr_work = NS('GR-W', 4) ns_g...
[ "michaelekstrand@boisestate.edu" ]
michaelekstrand@boisestate.edu
94b5e34a931d800c3150922a52f9eaee92644e13
f9886d2b57d92186773d73f59dc0a0e9759b8944
/04_bigdata/01_Collection/01_XML/6_change_value_to_attribute.py
e5af8ac67740920fae4e00daa09911777e69e0a2
[]
no_license
Meengkko/bigdata_python2019
14bab0da490bd36c693f50b5d924e27f4a8e02ba
a28e964ab7cefe612041830c7b1c960f92c42ad5
refs/heads/master
2022-12-12T15:51:21.448923
2019-11-08T03:50:15
2019-11-08T03:50:15
195,142,241
0
0
null
2022-04-22T22:37:59
2019-07-04T00:17:18
HTML
UTF-8
Python
false
false
370
py
from xml.etree.ElementTree import Element, dump, SubElement note = Element('note', date="20120104",to="Tove") # to = Element('to') # 자식 노드 # to.text = "Tove" # 현재 앨리먼트(Tag)에 값 추가 # note.append(to) # 부모 노드에 자식노드 추가 SubElement(note, "From").text = "Jani" # SubElement를 활용하여 자식 노드 추가 dump(note)
[ "you@ddd.com" ]
you@ddd.com
922fe3837b1fe1ad442a1198b4d5631ceff4734a
80052e0cbfe0214e4878d28eb52009ff3054fe58
/e2yun_addons/odoo12/e2yun_website_helpdesk_form/__manifest__.py
0f88accae37eadfb417ad8d9b7f0f5ef3c255a0f
[]
no_license
xAlphaOmega/filelib
b022c86f9035106c24ba806e6ece5ea6e14f0e3a
af4d4b079041f279a74e786c1540ea8df2d6b2ac
refs/heads/master
2021-01-26T06:40:06.218774
2020-02-26T14:25:11
2020-02-26T14:25:11
243,349,887
0
2
null
2020-02-26T19:39:32
2020-02-26T19:39:31
null
UTF-8
Python
false
false
1,188
py
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. { 'name': 'e2yun_Online Ticket Submission', 'category': 'Website', 'summary': 'e2yun 服务订单表单在线提交 ', 'description': """在线提交服务订单.""", 'application': True, 'depends': [ 'web', 'website', 'webs...
[ "hepeng1@163.com" ]
hepeng1@163.com