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
125f3eca8985b6337481c57ecb01d50d4d12cd2f
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_25145.py
cc20ebccbcceb580e0202cead14e2afc85781e87
[]
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
59
py
# How to find / import the win32security in python? import
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
6d3560c2179b9703d5955c377a9989b5a7a236c0
34d88082307281333ef4aeeec012a3ff5f8ec06e
/w3resource/basic/Q098.py
c3ed4f05918371d4d44df3cbbb34edc91b0fb439
[]
no_license
JKChang2015/Python
a6f8b56fa3f9943682470ae57e5ad3266feb47a7
adf3173263418aee5d32f96b9ea3bf416c43cc7b
refs/heads/master
2022-12-12T12:24:48.682712
2021-07-30T22:27:41
2021-07-30T22:27:41
80,747,432
1
8
null
2022-12-08T04:32:06
2017-02-02T17:05:19
HTML
UTF-8
Python
false
false
148
py
# -*- coding: UTF-8 -*- # Q098 # Created by JKChang # Wed, 31/05/2017, 15:34 # Tag: # Description: Write a Python program to get the system time.
[ "jkchang2015@gmail.com" ]
jkchang2015@gmail.com
31ee5c556c25850ddd15704dede4c1ff0190e717
83e2824b060cea6290563a63dfc5a2caaddccc32
/problem019.py
3ab4e40b4de9a056bbdaac0afe9cb807e5089a42
[]
no_license
1tux/project_euler
b8f731155eb59c5cdb92efe68f0140695c5b6353
9a6c04d08a77d6e80eb15d203c8003870645415a
refs/heads/master
2021-01-09T20:17:35.502613
2016-10-03T16:19:50
2016-10-03T16:19:50
61,938,647
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
import datetime c = 0 for x in xrange(1901, 2001): for y in xrange(1, 13): if datetime.date(x, y, 1).weekday() == 1: c+=1 print c
[ "root" ]
root
f040059ed129aa620990f466c803b2a2a026b103
00a3f91db1e0bd349a0a120d8980429363446d67
/api/migrations/0004_merge_20180805_1637.py
a0c874598dea406d580c4e4f2a4cf32728b0e65b
[]
no_license
junkluis/cenecu_web
59130894d0584479b352fcd7a119aa2c6185a5e5
078b59308a93e40514b63c130c4506f98f929be4
refs/heads/master
2020-03-25T09:08:02.327198
2018-08-05T21:42:21
2018-08-05T21:42:21
143,649,219
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-08-05 21:37 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0003_auto_20180730_0141'), ('api', '0003_auto_20180729_2237'), ] operations ...
[ "lufezuro@gmail.com" ]
lufezuro@gmail.com
d51f21fe04ab46c872361e77f688ddde25e6690d
1ba68429cd4a1654a66dd7b0a7b8e91f81798073
/cart/admin.py
25928702bc82acc30d13248cd482e57f5dc03454
[]
no_license
crowdbotics-apps/test-002-31939
097234cc8a8870e39ece59640ad66a14c641b708
d669523f2ed3681d487d4a1a65645a642c6413c1
refs/heads/master
2023-08-29T21:34:54.106718
2021-11-12T17:25:07
2021-11-12T17:25:07
427,392,814
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from django.contrib import admin from .models import Content, Product admin.site.register(Product) admin.site.register(Content) # Register your models here.
[ "team@crowdbotics.com" ]
team@crowdbotics.com
fb47a23ad30dfd0ef95a58c450969c5796386e1e
d83f50302702d6bf46c266b8117514c6d2e5d863
/wiggle-sort-ii.py
4e805ab4c2cb628a233a145c8732759446925784
[]
no_license
sfdye/leetcode
19764a6bdb82de114a2c82986864b1b2210c6d90
afc686acdda4168f4384e13fb730e17f4bdcd553
refs/heads/master
2020-03-20T07:58:52.128062
2019-05-05T08:10:41
2019-05-05T08:10:41
137,295,892
3
0
null
null
null
null
UTF-8
Python
false
false
285
py
class Solution: def wiggleSort(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ for i, num in enumerate(sorted(nums)[::-1]): nums[(i * 2 + 1) % (len(nums) | 1)] = num
[ "tsfdye@gmail.com" ]
tsfdye@gmail.com
467a8932a4284ef0c6c865d87ef12e88ea571f4a
3e63608e1cad90bc845c4580723e57ae7ca3f61d
/tests/integration/cartography/intel/github/test_repos.py
e15966d14e0a223c390827fa7a4e0532c091831d
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
lyft/cartography
06dcbf13907cbb9a31b75cd8b21f5721f7cc1b01
830b8944879a01f52b21ee12b6fddf245f9733cb
refs/heads/master
2023-08-31T12:27:59.752452
2023-08-28T20:42:12
2023-08-28T20:42:12
172,811,550
2,778
334
Apache-2.0
2023-09-13T04:59:46
2019-02-27T00:16:29
Python
UTF-8
Python
false
false
8,701
py
import cartography.intel.github import tests.data.github.repos TEST_UPDATE_TAG = 123456789 TEST_JOB_PARAMS = {'UPDATE_TAG': TEST_UPDATE_TAG} TEST_GITHUB_URL = "https://fake.github.net/graphql/" def _ensure_local_neo4j_has_test_data(neo4j_session): repo_data = cartography.intel.github.repos.transform(tests.data....
[ "noreply@github.com" ]
lyft.noreply@github.com
fdc19d0a4f81488f5c242f4dfcda161c70c25497
a8d3471d8d2fa914a0f8bab0495b115e70538430
/handler.py
86e8d3670ac9432144feb56e01bd3d420ea7f28b
[]
no_license
davidbegin/morguebot
a03bbfa46cbfd6b916ace98a2f476e44d4843349
f62d75917d13b4a443c0f3c8e00f7dd82720d9f3
refs/heads/master
2022-12-22T14:52:20.398139
2020-01-17T15:56:04
2020-01-17T15:56:04
213,519,437
8
0
null
2022-12-08T06:49:48
2019-10-08T01:16:15
Python
UTF-8
Python
false
false
529
py
import json import os from glm.generic_lambda_handler import lambda_handler as generic_lambda_handler from flask_app import app import xl_bot import dungeon_gossiper def async_handler(messages, context): print(messages) def lambda_handler(event, context): result = generic_lambda_handler( event=eve...
[ "davidmichaelbe@gmail.com" ]
davidmichaelbe@gmail.com
4ca726894e8a47f19d38fc009e00fb4aaa6896df
bf4be1f469b049dccf41807514a168400e48cdd1
/Related Topics/Bit Manipulation/201. Bitwise AND of Numbers Range.py
c38348cbfcb27e1311a88564532ee0347c21b603
[]
no_license
billgoo/LeetCode_Solution
8bde6844ecc44c61a914f9c88030d8d3e724c947
360d144cee86aae877b6187a07f1957e673c3592
refs/heads/master
2022-04-26T16:10:00.380910
2022-04-20T04:54:06
2022-04-20T04:54:06
155,243,219
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
class Solution: def rangeBitwiseAnd(self, m: int, n: int) -> int: # bits shift """ e = 0 while m != n: m >>= 1 n >>= 1 e += 1 return m << e """ # Brian Kernighan's Algorithm # n & (n - 1) will remove the...
[ "billgoo0813@gmail.com" ]
billgoo0813@gmail.com
073c3efb2dc0e05f5668c065c6a14749d6d65f4c
0e25dc15ae9efce8bfd716d4d2041da07767968b
/qbench/benchmarks/RevLib/OPENQL_converted/cycle10_2_110.py
38015650e921d4e45307087e364e05df9a9bb531
[]
no_license
alxhotel/crossbar-bench
f608fc0062b4f8a5162ec33d61c0204aaf27b6ff
3bf7536e7697d29c3089b0ba564ba22d39698b88
refs/heads/master
2021-07-13T16:06:50.085838
2020-10-04T23:39:05
2020-10-04T23:39:05
213,409,122
3
1
null
null
null
null
UTF-8
Python
false
false
143,382
py
from openql import openql as ql import os import argparse def circuit(config_file, new_scheduler='yes', scheduler='ASAP', uniform_sched= 'no', sched_commute = 'yes', mapper='base', moves='no', maptiebreak='random', initial_placement='no', output_dir_name='test_output', optimize='no', measurement=True, log_level='LOG_W...
[ "alxmorais8@msn.com" ]
alxmorais8@msn.com
b9af3fae8856807e32bf2d31ce7e14ead62f9716
27010a7ad70bf69511858a91d42dc7a64e61b66d
/src/1763_longest_nice_substring.py
f1a96df1b1ba601c788359bfd79537a5f6d61f4a
[ "Apache-2.0" ]
permissive
hariharanragothaman/leetcode-solutions
fb7d967f2c6e3f4c936e3c7afe369415bc8d2dc6
44e759f80d3c9df382fdf8d694d6378881e3649d
refs/heads/master
2023-09-03T20:31:59.200701
2021-10-18T00:50:56
2021-10-18T00:50:56
267,927,538
1
1
null
null
null
null
UTF-8
Python
false
false
1,765
py
""" A string s is nice if, for every letter of the alphabet that s contains, it appears both in uppercase and lowercase. For example, "abABB" is nice because 'A' and 'a' appear, and 'B' and 'b' appear. However, "abA" is not because 'b' appears, but 'B' does not. Given a string s, return the longest substring of s that...
[ "hariharanragothaman@gmail.com" ]
hariharanragothaman@gmail.com
e18acdf10dc10f22be785b412c98734ef4391a78
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_morley.py
562dc425811ab5a69db86c60b1d186302756d5a8
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.morley import morley def test_morley(): """Test module morley.py by downloading morley.csv and testing shape of extracted data has 100 row...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
01e4a166b1a96c6ed40e515a79db2f4f05132979
83957f263305c8021add5f05327381263cc6fdad
/mongrey/server/protocols.py
92242373a487ab32a09578418932680ea295c321
[ "BSD-3-Clause" ]
permissive
srault95/mongrey
d011727bb003ec02dd9797876a2cc055554d0ed9
63a94efd33db04e4b361dd259bfda3e520c305c8
refs/heads/master
2020-05-15T19:50:40.992062
2018-03-11T09:11:46
2018-03-11T09:11:46
35,269,256
0
0
null
2018-03-11T09:11:47
2015-05-08T08:58:12
CSS
UTF-8
Python
false
false
4,686
py
# -*- coding: utf-8 -*- import uuid import logging import re from .. import constants from ..exceptions import InvalidProtocolError line_regex = re.compile(r'^\s*([^=\s]+)\s*=(.*)$') logger = logging.getLogger(__name__) def parse_protocol_line(request): """ example: client_name=123, client_addre...
[ "stephane.rault@radicalspam.org" ]
stephane.rault@radicalspam.org
b429309f8e623409f989dca83d4ff8711914cc70
1b1546cafc9453c4fdb9406533f94ed56206541c
/tests/tutorials/tour/test_decoupled.py
1ca8a8aa8e194c9366c33e5da2f143cb4331d61d
[ "MIT" ]
permissive
pauleveritt/wired
bad7ecadae4f23874598031ae8d17e08ba34ec9b
629f950176a9682a7ccb68efbb27cb2e23b4e93e
refs/heads/master
2020-05-01T06:38:38.728436
2019-04-29T12:43:43
2019-04-29T12:43:43
177,335,238
1
1
MIT
2019-04-23T00:14:34
2019-03-23T20:08:57
Python
UTF-8
Python
false
false
1,029
py
import pytest from wired import ServiceRegistry @pytest.fixture def settings(): from tutorials.tour.decoupled import Settings settings = Settings(punctuation='!!') return settings @pytest.fixture def registry(settings): from tutorials.tour.decoupled import setup r: ServiceRegistry = setup(set...
[ "pauleveritt@me.com" ]
pauleveritt@me.com
2ee8380fc6a904aebb84b742cacca3669f9f7f0a
aea1d61c9a5d445f3a1c328a757dfa02d652f367
/dataset_04__eph_stim_vs_dist/fig9b/code/data/results/all_lfps.py
6880c9a242cd1df2c7015ad340675a073b8c6c85
[]
no_license
ModelDBRepository/263988
bb15ddf953a31ca44ac62ead919e3106389374f8
b1f4bd4931bb1ddcc323108c39e389b9fa4234a0
refs/heads/master
2022-11-21T22:38:24.738870
2020-07-30T00:38:17
2020-07-30T00:38:17
283,632,019
0
0
null
null
null
null
UTF-8
Python
false
false
6,650
py
""" Miguel Capllonch Juan 30 September 2018 Draw together all the LFPs computed with the different methods: - Results from the simulations (RN model) - Using the VC conductor theory """ import numpy as np import matplotlib.pyplot as plt import csv # Recording electrodes rec_els = { 'E': {'pos': (250, 0, 19000), ...
[ "tom.morse@yale.edu" ]
tom.morse@yale.edu
ed22cd98ccc5c3ab583769e5ced040437212592d
3f97f0ba5351aae879cae3c6c073d64077ee96bd
/ch99/photo/migrations/0001_initial.py
14effa898a4c93b21d9524971d9600907b03422d
[ "MIT" ]
permissive
dukuaris/django_web
7b8e63d82718afc2a7aedd97ceed97f8aeab4040
d6e8486999a8db8fc99c4b7dae0ddac402828c9d
refs/heads/master
2023-01-07T09:02:06.316075
2020-01-28T06:46:27
2020-01-28T06:46:27
232,438,676
0
0
MIT
2022-12-27T15:36:34
2020-01-07T23:45:17
HTML
UTF-8
Python
false
false
1,543
py
# Generated by Django 2.2.2 on 2020-01-16 09:54 from django.db import migrations, models import django.db.models.deletion import photo.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Album', ...
[ "dukuaris@gmail.com" ]
dukuaris@gmail.com
a150f25eb027d1b21cf74cf109a18e85acada783
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/apimanagement/azure-mgmt-apimanagement/generated_samples/api_management_user_confirmation_password_send.py
793650579dac2e949735e69fe128bc5958cef7ad
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,638
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
4b7332355084b28ef509efbcfa0245ab7dafc7c7
eb82022c0cfc7c8747661cff9624ad2099fa1c3f
/dev_recap_invoice/models/recap_invoice.py
49c018ea5e561d7472a9a8bf5373cc7adc07fe2e
[]
no_license
dadysuarsa/Odoo
8d026a066c390cc8f72805d2672212e61260c1cb
c9becd0c192fa239520ad3e1a11d81f70832eddf
refs/heads/master
2023-03-11T06:02:06.011575
2021-02-26T02:17:37
2021-02-26T02:17:37
276,346,540
0
0
null
null
null
null
UTF-8
Python
false
false
18,488
py
# -*- coding: utf-8 -*- from odoo import models, fields, api,_ from odoo.exceptions import UserError, Warning from odoo.tools import float_is_zero, float_compare, DEFAULT_SERVER_DATETIME_FORMAT from odoo.tools.misc import formatLang from odoo import time from datetime import datetime from openerp.tools import amount_...
[ "dads02_zetti@yahoo.com" ]
dads02_zetti@yahoo.com
605f661973bbbcd2a3ae449efe253b4c8fb5f8d1
a3eb732ead7e1d10a85a88e42dc639eb16a40265
/instagram_api/exceptions/login_required.py
17efdeb06ecf91b72d2beb3c97a51eae69770f8a
[ "MIT" ]
permissive
carsam2021/instagram_api
7654c0f485c22935cf478016e46e65acbeda9344
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
refs/heads/master
2023-03-16T14:06:27.515432
2020-10-17T04:39:19
2020-10-17T04:39:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
from .request import RequestException class LoginRequiredException(RequestException): pass
[ "root@proscript.ru" ]
root@proscript.ru
bb9907066005e577a1998be045ba95d25cf0401b
48bb4a0dbb361a67b88b7c7532deee24d70aa56a
/codekata/greatese.py
5bf5eea99317b8d7235f806cd8e0e600b1945704
[]
no_license
PRAMILARASI/GUVI
66080a80400888263d511138cb6ecd37540507c7
6a30a1d0a3f4a777db895f0b3adc8b0ac90fd25b
refs/heads/master
2022-01-28T08:54:07.719735
2019-06-24T15:57:05
2019-06-24T15:57:05
191,355,070
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
x=int(input("")) y=int(input("")) z=int(input("")) if(x>y>z): largest=x print(largest) elif(y>z): largest=y print (largest) else: largest=z print(largest)
[ "noreply@github.com" ]
PRAMILARASI.noreply@github.com
b8c9672e42c3bf90c709b694832601d20977efac
14f455693213cae4506a01b7d0591e542c38de79
/apps/profile/urls.py
ae3b903bd2e0bbdeddb2002969555017bac9927d
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Cvalladares/Newsblur_Instrumented
f0b14d063759973330f202108a7eed3a29bcc033
4d6ee6aa9713879b1e2550ea5f2dbd819c73af12
refs/heads/master
2022-12-29T15:19:29.726455
2019-09-03T17:09:04
2019-09-03T17:09:04
206,130,022
0
0
MIT
2022-12-10T06:00:26
2019-09-03T17:07:04
Python
UTF-8
Python
false
false
2,248
py
from django.conf.urls import * from apps.profile import views urlpatterns = patterns('', url(r'^get_preferences?/?', views.get_preference), url(r'^set_preference/?', views.set_preference), url(r'^set_account_settings/?', views.set_account_settings), url(r'^get_view_setting/?', views.get_view_set...
[ "Cvalladares4837@gmail.com" ]
Cvalladares4837@gmail.com
d741cbbed408cd89eba80b859cd1b82ff07f0c56
5f364b328d0e7df6f292dbbec266995f495b2ed4
/src/python/txtai/vectors/words.py
1cac062ec92c54e5a3ac71630cd7282b202a50b2
[ "Apache-2.0" ]
permissive
binglinchengxiash/txtai
a17553f57ddd857ff39a7d0b38e24930f5c71596
1513eb8390f01848742e67690b6e4bc6452101ee
refs/heads/master
2023-04-03T18:59:35.845281
2021-04-05T22:05:15
2021-04-05T22:05:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,715
py
""" Word Vectors module """ import os import pickle import tempfile from errno import ENOENT from multiprocessing import Pool import fasttext import numpy as np from pymagnitude import converter, Magnitude from .base import Vectors from ..pipeline.tokenizer import Tokenizer # Multiprocessing helper methods # pyli...
[ "561939+davidmezzetti@users.noreply.github.com" ]
561939+davidmezzetti@users.noreply.github.com
31016d76561425d939332319e1c3c3f3630350a1
5808f74f1825919da58ae91829ff4516623eb79d
/2020/new_python_concepts/02_floats.py
00d580b96499450bff11db1b8e67cafef9cebf04
[ "MIT" ]
permissive
hygull/stkovrflw
e2d78c8614b8d9646e3458926d71d13dfa75e2d4
f341727c7e42b6e667345f12814ab1f2479f1b89
refs/heads/master
2023-07-19T11:56:45.818534
2022-03-19T18:13:47
2022-03-19T18:13:47
132,311,923
0
1
MIT
2023-07-16T21:27:08
2018-05-06T06:10:14
Python
UTF-8
Python
false
false
254
py
def func(p1: float, p2: float) -> float: print(p1 + p2) # return None """ floats.py:3: error: Incompatible return value type (got "None", expected "float") Found 1 error in 1 file (checked 2 source files) """ return p1 + p2
[ "rishikesh0014051992@gmail.com" ]
rishikesh0014051992@gmail.com
17d1e40c434aaf3fc57628e1fe5cf9356c36542a
97724145652ba49c5aacaf66d54a89f71c3f6426
/10-Testing-Exercise/mammal/test/test_mammal.py
f7874ed1536182fc6484460f09845535d717ac08
[]
no_license
l-damyanov/Python-OOP---February-2021
c0d729c99d6af44a55ee7f7a05cf66fb6d69876b
e92417ed38f1b24405973b2027c11201d09ddb83
refs/heads/main
2023-03-31T07:45:09.347412
2021-04-01T20:24:27
2021-04-01T20:24:27
341,599,115
1
0
null
null
null
null
UTF-8
Python
false
false
826
py
import unittest from mammal.project.mammal import Mammal class TestMammal(unittest.TestCase): def setUp(self): self.mammal = Mammal("Test mammal", "predator", "roar") def test_attr_set_up(self): self.assertEqual("Test mammal", self.mammal.name) self.assertEqual("predator", self.mamma...
[ "l_l_damyanov@abv.bg" ]
l_l_damyanov@abv.bg
da12d3c31d5a691fa0565cbeff1fae9483d8d99b
93e9bbcdd981a6ec08644e76ee914e42709579af
/devide_and_conquer/315_Count_of_Smaller_Numbers_After_Self.py
e99b6ea88b209f2414fdefe3366889f075cf4bbd
[]
no_license
vsdrun/lc_public
57aa418a8349629494782f1a009c1a8751ffe81d
6350568d16b0f8c49a020f055bb6d72e2705ea56
refs/heads/master
2020-05-31T11:23:28.448602
2019-10-02T21:00:57
2019-10-02T21:00:57
190,259,739
6
0
null
null
null
null
UTF-8
Python
false
false
2,254
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ https://leetcode.com/problems/count-of-smaller-numbers-after-self/description/ You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number of smaller elements to the right of nums[i]. ...
[ "vsdmars@gmail.com" ]
vsdmars@gmail.com
7e8eed3e3e234e712b3ae2ebb9a56d9680629cb5
64a955664b82be8ed149d01149b36a8aac626f8e
/chapter5/p5.py
5ed71fd3dd2d87de56d123944936a15d519c8c03
[]
no_license
JoelDavisP/Python-Practice-Book-Solutions
b60371590d8aaecab9de6ccad2bf2efb7a2f90ae
ea298d35e50d3719d5b0b841748abfd0c852cc95
refs/heads/master
2021-07-14T04:52:40.678170
2017-10-18T13:26:50
2017-10-18T13:26:50
105,724,396
0
0
null
null
null
null
UTF-8
Python
false
false
652
py
import os import sys def lines_py(): """It compute the total number of lines of code in all python files (.py extension) in a specified directory recursively. """ dname = sys.argv[1] dpath = os.path.abspath(dname) line_count = 0 for fpath,dnames,fnames in os.walk(dpath): for i i...
[ "joeldavisp17195@gmail.com" ]
joeldavisp17195@gmail.com
e4ca53294f3bb722d6cea8e2f23af4c97b3e01e8
cd781c114deb0ee56fcd8e35df038397ebf8dc09
/Mid Exams/Array Modifier.py
0beeaf038595a84c7b956ebade8230279bf00e54
[]
no_license
GBoshnakov/SoftUni-Fund
4549446c3bb355ff74c14d6071d968bde1886de5
de9318caaf072a82a9be8c3dd4e74212b8edd79e
refs/heads/master
2023-06-06T04:56:14.951452
2021-06-30T21:50:44
2021-06-30T21:50:44
381,817,178
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
numbers = [int(n) for n in input().split()] command = input() while command != "end": command = command.split() action = command[0] if action == "swap": index_1 = int(command[1]) index_2 = int(command[2]) numbers[index_1], numbers[index_2] = numbers[index_2], numbers[index_1] ...
[ "boshnakov.g@gmail.com" ]
boshnakov.g@gmail.com
ae794f51c213d3b803cc088b8c557a9b5dd56371
b7b7342a7369117cb98de55f697153e875eecbbc
/example.py
098d2dcfbcfa00aab247a6a943daee18f895b5ad
[ "MIT" ]
permissive
zzygyx9119/nglesspy
953a3ab084b7df72df522076b3cd094e4a02ba12
3cfa28ea8fe2fdc3c08ac80a5949844544489cc9
refs/heads/master
2022-11-18T20:38:45.927728
2020-07-16T19:56:42
2020-07-16T19:57:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from ngless import NGLess sc = NGLess.NGLess('0.0') sc.import_('mocat', '0.0') e = sc.env e.sample = sc.load_mocat_sample_('testing') @sc.preprocess_(e.sample, using='r') def proc(bk): bk.r = sc.substrim_(bk.r, min_quality=25) sc.if_(sc.len_(bk.r) < 45, sc.discard_) e.mapped = sc.map_(e.sample,...
[ "luis@luispedro.org" ]
luis@luispedro.org
818ff902546aedaae8aaab629c81c725f1bf8b91
a94e8b83bb2a4ccc1fffbd28dd18f8783872daab
/Mock CCC/Mock CCC19S2 Pusheens Puzzle Present.py
aec48957b55fe819a6e6614885614ac56d2f56d4
[]
no_license
MowMowchow/Competitive-Programming
d679c1fe2d7d52940dc83a07dc8048922078704e
0ec81190f6322e103c2ae0ad8c3935bd4cdfff46
refs/heads/master
2022-03-03T03:01:03.383337
2022-02-17T07:27:45
2022-02-17T07:27:45
184,678,148
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
import sys import math n = int(sys.stdin.readline()) grid = [[int(x) for x in sys.stdin.readline().split()] for x in range(n)] counter = 1 sublength = 0 for row in grid: for curr in range(n-1): if row[curr] != row[curr+1] - 1: sublength += 1 break #counter += 1 print(s...
[ "darkstar.hou2@gmail.com" ]
darkstar.hou2@gmail.com
4e9cf1128c2b20e84ccb9cb2a506b60bd1d92535
4d4899e54a8a97fad2039350f16c50245a4e0810
/source/todoapp/migrations/0003_task_full_description.py
09595c6bfdf9b7d031b76dd1d3c8ead3665d189d
[]
no_license
UuljanAitnazarova/python_homework_45_To_do_list
f7f4925bff987d5a13e52b48f745a4bddb72c440
592bd5ad8ac61f1147e7bf5ffe49f899a9a0c7cd
refs/heads/master
2023-03-12T12:28:24.234398
2021-03-04T08:52:25
2021-03-04T08:52:25
341,508,360
0
1
null
null
null
null
UTF-8
Python
false
false
469
py
# Generated by Django 3.1.7 on 2021-02-26 10:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('todoapp', '0002_auto_20210223_1242'), ] operations = [ migrations.AddField( model_name='task', name='full_descriptio...
[ "u.aitnazarova@gmail.com" ]
u.aitnazarova@gmail.com
b26307c5e31b8ab3a89d2da60b1358d6b3f6cf7a
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PyQt5/QtWidgets/QGraphicsObject.py
ecd995203686bcbec70e38142191c515aad5938a
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
5,227
py
# encoding: utf-8 # module PyQt5.QtWidgets # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtWidgets.pyd # by generator 1.146 # no doc # imports import PyQt5.QtCore as __PyQt5_QtCore import PyQt5.QtGui as __PyQt5_QtGui import sip as __sip from .QGraphicsItem import QGraphicsItem ...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
dbc6452150f8f06e22b66ac18298bc53ce7bdf3a
8bb4a472344fda15985ac322d14e8f4ad79c7553
/Python3-Core/src/main/prompto/runtime/WidgetField.py
66b4317c7bea2bed240b1d845097bc99cc1af084
[]
no_license
prompto/prompto-python3
c6b356f5af30c6826730ba7f2ad869f341983a2d
64bd3d97d4702cc912097d41d961f7ab3fd82bee
refs/heads/master
2022-12-24T12:33:16.251468
2022-11-27T17:37:56
2022-11-27T17:37:56
32,623,633
4
0
null
2019-05-04T11:06:05
2015-03-21T07:17:25
Python
UTF-8
Python
false
false
201
py
from prompto.runtime.Variable import Variable from prompto.type.IType import IType class WidgetField(Variable): def __init__(self, name: str, itype: IType): super().__init__(name, itype)
[ "eric.vergnaud@wanadoo.fr" ]
eric.vergnaud@wanadoo.fr
191484b45d9f5be8b3b00a8c2a6d15772c38782c
abc72a2f2072ab7a5a338e41d81c354324943b09
/tarefa11/sugestao.py
9c645d2ab609253931239f50b72395ec34a5b090
[]
no_license
gigennari/mc102
a3d39fd9a942c97ef477a9b59d7955f4269b202a
fce680d5188a8dfb0bc1832d6f430cbcaf68ef55
refs/heads/master
2023-04-05T01:40:58.839889
2020-07-27T20:33:56
2020-07-27T20:33:56
354,130,720
0
0
null
null
null
null
UTF-8
Python
false
false
3,420
py
""" Escreva um programa que, dadas duas palavras, sugere ao usuário qual será a próxima palavra, tal que essa escolha seja baseada na probabilidade de que essas três palavras apareçam nessa ordem em um determinado texto. Entrada: 1ª linha - o caminho do arquivo de texto 2ª linha - sequência de pares de palavras, um p...
[ "g198010@dac.unicamp.br" ]
g198010@dac.unicamp.br
2a8baba7315e41a92db6cbdea5ef52408fcb9143
fd308ec9cb448c2b47ec4736b670ce452b70800d
/sdap/jobs/views.py
b66d02ed32f0fabf23b619815af97c5d649e5c8f
[ "MIT" ]
permissive
umr1085-irset/reproGenomicsViewer
d4d8c52fbe72a1824812d2f5a7574be7ce58f9b5
700bbe817596b27a05ed75a8761506c5004f340f
refs/heads/master
2023-05-25T01:55:42.333286
2023-05-15T10:02:54
2023-05-15T10:02:54
219,467,036
0
4
MIT
2022-02-11T09:44:32
2019-11-04T09:46:02
JavaScript
UTF-8
Python
false
false
3,463
py
import os from datetime import datetime from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from django.views import generic from django.utils import timezone from django.views import View from django.shortcuts import redirect from django....
[ "dardethomas@gmail.com" ]
dardethomas@gmail.com
f555c688d0fc632999966fdd07767c457fa0ab21
be12916ec075c76469946f6da2cdde4857141702
/771_2.py
3c283b6a4ace661e675538e93277637a7552e724
[]
no_license
goodsosbva/algorithm
7b2f9b1a899e43c7d120ab9d40e672be336a23d9
0bc44e9466d2d32a4b4e126e073badc60172da6e
refs/heads/main
2023-08-06T19:34:40.630006
2021-09-20T10:34:41
2021-09-20T10:34:41
334,918,056
3
0
null
null
null
null
UTF-8
Python
false
false
361
py
import collections def newJewelsInStones(J: str, S: str) -> int: freqs = collections.Counter(S) # 돌(S) 빈도 수 계산 count = 0 # 비교 없이 보석(j) 빈도 수 계산 for char in J: count += freqs[char] return count jew = "aA" stone = "aAAbbbb" jcount = newJewelsInStones(jew, stone) print(...
[ "noreply@github.com" ]
goodsosbva.noreply@github.com
12e27a1ffb5b0c67c43f8b2c732fb638e6d2fa70
6b5431368cb046167d71c1f865506b8175127400
/challenges/n-primeiros-numeros-primos/tests.py
f921a7fcdf0065d0389c1479673886c2e732c226
[]
no_license
Insper/design-de-software-exercicios
e142f4824a57c80f063d617ace0caa0be746521e
3b77f0fb1bc3d76bb99ea318ac6a5a423df2d310
refs/heads/master
2023-07-03T12:21:36.088136
2021-08-04T16:18:03
2021-08-04T16:18:03
294,813,936
0
1
null
2021-08-04T16:18:04
2020-09-11T21:17:24
Python
UTF-8
Python
false
false
910
py
from strtest import str_test def eh_primo_gabarito(n): if n == 2: return True if n == 0 or n == 1 or n % 2 == 0: return False d = 3 while d < n: if n % d == 0: return False d += 2 return True def gabarito_dos_professores(n): encontrados = 0 i =...
[ "andrew.kurauchi@gmail.com" ]
andrew.kurauchi@gmail.com
92fa4c4cee9bfd46c826875c760c60269d31c06f
fcdbf22231739b61bbd4da531fcacf0c6f08c4bf
/services/lasso_regression/prod.config.py
0ba5c9b0f0b2531fae1cba7e4b5ac173809e1241
[]
no_license
revotechUET/wi-uservice
2a3f169a4a9735bb3167d8bef75baceab11b2a04
33f2ad2f0a329fc1f54153b0ebb775f2bd74d631
refs/heads/master
2023-04-15T14:58:36.183521
2023-04-07T09:39:48
2023-04-07T09:39:48
179,446,650
0
1
null
2022-12-08T01:51:59
2019-04-04T07:39:07
Python
UTF-8
Python
false
false
1,939
py
import os import multiprocessing bind = '0.0.0.0:80' backlog = 2048 workers = multiprocessing.cpu_count() worker_class = 'sync' or os.environ.get("WORKER_CLASS") worker_connections = 1000 timeout = 30 keepalive = 2 reload = False spew = False daemon = False raw_env = [ "DB_HOST="+os.environ.get("DB_HOST", "127.0...
[ "thinhlevan2015@gmail.com" ]
thinhlevan2015@gmail.com
498c7a424a202f8d8629df7baa5c9d2d5e91499c
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/chrisglass-django-rulez/allPythonContent.py
a90e7aa3a09934bbd17fa7fa477a3eb695a70f59
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,902
py
__FILENAME__ = backends # -*- coding: utf-8 -*- import inspect from exceptions import NotBooleanPermission from exceptions import NonexistentFieldName from rulez import registry class ObjectPermissionBackend(object): supports_object_permissions = True supports_anonymous_user = True supports_i...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
c2d2b5d7a681a9da5144059d9d26d2b5fce68443
c4b7399a10b7f963f625d8d15e0a8215ea35ef7d
/225.用队列实现栈.py
30aed3284d9d2a250a13ade1686b9a592683c1e3
[]
no_license
kangkang59812/LeetCode-python
a29a9788aa36689d1f3ed0e8b668f79d9ca43d42
276d2137a929e41120c2e8a3a8e4d09023a2abd5
refs/heads/master
2022-12-05T02:49:14.554893
2020-08-30T08:22:16
2020-08-30T08:22:16
266,042,478
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
# # @lc app=leetcode.cn id=225 lang=python3 # # [225] 用队列实现栈 # # https://leetcode-cn.com/problems/implement-stack-using-queues/description/ # # algorithms # Easy (64.30%) # Likes: 158 # Dislikes: 0 # Total Accepted: 45.7K # Total Submissions: 71.1K # Testcase Example: '["MyStack","push","push","top","pop","empty...
[ "596286458@qq.com" ]
596286458@qq.com
9b8c1f144c99095882b7063ecfbd996ea85ad76d
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/model_control/detailed/transf_Anscombe/model_control_one_enabled_Anscombe_PolyTrend_Seasonal_Second_MLP.py
5f171286f0c82166bee8bda1463b423ed0a90ed9
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
162
py
import pyaf.tests.model_control.test_ozone_custom_models_enabled as testmod testmod.build_model( ['Anscombe'] , ['PolyTrend'] , ['Seasonal_Second'] , ['MLP'] );
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
06dd6b5555c649a9e05af4e1aba0d16b729d5704
04164e028417ff8472b9f2bfec0ec45b0888f743
/development/interface-pyqt/huge_0d/huge_0d.py
73f9c7d148eb66cc4f4c236bcc06da783dbc9417
[]
no_license
Huaguiyuan/quantum-honeycomp
c2b810ff5f5e25d41b1f0c1c1ff7ae500b04dc31
50deb0e59fffe4031f05094572552ca5be59e741
refs/heads/master
2020-03-22T19:09:58.148862
2018-07-08T19:51:58
2018-07-08T19:51:58
140,510,217
1
2
null
2018-07-11T02:20:32
2018-07-11T02:20:32
null
UTF-8
Python
false
false
15,274
py
#!/usr/bin/python from __future__ import print_function import sys import os import time qhroot = os.environ["QHROOT"] # root path sys.path.append(qhroot+"/interface-pyqt/qtwrap") sys.path.append(qhroot+"/pysrc/") # python libraries import qtwrap # import the library with simple wrappaers to qt4 get = qtwrap.get ...
[ "jose.luis.lado@gmail.com" ]
jose.luis.lado@gmail.com
3e08d654f048917a2b0e628dff9d3407f41d5863
d7d9cc992a15572460da83b7bf0336f4d65bee05
/ZoneKiller.py
b97508058ad3d77ebe4013199bbcd6eee14296e2
[]
no_license
toustyj/XAttacker-3.x
462c7e19e7b1064712185342b695657d63296ceb
576e9f0097e9c609e41ae7411b85cad001288026
refs/heads/main
2023-05-01T02:25:29.710971
2021-05-17T20:05:15
2021-05-17T20:05:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,802
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #Ne touche pas le script -_- #Don't Edit Logo -_- import requests, httplib, urllib import socket from platform import system import os import sys, time import re import threading from multiprocessing.dummy import Pool from colorama import Fore from colorama impo...
[ "50776038+chuxuantinh@users.noreply.github.com" ]
50776038+chuxuantinh@users.noreply.github.com
797fb5e4b44f2abe5c67ca7a0b9b2fba00dcd1e2
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/7_graph/经典题/置换环/amidakuji鬼脚图/1-最少的横线构造amidakuji.py
32ff9e00794f1b88811986c870be0e27ba2b7ac0
[]
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
889
py
# 冒泡排序邻位交换 构造amidakuji的横线 from typing import List def amidakuji(ends: List[int]) -> List[int]: """ 冒泡排序构造amidakuji的横线 Args: ends: 每个点最后的位置 (1-index) Returns: 鬼脚图的横线,一共m条,从上往下表示. lines[i] 表示第i条横线连接 line[i] 和 line[i]+1. (1-index) """ n = len(ends) res ...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
5069b7fa589dea216ef97b476055fcf630474880
39dac505e0814d8f73d21576085b02e5e54d9b05
/67.py
4b3bbfabcd2eafad0676f05c08d42b459cf43d65
[]
no_license
gxmls/Python_Leetcode
4b2ce5efb0a88cf80ffe5e57a80185ca5df91af2
2a9bb36c5df0eaba026183a76deb677c5bd7fd2d
refs/heads/main
2023-06-08T03:45:43.548212
2021-06-22T09:46:44
2021-06-22T09:46:44
362,726,420
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
''' 给你两个二进制字符串,返回它们的和(用二进制表示)。 输入为 非空 字符串且只包含数字 1 和 0。 示例 1: 输入: a = "11", b = "1" 输出: "100" 示例 2: 输入: a = "1010", b = "1011" 输出: "10101" 提示: 每个字符串仅由字符 '0' 或 '1' 组成。 1 <= a.length, b.length <= 10^4 字符串如果不是 "0" ,就都不含前导零。 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/add-binary 著作权归领扣网络所有。商业转载请联系官方授权...
[ "noreply@github.com" ]
gxmls.noreply@github.com
94db114f318aa9b8d5bb675594da7ce584d26625
1f700dad5a6cae92d2f918098e5d6ffb92ead725
/tests/path/compressed_stream_path_spec.py
dd265d90b7bdc40125f173b57997c89a59e064a1
[ "Apache-2.0" ]
permissive
devgc/dfvfs
5cdf4fc8a984a4768877536128cee60d53e89834
a0196808f569e4c5f947c458945cd0a17d1abab5
refs/heads/master
2020-04-05T23:42:11.088128
2016-08-23T16:50:16
2016-08-23T16:50:16
66,384,661
1
0
null
2016-08-23T16:36:10
2016-08-23T16:36:07
Python
UTF-8
Python
false
false
1,618
py
#!/usr/bin/python # -*- coding: utf-8 -*- """Tests for the compressed stream path specification implementation.""" import unittest from dfvfs.path import compressed_stream_path_spec from tests.path import test_lib class CompressedStreamPathSpecTest(test_lib.PathSpecTestCase): """Tests for the compressed stream p...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
d9c5c465a1e726456f0258d91c27dba9bc8f31e3
3445d4fbc85d962235ff9036c687cf1c6061a6fc
/src/vabene/__init__.py
0bc80208f2a5ae2b04a9673c604b99b944b302db
[ "MIT" ]
permissive
LaYeqa/vabene
c16c177c03abb10569a4ac98667165d0252e8795
e69ffe8d8509b5ff775a8c31528f53c09d6bab7c
refs/heads/master
2022-12-27T09:42:50.369092
2020-09-22T10:07:30
2020-09-22T10:07:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
from .atom import * # noqa from .bond import * # noqa from .molecule import * # noqa __version__ = '0.0.5'
[ "lukasturcani93@gmail.com" ]
lukasturcani93@gmail.com
6b2635ba044761b70c21a0615dfe7ff99392f967
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/frameRelay_template.py
ec8c961f3acb1c4fdc24e612b525e265eee952f2
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
5,002
py
from ixnetwork_restpy.base import Base from ixnetwork_restpy.files import Files class FrameRelay(Base): __slots__ = () _SDM_NAME = 'frameRelay' _SDM_ATT_MAP = { 'Address2ByteDlciHiOrderBits': 'frameRelay.header.frameRelayTag.frameRelay.address.address2Byte.dlciHiOrderBits-1', 'Add...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
9cc6e234709a6d622d8926ba526193a4ea03dac5
3ef70fe63acaa665e2b163f30f1abd0a592231c1
/stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_conch.py
dbbe3beb5646d0d4a32b80d2eb395ec44f5e24af
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
wistbean/learn_python3_spider
14914b63691ac032955ba1adc29ad64976d80e15
40861791ec4ed3bbd14b07875af25cc740f76920
refs/heads/master
2023-08-16T05:42:27.208302
2023-03-30T17:03:58
2023-03-30T17:03:58
179,152,420
14,403
3,556
MIT
2022-05-20T14:08:34
2019-04-02T20:19:54
Python
UTF-8
Python
false
false
25,140
py
# -*- test-case-name: twisted.conch.test.test_conch -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. import os, sys, socket import subprocess from itertools import count from zope.interface import implementer from twisted.python.reflect import requireModule cryptography = requireModule("cr...
[ "354142480@qq.com" ]
354142480@qq.com
c575a9c2ea029a2616fb7aa34165dc2b935eb63a
3b863f7e7efea09f5a120eb8c323e5a3742b82b3
/LevelSelection_Page/LevelSelection_Page.pyde
23a2c39a016791744f8abcef5874cfa5058a187b
[]
no_license
TriceG/DNA_Project
b6096fbc91c35621b659dd5154a1972a9674d881
469df295120fbfe32070fd973c55f36b2af99341
refs/heads/master
2021-01-19T21:32:24.914550
2017-06-20T14:15:27
2017-06-20T14:15:27
88,661,601
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
pyde
def setup(): background(37, 154, 247) size(800, 500) def draw(): fill(225) rectMode(CENTER) #beginerButton rect(400, 175, 150, 50) #intermediateButton rect(400, 275, 239, 50) #advancedButton rect(400, 375, 190, 50) textSize(30) #title text("Select ...
[ "none@none" ]
none@none
8dbbb798fd7d365ab6925e56271b3e38fd9151e3
d229480fb037442bfc2d895e300fdab89d06e1f6
/examples/train_cornac.py
739d5ecca174fe68cffed861aa5a7481900cda49
[]
no_license
anonymcodes/t-vbr
939c8eebed4e6ecbe4e85b26b296b5e16bb0b445
c8d37aee05de5060a98fac74421a28db0a7eaa4c
refs/heads/master
2023-08-09T01:55:12.295567
2020-12-03T02:06:18
2020-12-03T02:06:18
264,423,776
2
0
null
2023-07-23T17:09:20
2020-05-16T11:40:02
Python
UTF-8
Python
false
false
6,934
py
import numpy as np import pandas as pd import pickle import argparse import json import torch.optim as optim from torch import Tensor from torch.utils.data import DataLoader import torch import torch.nn as nn import torch.optim as optim from tqdm import tqdm from livelossplot import PlotLosses import GPUtil import os i...
[ "your@email.com" ]
your@email.com
24bd01eef13ac27c129556df9c4bdd7e0d6ad861
44b869c9ddcfd8afa429a6a4758c6acdac62f9c1
/users/admin.py
c13af5a0c2a73efaf7790a0cc239c9c99a1fafdc
[]
no_license
paulitstep/blog-api
7507394eb008c6c1bd30e5699bb33e9e37cfac52
5ce6d84495fa9b6d32b38d7d99412858ff3bc077
refs/heads/main
2023-04-06T12:56:00.364861
2021-04-16T09:28:09
2021-04-16T09:28:09
357,801,983
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from users.models import NewUser class UserAdminConfig(UserAdmin): model = NewUser search_fields = ('email', 'user_name',) list_filter = ('email', 'user_name', 'is_staff', 'is_active') list_display = ('email', 'id', 'user...
[ "pasha-mo1@rambler.ru" ]
pasha-mo1@rambler.ru
17c45d94efa8018ba6165c376fcf4a8981629f48
c5bc44b4bb7aa0b8e6df81c198e9803eb0f060ce
/pro_tracker/issue/views.py
7a365ad081af225db4a559345972d6c6de5b7ae1
[]
no_license
hyperloop11/Progress-tracking-website
4821b1c17b04b223b1a20610b1612b11b0a54ce3
7c3bd77a0b0605994b001544fc809c1e52a18f82
refs/heads/master
2023-06-21T12:06:26.531345
2021-08-05T07:21:37
2021-08-05T07:21:37
298,636,249
0
0
null
null
null
null
UTF-8
Python
false
false
5,218
py
from django.shortcuts import render, get_object_or_404 from django.views.generic import ( ListView, DetailView, CreateView, UpdateView, ) from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from .models import Issue from django.contrib.auth.models import User, Permission from .forms i...
[ "=" ]
=
ff74906e1d238386e472c15bcbccc2be7332b80d
07c6d3055eda7b1ddb16ce9444166ed311ce3219
/clioinfra/api/api.py
10ccb10f6b4e9681ba2e04d6ad25cbc7680efb5d
[]
no_license
IISH/dpe
4df9b0576b5419e543c61ce9ef14380ddc4b5c03
6509b06aa03242f450766d4cb5d8984f14146b11
refs/heads/master
2021-01-10T17:52:54.775316
2016-05-04T09:50:46
2016-05-04T09:50:46
42,994,984
1
0
null
null
null
null
UTF-8
Python
false
false
41,817
py
# Copyright (C) 2015-2016 International Institute of Social History. # @author Vyacheslav Tykhonov <vty@iisg.nl> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License, version 3, # as published by the Free Software Foundation. # # This pr...
[ "4tikhonov@gmail.com" ]
4tikhonov@gmail.com
7a3fcd2835b9f9190930f94600a4aafaaaa3423b
128e2652e2f0a4b4be57894bffab461c90170657
/tej_python/basics/files/seek.py
656f78a1ef2076688bbeb29b34170fdcee8bf41b
[]
no_license
tejadeep/Python_files
ec2695ec844e723d0784a67bd13c9a178c0aa601
43fde84dd62543e5ed9896177949cca877fdb858
refs/heads/master
2020-06-11T04:35:55.850108
2019-08-08T07:23:23
2019-08-08T07:23:23
193,851,082
0
0
null
2019-06-26T07:19:34
2019-06-26T07:19:34
null
UTF-8
Python
false
false
52
py
f=open("text","r") f.seek(5,1) a=f.read() print (a)
[ "you@example.com" ]
you@example.com
7ea31f1d5cee13bb05992a54895bdc6027e86ed4
5deca81ecb729fdb1e14511b7fdb65e5f3b277de
/2_sentiment/submission_v3.py
867249d65f4d33c72710ac1ca021d7e5f65d622c
[]
no_license
anatu/CS221-Fall2018
6a0e170ada7ba8794d9e93dee875fc1a072e4692
03dbcf7cb7da953877171b311be9d0e2aacec30c
refs/heads/master
2021-03-20T06:01:52.122056
2020-03-14T00:22:10
2020-03-14T00:22:10
247,183,322
1
0
null
null
null
null
UTF-8
Python
false
false
7,968
py
#!/usr/bin/python import random import collections import math import sys from util import * ############################################################ # Problem 3: binary classification ############################################################ ############################################################ # Prob...
[ "natu.anand@gmail.com" ]
natu.anand@gmail.com
ee3997b39a5d30d9f9dd95a3f9021ff2a495f82f
19919c7c7f4ccfc4842e016c8ece818cd144de14
/Yaml/Read_Yaml.py
c8430249f60c60a6bf80499260dc9591569fc42c
[]
no_license
Cz1660/GitTestSetting_0225
b9e08e74dc0eb27aa39f204763140f0d772e5796
ba59ca5b16d1e9784a19b2c70d7ca27e923289f4
refs/heads/master
2020-04-25T02:52:49.869443
2019-02-25T08:08:21
2019-02-25T08:08:21
172,456,529
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
import os,yaml class Read_Yaml: def __init__(self,file_name): self.path = os.getcwd() + os.sep + 'Yaml' + os.sep + file_name def read_yaml(self): with open(self.path,'r',encoding='utf-8') as f: self.yaml_data = yaml.load(f) return self.yaml_data
[ "you@example.com" ]
you@example.com
34e92db0841af367e4b0346a4077887143c981bd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p00002/s447243661.py
ec5ea4eb25e8b12e086a6e676b80ee789fd3efbc
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
import sys [print(len(str(sum([int(y) for y in x.split(" ")])))) for x in sys.stdin]
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
29508b8c62c4dfc7ece26c6ae621b64c84e7d5da
1368e2beda67052140a51fd53eb7a12941124320
/Python 3/1541.py
72fe04dada81de5994973cd36cbc76aecd070127
[]
no_license
matheuskolln/URI
ac540fd4ea18c9b3ba853492dc60157c165145cf
b9091ed1c5b75af79cb25827aff8aab99d2e4b65
refs/heads/master
2023-03-09T23:17:17.865447
2021-02-25T16:47:24
2021-02-25T16:47:24
272,043,082
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
while True: n = [int(x) for x in input().split(' ')] if n[0] == 0: break a = n[0] * n[1] i = 0 while i * i * n[2] / 100 <= a: i += 1 print(i - 1)
[ "matheuzhenrik@gmail.com" ]
matheuzhenrik@gmail.com
de86bd936a9bc7afa59da85369c6a2c0b220a168
f8ffa8ff257266df3de9d20d95b291e393f88434
/Python from scratch/Zadania/zadania podczas zajęć/zajęcia11/zadanie01/zadanie01+a.py
ac892bb38f756545548af1328c3d3f7cef2f15c5
[]
no_license
janiszewskibartlomiej/Python_Code_Me_Gda
c0583c068ef08b6130398ddf93c3a3d1a843b487
7568de2a9acf80bab1429bb55bafd89daad9b729
refs/heads/master
2020-03-30T05:06:26.757033
2020-03-02T08:53:28
2020-03-02T08:53:28
150,781,356
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
from datetime import datetime data_urodzenia = input('Wprowadź datę urodzin celebryty w formacie [RRRR-MM-DD]:') try: konwertowanie_daty = datetime.strptime(data_urodzenia, '%Y-%m-%d') except ValueError: print('Wprowadzono nie prawiłowe dane!') exit() teraz = datetime.now() wiek_celebryty = teraz - konwe...
[ "janiszewski.bartlomiej@gmail.com" ]
janiszewski.bartlomiej@gmail.com
288832b4e21767a5fe146fc0d0ad0218ce3730fc
be55991401aef504c42625c5201c8a9f14ca7c3b
/python全栈3期/面向对象/继承顺序.py
dcb0234f6de6831c86a781efdb3753c1b0f99ed8
[ "Apache-2.0" ]
permissive
BillionsRichard/pycharmWorkspace
adc1f8bb15b58ded489fc8dec0df397601823d2c
709e2681fc6d85ff52fb25717215a365f51073aa
refs/heads/master
2021-09-14T21:12:59.839963
2021-08-08T09:05:37
2021-08-08T09:05:37
143,610,481
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
""" 广度优先: 新式类(Python3) F->D->B->E->C->A 深度优先: 经典类(python2,不继承自object类)F->D->B->A->E->C A | \ B C | \ D E \ / \/ F """ from pprint import pprint as pp class A: def test(self): print('A') class B(A): def test(self): print('B') pass class C(A): def test(self): ...
[ "295292802@qq.com" ]
295292802@qq.com
f297dde3e24a29cede6a18efcb18439969ce8aba
7e0e22e31aafc7eecda9d62ae4329f8697e23d40
/scripts/average
90f6be281641d653f9fe748d36aef7067a7f810b
[ "MIT" ]
permissive
Sandy4321/cli_stats
feec6e6b234e40062f0fe5b6519fdca0fc93f31b
d8a75cf81904a0565c9de6839ee4711355e26b70
refs/heads/master
2023-02-10T11:06:46.602325
2021-01-01T22:50:31
2021-01-01T22:50:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
476
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Compute the average of a number stream on stdin Author: Gertjan van den Burg License: See LICENSE file Copyright (c) 2020, G.J.J. van den Burg """ import sys def main(): total = 0.0 count = 0 for line in sys.stdin: if not line.strip(): ...
[ "gertjanvandenburg@gmail.com" ]
gertjanvandenburg@gmail.com
228838743a4a17ff71de267f94269836b84c585b
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/bak.py
12452944e2d8adaa5868f756dd6e5ad813124986
[]
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
942a6a475150a440d2d71c36555b3b9649d6eb26
ad0857eaba945c75e705594a53c40dbdd40467fe
/baekjoon/python/dial_5622.py
2f52057085043af2b8abff6075f383071902aa85
[ "MIT" ]
permissive
yskang/AlgorithmPractice
c9964d463fbd0d61edce5ba8b45767785b0b5e17
3efa96710e97c8740d6fef69e4afe7a23bfca05f
refs/heads/master
2023-05-25T13:51:11.165687
2023-05-19T07:42:56
2023-05-19T07:42:56
67,045,852
0
0
null
2021-06-20T02:42:27
2016-08-31T14:40:10
Python
UTF-8
Python
false
false
494
py
# https://www.acmicpc.net/problem/5622 def dial_time(digit_string): digit_dict = {"A": 2, "B": 2, "C": 2, "D": 3, "E": 3, "F": 3, "G": 4, "H": 4, "I": 4, "J": 5, "K": 5, "L": 5, "M": 6, "N": 6, "O": 6, "P": 7, "Q": 7, "R": 7, "S": 7, "T": 8, "U": 8, "V": 8, "W": 9, "X": 9, "Y...
[ "yongsung.kang@gmail.com" ]
yongsung.kang@gmail.com
7519b3756f10f14a5efbed78d21cd03b01e3570b
0a85e9ecb51c89110794aeb399fc3ccc0bff8c43
/Udacity/1. Data Structures/2. Linked List/detecting_loops.py
7dde5625ea99184e444c23e219dd8ab70ca841bc
[]
no_license
jordan-carson/Data_Structures_Algos
6d246cd187e3c3e36763f1eedc535ae1b95c0b18
452bb766607963e5ab9e39a354a24ebb26ebaaf5
refs/heads/master
2020-12-02T23:19:11.315890
2020-09-15T01:23:29
2020-09-15T01:23:29
231,147,094
1
0
null
null
null
null
UTF-8
Python
false
false
1,569
py
class Node: def __init__(self, value): self.value = value self.next = None class LinkedList: def __init__(self, init_list=None): self.head = None if init_list: for value in init_list: self.append(value) def append(self, value): if self.h...
[ "jordanlouiscarson@gmail.com" ]
jordanlouiscarson@gmail.com
35af21c694adef7b09cbc80926fda010c74caf6e
7a6aca7d300c0752f2a73730b743a1a7361e941b
/tensorflow_graphics/nn/metric/fscore.py
8bb696c3919b2925c77ede8d7b9ae9e1851fd458
[ "Apache-2.0" ]
permissive
tensorflow/graphics
ef0abe102398a58eb7c41b709393df3d0b0a2811
1b0203eb538f2b6a1013ec7736d0d548416f059a
refs/heads/master
2023-09-03T20:41:25.992578
2023-08-08T21:16:36
2023-08-08T21:17:31
164,626,274
2,920
413
Apache-2.0
2023-08-27T14:26:47
2019-01-08T10:39:44
Python
UTF-8
Python
false
false
3,437
py
# Copyright 2020 The TensorFlow Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
b513f222fdaffe800eb13434b6c68a58cf123706
94becda0e99eb1bf23f2649d63a6a2af0f631e33
/brats/bak/loop_finetune_v100_bak.py
fc472ca5384a7149a43deaf323fcf73f85ea7cfd
[ "MIT" ]
permissive
guusgrimbergen/3DUnetCNN_BRATS
d560a878dfbe7dfe95ca5a37c8b066199300d276
1c4ad386b66c550770adc8c9e7371c1ce476db94
refs/heads/master
2022-01-08T13:37:05.253386
2019-06-17T13:10:59
2019-06-17T13:10:59
185,376,310
0
0
null
2019-05-07T10:07:33
2019-05-07T10:07:32
null
UTF-8
Python
false
false
3,151
py
from brats.config import config, config_unet, config_dict import datetime import logging import threading import subprocess import os import sys from subprocess import Popen, PIPE, STDOUT from unet3d.utils.path_utils import make_dir from unet3d.utils.path_utils import get_model_h5_filename from unet3d.utils.path_utils...
[ "minhmanutd@gmail.com" ]
minhmanutd@gmail.com
a52b455dc705da8f9fc3724685f6ef38c3740ff4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/5pYkwf948KBQ3pNwz_13.py
f195abcf98ede33050c2a8f2b103f9ced9d8120e
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from collections import Counter ​ def most_common_words(text, n): words = ''.join([c if c.isalpha() else ' ' for c in text.lower()]).split() seq = {} idx = 0 for word in words: if word not in seq: idx += 1 seq[word] = idx C = Counter(words) L = [[k, v, seq[k]] f...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
961e76ad1d6a22225b91b5f9e9b5a45cc59f4df6
f8095636248bac9e2b018ed3b06f36502edffb0b
/frontend_issuu_autotest_replica/tests_pro_account/TestQuickTourPRO.py
ede810b50de37975ec611870bca9add110124b14
[]
no_license
slashsorin/auto-fe-test
deb1c696767b1c31125970679aa8ce4364fa956a
266f3d7badb14c388edc63139bf659f60e09ac64
refs/heads/master
2016-08-04T10:22:18.123109
2013-11-22T09:16:57
2013-11-22T09:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,575
py
import sys, time, os #sys.path.append('/Users/Sorin/Issuu/new_eclipse_ws/frontend-issuu-autotest/autotest_framework/') sys.path.append('../autotest_framework') import SeleniumTestCase, make_platform_classes import SetTestStatus as sts import unittest, xmlrunner class TestQuickTourPRO(SeleniumTestCase.SeleniumTestC...
[ "sorin.dimo@yahoo.com" ]
sorin.dimo@yahoo.com
e2553bf31614edf3ef91cdd52439d0a0721bc8d2
e3fd35a8443aaf2f293ae03a5f6c819046a4dd21
/leetcode-python/medium/_503_next_greater_element_2/test_solution.py
68da2b92260a0e9bd3dc14ea7131a1cb31787adc
[]
no_license
hieutran106/leetcode-ht
2223ea6bcd459c2cdbc33344c0ff69df7f8a3c7f
8332eb20e613f82cda2e326218154c7803a32403
refs/heads/main
2023-08-09T02:52:41.360360
2023-07-27T10:12:28
2023-07-27T10:12:28
234,890,448
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
import unittest from .solution import Solution class MyTestCase(unittest.TestCase): def setUp(self) -> None: self.s = Solution() def test_case1(self): actual = self.s.nextGreaterElements([1, 2, 1]) self.assertEqual(actual, [2, -1, 2]) def test_case2(self): actual = self.s...
[ "hieutran106@gmail.com" ]
hieutran106@gmail.com
c42af3a2ce14d0a7a69408abef1650a90e836b3a
8afb5afd38548c631f6f9536846039ef6cb297b9
/MY_REPOS/INTERVIEW-PREP-COMPLETE/Practice/BSTFromArray/model_solution/model_solution.py
f9d67e0ad74527a0da094829f9bcf5cb690108cf
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,162
py
import math def create_min_height_bst(sorted_array): left = 0 right = len(sorted_array) - 1 return rec_helper(sorted_array, left, right) def rec_helper(sorted_array, left, right): if left > right: return None midpoint = ((right - left) // 2) + left root = BinaryTreeNode(sorted_arra...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
bdceae09f3f12e2c784454982314c598267c7550
d1d626e557cc3ec2068734c464afdde6d0b44a92
/bot/models.py
70d55805aa7993b986707e1145d34e9f2b759e43
[]
no_license
akhad97/Telegram-Bot
d279899f1cacebdb3317f2084047beaa4507c0fb
fd999c03b7b1abd2d433efcd67d9047430c66e4a
refs/heads/master
2023-07-02T06:53:41.697269
2021-08-03T17:41:07
2021-08-03T17:41:07
352,558,410
1
0
null
null
null
null
UTF-8
Python
false
false
1,104
py
from django.db import models class TelegramUser(models.Model): user_id = models.CharField(max_length=30) full_name = models.CharField(max_length=100) phone_number = models.CharField(max_length=15, null=True) resume = models.CharField(max_length=100, null=True) # resume = models.FileField(upload_to...
[ "ahadjon.abdullaev1997@gmail.com" ]
ahadjon.abdullaev1997@gmail.com
50f40cf5fe4eeddfd739731d65089c3ef176b974
3a751dd11ad893d4222cc52148d0829de9f4029f
/django/django_extras/ajax_note/manage.py
280f9446088e0e061158fa6cefe483cacf4818a9
[]
no_license
higashizono33/python_stack
76b5fc63a63913e309a545b7f586a99c684fa0d2
5ec93e384e911b9d05de54af232d464928b76e7e
refs/heads/master
2023-04-18T23:18:21.569125
2021-04-26T02:40:55
2021-04-26T02:40:55
339,864,117
0
0
null
null
null
null
UTF-8
Python
false
false
629
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ajax_note.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impo...
[ "takashizono@gmail.com" ]
takashizono@gmail.com
3d0676ba2f791a63793876a7f9cac6d72829b2f7
f845225329fa9750c838bf511fed3beb48cc86af
/accounts/migrations/0024_auto_20190104_1910.py
548b1c2d5d7579453106f5fb740c98f2b35c2c4a
[]
no_license
Fabricourt/btre_project-
ac8c2b84cc8b7f4f5368a204dc23b378d488b356
13defd495ba309ac31550d22ad7d6306638f91eb
refs/heads/master
2020-04-15T11:03:05.980170
2019-01-08T11:16:56
2019-01-08T11:16:56
164,611,152
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
# Generated by Django 2.1.4 on 2019-01-04 16:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0023_dashboard_title'), ] operations = [ migrations.AlterField( model_name='dashboard', name='title', ...
[ "mfalme2030@gmail.com" ]
mfalme2030@gmail.com
1960f27aab4a6e04b44d42cae1957586f552c1e4
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/battle_control/requests/__init__.py
cb82e19a0f4681639e117250b900737bead761e8
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
491
py
# 2015.11.18 11:52:01 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/battle_control/requests/__init__.py from gui.battle_control.requests.AvatarRequestsController import AvatarRequestsController __all__ = ['AvatarRequestsController'] # okay decompyling c:\Users\PC\wotsources\files\originals\res\scr...
[ "info@webium.sk" ]
info@webium.sk
030305ab4f62d57c7c891748c1539069d222cb70
35b5f50626d33b17f38f311e9d5fc6b727d25765
/gui/kivy/uix/dialogs/invoices.py
8904edf6fbc412e1c895baa64e3ebd02c67d15b9
[ "MIT" ]
permissive
bitcoinpostquantum/electrumpq
7fcf5a3fbda2b05f033340ba61fc23e46997f5ed
dbbc2a493aff904923cd8112fc5bb07802df272c
refs/heads/master
2020-04-10T10:09:24.239700
2018-12-29T09:49:58
2018-12-29T09:49:58
160,957,005
1
0
null
null
null
null
UTF-8
Python
false
false
4,810
py
from kivy.app import App from kivy.factory import Factory from kivy.properties import ObjectProperty from kivy.lang import Builder from decimal import Decimal Builder.load_string(''' <InvoicesLabel@Label> #color: .305, .309, .309, 1 text_size: self.width, None halign: 'left' valign: 'top' <InvoiceItem...
[ "code@bitcoinpq.org" ]
code@bitcoinpq.org
1c76e72cd8addfb1c576f4225f82d9d5ad24d572
f64f8a8827219371236f0e2ad3d5220ec1825cb2
/bux/_commands/_losers.py
32efa4c463b6d14b31e50be4b8aa634548f350b3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
orsinium-labs/bux
2b1c0c19aa06d480a90386cdda66af855a746f32
fbb5727b759719f15ec38dd4bf00e493690854b4
refs/heads/master
2023-07-12T19:35:14.768488
2021-08-30T11:19:03
2021-08-30T11:19:03
389,935,936
6
0
null
null
null
null
UTF-8
Python
false
false
593
py
from argparse import ArgumentParser import bux from ._base import Command, register @register class Losers(Command): name = 'losers' @staticmethod def init_parser(parser: ArgumentParser) -> None: parser.add_argument('--token', required=True) def run(self) -> int: api = bux.UserAPI(...
[ "mail@orsinium.dev" ]
mail@orsinium.dev
d671f49d5bf51d6b819c2844d458b42b7ada6c94
17cad1d357380875243b804ffd13882f1a7d61a8
/0x0B-python-input_output/2-read_lines.py
f33d4e7521358ff0ab260754b7aa8efa81a6ae2c
[]
no_license
Abdou-Hidoussi/holbertonschool-higher_level_programming
9a0c0714b63ccd9823798adb51eb4f395ab375dc
1dd37cc5f848d1f37884e6ffbe9598eae8c4f30e
refs/heads/master
2023-03-05T00:02:25.283646
2021-02-18T20:42:26
2021-02-18T20:42:26
291,713,076
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
#!/usr/bin/python3 """ task 2 """ def read_lines(filename="", nb_lines=0): """read line function""" with open(filename, encoding="utf-8") as f: if nb_lines <= 0: print(f.read(), end="") return for i in range(nb_lines): print(f.readline(), end="")
[ "hidoussiabdou5@gmail.com" ]
hidoussiabdou5@gmail.com
4649092af7c99f1f913f1b6305e81c3ad84e7b26
2b4af8810511b5f1ed47fdf5662753b9b4af76b8
/corehq/apps/case_search/migrations/0004_auto_20170518_2018.py
90b4ceefdfb27e1e0f3dd0893ad81a5dd1d8a782
[]
no_license
DeckOfPandas/commcare-wddcp
55bde89197ec5bc4a4b53d327ec6a811aec0d752
810d2e09d3890e3d0d70178745da5924c1db767b
refs/heads/dimagi
2020-12-02T19:19:53.992796
2017-06-30T15:18:16
2017-07-05T12:23:26
96,325,707
1
0
null
2017-07-05T14:02:49
2017-07-05T14:02:49
null
UTF-8
Python
false
false
1,843
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-05-18 20:18 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models import jsonfield.fields class Migration(migrations.Migration): dependencies = [ ('case_search', '0003_casesearch...
[ "proteusvacuum@gmail.com" ]
proteusvacuum@gmail.com
e76376d0d332a1f8cd16367b148f06b9022ba13b
d65128e38be0243f279e0d72ef85e7d3c5e116ca
/base/site-packages/django/db/models/sql/compiler.py
2a5abdfa217d68efa5ee1eeb553a13fc89e89164
[ "Apache-2.0" ]
permissive
ZxwZero/fastor
19bfc568f9a68f1447c2e049428330ade02d451d
dd9e299e250362802032d1984801bed249e36d8d
refs/heads/master
2021-06-26T06:40:38.555211
2021-06-09T02:05:38
2021-06-09T02:05:38
229,753,500
1
1
Apache-2.0
2019-12-23T12:59:25
2019-12-23T12:59:24
null
UTF-8
Python
false
false
50,329
py
import datetime from django.conf import settings from django.core.exceptions import FieldError from django.db.backends.util import truncate_name from django.db.models.constants import LOOKUP_SEP from django.db.models.query_utils import select_related_descend, QueryWrapper from django.db.models.sql.constants import (SI...
[ "edisonlz@163.com" ]
edisonlz@163.com
73ea9b5b72d472a84e080415378c392f17ac413d
34c84dc28ca8c62594ba74facc6cef4eacb2aad9
/examples/liquid-argon/utils.py
672f312f191d433c0811262db1d2a9b8692c8079
[]
no_license
choderalab/automatic-equilibration-detection
f4102407db312402b30dceb1cee0ea0e698e46b1
9b5f096cd8e309bc1158f9eed5d8fd41f78312cc
refs/heads/master
2021-01-17T15:15:38.786759
2016-12-24T06:12:32
2016-12-24T06:12:32
19,412,535
15
9
null
2016-12-24T06:12:33
2014-05-03T21:28:09
TeX
UTF-8
Python
false
false
4,937
py
#!/usr/bin/env python """ Run a simulation of liquid argon at constant pressure. """ import os, os.path, copy import netCDF4 from simtk import openmm, unit from simtk.openmm import app from openmmtools import testsystems, integrators def minimize(system, positions): """ Minimize the specified testsystem. ...
[ "choderaj@mskcc.org" ]
choderaj@mskcc.org
d614fc69982e90bef74703c3499141f522d4c0e0
3c619a14c087f889e007c5b7e9415037d4c63992
/tensorflow/contrib/distribute/python/collective_all_reduce_strategy_test.py
bba0bce9f2e2c4b231c9dc4a2705c476ab091d50
[ "Apache-2.0" ]
permissive
WangLing20150722/tensorflow
896b49796b6a4b658c89877704e5fcd86076892e
f1f1336aef572eb2073c9a488f8408b6404a700b
refs/heads/master
2020-04-20T04:26:36.320082
2019-02-01T02:01:25
2019-02-01T02:01:34
168,627,573
1
0
Apache-2.0
2019-02-01T02:05:23
2019-02-01T02:05:22
null
UTF-8
Python
false
false
20,537
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
06b73b205e1b8bcfe3abcb46015a46db42931544
74cf86509c669799a3a7ed4b7982d59dde695230
/pilot_paper_code/plotting_code/plotVel_vs_b.py
a97e15c7083695a8923df0db809d5dd2efab34ad
[]
no_license
frenchd24/pilot_paper
e77103ec4873758474f9020c76a8dad86fc6519c
a8d9191f9e435e02a8f6acfbd85ede32bdfd405d
refs/heads/master
2020-05-20T06:54:13.266061
2019-05-07T17:08:42
2019-05-07T17:08:42
185,438,946
0
0
null
null
null
null
UTF-8
Python
false
false
12,499
py
#!/usr/bin/env python ''' By David French (frenchd@astro.wisc.edu) $Id: plotVel_vs_b.py, v 1.1 04/21/2016 Plot the velocity and velocity difference as a function of dopplar b-parameter - (03/02/2016) v1.1: remake plots with v_hel instead of vcorr (4/21/16) ''' import sys import os import csv from pylab...
[ "frenchd24@gmail.com" ]
frenchd24@gmail.com
e0b9a8251d2bf82dc6d619fb9b85385bc66f859b
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Shapely_numpy/source/numpy/ma/tests/test_subclassing.py
8198c9d3593680cf24b925019336e88936468742
[ "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
13,251
py
# pylint: disable-msg=W0611, W0612, W0511,R0201 """Tests suite for MaskedArray & subclassing. :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu :version: $Id: test_subclassing.py 3473 2007-10-29 15:18:13Z jarrod.millman $ """ from __future__ import division, absolute_import, print_function import num...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
a521964d8e8464d965b9154d8ced63e65c5d7094
d27af9d58b91b8cd998ac0eb87d980d304ff0670
/Beginner-Contest/ABC111/ABC111_B.py
32201fad3a3c038e022bedc7f8262a0eb6645da9
[]
no_license
mongesan/Atcoder-m0_ngesan-py
29dd79daab149003ffc8b6b6bad5fa2e7daa9646
6654af034d4ff4cece1be04c2c8b756976d99a4b
refs/heads/master
2023-08-20T19:50:04.547025
2021-10-27T12:24:51
2021-10-27T12:24:51
258,486,105
1
0
null
null
null
null
UTF-8
Python
false
false
9
py
#ABC111_B
[ "syun1.mongesan@gmail.com" ]
syun1.mongesan@gmail.com
f4d4477c62a9b7c90942fce44f0792f8b0c019a1
c3a84a07539c33040376f2c1e140b1a1041f719e
/wagtail-stubs/admin/views/tags.pyi
55025030a9dcc5f24d36277a1b5c72bd7e56c396
[]
no_license
tm-kn/tmp-wagtail-stubs
cc1a4434b7142cb91bf42efb7daad006c4a7dbf4
23ac96406610b87b2e7751bc18f0ccd27f17eb44
refs/heads/master
2023-01-20T14:41:33.962460
2020-11-30T23:15:38
2020-11-30T23:15:38
317,332,280
0
0
null
null
null
null
UTF-8
Python
false
false
134
pyi
from typing import Any, Optional def autocomplete(request: Any, app_name: Optional[Any] = ..., model_name: Optional[Any] = ...): ...
[ "hi@tmkn.org" ]
hi@tmkn.org
020965ab409130059e4fb9e1e3a6cf4d39e75232
864755f7d733351b205e460ec54a5f6d13050037
/devilry/devilry_settings/views.py
602dd5a1b02bebe44232137c80586840865b0340
[]
permissive
aless80/devilry-django
27fc14b7bb7356f5f9d168e435a84e7bb43a682a
416c262e75170d5662542f15e2d7fecf5ab84730
refs/heads/master
2020-05-20T12:22:09.255393
2019-05-19T21:06:57
2019-05-19T21:06:57
185,568,847
0
0
BSD-3-Clause
2019-05-08T08:53:52
2019-05-08T08:53:51
null
UTF-8
Python
false
false
753
py
from django.http import HttpResponse from django.conf import settings from django.contrib.auth.decorators import login_required from django.core.urlresolvers import reverse @login_required def missing_setting(request, setting): message = """ You have been redirected to this view because your local Devilry system ...
[ "post@espenak.net" ]
post@espenak.net
2155e9730a7adb5594c0a9c0e5138143f70e3f0e
f8cf0f8d3ca1784b59fff380b99c4fa4da225389
/ceshi/configparser/test.py
4369761d2860981c381117b763a2d97b2035bd9f
[]
no_license
loveguan/mysite
6f3c10c9bd1780a6a3c789c03ef66a10b186da92
7217b0e111626af0e6afddd0bc405705cf9641ca
refs/heads/master
2021-01-01T20:49:45.367058
2018-02-05T14:19:42
2018-02-05T14:19:42
98,939,981
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: JOJ @license: (C) Copyright 2013-2017, Node Supply Chain Manager Corporation Limited. @contact: zhouguanjie@qq.com @software: JOJ @file: test.py @time: 2017/12/14 15:42 @desc: 建立配置文件 ''' import configparser config=configparser.ConfigParser() config["DEFAU...
[ "zhouguanjie@qq.com" ]
zhouguanjie@qq.com
f3cd6766d23f03656ef3274d07cce9ea1489c132
350ecc8259bcad075bd376423335bb41cc8a533e
/classic_strategy1.py
50460f25736ecc5fcf66524f4c162073165d5ca1
[]
no_license
CodedQuen/python_begin
39da66ecc4a77b94a5afbbf0900727c8156b85e1
1433c319b5d85520c50aee00dd4b6f21a7e6366a
refs/heads/master
2022-06-10T10:30:28.807874
2020-04-25T03:34:03
2020-04-25T03:34:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,457
py
# classic_strategy.py # Strategy pattern -- classic implementation """ # BEGIN CLASSIC_STRATEGY_TESTS >>> joe = Customer('John Doe', 0) # <1> >>> ann = Customer('Ann Smith', 1100) >>> cart = [LineItem('banana', 4, .5), # <2> ... LineItem('apple', 10, 1.5), ... LineItem(...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
6f15e3cd583c011bb562a0b53d54bb954df4bb24
473507d7540ad1ee5ae2670ac18ace05cd50f6fa
/Math/excel_sheet_column_number.py
51d65533812a517cb65c1ea1328ec16f33f05486
[]
no_license
JunctionChao/LeetCode
4558c9d053f4a4d003903d08fade9fd93e6d9658
10daf38e673e69922f4be7eadf4054810da8ae13
refs/heads/master
2023-02-04T06:59:35.833078
2020-12-18T14:32:03
2020-12-18T14:32:03
322,617,457
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Date : 2019-09-19 # Author : Yuanbo Zhao (chaojunction@gmail.com) def titleToNumber(s: str) -> int: i = 0 result = 0 for char in s[::-1]: r = ord(char) - ord('A') + 1 result += r * 26**i i += 1 return result if __name__ == '...
[ "1429004361@qq.com" ]
1429004361@qq.com
4d2f0d2d4ca9497e547201b052c68f244f1836f0
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/astropy-4.0-py3.7-macosx-10.9-x86_64.egg/astropy/units/format/__init__.py
bad82f9313aa459bb138f442ee33f3d00bf7bc45
[ "BSD-3-Clause" ]
permissive
holzschu/Carnets
b83d15136d25db640cea023abb5c280b26a9620e
1ad7ec05fb1e3676ac879585296c513c3ee50ef9
refs/heads/master
2023-02-20T12:05:14.980685
2023-02-13T15:59:23
2023-02-13T15:59:23
167,671,526
541
36
BSD-3-Clause
2022-11-29T03:08:22
2019-01-26T09:26:46
Python
UTF-8
Python
false
false
1,864
py
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ A collection of different unit formats. """ # This is pretty atrocious, but it will prevent a circular import for those # formatters that need access to the units.core module An entry for it should # exist in sys.modules since astropy.units.core imp...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
bb9fa8236399987f6814680af95a20481f9fc3d4
67b7e6d2c08f08403ec086c510622be48b8d26d8
/src/test/tinc/tincrepo/mpp/gpdb/tests/queries/basic/exttab/errlog/sql/datagen_first_errors.py
d83f25a62ae3d2681a21b0d929f720f87afcdc31
[ "Apache-2.0", "PostgreSQL", "LicenseRef-scancode-rsa-md4", "OLDAP-2.8", "HPND-sell-variant", "BSD-4-Clause-UC", "BSD-3-Clause", "Zlib", "LicenseRef-scancode-zeusbench", "LicenseRef-scancode-mit-modification-obligations", "OpenSSL", "MIT", "LicenseRef-scancode-other-copyleft", "bzip2-1.0.6"...
permissive
sshyran/gpdb
41012411d22b0294204dfb0fe67a1f4c8d1ecaf6
2d065ecdd2b5535cb42474f17a0ee6592b4e6837
refs/heads/master
2023-04-09T14:05:44.030212
2016-11-12T08:33:33
2016-11-12T08:34:36
73,544,159
0
0
Apache-2.0
2023-04-04T00:30:10
2016-11-12T09:43:54
PLpgSQL
UTF-8
Python
false
false
1,166
py
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the 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 ...
[ "jyih@pivotal.io" ]
jyih@pivotal.io
a0924adb3c7da96cb655447e56114e94b508ac22
b68c92fe89b701297f76054b0f284df5466eb698
/Other/Companies/Microsoft/BenchmarkMatching.py
a00910c36d86cd8e47e303768e50f53753c80cee
[]
no_license
makrandp/python-practice
32381a8c589f9b499ab6bde8184a847b066112f8
60218fd79248bf8138158811e6e1b03261fb38fa
refs/heads/master
2023-03-27T18:11:56.066535
2021-03-28T04:02:00
2021-03-28T04:02:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,409
py
''' Programming challenge description: We say a portfolio matches the benchmark when the number of shares of each asset in the portfolio matches the number of shares of each asset in the benchmark. Your question is to write a program that determines the transactions necessary to make a portfolio match a benchmark. A p...
[ "awalexweber99@gmail.com" ]
awalexweber99@gmail.com
50d8820972add7db1e12f143f05cf38d7f3ed8a2
548a5ed489f88b34f0dd31a2118cb1ce82155c99
/BOJ/2020_12/2562.py
fce608b3cdaa9bec2c41b134ed6c60e49a90d410
[]
no_license
rkdtmddnjs97/algorithm
f44606f0f39c39af272ffef5373c801e7388d882
7cc3d20d654ea067502c3e60b706b0cb765784c0
refs/heads/main
2023-07-13T08:20:38.750770
2021-08-21T20:31:54
2021-08-21T20:31:54
398,647,983
0
0
null
null
null
null
UTF-8
Python
false
false
128
py
a = [ int(input()) for i in range(9)] b = max(a) print(b) for key,value in enumerate(a): if value == b: print(key+1)
[ "rkdtmddnjs97@gmail.com" ]
rkdtmddnjs97@gmail.com
1509d9b68521df12375cdeb84a7ebe5c1ec96e76
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/elasticache_write_f/tags-to-resource_add.py
9d6e980bae8076a92de85796496e725ed2d6d06f
[]
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
399
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_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
bb15f4a2be885270cef4e62640a269481b8a03d3
8da4a294cd72d36f1f890148b859eee88fe270ac
/dev/local/data/external.py
1b49501bc88cbb32b8c1f668d3ef04f8e21d4687
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
neerajshukla1911/fastai_dev
3bf323e80d5594fb4bc543fe73de553e036b2ec2
768a5dac135a0f2ea91bc645ba279d3b1c5fd649
refs/heads/master
2020-07-16T00:47:11.761475
2019-09-01T14:10:32
2019-09-01T14:10:32
205,684,686
0
0
Apache-2.0
2019-09-01T14:04:13
2019-09-01T14:04:12
null
UTF-8
Python
false
false
8,016
py
#AUTOGENERATED! DO NOT EDIT! File to edit: dev/04_data_external.ipynb (unless otherwise specified). __all__ = ['download_url', 'URLs', 'get_path', 'ConfigKey', 'download_data', 'untar_data'] from ..imports import * from ..test import * from ..core import * def download_url(url, dest, overwrite=False, pbar=None, show...
[ "sylvain.gugger@gmail.com" ]
sylvain.gugger@gmail.com
d630b1dd7a6eb1c30f516c89ef5c64aaeb65c260
6a0b5dd52577003eddeb45d1ccc173ff6de7e7ca
/director/users/api_v1_urls.py
5721468341cbb8e8260894fc59e968198546b117
[ "Apache-2.0" ]
permissive
paulolimac/hub
98ab1fd0c60ccc28a5a887dc486119da066ced36
ce5d86343e340ff0bd734e49a48d0745ae88144d
refs/heads/master
2020-04-03T13:21:20.046117
2018-10-29T23:49:37
2018-10-29T23:49:37
155,282,253
0
0
null
2018-10-29T21:14:19
2018-10-29T21:14:18
null
UTF-8
Python
false
false
129
py
from django.urls import path from users.api_views import UserSearch urlpatterns = [ path('search', UserSearch.as_view()) ]
[ "ben@beneboy.co.nz" ]
ben@beneboy.co.nz
64724bb718e51f021275096a77275b11b6481ac4
4178f2916d2da72cbb45454fbed941dcfe8f6460
/POM_test/TestCase/Debug2.py
a6a55e7b2f21f479f7cacf5f29ff779122b450fc
[]
no_license
maxcrup007/Selenium_Webdriver_Python
15196cb04ba5cafdc5b776c26d167f0b48fb0e14
6be7f0b9f53df1ba592957029e8a4d22e409d1c4
refs/heads/main
2023-03-24T21:04:31.976451
2021-03-22T09:16:04
2021-03-22T09:16:04
349,379,454
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
import os os.chdir('C:/Users/voraw/Desktop/Working/Gaming & Hobby/Ma11/miKu-Doujin/Chane name') print(os.getcwd()) COUNT = 1 def change_name(): global COUNT COUNT = COUNT + 1 for f in os.listdir(): f_name, f_ext = os.path.splitext(f) if COUNT >= 100: f_name = str(COUNT) elif COUNT >= ...
[ "36732487+maxcrup007@users.noreply.github.com" ]
36732487+maxcrup007@users.noreply.github.com
4ba9dd5155a46583999e303364738eb845069c8e
94838674ffd175df6194437c1ccc3f90ab409d6c
/pillowV3/log/2018-12-30 14:32:11.007864
f0ffac647e42c1490e5d2efabb7c2febde427f75
[]
no_license
WojciechKoz/MyFirstNeuralNetwork
4fdb3140d8f02257599d005638598f78055c1ac8
3cd032aba80ecd71edb0286724ae9ba565b75a81
refs/heads/master
2020-04-02T03:02:48.680433
2020-02-29T17:57:43
2020-02-29T17:57:43
153,943,121
0
0
null
null
null
null
UTF-8
Python
false
false
278,221
007864
#!/usr/bin/env python3 # -*- coding: utf8 -*- from __future__ import print_function # new print() on python2 from datetime import datetime import sys import numpy as np from mnist import MNIST # Display full arrays np.set_printoptions(threshold=np.inf) mndata = MNIST('./data') images_full, labels_full = mndata.loa...
[ "246992@student.pwr.edu.pl" ]
246992@student.pwr.edu.pl
887821cb1d3663aec05aded7090a12fbb0863b88
d9c95cd0efad0788bf17672f6a4ec3b29cfd2e86
/disturbance/migrations/0163_apiarysiteonapproval_site_category.py
b2f18b430255810ee5d6bbd518185236c84db914
[ "Apache-2.0" ]
permissive
Djandwich/disturbance
cb1d25701b23414cd91e3ac5b0207618cd03a7e5
b1ba1404b9ca7c941891ea42c00b9ff9bcc41237
refs/heads/master
2023-05-05T19:52:36.124923
2021-06-03T06:37:53
2021-06-03T06:37:53
259,816,629
1
1
NOASSERTION
2021-06-03T09:46:46
2020-04-29T03:39:33
Python
UTF-8
Python
false
false
592
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2020-09-17 04:10 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('disturbance', '0162_auto_20200917_1209'), ] operat...
[ "katsufumi.shibata@dbca.wa.gov.au" ]
katsufumi.shibata@dbca.wa.gov.au
782f7ad84a757286a8685de5ded3aa137187a6e8
f042383cbc9f10837ebdb5b9033a0263f6a43698
/examples/docs_snippets/docs_snippets/intro_tutorial/basics/e04_quality/custom_types_2.py
70e3912ca669f3083987bf7f01f0b16146f8993a
[ "Apache-2.0" ]
permissive
helloworld/dagster
664e6636d68bafa5151418c9d4316a565717f5ee
779e27faa3e46b7d043cb9624617e655a9ed570c
refs/heads/master
2022-03-24T12:15:36.626783
2022-02-26T01:34:29
2022-02-26T01:34:29
464,019,094
0
0
Apache-2.0
2022-03-05T20:23:14
2022-02-27T02:38:17
null
UTF-8
Python
false
false
1,116
py
import requests from dagster import DagsterType, In, Out, get_dagster_logger, job, op # start_custom_types_2_marker_0 def is_list_of_dicts(_, value): return isinstance(value, list) and all( isinstance(element, dict) for element in value ) SimpleDataFrame = DagsterType( name="SimpleDataFrame", ...
[ "noreply@github.com" ]
helloworld.noreply@github.com