blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
88ebec75815792ee70d0fd841925d841c72a7b81
46d3b41f98164bd869ac7f987a644ba0d6839e2c
/accounts/api/views.py
e95bfbe80b8ff95bab7c8053668fe9576ac11920
[]
no_license
Dimas4/Blog
dc22392c82ffb7050418d05b4f149d79c91bca30
c9d6322bcf0a4b35f80c51830d1f4d5ad7f41bb3
refs/heads/master
2021-07-22T00:31:59.491338
2018-12-01T12:55:21
2018-12-01T12:55:21
135,898,131
2
0
null
null
null
null
UTF-8
Python
false
false
839
py
from django.contrib.auth.models import User from rest_framework.authtoken.models import Token from rest_framework.response import Response from rest_framework.views import APIView from .serializers import UserCreateSerializer class Register(APIView): def post(self, request, *args, **kwargs): serializer ...
[ "vaniashatuhomail@mail.ru" ]
vaniashatuhomail@mail.ru
21ce77bc33800933fde5ac7c54caaaf1d046f917
74e53273dc5aa71293a385512b3d239971099738
/Data_structures_and_Algorithms/arrays/four_numbers_sum_k.py
806cf72e986f8984ee790d73a21007df20d839de
[]
no_license
BJV-git/Data_structures_and_Algorithms
3b240bf699e7091453f3a1459b06da1af050c415
393c504b2bb17b19e76f6d9d9cce948b4c12dbb2
refs/heads/master
2020-04-23T22:32:22.525542
2019-02-19T16:09:51
2019-02-19T16:09:51
171,504,949
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
# logic: O(n3) def four_sum_k(nums,k): nums.sort() lnums=len(nums) for i in range(lnums-3): for j in range(i+1, lnums-2): l=j+1 r = lnums-1 while (l<r): summ = nums[i]+nums[j] + nums[l] + nums[r] if summ==k: ...
[ "noreply@github.com" ]
BJV-git.noreply@github.com
7aa9c8bd9de4bc0f6e608c6eaeb06f35d347808a
8d47d0bdf0f3bcc8c8f82e7624e391ba2353efe1
/openstack_dashboard/dashboards/admin/projects/tables.py
643ac828a0d5f95e54ed87ee06949a210829cd91
[ "Apache-2.0" ]
permissive
cosgrid001/cosgrid_hh
48328bbfae69f9978b82fe2c94799fbf8bc978b2
9b4dbf3c9c134f0c08c7d0330a3d0e69af12a8f4
refs/heads/master
2020-01-23T21:03:04.242315
2016-12-11T05:39:33
2016-12-11T05:39:33
74,579,908
0
1
null
null
null
null
UTF-8
Python
false
false
6,882
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "jayaprakash.r@cloudenablers.com" ]
jayaprakash.r@cloudenablers.com
174bd9cd9df62a07c54b3f9e40b8fd97e11f162b
009bf39bb082d175538d9c667009cadea367b005
/erp_customization/config/desktop.py
ded7fbf7c1954c72dafd7cab5945bf8888bea260
[ "MIT" ]
permissive
mbhavesh95863/erp_customization
0d3c5c107a44b126c5bc085f8f7964fc8c7167fd
33cb6c98b3b95a221462cea30033efdbca12cbed
refs/heads/master
2020-05-17T10:07:15.373067
2019-04-30T07:41:50
2019-04-30T07:41:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "module_name": "ERP Customization", "color": "Blue", "icon": "Bhavesh", "type": "module", "label": _("ERP Customization") } ]
[ "erpnextdeveloper1@gmail.com" ]
erpnextdeveloper1@gmail.com
8e8ccb975ca50708e3d1a12dfc8247901cdc5286
e3d268f17f9b0c43e14c080fca9052765de86614
/musette/forms.py
bb0630f32e8069dd62e4cc9c5e4cb36c6120dd42
[]
no_license
tawanda/django-musette
401559e2670160d34a145f7eff80c2bba3674388
19a35531999db357df2dfa79b2d81a78ca15d7d3
refs/heads/master
2020-04-05T23:44:49.635378
2015-08-02T20:45:08
2015-08-02T20:45:08
40,992,561
1
0
null
2015-08-18T19:15:16
2015-08-18T19:15:15
Python
UTF-8
Python
false
false
5,310
py
# encoding:utf-8 from django import forms from django.forms.widgets import ClearableFileInput, CheckboxInput from django.utils.html import conditional_escape from django.utils.safestring import mark_safe from .utils import basename from .models import Topic, Comment from .widgets import TextareaWidget class FormAdm...
[ "martinpeveri@gmail.com" ]
martinpeveri@gmail.com
b65e882d1259f051cce3a321b1d581c616225de0
0ddaa393ff22758621fd1123aa32e298974efa10
/kblocks/experiments/__init__.py
d994a7ba587d2d4db839665d090d460aec93e623
[ "MIT" ]
permissive
jackd/kblocks
d0a1d890f66d0783eec75247fd359ad9e2f0d135
0ae39f39ad0e797f19dcdc29417a928b11070097
refs/heads/master
2021-07-05T22:33:21.219466
2021-01-07T02:59:02
2021-01-07T02:59:02
218,962,609
0
1
NOASSERTION
2020-12-21T00:17:26
2019-11-01T10:16:15
Python
UTF-8
Python
false
false
187
py
from .callbacks import ExperimentCallback from .core import Experiment, run from .status import Status __all__ = [ "Experiment", "ExperimentCallback", "Status", "run", ]
[ "thedomjack@gmail.com" ]
thedomjack@gmail.com
26cd827693df39816b4e8f1cb6ead467289b3f8c
2006a22faca0265cab5f7de486971103c478439e
/tmdbSearch/migrations/0001_initial.py
195f99d71e4c2058e3519767365bb32f9c42951a
[]
no_license
GuardianBob/portfolio
4b6060b1ed9b1f59047d21d90732f1fbb3271066
1296cb13632c619c18a3513d3064b16f4eab1f8b
refs/heads/main
2023-04-20T10:08:23.715797
2021-04-30T00:46:21
2021-04-30T00:46:21
362,626,413
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
# Generated by Django 2.2.13 on 2021-04-20 20:44 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Movie', fields=[ ('id', models.AutoField(a...
[ "78508863+GuardianBob@users.noreply.github.com" ]
78508863+GuardianBob@users.noreply.github.com
e5a1ffe642b9b33247a8e70bb7902591cc486875
2407490f32568f4469a71172e74b4e41c7b8231e
/you_app/main/utils.py
457f007022faed7fe7ef315f005ab778c9fda487
[]
no_license
sidneyarcidiacono/you
d730695422a576628940374e8a14a52decc2ba54
e09cba147eac37265611033ec84e5eae653d952c
refs/heads/main
2023-02-01T12:34:08.407341
2020-12-20T05:19:49
2020-12-20T05:19:49
314,082,678
0
0
null
null
null
null
UTF-8
Python
false
false
554
py
"""Module and package import.""" import os import secrets from PIL import Image from you_app import app def save_image(form_image, size, folder): """Save avatar upload to static.""" random_hex = secrets.token_hex(8) _, f_ext = os.path.splitext(form_image.filename) image_filename = random_hex + f_ext ...
[ "sidneyarci@gmail.com" ]
sidneyarci@gmail.com
68ff602265388da8fda949d0229e1b522e8295bf
272ae95716e530d538937ded59ec5b6e0b6d4db8
/섹션 4/5. 회의실 배정/AA.py
b83f646899b731a0afb42018fc6a94f735e513ac
[]
no_license
gogoheejun/algorithm
83a1cb30bff5c349f53be16764e517a46e99cf1c
39e999abf7170f434a7ac6e1f698f066e55aca03
refs/heads/main
2023-06-22T13:06:32.135917
2021-07-25T15:46:19
2021-07-25T15:46:19
383,379,782
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
import sys # sys.stdin = open("input.txt", "r") n = int(input()) meeting = [] for _ in range(n): s, e = map(int, input().split()) meeting.append((s, e)) meeting.sort(key=lambda x: (x[1], x[0])) et = 0 cnt = 0 for s, e in meeting: if s >= et: et = e cnt += 1 print(cnt)
[ "heejjuunn@gmail.com" ]
heejjuunn@gmail.com
0dd2ad1bd7f6a0c7c6051ed6d96eaa5afe02632d
e3c8f786d09e311d6ea1cab50edde040bf1ea988
/Incident-Response/Tools/grr/grr/server/grr_response_server/gui/api_plugins/artifact_test.py
098afe7f9d00f1413eca44a3d6ba8e71eb2e859a
[ "Apache-2.0", "MIT" ]
permissive
foss2cyber/Incident-Playbook
d1add8aec6e28a19e515754c6ce2e524d67f368e
a379a134c0c5af14df4ed2afa066c1626506b754
refs/heads/main
2023-06-07T09:16:27.876561
2021-07-07T03:48:54
2021-07-07T03:48:54
384,988,036
1
0
MIT
2021-07-11T15:45:31
2021-07-11T15:45:31
null
UTF-8
Python
false
false
4,800
py
#!/usr/bin/env python """This modules contains tests for artifact API handler.""" from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals import io import os from absl import app from grr_response_core import config from grr_response_core.lib.rdfvalues import ar...
[ "a.songer@protonmail.com" ]
a.songer@protonmail.com
48ae08d55da5746ef76de8913b98bd278a9bbb20
23392f060c85b5fee645d319f2fd5560653dfd5c
/01_jumptopy/chap06/practice/Q1_duplicate_numbers.py
a45ed6b9decff9ed5cf440a352e3639d9c2df4e0
[]
no_license
heyhello89/openbigdata
65192f381de83e4d153c072ff09fa7574f003037
b35ff237c32013c3e5380eee782085a64edb9d80
refs/heads/master
2021-10-22T04:29:00.852546
2019-03-08T02:14:34
2019-03-08T02:14:34
125,938,319
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
string=input() list_str=string.split() for index in list_str: for num in range(0, 10): match=index.count(str(num)) if match!=1: print("False ", end="") break elif num==9 and match==1: print("True ", end="")
[ "heyhello89@hanmail.net" ]
heyhello89@hanmail.net
6f372e79944370fefdf90422131141fd69d2fbe5
3c41889e19235e5d272d4f184339b3a88d96a0c6
/_utils/_behaviors.py
7280b7b6a7049df13a6152d7634be433e425a8a0
[]
no_license
manfreddiaz/safe-iil
b0908fc7be9fb772fae267f6f2f835fa90f9f0a2
9cd5007a7f8e8abd10e844351bec278bfd942387
refs/heads/master
2020-04-19T07:58:34.915693
2019-01-30T18:55:22
2019-01-30T18:55:22
168,062,938
2
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# experiments configurations for submissions, define behavior of the environment after each episode from ._settings import simulation class Icra2019Behavior: def __init__(self, env, at, routine): self.env = env self.at = at self.routine = routine self.routine.on_step_done(self) ...
[ "takeitallsource@gmail.com" ]
takeitallsource@gmail.com
a7d2c811b546018c304f178a881df787cc8e2853
cd40b7cc395f36740000ed4a4144b1c0666ab0fd
/hstrat/_auxiliary_lib/_jit_numpy_bool_t.py
52bdb898f0c1d675364549536be667f6b30ab1ba
[ "MIT" ]
permissive
mmore500/hstrat
94fd22c86a87a5707590b9398ef679444ed82d6d
b2d2caded1db5e2dc681d9f171d7c74b322c55c3
refs/heads/master
2023-08-31T03:36:44.457576
2023-08-25T14:39:29
2023-08-25T14:39:29
464,531,144
5
2
NOASSERTION
2023-08-25T13:07:52
2022-02-28T15:11:45
Python
UTF-8
Python
false
false
541
py
"""Provides numba bool type or numpy bool type. Type must be declared outside jit'ed function or numba fails. """ import numpy as np from ._is_in_coverage_run import is_in_coverage_run try: import numba as nb except (ImportError, ModuleNotFoundError): jit_numpy_bool_t = np.bool_ else: if is_in_coverage_...
[ "mmore500.login+gpg@gmail.com" ]
mmore500.login+gpg@gmail.com
a12b81b7189ddaad2b23fb1cf3c39108553e9ad5
7b1b4ed8bd4c887362b367625a833c28aa919dd8
/wpaudit/providers/aliyun/resources/ram/security_policy.py
b93d7eec5d765aa027031811d6f696ba0828c11d
[]
no_license
wperic/wpaudit
6bbd557c803ce9bceb764c1451daeb5e440a3d9c
ed69c1eabcf85e80ed8fe5397d2d369fd3ff35d8
refs/heads/main
2023-07-16T21:36:57.528548
2021-09-03T10:35:43
2021-09-03T10:35:43
402,716,870
0
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
from wpaudit.providers.aliyun.resources.base import AliyunResources from wpaudit.providers.aliyun.facade.base import AliyunFacade class SecurityPolicy(AliyunResources): def __init__(self, facade: AliyunFacade): super().__init__(facade) async def fetch_all(self): raw_security_policy = await se...
[ "90035639+wperic@users.noreply.github.com" ]
90035639+wperic@users.noreply.github.com
703a51314294f29c9ed2fcd533c35ee9bf016b26
c2584c3fbace76b253db1dfbc4fb435b1bbd1717
/Python/PycharmProjects_1718/Final_Project/Final_Project/venv/Lib/site-packages/pyad/adcontainer.py
8c3e92be9ea9571fea6c5720cd04f5a626b5389c
[]
no_license
absentee-neptune/Personal-Projects
9c17e9112eca20a02ae8875c5790116db5170c45
5cb7649093fd420c5a6882051aa82f4c947dd667
refs/heads/master
2023-01-03T11:57:19.257253
2020-10-16T18:53:47
2020-10-16T18:53:47
304,392,815
0
0
null
null
null
null
UTF-8
Python
false
false
4,068
py
from __future__ import absolute_import from .adobject import * from .aduser import ADUser from .adcomputer import ADComputer from .adgroup import ADGroup from . import pyadconstants class ADContainer(ADObject): def get_children_iter(self, recursive=False, filter_=None): for com_object in self._ldap_adsi_ob...
[ "brianna.guest20@gmail.com" ]
brianna.guest20@gmail.com
0a32952a073fb05025a29c20c191ba3dd7b7b545
26ec9889c37dfd41c151ca36e292a298f88d2210
/debug/traverse.py
e9613ff1d568f9a6f25592518ba45ef2b1013202
[]
no_license
mihai2014/mihai2014.github.io
d11988c42d5c38c53325455069b9de3bdc221f71
bd479e8d6ffb86c01594259baac54fe5f7262642
refs/heads/master
2021-11-15T11:35:11.073938
2021-08-19T20:05:50
2021-08-19T20:05:50
185,383,637
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
import os import re from names import names startStr = "https://nbviewer.jupyter.org/github/mihai2014/mihai2014.github.io/blob/master" startStr = "" string = "" def traverse_dir(dirName): global string string += '<ul>\n' for item in sorted(os.listdir(dirName)): fullpath = os.path.join(dirName, ...
[ "mc200520052005@yahoo.com" ]
mc200520052005@yahoo.com
5e2093794cc2accc1cbebc99ba054c968e19efa6
3581148ef2a3e96dda4b9dd1ae5bdb84577c5e57
/package/diana/utils/endpoint/endpoint.py
8f4dc487a922de1b0d9bc8c4771c1ba3d75264f8
[ "MIT", "LicenseRef-scancode-other-permissive" ]
permissive
devhliu/diana2
515c82f34f831507f4ad1da825a0ffe8ec4c6b13
f266c7f5abbfa2a245714c569d090d6676864dfc
refs/heads/master
2020-05-05T01:10:03.247825
2019-03-12T17:39:33
2019-03-12T17:39:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,565
py
""" CRUD Endpoint API """ from abc import ABC from typing import Mapping, TypeVar, NewType, Union, Sequence, Iterator, Collection import logging import attr Item = TypeVar('Item') ItemID = NewType('ItemID', str) Query = NewType('Query', Mapping) @attr.s class Endpoint(ABC): """ Generic CRUD endpoint API. ...
[ "derek_merck@brown.edu" ]
derek_merck@brown.edu
08075ae1a6f80646aaf8c95c14d832ed43889e21
33f3ac31530417d1a901873f26c94f6e9e7e7e82
/data_structures/graph/test_graph.py
0c33fbcf5a46c2358516363e995ec991771b299e
[ "MIT" ]
permissive
jpchato/data-structures-and-algorithms-python
9227b57951384e9518da073ee7124df4bd5efec2
5615d3637deea1b876760d981682f7fea0c4988f
refs/heads/master
2022-11-13T13:40:33.984171
2020-06-28T19:10:10
2020-06-28T19:10:10
263,187,808
0
0
MIT
2020-07-02T15:35:42
2020-05-12T00:08:48
Python
UTF-8
Python
false
false
1,833
py
import pytest from graph import Graph, Vertex # 1. Node(vertex) can be successfully added to the graph def test_add_vertex(): g = Graph() expected = 'spam' vertex = g.add_vertex('spam') actual = vertex.value assert actual == expected # 2. An edge can be successfully added to the graph def test_ad...
[ "jpchato@gmail.com" ]
jpchato@gmail.com
da54eaf11a2245398f65e46f3a8f604039b36659
30150c7f6ed7a10ac50eee3f40101bc3165ebf9e
/src/catalog/CatalogNotifyDialog.py
889f471d6b029ae25ef8a038417f93ef6bb94674
[]
no_license
toontown-restoration-project/toontown
c2ad0d552cb9d5d3232ae6941e28f00c11ca3aa8
9bef6d9f823b2c12a176b33518eaa51ddbe3fd2f
refs/heads/master
2022-12-23T19:46:16.697036
2020-10-02T20:17:09
2020-10-02T20:17:09
300,672,330
0
0
null
null
null
null
UTF-8
Python
false
false
3,125
py
from direct.directnotify import DirectNotifyGlobal from toontown.toonbase import ToontownGlobals from toontown.toonbase import TTLocalizer from direct.gui.DirectGui import * from toontown.toonbase.ToontownModules import * class CatalogNotifyDialog: """CatalogNotifyDialog: Pops up to tell you when you have a n...
[ "brianlach72@gmail.com" ]
brianlach72@gmail.com
a647f0d480891d488f49205feca83727cde55097
b1bc2e54f8cd35c9abb6fc4adb35b386c12fe6b4
/toontown/src/coghq/DistributedStageBattle.py
ec71350320aa213743339055c2aa1ec8c3b1e6aa
[]
no_license
satire6/Anesidora
da3a44e2a49b85252b87b612b435fb4970469583
0e7bfc1fe29fd595df0b982e40f94c30befb1ec7
refs/heads/master
2022-12-16T20:05:13.167119
2020-09-11T16:58:04
2020-09-11T17:02:06
294,751,966
89
32
null
null
null
null
UTF-8
Python
false
false
2,727
py
from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * from toontown.coghq import DistributedLevelBattle from direct.directnotify import DirectNotifyGlobal from toontown.toon import TTEmote from otp.avatar import Emote from toontown.battle import SuitBatt...
[ "66761962+satire6@users.noreply.github.com" ]
66761962+satire6@users.noreply.github.com
eaaaae0d74223cebb8f81036790229d3ab273d68
f653f96c26501523d36f67330186e546b9067749
/19/01/1.py
e812107b39defcf013b2d2980b8f1703d6e3cec8
[ "CC0-1.0" ]
permissive
pylangstudy/201711
6d5fb40d3bf0b1be5310e6c85ac23c76a7f9db56
be6222dde61373f67d25a2c926868b602463c5cc
refs/heads/master
2022-11-13T22:11:52.127874
2017-11-29T23:32:17
2017-11-29T23:32:17
109,062,692
0
1
null
2022-10-20T07:22:56
2017-10-31T23:22:16
Python
UTF-8
Python
false
false
194
py
import argparse parser = argparse.ArgumentParser(prog='PROG') parser.add_argument('--foo', nargs='?', help='foo help') parser.add_argument('bar', nargs='+', help='bar help') parser.print_help()
[ "pylangstudy@yahoo.co.jp" ]
pylangstudy@yahoo.co.jp
8bfc3383fca13b78421259423948ab780bfdf222
65388597294f4174ad82c7ccc65d611ce278d2a8
/tests/test_readthedocs_links.py
8e737aa9758bb2ddd1be6735b82c9c4b253332db
[]
no_license
ThreatConnect-Inc/threatconnect-developer-docs
5e13bafa14a7418d14c84f62fa0672690ebeb991
3c681a04cef29c5347090b687dfd4e1a28ba3efd
refs/heads/master
2023-08-07T11:39:36.267492
2023-07-28T15:31:07
2023-07-28T15:31:07
78,577,108
8
19
null
2023-07-21T14:15:20
2017-01-10T21:46:46
Python
UTF-8
Python
false
false
7,851
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Find and test each of the links in the docs to make sure they are working properly.""" import os import re import sys from bs4 import BeautifulSoup import requests base_url = 'https://docs.threatconnect.com/' pages = { "https://docs.threatconnect.com/en/latest/res...
[ "floyd.hightower27@gmail.com" ]
floyd.hightower27@gmail.com
a40bd18fba15baaf84f5502990110a80b52f8914
de5df8163e5507da37435e7d2b82dfdd5eb38be0
/fabfile.py
7d5be93f357e902d8af26a91363749bd520bc5fb
[]
no_license
csinchok/Twitter-Roulette
27634be0b69b56bc88010b7dc111bdca0d658929
2cf7f49e5a1534aac172dcc9b375f5e92fce5a91
refs/heads/master
2021-01-23T02:28:51.070024
2011-09-03T17:52:00
2011-09-03T17:52:00
2,150,021
2
0
null
null
null
null
UTF-8
Python
true
false
1,470
py
from __future__ import with_statement from fabric.api import * from fabric.contrib.console import confirm env.hosts = ['csinchok.webfactional.com'] env.user = 'csinchok' webapp_path = '/home/csinchok/webapps/social_roulette' def test(): local('./bin/test', capture=False) def pack(): local('git archive --for...
[ "chris@sinchok.com" ]
chris@sinchok.com
74fc6b57948f736f797cb83945d8a4829b3f3a69
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/test/test_smtpnet.py
3897b365aea88acbec5ce7eab639e0c13496946a
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:08adc8ef5440c83129013a75e849ab9f5161edb3c4a891362c47afd72f5c22a8 size 2846
[ "aqp1234@naver.com" ]
aqp1234@naver.com
04dc80f99264954bfbccc015f965c642b2f59186
c8c53b7eef6de1d7d8c236a5e6a4c1bf93dbd578
/text editor/text editor project.py
91a6aacaadb6678a68de849687881dd51a2df35b
[]
no_license
tanya-agarwal06/project-text-editor
d6e6e3b7d59a6cf86ee34fe3667b073ec22a7b62
311d49d767845b2df9257363812b42794a823ee1
refs/heads/master
2020-03-23T13:36:20.645485
2018-07-20T15:00:50
2018-07-20T15:00:50
141,627,256
0
1
null
null
null
null
UTF-8
Python
false
false
535
py
import os import tkinter from tkinter.messagebox import * from tkinter.filedialog import * from tkinter import * class texteditor: def __init__(self, root): self.file_path = None self.menu = Menu(root) root.config(self.menu) self.Submenu = Menu(self.menu) Menu = self.menu.a...
[ "=" ]
=
d9809f2b9e5da68e9a544248dd175ab612a045f3
c7603730fe2e0615cb8af85360f4270c6e519dcd
/eu-structural-funds/common/processors/currency_convert.py
1d99a8e00a7a7bb1e7f4b8628efbb431f9d882df
[ "MIT" ]
permissive
transpresupuestaria/os-data-importers
b58266d03274901bf6104dc10ab725fa97a22d18
929e07aefc98ae4788e75c682d4c3adc014bf6ce
refs/heads/master
2022-07-02T16:21:34.023556
2020-05-18T18:48:08
2020-05-18T18:48:08
112,221,613
0
0
MIT
2018-08-07T00:26:10
2017-11-27T16:40:20
Python
UTF-8
Python
false
false
2,255
py
import os import json from decimal import Decimal from datapackage_pipelines.wrapper import ingest, spew parameters_, datapackage_, resources_ = ingest() column = parameters_['column'] currency = parameters_['currency'] currency_column = parameters_['currency-column'] date_columns = parameters_['date-columns'] miss...
[ "vitor@vitorbaptista.com" ]
vitor@vitorbaptista.com
269809d7b627a90f5f11c5c9ace2c3f29fa30f4f
c5d68f58c9523257a8b41954553f5cff2cd5f487
/Secao_08_Funcoes/08_50_entendo_**kwargs.py
d343ee19fbcd415be4e842c400608dec38b1b742
[]
no_license
SouzaCadu/guppe
04bfcde82d4404eb9ec795006c6931ba07dc72b6
1f8a672230c5c27712f522e1e34516591c012453
refs/heads/master
2023-03-13T01:32:51.019871
2021-02-25T17:02:59
2021-02-25T17:02:59
320,908,119
1
0
null
null
null
null
UTF-8
Python
false
false
1,880
py
""" Entendendo o **kwargs É mais um parâmetro, diferentemente do *args que coloca os valores como tupla, o **kwargs exige que utilizemos parâmetros nomeados, transformado-os em um dicionário Nas nossas funções podemos ter parametros obrigatórios, *args, default e **kwargs nessa ordem obrigatoriamente. # Exemplos d...
[ "cadu.souza81@gmail.com" ]
cadu.souza81@gmail.com
3cc0b9cb31a005ae94dc7f3acff88300027a6a1d
8dfe4b53fae92795405d789d52148d1291836afa
/python/python学习/day1/day1.py
65bc4a989f226b5bd262f50145244d2b1b28eb90
[]
no_license
ymyjohnny/python
e07c54a88954e090cf3d30a4c6f6ac46353063fb
b483fd55e577d4dcceb5762bddf833df23874f3a
refs/heads/master
2021-01-10T01:10:19.038424
2019-07-02T02:40:23
2019-07-02T02:40:23
45,223,843
0
0
null
null
null
null
UTF-8
Python
false
false
1,697
py
from twisted.python.filepath import FilePath s = 'abc,def' ### n = 10 m = 20 a = s.split(',')[0] * n +','+ s.split(',')[1] * m print a ############ l = range (2,9) target = 9 #print l #print l1 = [] print range(len(l)) print "" for i in range(len(l)): for a in range(i+1,len(l)): # print i, a, l[i...
[ "ymyjohnny@adsame.com" ]
ymyjohnny@adsame.com
06b1d29b7b6c839e81497373b6d46b51d3c3dd6d
63768dc92cde5515a96d774a32facb461a3bf6e9
/jacket/api/storage/views/qos_specs.py
42aa19da5215b83b075b3de08f6075637dade38b
[ "Apache-2.0" ]
permissive
ljZM33nd/jacket
6fe9156f6f5789e5c24425afa7ce9237c302673d
d7ad3147fcb43131098c2a5210847634ff5fb325
refs/heads/master
2023-04-16T11:02:01.153751
2016-11-15T02:48:12
2016-11-15T02:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,489
py
# Copyright (C) 2013 eBay 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 required by...
[ "nkapotoxin@gmail.com" ]
nkapotoxin@gmail.com
7eb014003bb70b5d650dfd37cad67df51eca45ad
3367451615f082b21a9f65c0f3cf833b269082c0
/Stripes/HadCRUT5/stripes_single_member_longitude.py
612f1e91064785482e9aa2deb5a8a04f8526cc83
[]
no_license
philip-brohan/Posters
dd20eb399f559b6c205c300f96d95d0f13c52808
d030a926ea1163e7078b2c468dfca22866552f50
refs/heads/master
2022-10-16T01:08:39.589886
2022-09-25T16:41:08
2022-09-25T16:41:08
91,101,772
0
0
null
null
null
null
UTF-8
Python
false
false
2,336
py
#!/usr/bin/env python # Make a poster showing HadCRUT5 monthly temperatures. # Inspired by the climate stripes popularised by Ed Hawkins. import os import iris import numpy import datetime import matplotlib from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figu...
[ "philip@brohan.org" ]
philip@brohan.org
0fe41fc67d558792e39af525d95f1f466e64b777
6820424467be6d77b5ff44c3f6a55d2273565e21
/services/layer_initializer_service.py
5bd94b4a04669f24198e552d2e9da827e30a8d46
[]
no_license
gbattra/Generator_ML_Framework
ca70ce58c69109fc3a5f974ff1f57c53deea3bc7
29dae8ef4c1d83260abc9777735c5537425337be
refs/heads/master
2021-06-19T10:00:36.191586
2021-01-11T19:43:15
2021-01-11T19:43:15
132,356,001
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
from models import * class LayerInitializerService: @staticmethod def load_layers(num_classes: int, learning_rate: float): fc_layer_1 = fully_connected_layer_model.FullyConnectedLayerModel(67500, 50, 'fc1', learning_rate) ...
[ "greg.attra@gmail.com" ]
greg.attra@gmail.com
efa37b4b73a3d0a36c690472b2bf52257a42df6f
a09740e643d6277ada23c82d8e87853a1cd1a9e5
/Z_ALL_FILE/Py1/fndatetime.py
a83056dcaaff17a4c8bb5663424924b5fd04f7f2
[ "Apache-2.0" ]
permissive
FuckBrains/omEngin
c5fb011887c8b272f9951df3880a879456f202e8
b8c04a5c2c12ffc3d0b67c2ceba9e5741d3f9195
refs/heads/main
2023-03-20T18:27:53.409976
2021-03-14T15:50:11
2021-03-14T15:50:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
import pandas as pd import numpy as np from datetime import * nw = datetime.now().strftime("%d/%m/%Y %H:%M:%S") def add_col_df(df, colname, colval = False, indx=False): if indx == False: if colval == False: ndf = df.assign(coln = 'NWC') ndf.rename(columns = {'coln': colname}, inpl...
[ "omi.kabirr@gmail.com" ]
omi.kabirr@gmail.com
309efb252bd66f33562a67370f0b33b5353d3b3c
c5e8eb946f2bcad3658642b4895d86cd811efb36
/src/biocommons/seqrepo/fastadir/_data/migrations/0001-initial.py
f0bedb0874caf0908ca60ae2db8e1ddd17817a40
[ "Apache-2.0" ]
permissive
biocommons/biocommons.seqrepo
a96e4bdee79a4409a6d7927aeafe82510350a807
9ce861b5b86d1a1aa366fb62f6ed340186b4eed5
refs/heads/main
2023-05-15T10:03:17.856522
2023-05-08T17:48:08
2023-05-08T17:48:08
65,880,786
31
40
Apache-2.0
2023-09-13T22:42:45
2016-08-17T06:11:21
Python
UTF-8
Python
false
false
390
py
from yoyo import step step(""" create table seqinfo ( seq_id text primary key, len integer not null, alpha text not null, added timestamp not null default current_timestamp, relpath text not null )""", """drop table seqinfo""") step("""create unique index seqinfo_seq_id_idx on seqinfo(seq_id)""") ...
[ "reecehart@gmail.com" ]
reecehart@gmail.com
334b4650c630ade42418535c1e8d04189d672562
98cb2f2afbe57bdda9d6b8b1dd8cf624987d91bc
/torchdp/utils/module_modification.py
4030d29505ea6abafd97f6595903eaefc6e859ca
[ "Apache-2.0" ]
permissive
jyhong836/pytorch-dp
0e7613b01f09ceb2c3787284372f8e887bf0deb3
e050b98d630d4db50cacc4fff82575daf345f012
refs/heads/master
2023-01-03T15:08:54.976598
2020-08-18T01:26:07
2020-08-18T01:27:02
260,974,801
0
0
Apache-2.0
2020-05-03T16:40:11
2020-05-03T16:40:11
null
UTF-8
Python
false
false
6,490
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved r""" This module includes utils for modifying model layers, replacing layers etc. """ from typing import Callable, Type from torch import nn def _replace_child( root: nn.Module, child_name: str, converter: Callable[[nn....
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
f4af02d72276d26a7b42cf74021b8cacbefbc203
15e6385746ccf4b8eb6c6e302aca236021bb8781
/LintcodePartII/li431_ConnectedComponentInUndirectedGraph.py
0aaef6d8f48f26c5fde250d842fb4cbed53b8f0b
[]
no_license
akb46mayu/Data-Structures-and-Algorithms
11c4bbddc9b4d286e1aeaa9481eb6a620cd54746
de98494e14fff3e2a468da681c48d60b4d1445a1
refs/heads/master
2021-01-12T09:51:32.618362
2018-05-16T16:37:18
2018-05-16T16:37:18
76,279,268
3
0
null
null
null
null
UTF-8
Python
false
false
1,566
py
""" Find the number connected component in the undirected graph. Each node in the graph contains a label and a list of its neighbors. (a connected component (or just component) of an undirected graph is a subgraph in which any two vertices are connected to each other by paths, and which is connected to no additional...
[ "noreply@github.com" ]
akb46mayu.noreply@github.com
7acb418e83413fd1754a421433ce2a02e64ce114
0f38e4df503f9e72982d96d0db415caf68e9d44a
/pytraj/make_meta.py
8320991e14f2e2022f2f6c2caa1e4e6eeaed09bb
[ "BSD-2-Clause" ]
permissive
hainm/conda-recipes
df0946bc0789252fb112beba23f3f44c2b2c5980
79268c30c15370f6d7bf3e802f57852476865bb7
refs/heads/master
2020-04-04T20:03:27.563895
2016-05-29T06:06:56
2016-05-29T06:06:56
42,761,866
0
0
null
2016-03-08T06:41:43
2015-09-19T05:59:53
Shell
UTF-8
Python
false
false
2,045
py
#!/usr/bin/env python meta_template = """ package: name: {pytraj_status} version: !!str {pytraj_version} source: {source} requirements: build: - python - cython - libcpptraj {libcpptraj_version} - libnetcdf run: - python - libcpptraj {libcpptraj_version} - libnetcdf - numpy t...
[ "hainm.comp@gmail.com" ]
hainm.comp@gmail.com
e495f8bef89008e00064387e3a8ce29270e3524b
449da7b08bb82654028967aa0fa8efce8b2b10d2
/apps/hadoop/migrations/0014_clusterinfo_app.py
cfa385a4f7bfc57faa5012ce6414b735cdab2bbd
[]
no_license
sdgdsffdsfff/bk-dop
f1ae15f858f6236405e50e9453554026d2bcfd21
97cfac2ba94d67980d837f0b541caae70b68a595
refs/heads/master
2023-08-31T22:24:30.616269
2021-10-19T17:56:36
2021-10-19T17:56:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
# Generated by Django 2.2.6 on 2021-05-10 11:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hadoop', '0013_delete_hadooptaskrecord'), ] operations = [ migrations.AddField( model_name='clusterinfo', name='app'...
[ "1297650644@qq.com" ]
1297650644@qq.com
0d3762371ed81433d3be36430298dfdd8ae1f5ab
ba7e9a424362ad1fe6d78592de4ffafdf8f778dd
/text_parser/test_utils.py
9e49ac2fd034db9587bc7acb1dc11959dd7e1c63
[]
no_license
MrLYC/TextParser
f854b45775f42d153cf616ec53f5bf806772e06d
a0e32ad6831237f01466435e897002a19e9b6364
refs/heads/master
2021-01-23T11:32:00.344723
2017-06-09T07:23:41
2017-06-09T07:23:41
93,141,709
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# encoding: utf-8 from unittest import TestCase from text_parser import utils class TestUtils(TestCase): def test_force_text(self): self.assertEqual(utils.force_text(1), u"1") self.assertEqual( utils.force_text(u"测试".encode("utf-8")), u"测试", ) self.assert...
[ "imyikong@gmail.com" ]
imyikong@gmail.com
01fef293d0d99d60ac6171d39112bcfc35dfe9bd
0c0a6a41b5bb15e74f2e938218a971d6036dfd0d
/drf40/api/views.py
abb37cb3888df52bf1e5872828714372fff4e2bf
[]
no_license
kamal0072/API-s-based-on-drf-and-python
54067cd1b364a50ace2c3f4b35cccaafc977d39f
b31299ff2bc32f836c85f402dbe2cfa34f34dd69
refs/heads/master
2023-03-25T16:51:36.511505
2021-03-24T16:27:46
2021-03-24T16:27:46
351,147,386
1
0
null
null
null
null
UTF-8
Python
false
false
573
py
from django.shortcuts import render from rest_framework import viewsets from .serializers import StudentSerializer from .models import Student from rest_framework.filters import OrderingFilter from rest_framework.pagination import CursorPagination class Mycursorpagination(CursorPagination): page_size=5 orderi...
[ "hasan.kamaal0072@gmail.com" ]
hasan.kamaal0072@gmail.com
824ad691679beddca24f539abae8266669640813
f0e190ae8eff009ca2243551f06c84b56ab27b46
/q44.py
ff0c11065bd3a98a87e734dbbda42871ffc0574f
[]
no_license
VinayHaryan/Array
7d042c57619cc1a89bef0eff1a019d66b5a6203c
c19d36054b5d0b39a29673966e14a3b6329da9da
refs/heads/main
2023-05-29T23:41:07.612633
2021-06-17T08:38:17
2021-06-17T08:38:17
377,736,580
2
0
null
null
null
null
UTF-8
Python
false
false
1,864
py
''' MAJORITY ELEMENT Write a function which takes an array and prints the majority element (if it exists), otherwise prints “No Majority Element”. A majority element in an array A[] of size n is an element that appears more than n/2 times (and hence there is at most one such element). Input : {3, 3, 4, 2,...
[ "noreply@github.com" ]
VinayHaryan.noreply@github.com
dd440a9f5411f168d6a47869bc44632c78ce7bf6
49217cbcb100c1e92ab707065dfa7c1c684e6440
/spacegraphcats/search/test_workflow.py
ea63248fc443ff0e9c9af48ec34a2344f24a292d
[ "LicenseRef-scancode-biopython", "BSD-3-Clause" ]
permissive
bluegenes/spacegraphcats
5bba5e6ff63ecd0f632803a6d6103a0888eb250b
35f8057068e4fe79ab83ac4efe91d1b0f389e1ea
refs/heads/master
2022-04-12T15:37:13.372545
2018-12-18T03:17:35
2018-12-18T03:17:35
160,425,418
0
0
NOASSERTION
2018-12-18T03:19:14
2018-12-04T22:11:30
Standard ML
UTF-8
Python
false
false
4,683
py
import os.path import tempfile import shutil import screed from spacegraphcats.catlas import catlas from spacegraphcats.index import index_contigs_by_kmer from spacegraphcats.search import extract_nodes_by_query from spacegraphcats.search import characterize_catlas_regions from spacegraphcats.search import extract_una...
[ "titus@idyll.org" ]
titus@idyll.org
c19e4d29857ba91dcc6287fda9784e3aa0622f9a
e5b9d8327634bd3a0cb6baa94738013fc01e14a4
/extras/examples/example.py
edcd2c8d66e24d10dce933cffdc328fba4b7c289
[ "Apache-2.0" ]
permissive
google/tmppy
42ef444eb11675f10f3433180414d6818a602342
faf67af1213ee709f28cc5f492ec4903c51d4104
refs/heads/master
2023-09-02T19:20:45.172571
2020-06-01T02:31:28
2020-06-01T02:31:28
105,428,926
32
10
null
null
null
null
UTF-8
Python
false
false
836
py
# Copyright 2017 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 required by applicable law or...
[ "poletti.marco@gmail.com" ]
poletti.marco@gmail.com
25030ec11209b9e14609ffce77d412fbd91f108e
b7eed26cf8a0042a61f555eed1e9bf0a3227d490
/students/piotrowski_stanislaw/lesson_02_flow_control/how_many_zeroes.py
8379f81dc8394b9c4067827762a18bd7cb6915a7
[]
no_license
jedzej/tietopythontraining-basic
e8f1ac5bee5094c608a2584ab19ba14060c36dbe
a68fa29ce11942cd7de9c6bbea08fef5541afa0f
refs/heads/master
2021-05-11T11:10:05.110242
2018-08-20T12:34:55
2018-08-20T12:34:55
118,122,178
14
84
null
2018-08-24T15:53:04
2018-01-19T12:23:02
Python
UTF-8
Python
false
false
240
py
# https://snakify.org/lessons/for_loop_range/problems/how_many_zeroes/ # piotrsta number_of_numbers = int(input()) zeros = 0 for i in range(number_of_numbers): number = int(input()) if number == 0: zeros += 1 print(zeros)
[ "32517941+kadilak83@users.noreply.github.com" ]
32517941+kadilak83@users.noreply.github.com
3fe182a7305979372bdb7c5590c323baa6dda99f
dea8cfa596d52d5db0e28ac43504e7212b43081b
/python/AtCoder Beginner Contest 152/D_new.py
16f861824d8037f0975636f52839b592b1e36b9d
[]
no_license
Yuta123456/AtCoder
9871a44f12a8fca87b0e2863a999b716128de1ac
ca04422699719563e311f7d973459ba1dc238c2c
refs/heads/master
2023-01-04T22:33:54.120454
2020-11-04T05:20:37
2020-11-04T05:20:37
286,409,112
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
n = int(input()) memo = [[0 for i in range(10)] for j in range(10)] for i in range(1,n+1): i_first = int(str(i)[0]) i_last = int(str(i)[-1]) memo[i_first][i_last] += 1 ans = 0 for i in range(1,n+1): i_first = int(str(i)[0]) i_last = int(str(i)[-1]) ans += memo[i_last][i_first] print(ans)
[ "yuuta09090530@icloud.com" ]
yuuta09090530@icloud.com
91f058583cc024417caa7cd714d9ec19a965205b
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Keras_tensorflow_nightly/source2.7/tensorflow/contrib/cmake/tools/create_def_file.py
53c2285699a6ca94e1e6b147080338b507f4d768
[ "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
6,305
py
# Copyright 2017 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...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
d6b1d62fefd154fc216753ece44b8a604cc0fd8a
e567b06c895054d88758366e769de77ee693a568
/SciComputing with Python/lesson_05-01/sample.py
e0cab4169f719e7eeb254d1eea52b6d3135cd176
[ "MIT" ]
permissive
evtodorov/aerospace
68986b4ae772e1de8cc7982b4f8497b6423ac8cc
54a1b58c3c0b02c0eaa3aef14d0e732d7f867566
refs/heads/main
2023-01-19T17:52:29.520340
2020-11-29T13:23:31
2020-11-29T13:23:31
315,653,634
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
import sys, pygame pygame.init() size = width, height = 320, 240 speed = [2, 2] black = 0, 0, 0 screen = pygame.display.set_mode(size) ball = pygame.image.load("ball.gif") ballrect = ball.get_rect() while 1: for event in pygame.event.get(): if event.type == pygame.QUIT: sys.exit() ballrect = ballre...
[ "evgeni.todorov@tum.de" ]
evgeni.todorov@tum.de
a3505eec5c244a934af89056da0444db4381f88d
4fb4899758f3d8c5f1db07e8bc405b13ab4eb0b8
/kth-largest-element-in-an-array.py
94892abc4fb04595156d8e98c265ae30e953475a
[]
no_license
stephenosullivan/LT-Code
e70df6c52c4944c56bb604109c2fc5b537e28ae6
b93e46f6526be7a92ebe16f45998527e2b1dc494
refs/heads/master
2020-04-05T14:39:57.569699
2016-09-14T16:01:22
2016-09-14T16:01:22
15,329,855
1
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
__author__ = 'stephenosullivan' class Solution: # @param {integer[]} nums # @param {integer} k # @return {integer} def findKthLargest(self, nums, k): return self.recursiveFind(nums,0,len(nums)-1,len(nums)-k) def recursiveFind(self,nums,left,right,k): if left == right: r...
[ "osullisg@gmail.com" ]
osullisg@gmail.com
e9d0c5ae757e80692fa2dc5b31504379db90cd78
2dadc071440a236c32645e5af81d0aa72d68050f
/statistics/estimate_time_visit.py
c0a81f14a1fa6fb9114a84a2e5f8c36978262938
[]
no_license
sunary/data-science
a58d572d05c7c14b7ab5d281889d7206838d97ab
ac5d2af680948e76cf21248797a7014b27e96703
refs/heads/master
2023-04-12T08:42:13.950495
2023-03-28T01:05:32
2023-03-28T01:05:32
43,934,997
4
3
null
2023-03-31T14:29:53
2015-10-09T05:31:13
Python
UTF-8
Python
false
false
6,795
py
__author__ = 'sunary' from datetime import datetime, timedelta class BehaviorEstimate(): ''' Estimate next time visit page in REST crawler ''' LENGTH_HISTOGRAM = 50 CUMULATIVE_DAYS_VISIT = 14 PERCENT_SUBTRACT = 2.0 def __init__(self, min_times=0.2, max_times=10.0, scale_times=3.0): ...
[ "v2nhat@gmail.com" ]
v2nhat@gmail.com
517b023f89130276edb683420abccce55bff849d
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/apimanagement/v20191201/get_content_item.py
666f2b1d836dc8b4fea2b9349128bcf7cba80097
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,753
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
6238116c5732ba605c7c4205d8ae65222be4acd1
a9f7e40e18c935fb004fe813f98e298ded0581af
/JOI/JOI_2007_Camp/JOI_2007_Camp_G.py
a7007ccc9f95f65bb2a0d47716a06309f9ed71d5
[]
no_license
happa64/AtCoder_Beginner_Contest
2eb350f500f4bd65f5491b98cdf002ac9b174165
2526e72de9eb19d1e1c634dbd577816bfe39bc10
refs/heads/master
2023-07-08T15:13:51.449555
2021-08-11T14:18:09
2021-08-11T14:18:09
255,601,137
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
# https://atcoder.jp/contests/joisc2007/submissions/17078836 # anagram - アナグラム (Anagram) import sys from collections import Counter sys.setrecursionlimit(10 ** 7) f_inf = float('inf') mod = 10 ** 9 + 7 def resolve(): S = input() n = len(S) D = Counter(S) fact = [1, 1] for i in range(2, n + 1): ...
[ "happa_iidx@yahoo.co.jp" ]
happa_iidx@yahoo.co.jp
0a9e88f11e6bbce3e103e9e4c169699781bddd66
32cf9c3099c36a46804e393dd1491a8954f50263
/2019.05.14 - 팀프로젝트(3)/final_project/workspace/Movies/movies/admin.py
ccf1bccecced7ac7c71989de629aae9c701e9d50
[]
no_license
ash92kr/s_code
ce3bda6a403600892750e181dca5ed8c4caebcb1
92eace551d132b91ee91db6c0afd38b93f9b647b
refs/heads/master
2020-04-12T00:27:07.043091
2019-05-21T08:17:39
2019-05-21T08:17:39
162,200,447
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
from django.contrib import admin from .models import Movie, Actor, Genre # Register your models here. class MovieAdmin(admin.ModelAdmin): list_display =['movie_name', 'time', 'year', 'nation', 'director', 'company',] admin.site.register(Movie, MovieAdmin) class ActorAdmin(admin.ModelAdmin): ...
[ "ash92kr@gmail.com" ]
ash92kr@gmail.com
72d0ef308a76fcc82ad27bdfc8e1eddc24236f9e
88b4b883c1a262b5f9ca2c97bf1835d6d73d9f0b
/src/api/python/hce/app/LogFormatter.py
b175cd80a595a9ebd2b83b0161c0e00772cde50d
[]
no_license
hce-project/hce-bundle
2f93dc219d717b9983c4bb534884e4a4b95e9b7b
856a6df2acccd67d7af640ed09f05b2c99895f2e
refs/heads/master
2021-09-07T22:55:20.964266
2018-03-02T12:00:42
2018-03-02T12:00:42
104,993,955
1
0
null
null
null
null
UTF-8
Python
false
false
1,336
py
''' HCE project, Python bindings. Logging messages formatters classes. @package: dtm @author bgv bgv.hce@gmail.com @link: http://hierarchical-cluster-engine.com/ @copyright: Copyright &copy; 2013-2014 IOIX Ukraine @license: http://hierarchical-cluster-engine.com/license/ @since: 0.1 ''' ##Log formatter event, defines...
[ "bgv@bgv-d9" ]
bgv@bgv-d9
c18961ccd3a21b980f7e0491796ac9a3161fe109
fe9b840db1f522c5fbf92d36bd00717549ec39e0
/Classify/mobilenet.py
7e2b70829f0e59d7ffdd4c611f6586023cc4d7d2
[]
no_license
Interesting6/video_query
82ae32ed75766ead8ac1a8ae7554811535b51454
139df472669ff658a787ddd35e87e8e27bec50a9
refs/heads/master
2021-01-05T05:51:48.625492
2020-05-22T12:41:53
2020-05-22T12:41:53
240,904,052
0
0
null
null
null
null
UTF-8
Python
false
false
6,340
py
from torch import nn # from .utils import load_state_dict_from_url __all__ = ['MobileNetV2', 'mobilenet_v2'] model_urls = { 'mobilenet_v2': 'https://download.pytorch.org/models/mobilenet_v2-b0353104.pth', } def _make_divisible(v, divisor, min_value=None): """ This function is taken from the original t...
[ "cym1106515697@outlook.com" ]
cym1106515697@outlook.com
be414c6d9c8a4fa38608306f213f02dc4f0b0ddb
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/tests/opcodes/cases/test_set_car_201.py
fa6ea91aeb693b4a4e81f6c6103373dac6100b92
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
859
py
from unittest import TestCase from tests import abspath from pytezos.repl.interpreter import Interpreter from pytezos.michelson.converter import michelson_to_micheline from pytezos.repl.parser import parse_expression class OpcodeTestset_car_201(TestCase): def setUp(self): self.maxDiff = None se...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
ed66cc6768c9405f0f187a6c1e81ccb5a154645c
38c10c01007624cd2056884f25e0d6ab85442194
/third_party/chromite/appengine/cq_stats/deploy_app.py
2b5698fd6f5dd69aab98fd2d0d4eaa2730b642c9
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0" ]
permissive
zenoalbisser/chromium
6ecf37b6c030c84f1b26282bc4ef95769c62a9b2
e71f21b9b4b9b839f5093301974a45545dad2691
refs/heads/master
2022-12-25T14:23:18.568575
2016-07-14T21:49:52
2016-07-23T08:02:51
63,980,627
0
2
BSD-3-Clause
2022-12-12T12:43:41
2016-07-22T20:14:04
null
UTF-8
Python
false
false
4,551
py
# Copyright 2015 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Helper script to deploy the cq_stats app to our appengine instances.""" from __future__ import print_function import os import time from chromite.li...
[ "zeno.albisser@hemispherian.com" ]
zeno.albisser@hemispherian.com
3c1b311d02211bb08bdd94372cca6e663346bf05
0f9c9e4c60f28aa00aff8b80e1e4c142c61d24ce
/Python/LeetCode/242_isAnagram.py
3e5cd108a2aaca80b538583e09a2f80aca6d9f97
[]
no_license
shouliang/Development
c56fcc69e658393c138b63b507b96c48232128d5
b7e3b02c50d54515e584cb18dff83109224245d0
refs/heads/master
2020-03-22T09:14:51.070228
2019-08-29T02:50:26
2019-08-29T02:50:26
139,825,052
0
0
null
null
null
null
UTF-8
Python
false
false
1,430
py
''' 有效字母的异位词 242. Valid Anagram:https://leetcode.com/problems/valid-anagram/description/ 思路:利用两个哈希表分别记录两个字符串中每个字母的数量,然后再判断这两个哈希表是否相等 ''' class Solution: def isAnagram(self, s, t): """ :type s: str :type t: str :rtype: bool """ hash_map1, hash_map2 = {}, {} ...
[ "git@git.dxl.cc:node/hunqing.git" ]
git@git.dxl.cc:node/hunqing.git
717fe40bd5b19f91cfcf1f8aedd7b268368f6a91
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03722/s574255848.py
cb0707f0d06dcc5e4c5b8d71974a4054c8626065
[]
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
507
py
N, M = map(int, input().split()) edges = [None]*M INF = 10**18 for i in range(M): a, b, c = map(int, input().split()) edges[i] = (a-1, b-1, -c) def bellman(n, edges, r): d = [INF] * n d[r] = 0 for i in range(n): for (u, v, c) in edges: if(d[u] != INF and d[u]+c < d[v])...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
890c89205dc57f63f4cc67df2d9cc8e40adbd865
760f598fef1f9a75c4f900c055162387ecbb2e90
/tests/__init__.py
a3ecd56802b0474657bf520da4d90bc201b491d5
[ "MIT" ]
permissive
kernel1983/Fukei
5bb418b1d923c36aa8b241377f39796a0158e084
c2ab6a59166e8b84d19db0774009db39066a1764
refs/heads/master
2021-01-18T10:59:54.528768
2016-01-28T14:07:25
2016-01-28T14:07:25
50,578,445
2
0
null
2016-01-28T11:29:31
2016-01-28T11:29:30
null
UTF-8
Python
false
false
197
py
#!/usr/bin/env python import unittest from test_crypto import TestCrypto from fukei.utils import log_config if __name__ == '__main__': log_config('test', True) unittest.main(verbosity=2)
[ "lyanghwy@gmail.com" ]
lyanghwy@gmail.com
d1f9cd3c08607ebe0da6416f4b5e42eb2652fd12
2634f30c03e5d57574c4d9b29011159bc50cb141
/pythonds/map/node.py
a556c740f57ad91a0aa9105d5bbd8859e43b0401
[]
no_license
ZhouPan1998/DataStructures_Algorithms
800e5066cdd20929b9a365af349ea9616134f148
b2981a7323ff0b42a1e16f5488d5812c5e93dce4
refs/heads/master
2023-07-14T21:18:15.128089
2021-08-26T15:47:12
2021-08-26T15:47:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
# -*- coding: utf-8 -*- from typing import Union class HeaderNode: """跳表头节点""" def __init__(self): self.__down: Union[HeaderNode, DataNode, None] = None self.__next: Union[DataNode, None] = None @property def down(self): return self.__down @down.setter def down(self...
[ "2435128850@qq.com" ]
2435128850@qq.com
54e61c7d98c653417ee8363334fe3665ac157d65
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/compute_operation_value_paged.py
06165ad1a5048168557c142ad220a768e0f20a82
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
997
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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
e090552291bf9bbc3c1b7220ea1a12fc8ad7e716
2118f244be2e09508e3c89dee432d4a75343b430
/CSV/csv_ex1.py
308dfa85d7e93e0b02c3b1f1aecdf46cc0bddaf4
[]
no_license
RamiJaloudi/Python-Scripts
91d139093a95f9498a77b1df8ec2f790c4f4dd4c
37e740a618ae543a02c38dc04a32ef95202ff613
refs/heads/master
2020-04-29T14:55:41.108332
2019-03-18T05:42:06
2019-03-18T05:42:06
176,212,014
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
# From csv.py def next(self): if self.line_num == 0: # Used only for its side effect. self.fieldnames row = self.reader.next() self.line_num = self.reader.line_num # unlike the basic reader, we prefer not to return blanks, # because we will typically wind up with a ...
[ "rjaloudi@gmail.com" ]
rjaloudi@gmail.com
8a624bb6c252d01e91e85c01db568090a196805a
d33fa69a6948e4f7ec95e9fe8f3ff2befbd51779
/mmdet/core/bbox/samplers/pseudo_sampler.py
6c7189c5902ed0fe0f3155c91af02fd1c86a6bd9
[ "Apache-2.0" ]
permissive
chengdazhi/mmdetection
83848d7d26940ca982460e6a5c54f625b94f47db
08cb54216479e59b4e4fad19ea2c9b3c72fb0405
refs/heads/master
2020-04-10T13:46:51.481551
2018-12-25T13:01:27
2018-12-25T13:01:27
161,059,155
2
0
Apache-2.0
2018-12-09T16:32:58
2018-12-09T16:32:58
null
UTF-8
Python
false
false
789
py
import torch from .base_sampler import BaseSampler from .sampling_result import SamplingResult class PseudoSampler(BaseSampler): def __init__(self): pass def _sample_pos(self): raise NotImplementedError def _sample_neg(self): raise NotImplementedError def sample(self, assi...
[ "chenkaidev@gmail.com" ]
chenkaidev@gmail.com
33db64af4b6ad37a8ec321099aa706a1b8b4384c
07f837d8c5236fe5e75ef510cd296814452370ce
/py/testdir_single_jvm/test_mixed_causes_NA.py
a24a12cd046b8e8886ec2a49e8b3b2181c4a941f
[ "Apache-2.0" ]
permissive
vkuznet/h2o
6f9006a5186b964bac266981d9082aec7bc1067c
e08f7014f228cbaecfb21f57379970e6a3ac0756
refs/heads/master
2021-08-28T11:37:52.099953
2021-08-10T22:43:34
2021-08-10T22:43:34
20,032,996
0
0
Apache-2.0
2021-08-10T22:43:35
2014-05-21T18:46:27
Java
UTF-8
Python
false
false
1,074
py
import unittest, random, sys, time sys.path.extend(['.','..','py']) import h2o, h2o_cmd, h2o_hosts, h2o_import as h2i class Basic(unittest.TestCase): def tearDown(self): h2o.check_sandbox_for_errors() @classmethod def setUpClass(cls): global localhost localhost = h2o.decide_if_loca...
[ "kevin@0xdata.com" ]
kevin@0xdata.com
34b846756d284503d3d3b0c6ba934e8b12c9642d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_studding.py
6678ad5abd0de12b25008f628d0975d1f26a230f
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
#calss header class _STUDDING(): def __init__(self,): self.name = "STUDDING" self.definitions = stud self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['stud']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
911f6962a4e6534eb1a2956b6024c1d1ae530963
87ced16167203723557f75dc005c3aaae7e3f404
/online-judges/leetcode/design-add-and-search-words-data-structure.py
2f71bb888414a1be337580044ae83a8a74ae8f26
[]
no_license
joao-conde/competitive-programming
87e0c46f06bc017eea2701b9be860ee614c0e159
0d2d7375f0603142febab69707496d3b5b985054
refs/heads/master
2023-08-07T01:47:19.864827
2023-07-25T11:43:39
2023-07-25T11:43:39
132,962,490
6
3
null
2020-04-20T23:15:25
2018-05-10T22:55:01
C++
UTF-8
Python
false
false
1,304
py
# https://leetcode.com/problems/design-add-and-search-words-data-structure/ class Trie: def __init__(self) -> None: self.terminal = False self.children = dict() class WordDictionary: def __init__(self): self.root = Trie() def addWord(self, word: str) -> None: cur = self....
[ "joaodiasconde@gmail.com" ]
joaodiasconde@gmail.com
666a7c5bf826c9d8442621b3bb6f45d2ab638655
90e089c800d3ac6c9b338618574ce21a306f1399
/core/migrations/0001_initial.py
307b6fd284f8d2f50bffe710697675fced609aba
[]
no_license
Matroskins/fortypes
962e8f28297a565884703ed68ba8a0b93c8e16b3
708a7cc67f6e510152b796759f7e556d96a93522
refs/heads/master
2021-04-27T17:13:41.959941
2018-02-22T14:48:57
2018-02-22T14:48:57
122,317,047
0
0
null
2018-02-21T09:38:05
2018-02-21T09:38:05
null
UTF-8
Python
false
false
667
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-10-26 10:04 from __future__ import unicode_literals import django.core.files.storage from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
[ "chepe4pi@gmail.com" ]
chepe4pi@gmail.com
3644ea56d205d33828d5068c5f09c042d86d7eaa
4a63e96d7015e3e13d9b5204fc0261c05f600d3b
/Standard Library/argparse/Tutorial/06.1_getting_Advanced.py
afa833359fb3417e73abc11605b031434e4b5584
[ "Apache-2.0" ]
permissive
shubhamnag14/Python-Documents
0e38f58298d35b4df5b61adb361d720337148a00
d3fee0ad90232b413f6ac1b562588fb255b79e42
refs/heads/master
2023-06-08T23:51:26.089840
2021-06-20T15:07:44
2021-06-20T15:07:44
380,832,776
0
0
Apache-2.0
2021-06-27T20:33:08
2021-06-27T20:31:41
null
UTF-8
Python
false
false
654
py
import argparse parser = argparse.ArgumentParser() parser.add_argument("x", type=int, help="The Base") parser.add_argument("y", type=int, help="The Exponent") parser.add_argument("-v", "--verbosity", ...
[ "subhadeep@klizos.com" ]
subhadeep@klizos.com
41782d3bc803c312156388e6359672049401a10e
e62d5b3e9cb8e3549c711067e3f17d7c761f1b2a
/Namedtuple.py
88513e75c97b7868d741eab0904caf7a3f50ff1b
[]
no_license
UncleBob2/MyPythonCookBook
5fe658b3e281861015e154493480753d169764a7
131051c884415cde789a487acb7e7d1f60aea3ac
refs/heads/master
2023-01-03T04:26:15.493832
2020-10-29T20:09:45
2020-10-29T20:09:45
259,091,643
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
from collections import namedtuple # a good compromise between tuple and dictionary color = {'red': 55, 'green': 155, 'blue': 255} print('Using dictionary for color', color['red']) Color = namedtuple('Color', ['red', 'green', 'blue']) color = Color(55, 155, 255) white = Color(255, 255, 255) print('Using namedtuple...
[ "trohoang@yahoo.com" ]
trohoang@yahoo.com
e9d586534bf615faad2f0f3aa15943c1fd224d86
875bb84440094ce058a2ec25a661a7da6bb2e129
/algo_py/boj/bj11652.py
86054ecf9b20fc9613ea6167f4bd7af1a8400746
[]
no_license
shg9411/algo
150e4291a7ba15990f17ca043ae8ab59db2bf97b
8e19c83b1dbc0ffde60d3a3b226c4e6cbbe89a7d
refs/heads/master
2023-06-22T00:24:08.970372
2021-07-20T06:07:29
2021-07-20T06:07:29
221,694,017
2
0
null
null
null
null
UTF-8
Python
false
false
202
py
card = dict() for tmp in map(int, __import__('sys').stdin.read().split()[1:]): if tmp not in card:card[tmp] = 1 else:card[tmp] += 1 print(sorted(card.items(), key=lambda a: (-a[1], a[0]))[0][0])
[ "shg9411@naver.com" ]
shg9411@naver.com
fae30accf7693ee02154afb6779d5637a7101c64
4a255da2c8d4c4589ab2c38c378282ea4a65f1d9
/tests/deprecated_api/__init__.py
91c7ef1c1f8801ce7e8c8f96c9d7a65ac3e8d502
[ "Apache-2.0" ]
permissive
wandb/pytorch-lightning
7a2fcdd03d67757c7eb5be7fffc090f55d7927ef
fe34bf2a653ebd50e6a3a00be829e3611f820c3c
refs/heads/master
2022-02-10T12:09:00.469103
2022-01-24T08:19:57
2022-01-24T08:19:57
223,654,630
3
0
Apache-2.0
2021-06-16T10:34:53
2019-11-23T21:19:50
Python
UTF-8
Python
false
false
1,752
py
# Copyright The PyTorch Lightning team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "noreply@github.com" ]
wandb.noreply@github.com
20dd0349455e1e9388db2d86e19ca31baca89048
1a758ef862f733d98ddd8ebc8ade5cefd95c24f2
/coffees/migrations/0008_auto_20160814_0003.py
5e41ec9efc4be1c908ae538d5189a08874945ae6
[]
no_license
ajajul/ReactJS_Python
f116b35394666c5b3f2419eb5d8d7aeb077d4a24
08310d56fa88f326ddbfdd4b189f2a3a71f76d99
refs/heads/master
2020-03-19T03:16:57.510672
2018-06-01T10:36:36
2018-06-01T10:36:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('coffees', '0007_sharedcoffeesticker'), ] operations = [ migrations.AddField( model_name='coffeetype', ...
[ "web.expert@aol.com" ]
web.expert@aol.com
dc8f2cec24f68baa30d471ab0336fd32849e72b3
b3e3284f3d7b66f237e60fdfb1a37db706363139
/RST/app/ventas/migrations/0006_auto_20181115_1448.py
2c7d3cc5a4d2ca91049f8615f3723445a2e45792
[]
no_license
corporacionrst/administracion
4caf1545c313eb36408850bb4506bbd0bf43d6e6
7405442b4f14a589d75a5e04250be123403180ec
refs/heads/master
2020-04-11T00:04:06.017147
2018-12-11T21:46:49
2018-12-11T21:46:49
161,374,204
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 2.1.2 on 2018-11-15 14:48 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ventas', '0005_auto_20181114_2140'), ] operations = [ migrations.AlterField( model_name='orden'...
[ "admin@corporacionrst.com" ]
admin@corporacionrst.com
892133e6a10f09894aeb9a8d4cde9b7b9621cc7d
0be2afad29a71785d64a0c493fcd2cec803464d8
/train_visualization/plot.py
5b32d22cd95c63aa4fffc276e43fc9384d490180
[ "Apache-2.0" ]
permissive
hereismari/ajna
7bf9fe58a4b64bc34b953e38936e23992d5e1f49
e5db9a1cde88aba20e7b5738d8c434b9086721d5
refs/heads/master
2021-09-20T14:14:56.677711
2018-08-10T16:12:13
2018-08-10T16:12:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,723
py
import matplotlib.pyplot as plt import csv import os def read_and_preprocess_data(filename): # Lê arquivo e salva csv como dicionário res = {} if os.path.exists(filename): with open(filename) as csv_file: csv_reader = csv.DictReader(csv_file) for row in csv_reader: ...
[ "mariannelinharesm@gmail.com" ]
mariannelinharesm@gmail.com
e61371dd76bda43a1630895f7d5de5b4dcc87d4d
c1bd12405d244c5924a4b069286cd9baf2c63895
/azure-mgmt-sql/azure/mgmt/sql/models/operation_display.py
a5b2f841200641e4d361e2bfe4953bfad84d2a10
[ "MIT" ]
permissive
lmazuel/azure-sdk-for-python
972708ad5902778004680b142874582a284a8a7c
b40e0e36cc00a82b7f8ca2fa599b1928240c98b5
refs/heads/master
2022-08-16T02:32:14.070707
2018-03-29T17:16:15
2018-03-29T17:16:15
21,287,134
1
3
MIT
2019-10-25T15:56:00
2014-06-27T19:40:56
Python
UTF-8
Python
false
false
1,798
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 ...
[ "autorestci@microsoft.com" ]
autorestci@microsoft.com
6c5e15a223ab40fd0c865b6b2acf3b6f0832efc0
4b7791aa4a93ccfa6e2c3ffb10dfcbe11d042c66
/estudos/estudo_02.py
cf804e6be1490fbd787b503f0869c96b7be1f3df
[]
no_license
Dev33Renan/Python-Exercises
bbf895f241d4142a6172b911228227cd4a6fe6ab
ffc73bc0b912b41564034e7740ea29a9f5249553
refs/heads/main
2023-06-11T05:44:11.902322
2021-06-20T19:11:28
2021-06-20T19:11:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,049
py
frase = "O joão Foi andar ,de bicicleta." frase_02 = 'A maria não gosta de bicicleta' #seleção por posição (index) print(frase[5]) #seleção por intervalo (index e quantidade de casas) print(frase[2:6]) #seleção por intervalo (index , quantidade e passo) print(frase[5:1:-1]) #substituição por low case (letra minúscula )...
[ "hikarofcarvalho@gmail.com" ]
hikarofcarvalho@gmail.com
c4fc32732a38e01ea2ca2aacee54f77ae3b99850
2b791f6d4cf4b18fc8bcc2b6e3cb3a516c59077d
/test/examples/test_pysc2.py
2aa8a6b259f0b00abc9a8180e1b2168cc65e29f9
[ "MIT" ]
permissive
osu-xai/abp
9c99c66de1d9c91da360d133900e29e7b85d45d2
cd83eaa2810a1c5350c849303d61639576c0bb0d
refs/heads/master
2021-06-11T16:01:30.210471
2020-11-30T23:05:50
2020-11-30T23:05:50
155,762,226
0
1
MIT
2020-11-30T23:05:52
2018-11-01T19:01:12
Python
UTF-8
Python
false
false
584
py
import sys import unittest class PySC2Tests(unittest.TestCase): def test_pysc2_shards_dqn(self): sys.argv = ['', '--task', 'abp.examples.pysc2.collect_shards.dqn', '--folder', 'test/tasks/pysc2_collect_shards_dqn'] from abp.trainer.task_runner import main mai...
[ "nealla@lwneal.com" ]
nealla@lwneal.com
7f60604b39fc937cd4de9b6d0a1569ae01f700be
0f099ceacd4afabc92874dc9ab836c6baa4f0dbc
/mrbelvedereci/testresults/admin.py
25b2c02d8a522a2454a6c730c4181ffebf878eed
[ "BSD-3-Clause" ]
permissive
davidjray/mrbelvedereci
84d6c317a7d395602c421496d7dc6196f3b19258
a5cfebdad2fafff648f705785df95739023f2af8
refs/heads/master
2020-05-18T14:22:48.037304
2017-02-25T00:40:59
2017-02-25T00:40:59
84,244,028
0
0
null
2017-03-07T20:40:57
2017-03-07T20:40:57
null
UTF-8
Python
false
false
563
py
from django.contrib import admin from mrbelvedereci.testresults.models import TestResult from mrbelvedereci.testresults.models import TestMethod class TestResultAdmin(admin.ModelAdmin): list_display = ('build_flow', 'method', 'duration', 'outcome') list_filter = ('build_flow__build__repo', 'method', 'method__t...
[ "jlantz@salesforce.com" ]
jlantz@salesforce.com
111f2a2d1b3b762a31d45f54fa8a37bcc757338e
93713f46f16f1e29b725f263da164fed24ebf8a8
/Library/lib/python3.7/site-packages/astropy-4.0-py3.7-macosx-10.9-x86_64.egg/astropy/timeseries/periodograms/lombscargle/implementations/tests/test_utils.py
a0bb22fd6950e860070e9bbb8178f5ff5be32784
[ "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
2,191
py
import pytest import numpy as np from numpy.testing import assert_allclose, assert_equal from astropy.timeseries.periodograms.lombscargle.implementations.utils import extirpolate, bitceil, trig_sum @pytest.mark.parametrize('N', 2 ** np.arange(1, 12)) @pytest.mark.parametrize('offset', [-1, 0, 1]) def test_bitceil(N...
[ "nicolas.holzschuch@inria.fr" ]
nicolas.holzschuch@inria.fr
d2da12a87c1b55b04a218cf8a15a54b23fea5b08
3d65a2d72e65083c752281368cf040ae977e4757
/generate_empty_data_directory.py
5537758e68a618c65078169d960cab67860cdd18
[]
no_license
florisvb/OdorAnalysis
6b4b2c32979b9139856aee20cc63c34cfe63819e
18beae8d3c6be271f171b1c36c9fd932a8a404ba
refs/heads/master
2020-06-03T14:48:34.962795
2012-10-23T22:28:21
2012-10-23T22:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
import sys, os from optparse import OptionParser def main(path, config): os.mkdir(os.path.join(path, config.data_path)) os.mkdir(os.path.join(path, config.raw_datasets_path)) os.mkdir(os.path.join(path, config.culled_datasets_path)) os.mkdir(os.path.join(path, config.h5_path)) os.mkdir(os.path.joi...
[ "florisvb@gmail.com" ]
florisvb@gmail.com
a5721a4ecf125350389de8fc1870448f3186c310
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/containerservice/v20200101/list_managed_cluster_access_profile.py
5a33bdd1c4b4c49b22b00ddb4f2856092048bf12
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
4,186
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
6649df6a8169655213193e4015de1facfed50fec
7357d367b0af4650ccc5b783b7a59090fdde47bb
/models/research/attention_ocr/python/metrics.py
83f67809c7f18bd28777139ee752b99c790da44b
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
2,742
py
"""Quality metrics for the model.""" import tensorflow as tf def char_accuracy(predictions, targets, rej_char, streaming=False): """Computes character level accuracy. Both predictions and targets should have the same shape [batch_size x seq_length]. Args: predictions: predicted characters ids. targets: g...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
89b7174617d0b48116861a28f2447630f2a8f87e
9e1b884b94a0570e0c0781a7f7023e8ec482b5b4
/codes/T20.py
3eed41f3258b1e41601825e791c60a4addaa61a0
[]
no_license
sunjunee/offer_book_python_codes
568579434d82a7231074e41c67476c3ab8b9f181
ecc852a5d38c8a02b9c2d0473065579363035f83
refs/heads/master
2020-03-12T09:49:40.587404
2018-06-10T13:55:24
2018-06-10T13:55:24
130,560,256
1
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
# -*- coding: utf-8 -*- """ @ Author: Jun Sun {Python3} @ E-mail: sunjunee@qq.com @ Date: 2018-04-22 15:03:02 """ #表示数值的字符串:实现一个函数来判断一个字符串是否表示数值 #如+100, 5e2, -123, 3.1415, -1e-16 #{+-}{digits}.{digits}[eE]{+-}{digits} def judgeString(string): pA = pB = pC = True index, pA = getInteger(string, 0) ...
[ "sunjunee@qq.com" ]
sunjunee@qq.com
f8b441fb5a799a8054e3d99e1f9a9577ca133ded
bd87d8947878ccb2f5b720e70a22493b00868fd3
/fluent/11_interfaces/monkey_patching.py
376ef7d9da46e44a141c6e9d89cca318520fdec9
[]
no_license
damiansp/completePython
4cbf12ef682a1d4a5498f77e407dc02e44a7d7ac
3f5e2f14d79c93df5147b82d901190c054535158
refs/heads/master
2023-09-01T20:50:03.444440
2023-08-28T00:27:57
2023-08-28T00:27:57
99,197,610
0
1
null
null
null
null
UTF-8
Python
false
false
744
py
import collections from random import shuffle Card = collections.namedtuple('Card', ['rank', 'suit']) class FrenchDeck: ranks = [str(n) for n in range(2, 11)] + list('JQKA') suits = 'spades diamonds clubs hearts'.split() def __init__(self): self._cards = [Card(rank, suit) for suit in self.suits ...
[ "damiansp@gmail.com" ]
damiansp@gmail.com
99b46dc88fa2141bbc84b499ca4f5cd6a537b7f9
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02576/s456985906.py
8c3a47e877dfd91f6009c8645fef18b303b19a4f
[]
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
206
py
import sys read = sys.stdin.read #readlines = sys.stdin.readlines from math import ceil def main(): n, x, t = map(int, input().split()) print(ceil(n / x) * t) if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cda854759b81092d95dc44d05842714eb9b494ba
e483b0515cca39f4ddac19645f03fc1695d1939f
/google/ads/google_ads/v1/proto/enums/product_bidding_category_status_pb2.py
077aaca8546340153b855c91a6e7ebd3e2e0b8bb
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
BrunoWMello/google-ads-python
0af63d2ca273eee96efd8a33252d27112c049442
9b074a037d10f0c1208a00d5d41a8e5e25405f28
refs/heads/master
2020-05-27T04:37:47.669144
2019-05-24T17:07:31
2019-05-24T17:07:31
null
0
0
null
null
null
null
UTF-8
Python
false
true
4,249
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v1/proto/enums/product_bidding_category_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message ...
[ "noreply@github.com" ]
BrunoWMello.noreply@github.com
faf060d7b38be5fea1712230d9bbb6f91e45b7f9
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_noisy3275.py
b7544f2ecf5b480e932e0f8dbee5116b5707548d
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,327
py
# qubit number=4 # total number=43 import cirq import qiskit from qiskit.providers.aer import QasmSimulator from qiskit.test.mock import FakeVigo from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
34adc483132c9caf762c7cacb07b61a87b41f63f
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/tNFTY9ggpTkeHvBaN_8.py
a1976203fc818883d4a044522788b64c44d4a5b8
[]
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
175
py
def total_volume(*args): sum = 0 for each_list in args: mul=1 for num in each_list: mul = mul*num sum = sum + mul return sum
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
128e264329fe51285f1f6f5e2510c05123196b45
46244bb6af145cb393846505f37bf576a8396aa0
/leetcode/152.maximum_product_subarray.py
0fc1bda3b921136bc8e52fbde9679d2808d39979
[]
no_license
aoeuidht/homework
c4fabfb5f45dbef0874e9732c7d026a7f00e13dc
49fb2a2f8a78227589da3e5ec82ea7844b36e0e7
refs/heads/master
2022-10-28T06:42:04.343618
2022-10-15T15:52:06
2022-10-15T15:52:06
18,726,877
4
3
null
null
null
null
UTF-8
Python
false
false
2,379
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys class Solution: # @param A, a list of integers # @return an integer def maxProduct(self, A): al = len(A) if al < 1: return 0 elif al == 1: return A[0] max_product = A[0] neg_lo, neg_hi ...
[ "sockpuppet.lea@gmail.com" ]
sockpuppet.lea@gmail.com
ff897b58afc4069f5b6d6e1cdadf44950299b683
dddd18198df381e61f5dd71985edd362d19001c4
/djstell/reactor/models.py
ed65438e73460408a7b344e10df947a5ed0d71be
[]
no_license
nedbat/nedbatcom
1b148e3cf30cff3c121dbe5412017e8a7f42a30a
d460a606c77ebf856557ccdee29dd27a69455896
refs/heads/master
2023-09-01T09:28:37.368419
2023-08-29T18:14:38
2023-08-29T18:14:38
7,422,053
8
6
null
2022-07-10T23:28:37
2013-01-03T11:52:06
HTML
UTF-8
Python
false
false
1,753
py
from django.conf import settings from django.db import models from django.urls import reverse from .tools import md5 class Comment(models.Model): entryid = models.CharField(max_length=40, db_index=True) name = models.CharField(max_length=60) email = models.CharField(max_length=100, null=True) website...
[ "ned@nedbatchelder.com" ]
ned@nedbatchelder.com
730a99c3692fb4c357608ee9bc85fb75f8fc6ec0
9141e27444128fa8474235f63225f8c121c42878
/tests/extensions/test_registry.py
0a0de60d4e5c7a1b0cfcc2229d21f243b13e32de
[ "BSD-3-Clause" ]
permissive
gc-ss/pyapp
00a8ab7c517fe6613049640991e27880a00887fb
1fa2651d8b42f6e28b0c33b2b4fd287affd3a88f
refs/heads/master
2023-04-08T01:51:43.374810
2020-09-14T00:22:07
2020-09-14T00:22:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,257
py
from unittest import mock import pytest from pyapp.extensions.registry import ExtensionDetail from pyapp.extensions.registry import ExtensionEntryPoints from pyapp.extensions.registry import ExtensionRegistry from pyapp.extensions.registry import pkg_resources from tests.sample_ext import SampleExtension from tests.s...
[ "tim@savage.company" ]
tim@savage.company
6ba578146ce74c3dceec8a819b6e7c89264220a3
23d962a8e36b4a58e63e15f3c61a88b537a80f6e
/test/unit/mongo_class/repsetcoll_ins_doc.py
8a75acee80fa5504bdf2fc7ed82626d1c2633972
[ "MIT" ]
permissive
deepcoder42/mongo-lib
3a893d38edb3e03decff0cfbcbf29339026909f9
fa2b65587ab88ee90c9d85f12dd642c6295e0d94
refs/heads/master
2023-06-14T10:10:12.032877
2021-07-13T15:22:17
2021-07-13T15:22:17
337,179,035
0
0
null
null
null
null
UTF-8
Python
false
false
2,146
py
#!/usr/bin/python # Classification (U) """Program: repsetcoll_ins_doc.py Description: Unit testing of RepSetColl.ins_doc in mongo_class.py. Usage: test/unit/mongo_class/repsetcoll_ins_doc.py Arguments: """ # Libraries and Global Variables # Standard import sys import os if sys.version_info...
[ "deepcoder42@gmail.com" ]
deepcoder42@gmail.com
648e57155207f80d8186777a0f154c09b450a3b0
0cf704d61352737ba7a7698043375446ee1f7b03
/travis/waitdb
1574aee0701962e71aab9108ede02fe2ebadeb5d
[ "BSD-2-Clause-Views" ]
permissive
experimentAccount0/c2cgeoportal
4be327e7be6c39b631e4500118507d9a8823122e
5f7f781cf18fe396d0e940bc3dc6a5f928e030cd
refs/heads/master
2021-01-15T21:33:58.169936
2017-08-07T07:51:41
2017-08-07T07:51:41
99,875,202
0
0
null
2017-08-10T03:04:56
2017-08-10T03:04:55
null
UTF-8
Python
false
false
401
#!/usr/bin/python import sys import time import sqlalchemy sleep_time = 1 # wait for the DB to be UP while True: print("Waiting for the DB to be reachable") try: sqlalchemy.create_engine(sys.argv[1]).connect() exit(0) except Exception as e: print(str(e)) print("Waiting for...
[ "stephane.brunner@camptocamp.com" ]
stephane.brunner@camptocamp.com
4d971e6b6f550716ebcddbf6d61b9b7b7ab4e0aa
546b8c3e1b876aab272e587765951e8acd7b3122
/irlc/ex00/listcomp.py
b68fff096aa522d77f88184abdb258b84db06642
[]
no_license
natashanorsker/RL_snakes
2b8a9da5dd1e794e832830ab64e57ab7d4b0d6c3
be8c75d1aa7a5ba7a6af50a0a990a97b0242c49d
refs/heads/main
2023-04-21T14:08:30.840757
2021-05-11T17:33:35
2021-05-11T17:33:35
358,572,447
1
1
null
null
null
null
UTF-8
Python
false
false
805
py
""" This file may not be shared/redistributed without permission. Please read copyright notice in the git repo. If this file contains other copyright notices disregard this text. """ nums = [1, 2, 3, 4, 5, 6] plusOneNums = [x + 1 for x in nums] oddNums = [x for x in nums if x % 2 == 1] print(oddNums) oddNumsPlusOne =...
[ "natashanorsker@gmail.com" ]
natashanorsker@gmail.com
7673db1213b13fbf378ed98baa8e76b8dc967d4b
74be814f7cd10d3c91a53460bd6698aa8bc95704
/AcWing算法基础课/记忆化搜索/901. 滑雪.py
aa5469dd0aafe27d88af53c536c5fa9b8188db37
[]
no_license
weiyuyan/LeetCode
7202f7422bc3bef6bd35ea299550b51905401656
19db0e78826d3e3d27d2574abd9d461eb41458d1
refs/heads/master
2020-12-03T17:10:53.738507
2020-05-27T08:28:36
2020-05-27T08:28:36
231,402,839
2
0
null
null
null
null
UTF-8
Python
false
false
4,204
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # author:ShidongDu time:2020/4/1 ''' 给定一个R行C列的矩阵,表示一个矩形网格滑雪场。 矩阵中第 i 行第 j 列的点表示滑雪场的第 i 行第 j 列区域的高度。 一个人从滑雪场中的某个区域内出发,每次可以向上下左右任意一个方向滑动一个单位距离。 当然,一个人能够滑动到某相邻区域的前提是该区域的高度低于自己目前所在区域的高度。 下面给出一个矩阵作为例子: 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 ...
[ "244128764@qq.com" ]
244128764@qq.com
5bb0f1b8c1083657bb7ed66ce5158451716ad0f7
4ea675fdab4b7aab8b84fd8b6127ff452e4e4a8f
/dc_mosaic.py
6ec9f6214c790cb63e89745bd668433d2386bb32
[ "Apache-2.0" ]
permissive
v0lat1le/data_cube_utilities
f1819ed5686a92c0ca20a40972afb161600d2462
5015da91c4380925ce7920e18a7d78268a989048
refs/heads/master
2020-05-18T15:10:35.361663
2017-03-08T00:18:58
2017-03-08T00:18:58
84,257,036
0
0
null
2017-03-07T23:36:53
2017-03-07T23:36:53
null
UTF-8
Python
false
false
8,063
py
# Copyright 2016 United States Government as represented by the Administrator # of the National Aeronautics and Space Administration. All Rights Reserved. # # Portion of this code is Copyright Geoscience Australia, Licensed under the # Apache License, Version 2.0 (the "License"); you may not use this file # except in ...
[ "alfredo.h.delos_santos@ama-inc.com" ]
alfredo.h.delos_santos@ama-inc.com
2b3195ba262ba0da86a95bc47374e0749c55102d
083ca3df7dba08779976d02d848315f85c45bf75
/BinaryTreePostorderTraversal3.py
58cab01e0197a9503d8d6e5bbc2ec068195ac364
[]
no_license
jiangshen95/UbuntuLeetCode
6427ce4dc8d9f0f6e74475faced1bcaaa9fc9f94
fa02b469344cf7c82510249fba9aa59ae0cb4cc0
refs/heads/master
2021-05-07T02:04:47.215580
2020-06-11T02:33:35
2020-06-11T02:33:35
110,397,909
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def postorderTraversal(self, root): """ :type root: TreeNode :rtype: List[int] """ postorder = [] if not root: ...
[ "jiangshen95@163.com" ]
jiangshen95@163.com
664a8438d8355afbb35e1f4a504b4cf54c2ed6bd
266947fd84eed629ed0c21f6d91134239512afd9
/BeginnerContest_A/078.py
d4f876810de243df887f94455a3fc46497abefcc
[]
no_license
SkiMsyk/AtCoder
c86adeec4fa470ec14c1be7400c9fc8b3fb301cd
8102b99cf0fb6d7fa304edb942d21cf7016cba7d
refs/heads/master
2022-09-03T01:23:10.748038
2022-08-15T01:19:55
2022-08-15T01:19:55
239,656,752
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
X, Y = input().split() d = {'A':1, 'B':2, 'C':3, 'D':4, 'E':5, 'F':6} if d[X] < d[Y]: print('<') elif d[X] == d[Y]: print('=') else: print('>')
[ "sakaimasayuki@sakaimasayukinoMacBook-puro.local" ]
sakaimasayuki@sakaimasayukinoMacBook-puro.local
061c123ad1b7b5a44b4b25024ccb37b6e4d35897
1f7c4413d1e03bb431fd3efd34127693b192c7f2
/tests/actions/save_group.py
45cdeccef99723d54170a5f520498d8b644866e8
[ "MIT" ]
permissive
blueshed/blueshed-micro
8c6f8f572561f09b18f48a7b8a0466d9531ad16b
d52b28aaabf0ac6d43594155561d6cb3fce64a80
refs/heads/master
2020-12-25T17:13:36.458520
2016-11-18T17:57:27
2016-11-18T17:57:27
58,062,960
0
0
null
2016-10-31T11:28:17
2016-05-04T15:26:17
Python
UTF-8
Python
false
false
724
py
from blueshed.micro.orm.orm_utils import serialize from tests.actions import model def save_group(context: 'micro_context', name: str, id: int=None): ''' Adds a group to the database if it is not already there, otherwise it updates it. ''' with context...
[ "pete@blueshed.co.uk" ]
pete@blueshed.co.uk
294e69324ddea04aaeb771cab56347d49297d63a
eb12c383dca56dcd4a1e362bc02588bbd6e2dda6
/racecar-ws/build/racecar/racecar/catkin_generated/pkg.develspace.context.pc.py
9069f579dfa2ee8ea219e891d4f79361ff3f0e4e
[]
no_license
174high/race-car
2e5b403900496753bb71d5297cc3d1177620622a
9fa772a84fee1489e9b52670f07e30d54db35fe8
refs/heads/master
2020-03-20T08:32:48.984720
2018-06-14T05:48:56
2018-06-14T05:48:56
137,311,828
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "razor_imu_9dof;tf;tf2_ros;urg_node;joy;rosbag;rostopic;rviz;gmapping;hector_mapping;robot_pose_ekf".replace(';', ' ') PKG_CONFIG_LIBRARIES_WIT...
[ "you@example.com" ]
you@example.com
c00b80fb096539a331e5b7ea6a66d592b34a175c
e64e88c5561698555381d9ed48d17dadbbcd753b
/crimefiles/migrations/0058_auto_20200711_1856.py
c3e7241fa313325d5d4020271b65ce47d68acb8c
[]
no_license
shreyasharma98/MS336_TechDhronas
393979e67c3d5bbf5ff7a4924c71a637cc1337ea
cb2580cb64de8a52b9d1ddc4225ab077415ade7e
refs/heads/master
2022-11-30T21:37:16.275763
2020-08-17T17:07:21
2020-08-17T17:07:21
284,041,527
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
# Generated by Django 2.0 on 2020-07-11 13:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('crimefiles', '0057_auto_20200711_1814'), ] operations = [ migrations.AlterField( model_name='case...
[ "65544777+aakriti1435@users.noreply.github.com" ]
65544777+aakriti1435@users.noreply.github.com