repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/junction_data_utils_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:30.427546 | # Copyright 2025 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/track_data_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:30.718622 | # Copyright 2025 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/track_data_utils_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:30.822698 | # Copyright 2025 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/variant_scorers.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:30.858358 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/variant_scorers_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:30.922236 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/protos/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:30.983442 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/tensor_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:31.340385 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/tensor_utils_benchmark_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:31.377777 | # Copyright 2025 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/tensor_utils_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:31.463816 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/typing.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:31.482635 | # Copyright 2025 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/typing_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:31.536486 | # Copyright 2025 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/visualization/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:31.927536 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/visualization/plot.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:31.940017 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/visualization/plot_components.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:32.046129 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/junction_data_utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:34.971055 | # Copyright 2025 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/interval_scorers_test.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:35.003140 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/interval_scorers.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:35.054595 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/dna_output.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:35.076688 | # Copyright 2024 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
google-deepmind/alphagenome | https://github.com/google-deepmind/alphagenome | null | null | null | null | 1,902 | null | null | apache-2.0 | null | null | null | null | null | null | null | src/alphagenome/models/dna_model.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:40.573979 | # Copyright 2025 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/category.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.020088 | from enum import Enum
from .utils import ApiComponent
class CategoryColor(Enum):
RED = 'preset0' # 0
ORANGE = 'preset1' # 1
BROWN = 'preset2' # 2
YELLOW = 'preset3' # 3
GREEN = 'preset4' # 4
TEAL = 'preset5' # 5
OLIVE = 'preset6' # 6
BLUE = 'preset7' # 7
PURPLE = 'preset8'... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/groups.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.021552 | import logging
from .directory import User
from .utils import ApiComponent, NEXT_LINK_KEYWORD, Pagination
log = logging.getLogger(__name__)
class Group(ApiComponent):
""" A Microsoft 365 group """
_endpoints = {
'get_group_owners': '/groups/{group_id}/owners',
'get_gro... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/address_book.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.023484 | import datetime as dt
import logging
from dateutil.parser import parse
from requests.exceptions import HTTPError
from .category import Category
from .message import Message, RecipientType
from .utils import (
NEXT_LINK_KEYWORD,
ApiComponent,
AttachableMixin,
Pagination,
Recipients,
TrackerSet,... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/directory.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.032258 | import logging
from dateutil.parser import parse
from requests.exceptions import HTTPError
from .message import Message, RecipientType
from .utils import ME_RESOURCE, NEXT_LINK_KEYWORD, ApiComponent, Pagination
USERS_RESOURCE = 'users'
log = logging.getLogger(__name__)
class User(ApiComponent):
_endpoints = ... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/account.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.034121 | import warnings
from typing import Callable, List, Optional, Tuple, Type
from .connection import Connection, MSGraphProtocol, Protocol
from .utils import ME_RESOURCE, consent_input_token
class Account:
connection_constructor: Type = Connection #: :meta private:
def __init__(self, credentials: str... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/connection.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.039387 | import json
import logging
import time
from typing import Callable, Dict, List, Optional, Union
from urllib.parse import parse_qs, urlparse
from msal import ConfidentialClientApplication, PublicClientApplication
from requests import Response, Session
from requests.adapters import HTTPAdapter
from requests.exceptions i... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.041705 | """
A simple python library to interact with Microsoft Graph and other MS api
"""
import warnings
import sys
from .account import Account
from .connection import Connection, Protocol, MSGraphProtocol
from .utils import FileSystemTokenBackend, EnvTokenBackend
from .message import Message
if sys.warnoptions:
# al... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/drive.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.045850 | import logging
import warnings
from pathlib import Path
from time import sleep
from typing import Union, Optional
from urllib.parse import quote, urlparse
from io import BytesIO
from dateutil.parser import parse
from .address_book import Contact
from .utils import (
NEXT_LINK_KEYWORD,
ApiComponent,
OneDri... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/excel.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.065345 | """
2019-04-15
Note: Support for workbooks stored in OneDrive Consumer platform is still not available.
At this time, only the files stored in business platform is supported by Excel REST APIs.
"""
import datetime as dt
import logging
import re
from urllib.parse import quote
from .drive import File
from .utils import... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/calendar.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.067871 | import calendar
import datetime as dt
import logging
from zoneinfo import ZoneInfo
# noinspection PyPep8Naming
from bs4 import BeautifulSoup as bs
from dateutil.parser import parse
from .category import Category
from .utils import (
NEXT_LINK_KEYWORD,
ApiComponent,
AttachableMixin,
BaseAttachment,
... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/message.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.607557 | import datetime as dt
import logging
from enum import Enum
from pathlib import Path
# noinspection PyPep8Naming
from bs4 import BeautifulSoup as bs
from dateutil.parser import parse
from .calendar import Event
from .category import Category
from .utils import (
ApiComponent,
AttachableMixin,
BaseAttachmen... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/planner.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.636779 | import logging
from datetime import date, datetime
from dateutil.parser import parse
from .utils import NEXT_LINK_KEYWORD, ApiComponent, Pagination
log = logging.getLogger(__name__)
class TaskDetails(ApiComponent):
_endpoints = {"task_detail": "/planner/tasks/{id}/details"}
def __init__(self, *, parent=No... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/mailbox.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.638235 | import datetime as dt
import logging
from enum import Enum
from .message import Message
from .utils import (
NEXT_LINK_KEYWORD,
ApiComponent,
OutlookWellKnowFolderNames,
Pagination,
)
log = logging.getLogger(__name__)
class ExternalAudience(Enum):
"""Valid values for externalAudience."""
NO... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.646307 | from .attachment import BaseAttachments, BaseAttachment, AttachableMixin
from .utils import ApiComponent, OutlookWellKnowFolderNames
from .utils import CaseEnum, ImportanceLevel, TrackerSet
from .utils import Recipient, Recipients, HandleRecipientsMixin
from .utils import NEXT_LINK_KEYWORD, ME_RESOURCE, USERS_RESOURCE
... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/sharepoint.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.647385 | import logging
from dateutil.parser import parse
from .address_book import Contact
from .drive import Storage
from .utils import NEXT_LINK_KEYWORD, ApiComponent, Pagination, TrackerSet
log = logging.getLogger(__name__)
class SharepointListColumn(ApiComponent):
""" A Sharepoint List column within a SharepointLi... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/subscriptions.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.659634 | import datetime as dt
from typing import Iterable, Mapping, Optional, Union
from .utils import ApiComponent, NEXT_LINK_KEYWORD, Pagination
class Subscriptions(ApiComponent):
"""Subscription operations for Microsoft Graph webhooks."""
_endpoints = {
"subscriptions": "/subscriptions",
}
def _... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/casing.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.671557 | import re
def to_snake_case(value: str) -> str:
"""Convert string into snake case"""
pass
value = re.sub(r"[\-.\s]", '_', str(value))
if not value:
return value
return str(value[0]).lower() + re.sub(
r"[A-Z]",
lambda matched: '_' + str(matched.group(0)).lower(),
val... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/tasks.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.672720 | """Methods for accessing MS Tasks/Todos via the MS Graph api."""
import datetime as dt
import logging
# noinspection PyPep8Naming
from bs4 import BeautifulSoup as bs
from dateutil.parser import parse
from .utils import ApiComponent, TrackerSet
log = logging.getLogger(__name__)
CONST_CHECKLIST_ITEM = "checklistitem... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/teams.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.675585 | import logging
from enum import Enum
from dateutil.parser import parse
from .utils import NEXT_LINK_KEYWORD, ApiComponent, Pagination
log = logging.getLogger(__name__)
MAX_BATCH_CHAT_MESSAGES = 50
MAX_BATCH_CHATS = 50
class Availability(Enum):
"""Valid values for Availability."""
AVAILABLE = "Available"
... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/attachment.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:43.705618 | import base64
import logging
from io import BytesIO
from pathlib import Path
from .utils import ApiComponent
log = logging.getLogger(__name__)
UPLOAD_SIZE_LIMIT_SIMPLE = 1024 * 1024 * 3 # 3 MB
DEFAULT_UPLOAD_CHUNK_SIZE = 1024 * 1024 * 3
class AttachableMixin:
def __init__(self, attachment_name_property=None, ... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/consent.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.185565 | def consent_input_token(consent_url):
print('Visit the following url to give consent:')
print(consent_url)
return input('Paste the authenticated url here:\n')
|
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/token.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.199163 | from __future__ import annotations
import datetime as dt
import json
import logging
import os
from pathlib import Path
from typing import Optional, Protocol, Union, TYPE_CHECKING
from msal.token_cache import TokenCache
if TYPE_CHECKING:
from O365.connection import Connection
log = logging.getLogger(__name__)
... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/query.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.206454 | from __future__ import annotations
import datetime as dt
from abc import ABC, abstractmethod
from typing import Union, Optional, TYPE_CHECKING, Type, Iterator, TypeAlias
if TYPE_CHECKING:
from O365.connection import Protocol
FilterWord: TypeAlias = Union[str, bool, None, dt.date, int, float]
class QueryBase(AB... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/decorators.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.210140 | import logging
from functools import wraps
log = logging.getLogger(__name__)
def deprecated(version, *replacement):
""" Decorator to mark a specified function as deprecated
:param version: version in which it is deprecated
:param replacement: replacement functions to use
"""
def deprecated_wrap... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | docs/source/conf.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.222873 | # -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup ------------------------------------------------------------... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/automatic_response_example.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.264347 | from O365 import Account
client_id = '' # Your client_id
client_secret = '' # Your client_secret, create an (id, secret) at https://apps.dev.microsoft.com
print("Connecting to O365")
account = Account(credentials=(client_id, client_secret), auth_flow_type='authorization')
if account.authenticate(scopes=['basic', 'M... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/utils.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.265625 | import datetime as dt
import logging
from collections import OrderedDict
from enum import Enum
from typing import Dict, Union
from dateutil.parser import parse
from zoneinfo import ZoneInfo, ZoneInfoNotFoundError
from .query import QueryBuilder
from .casing import to_snake_case
from .decorators import fluent
from .wi... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/before version 1/calendarCookbook.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.274585 | from O365 import *
# User's credentials
e = 'email_address'
p = 'password'
# Create Schedule object, get calendars, and create empty dict
schedule = Schedule((e, p))
result = schedule.getCalendars()
# Funciton to invoke getName() and bind to var result
def cal_name():
result = cal.getName() # This will get the n... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/windows_tz.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.278889 | """
Mapping from iana timezones to windows timezones and vice versa
"""
from datetime import tzinfo
from zoneinfo import ZoneInfoNotFoundError, ZoneInfo
# noinspection SpellCheckingInspection
IANA_TO_WIN = {
"Africa/Abidjan": "Greenwich Standard Time",
"Africa/Accra": "Greenwich Standard Time",
"Africa/Add... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | O365/utils/range.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.291205 | CAPITALIZED_ASCII_CODE = ord('A')
CAPITALIZED_WINDOW = 26
def col_index_to_label(col_index):
"""
Given a column index, returns the label corresponding to the column name. For example, index 0 would be
A ... until 25 which would be Z.
This function will recurse until a full label is generated using chu... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/before version 1/search_subfolders.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.940867 | import getpass
from O365 import Connection, FluentInbox
def main():
username = input("Username: ")
password = getpass.getpass("Password: ")
authentication = (username, password)
Connection.login(*authentication)
inbox = FluentInbox()
# set inbox as current folder to use as parent, self.folder... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/jwt_assertion.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.943352 | import codecs
import uuid
from datetime import datetime, timezone, timedelta
import jwt
_ALGORITHM = "RS256"
def _get_aud(tenant_id):
return f"https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token"
def create_jwt_assertion(private_key, tenant_id, thumbprint, client_id):
"""
Create a JWT asse... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/subscriptions_example.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:44.944896 |
""" Example on how to use and setup webhooks
Quickstart for this example:
1) Run Flask locally withg the following command:
- flask --app examples/subscriptions_example.py run --debug
2) Expose HTTPS via a tunnel to your localhost:5000:
- Free: pinggy (https://pinggy.io/) to get https://<subdomain>.pinggy.li... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_mailbox.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.101311 | from O365 import Account
import json
class MockConnection:
ret_value = None
def get(self, url, params=None, **kwargs):
self.url = url
self.kwargs = kwargs
class TestMailBox:
def setup_class(self):
credentials = ("client id","client secret")
self.account = Account(credent... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | release.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.105591 | """
Release script
"""
import os
import shutil
import subprocess
import sys
import requests
from pathlib import Path
from math import floor
import click
PYPI_PACKAGE_NAME = 'O365'
PYPI_URL = 'https://pypi.org/pypi/{package}/json'
DIST_PATH = 'dist'
DIST_PATH_DELETE = 'dist_delete'
CONTEXT_SETTINGS = dict(help_option... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/token_backends.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.107278 | from __future__ import annotations
import time
import logging
import random
from typing import Optional, TYPE_CHECKING
from portalocker import Lock
from portalocker.exceptions import LockException
from O365.utils import FirestoreBackend, FileSystemTokenBackend
if TYPE_CHECKING:
from O365.connection import Conn... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | examples/onedrive_example.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.107759 | import os
import argparse
from O365 import Account
client_id = '' # Your client_id
client_secret = '' # Your client_secret, create an (id, secret) at https://apps.dev.microsoft.com
scopes = ['basic', 'https://graph.microsoft.com/Files.ReadWrite.All']
CHUNK_SIZE = 1024 * 1024 * 5
class O365Account():
def __init... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_message.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.109899 | import io
from unittest import mock
from collections import namedtuple, deque
from O365.connection import MSGraphProtocol
from O365.message import Flag, Message
from O365.utils import ImportanceLevel
class TestMessageData:
def test_equality(self):
msg_1 = message(__cloud_data__={"id": "123"})
msg... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_connection.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.110692 | import pytest
import json
from O365.connection import Connection, Protocol, MSGraphProtocol, MSOffice365Protocol, DEFAULT_SCOPES
class TestConnection:
def setup_class(self):
pass
def teardown_class(self):
pass
def test_blank_connection(self):
with pytest.raises(TypeError):
... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_account.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.285237 | import pytest
from O365 import Account
from .config import Config
from O365.utils import EnvTokenBackend
import logging
log = logging.getLogger(__name__)
class TestAccount:
@pytest.mark.parametrize("pop, key_to_pop", [
(False, ""),
(True, "scopes"),
(True, "password"),
(True, "tena... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_protocol.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.525773 | import pytest
import json
from zoneinfo import ZoneInfoNotFoundError
from tzlocal import get_localzone
from O365.connection import Connection, Protocol, MSGraphProtocol, MSOffice365Protocol, DEFAULT_SCOPES
TEST_SCOPES = [
'Calendars.Read', 'Calendars.Read.Shared', 'Calendars.ReadWrite', 'Calendars.ReadWrite.Shar... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_planner.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.526410 | from datetime import datetime, timedelta
import pytest
from O365 import Account
from O365.planner import Plan, Task, Bucket, PlanDetails, TaskDetails
from functools import reduce
from .config import Config
from O365.utils import EnvTokenBackend
from string import printable, ascii_lowercase, digits
from random import ch... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_range.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.557631 | import pytest
from O365.utils import col_index_to_label
class TestRange:
EXPECTED_CHARS = [
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',
'AA','AB','AC','AD','AE','AF','AG','AH','AI','AJ','AK','AL','AM','AN','AO','AP','AQ','AR','AS','AT',... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_recipient.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.632703 | import pytest
from O365.utils import Recipient
class TestRecipient:
def setup_class(self):
pass
def teardown_class(self):
pass
def test_recipient_str(self):
recipient = Recipient()
assert str(recipient) == ""
recipient = Recipient(address="john@example.com")
... |
O365/python-o365 | https://github.com/O365/python-o365 | null | null | null | null | 1,899 | null | null | apache-2.0 | null | null | null | null | null | null | null | tests/test_teams.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:45.659653 | import pytest
import time
from O365 import Account
from O365.utils import FileSystemTokenBackend
from tests import config
TEST_SCOPES = ['offline_access', 'Channel.ReadBasic.All',
'ChannelMessage.Read.All', 'ChannelMessage.Send',
'Chat.ReadWrite', 'ChatMember.ReadWrite', 'Team.ReadBasic.A... |
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | autoviz/classify_method.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.831829 | import random
import numpy as np
import pandas as pd
np.random.seed(99)
random.seed(42)
################################################################################
#### The warnings from Sklearn are so annoying that I have to shut it off #######
import warnings
warnings.filterwarnings("ignore")
from... |
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | autoviz/__init__.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.833621 | name = "autoviz"
from .__version__ import __version__, __holo_version__
from .AutoViz_Class import AutoViz_Class
from .AutoViz_Class import data_cleaning_suggestions
from .AutoViz_Class import FixDQ
############################################################################################
if __name__ == "__main... |
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | autoviz/tests/test_deps.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.834241 | import unittest
class DepsTest(unittest.TestCase):
def test(self):
# have to pip install xgboost
from autoviz import AutoViz_Class as AV
AVC = AV.AutoViz_Class()
self.assertIsNotNone(AVC)
|
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | autoviz/AutoViz_NLP.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.834993 | """
Copyright 2020 Google LLC. This software is provided as-is, without warranty or
representation for any use or purpose. Your use of it is subject to your
agreement with Google.
"""
import pandas as pd
import string
from collections import Counter
from .AutoViz_Utils import save_image_data
pd.set_optio... |
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | autoviz/AutoViz_Class.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.843925 | ############################################################################
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/l... |
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | autoviz/tests/test_autoviz_class.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.850133 | import unittest
from ..AutoViz_Class import AutoViz_Class
class TestAutoVizClass:
def test_add_plots(self):
return True
|
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | autoviz/AutoViz_Holo.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.850876 | from holoviews.ipython import display
from autoviz.AutoViz_Utils import classify_print_vars, find_remove_duplicates
import numpy as np
import pandas as pd
import warnings
warnings.filterwarnings("ignore")
def warn(*args, **kwargs):
pass
warnings.warn = warn
#####################################... |
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | autoviz/__version__.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.863367 | # -*- coding: utf-8 -*-
"""Specifies the version of the Auto_ViML package."""
__title__ = "AutoViz"
__author__ = "Ram Seshadri"
__description__ = "Automatically Visualize any data set any size with a Single Line of Code"
__url__ = "https://github.com/AutoViML/AutoViz.git"
__version__ = "0.1.905"
__holo_version... |
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | old_setup.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:47.884878 | import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="autoviz",
version="0.1.806",
author="Ram Seshadri",
# author_email="author@example.com",
description="Automatically Visualize any dataset, any size with a single line of code",
... |
AutoViML/AutoViz | https://github.com/AutoViML/AutoViz | null | null | null | null | 1,898 | null | null | apache-2.0 | null | null | null | null | null | null | null | setup.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:48.714775 | import setuptools
import sys
with open("README.md", "r") as fh:
long_description = fh.read()
# Determine the Python version
python_version = sys.version_info
list_req = [
"xlrd",
"wordcloud",
"emoji",
# Assuming numpy version <1.25.0 is compatible with older Python versions and older... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/charbigru.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:50.898638 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2017-10-17 16:47:32
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2018-10-18 11:12:13
from __future__ import print_function
import torch
import torch.nn as nn
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_s... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/charcnn.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:50.904898 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2017-10-17 16:47:32
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-01-18 21:06:06
from __future__ import print_function
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
class CharCNN... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/crf.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:50.915870 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2017-12-04 23:19:38
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2018-12-16 22:15:56
from __future__ import print_function
import torch
import torch.autograd as autograd
import torch.nn as nn
import torch.nn.functional as F... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/sentclassifier.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:50.917404 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2019-01-01 21:11:50
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-02-13 12:30:56
from __future__ import print_function
from __future__ import absolute_import
import torch
import torch.nn as nn
import torch.nn.functiona... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | main.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:50.918822 | # -*- coding: utf-8 -*-
# @Author: Jie
# @Date: 2017-06-15 14:11:08
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-02-13 12:41:44
from __future__ import print_function
import time
import sys
import argparse
import random
import torch
import gc
import torch.nn as nn
import... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/seqlabel.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:50.920734 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2017-10-17 16:47:32
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-02-13 11:49:38
from __future__ import print_function
from __future__ import absolute_import
import torch
import torch.nn as nn
import torch.nn.functiona... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/wordrep.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.014201 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2017-10-17 16:47:32
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-02-01 15:52:01
from __future__ import print_function
from __future__ import absolute_import
import torch
import torch.nn as nn
import numpy as np
from .c... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/charbilstm.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.016197 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2017-10-17 16:47:32
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2018-10-18 11:19:37
from __future__ import print_function
import torch
import torch.nn as nn
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_s... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | main_parse.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.038863 | # -*- coding: utf-8 -*-
# @Author: Jie
# @Date: 2017-06-15 14:11:08
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-02-13 10:58:43
from __future__ import print_function
import time
import sys
import argparse
import random
import copy
import torch
import gc
import torch.aut... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | utils/alphabet.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.455162 | # -*- coding: utf-8 -*-
# @Author: Max
# @Date: 2018-01-19 11:33:37
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2018-04-26 13:56:03
"""
Alphabet maps objects to integer ids. It provides two way mapping from the index to the objects.
"""
from __future__ import print_functio... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | utils/data.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.468457 | # -*- coding: utf-8 -*-
# @Author: Jie
# @Date: 2017-06-14 17:34:32
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-01-25 20:25:59
from __future__ import print_function
from __future__ import absolute_import
import sys
from .alphabet import Alphabet
from .functions import *... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | utils/metric.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.523491 | # -*- coding: utf-8 -*-
# @Author: Jie
# @Date: 2017-02-16 09:53:19
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-02-17 22:46:59
# from operator import add
#
from __future__ import print_function
import sys
## input as sentence level labels
def get_ner_fmeasure(golden... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | utils/tagSchemeConverter.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.529279 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2017-11-27 16:53:36
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-01-09 21:39:10
"""
convert NER/Chunking tag schemes, i.e. BIO->BIOES, BIOES->BIO, IOB->BIO, IOB->BIOES
"""
from __future__ import print_f... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | model/wordsequence.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.539684 | # -*- coding: utf-8 -*-
# @Author: Jie Yang
# @Date: 2017-10-17 16:47:32
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-02-01 15:59:26
from __future__ import print_function
from __future__ import absolute_import
import torch
import torch.nn as nn
import torch.nn.functional... |
jiesutd/NCRFpp | https://github.com/jiesutd/NCRFpp | null | null | null | null | 1,897 | null | null | apache-2.0 | null | null | null | null | null | null | null | utils/functions.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:51.560083 | # -*- coding: utf-8 -*-
# @Author: Jie
# @Date: 2017-06-15 14:23:06
# @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com
# @Last Modified time: 2019-02-14 12:23:52
from __future__ import print_function
from __future__ import absolute_import
import sys
import numpy as np
def normalize_word(word):
new_w... |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt_v2/pvt_v2_b1.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.761509 | cfg = dict(
model='pvt_v2_b1',
drop_path=0.1,
clip_grad=None,
output_dir='checkpoints/pvt_v2_b1',
) |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt_v2/pvt_v2_b2_li.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.762064 | cfg = dict(
model='pvt_v2_b2_li',
drop_path=0.1,
clip_grad=None,
output_dir='checkpoints/pvt_v2_b2_li',
) |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt_v2/pvt_v2_b3.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.768386 | cfg = dict(
model='pvt_v2_b3',
drop_path=0.3,
clip_grad=1.0,
output_dir='checkpoints/pvt_v2_b3',
)
|
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt/pvt_tiny.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.781398 | cfg = dict(
model='pvt_tiny',
drop_path=0.1,
clip_grad=None,
output_dir='checkpoints/pvt_tiny',
) |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt/pvt_small.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.784128 | cfg = dict(
model='pvt_small',
drop_path=0.1,
clip_grad=None,
output_dir='checkpoints/pvt_small',
) |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt_v2/pvt_v2_b4.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.785361 | cfg = dict(
model='pvt_v2_b4',
drop_path=0.3,
clip_grad=1.0,
output_dir='checkpoints/pvt_v2_b4',
)
|
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt_v2/pvt_v2_b2.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.793625 | cfg = dict(
model='pvt_v2_b2',
drop_path=0.1,
clip_grad=None,
output_dir='checkpoints/pvt_v2_b2',
) |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt/pvt_medium.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.794142 | cfg = dict(
model='pvt_medium',
drop_path=0.3,
clip_grad=1.0,
output_dir='checkpoints/pvt_medium',
) |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt/pvt_large.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.823058 | cfg = dict(
model='pvt_large',
drop_path=0.3,
clip_grad=1.0,
output_dir='checkpoints/pvt_large',
) |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt_v2/pvt_v2_b0.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:53.837593 | cfg = dict(
model='pvt_v2_b0',
drop_path=0.1,
clip_grad=None,
output_dir='checkpoints/pvt_v2_b0',
) |
whai362/PVT | https://github.com/whai362/PVT | null | null | null | null | 1,893 | null | null | apache-2.0 | null | null | null | null | null | null | null | classification/configs/pvt_v2/pvt_v2_b5.py | null | null | null | null | null | null | Python | 2026-05-04T02:49:54.321605 | cfg = dict(
model='pvt_v2_b5',
drop_path=0.3,
clip_grad=1.0,
output_dir='checkpoints/pvt_v2_b5',
)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.