code
stringlengths
114
1.05M
path
stringlengths
3
312
quality_prob
float64
0.5
0.99
learning_prob
float64
0.2
1
filename
stringlengths
3
168
kind
stringclasses
1 value
import datetime from typing import Any, Dict, List, Type, TypeVar, Union, cast import attr from dateutil.parser import isoparse from ..models.address import Address from ..models.booking_field import BookingField from ..models.extra import Extra from ..models.image import Image from ..models.price_option import Price...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/product.py
0.736401
0.342407
product.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.request_status import RequestStatus from ..models.session import Session from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseSession") @attr.s(auto_attribs=True) class ResponseSession: """ Attributes: re...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_session.py
0.817975
0.215103
response_session.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.resource_type import ResourceType from ..types import UNSET, Unset T = TypeVar("T", bound="Resource") @attr.s(auto_attribs=True) class Resource: """Supplier resource - e.g. raft, bus, tour guide, venue which has a limited capaci...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/resource.py
0.816443
0.227169
resource.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.customer import Customer from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseCustomer") @attr.s(auto_attribs=True) class ResponseCustomer: """ Attributes: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_customer.py
0.777891
0.198025
response_customer.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.product import Product from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseProductList") @attr.s(auto_attribs=True) class ResponseProductList: """ Attributes: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_product_list.py
0.769687
0.18451
response_product_list.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.booking_field_create import BookingFieldCreate from ..models.price_option_create import PriceOptionCreate from ..models.product_update_request_barcode_output_type import ProductUpdateRequestBarcodeOutputType from ..models.product_updat...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/product_update_request.py
0.784938
0.241825
product_update_request.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.product import Product from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseProduct") @attr.s(auto_attribs=True) class ResponseProduct: """ Attributes: re...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_product.py
0.829354
0.178293
response_product.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..types import UNSET, Unset T = TypeVar("T", bound="Address") @attr.s(auto_attribs=True) class Address: """Address of a company, customer or product location. Attributes: address_line (Union[Unset, str]): Address line ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/address.py
0.900506
0.309284
address.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.category import Category from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseCategory") @attr.s(auto_attribs=True) class ResponseCategory: """ Attributes: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_category.py
0.803444
0.190159
response_category.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.extra_extra_price_type import ExtraExtraPriceType from ..models.image import Image from ..types import UNSET, Unset T = TypeVar("T", bound="Extra") @attr.s(auto_attribs=True) class Extra: """Optional service or item that can be ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/extra.py
0.833189
0.318525
extra.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.price_option_create_price_group_type import PriceOptionCreatePriceGroupType from ..types import UNSET, Unset T = TypeVar("T", bound="PriceOptionCreate") @attr.s(auto_attribs=True) class PriceOptionCreate: """A Price Option belon...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/price_option_create.py
0.858511
0.485905
price_option_create.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.category import Category from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseCategoryList") @attr.s(auto_attribs=True) class ResponseCategoryList: """ Attributes...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_category_list.py
0.817465
0.190611
response_category_list.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.booking_field_create_field_type import BookingFieldCreateFieldType from ..types import UNSET, Unset T = TypeVar("T", bound="BookingFieldCreate") @attr.s(auto_attribs=True) class BookingFieldCreate: """An information about a book...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/booking_field_create.py
0.793666
0.293499
booking_field_create.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.net_rate import NetRate from ..models.product_rate_commission_type import ProductRateCommissionType from ..types import UNSET, Unset T = TypeVar("T", bound="ProductRate") @attr.s(auto_attribs=True) class ProductRate: """A Produc...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/product_rate.py
0.804521
0.32146
product_rate.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.booking_field import BookingField from ..models.booking_item_create import BookingItemCreate from ..models.booking_update_status import BookingUpdateStatus from ..models.customer import Customer from ..models.user import User from ..ty...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/booking_update.py
0.757032
0.289158
booking_update.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.request_status import RequestStatus from ..models.resource import Resource from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseResourceList") @attr.s(auto_attribs=True) class ResponseResourceList: """ Attributes...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_resource_list.py
0.757705
0.154695
response_resource_list.py
pypi
import datetime from typing import Any, Dict, List, Type, TypeVar, Union import attr from dateutil.parser import isoparse from ..models.price_option import PriceOption from ..types import UNSET, Unset T = TypeVar("T", bound="Session") @attr.s(auto_attribs=True) class Session: """A Session holds availability fo...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/session.py
0.716814
0.394959
session.py
pypi
import datetime from typing import Any, Dict, List, Type, TypeVar, Union import attr from dateutil.parser import isoparse from ..models.extra import Extra from ..models.participant import Participant from ..models.pickup_location import PickupLocation from ..models.quantity import Quantity from ..models.voucher impor...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/booking_item.py
0.760206
0.311126
booking_item.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.booking_field import BookingField from ..types import UNSET, Unset T = TypeVar("T", bound="Participant") @attr.s(auto_attribs=True) class Participant: """Details about a single participant for a single BookingItem.<br>The partic...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/participant.py
0.7586
0.376967
participant.py
pypi
import datetime from typing import Any, Dict, List, Type, TypeVar, Union import attr from dateutil.parser import isoparse from ..models.customer_gender import CustomerGender from ..models.customer_title import CustomerTitle from ..types import UNSET, Unset T = TypeVar("T", bound="Customer") @attr.s(auto_attribs=Tr...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/customer.py
0.673299
0.211682
customer.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.company import Company from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseCompany") @attr.s(auto_attribs=True) class ResponseCompany: """ Attributes: re...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_company.py
0.784195
0.185689
response_company.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.tax_tax_fee_type import TaxTaxFeeType from ..models.tax_tax_type import TaxTaxType from ..types import UNSET, Unset T = TypeVar("T", bound="Tax") @attr.s(auto_attribs=True) class Tax: """Tax object. Holds information such as the...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/tax.py
0.770594
0.619068
tax.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..types import UNSET, Unset T = TypeVar("T", bound="PickupLocation") @attr.s(auto_attribs=True) class PickupLocation: """PickupLocation object. Holds information about the a pickup location from the pickup list configured for the pro...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/pickup_location.py
0.883569
0.413714
pickup_location.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.booking_field_field_type import BookingFieldFieldType from ..types import UNSET, Unset T = TypeVar("T", bound="BookingField") @attr.s(auto_attribs=True) class BookingField: """An information about a booking or a participant, bas...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/booking_field.py
0.756627
0.33516
booking_field.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.rezdy_connect_settings_external_api_format import RezdyConnectSettingsExternalApiFormat from ..models.rezdy_connect_settings_external_booking_strategy import RezdyConnectSettingsExternalBookingStrategy from ..types import UNSET, Unset ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/rezdy_connect_settings.py
0.780412
0.153074
rezdy_connect_settings.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..types import UNSET, Unset T = TypeVar("T", bound="NetRate") @attr.s(auto_attribs=True) class NetRate: """A Product with its associated price options net rates Attributes: net_price (Union[Unset, float]): Value of the rate ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/net_rate.py
0.868018
0.394434
net_rate.py
pypi
import datetime from typing import Any, Dict, List, Type, TypeVar, Union import attr from dateutil.parser import isoparse from ..models.booking_payment_currency import BookingPaymentCurrency from ..models.booking_payment_recipient import BookingPaymentRecipient from ..models.booking_payment_type import BookingPayment...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/booking_payment.py
0.767341
0.307865
booking_payment.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.request_status import RequestStatus from ..models.session import Session from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseSessionList") @attr.s(auto_attribs=True) class ResponseSessionList: """ Attributes: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_session_list.py
0.752195
0.18954
response_session_list.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.category_seo_tag import CategorySeoTag from ..models.image import Image from ..types import UNSET, Unset T = TypeVar("T", bound="Category") @attr.s(auto_attribs=True) class Category: """A Category is used to group products ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/category.py
0.806662
0.218096
category.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..types import UNSET, Unset T = TypeVar("T", bound="User") @attr.s(auto_attribs=True) class User: """Internal Rezdy user details. This is a Rezdy application user who belongs to a Rezdy agent or supplier company. Attributes: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/user.py
0.752422
0.217857
user.py
pypi
import datetime from typing import Any, Dict, List, Type, TypeVar, Union, cast import attr from dateutil.parser import isoparse from ..models.booking_barcode_type import BookingBarcodeType from ..models.booking_field import BookingField from ..models.booking_item import BookingItem from ..models.booking_payment impor...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/booking.py
0.731155
0.397529
booking.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..types import UNSET, Unset T = TypeVar("T", bound="Image") @attr.s(auto_attribs=True) class Image: """Image links. Attributes: id (Union[Unset, int]): Id of the image. Can be used for DELETE /{productCode}/image/{mediaId} s...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/image.py
0.820037
0.193871
image.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.image import Image from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseImage") @attr.s(auto_attribs=True) class ResponseImage: """ Attributes: request_st...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_image.py
0.790369
0.194712
response_image.py
pypi
import datetime from typing import Any, Dict, List, Type, TypeVar, Union import attr from dateutil.parser import isoparse from ..models.extra import Extra from ..models.participant import Participant from ..models.pickup_location import PickupLocation from ..models.quantity import Quantity from ..types import UNSET, ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/booking_item_create.py
0.76947
0.263209
booking_item_create.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.extra_request import ExtraRequest from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseExtra") @attr.s(auto_attribs=True) class ResponseExtra: """ Attributes: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_extra.py
0.80406
0.150247
response_extra.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.rate import Rate from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseRate") @attr.s(auto_attribs=True) class ResponseRate: """ Attributes: request_status...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_rate.py
0.81928
0.269452
response_rate.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union, cast import attr from ..models.address import Address from ..models.booking_field_create import BookingFieldCreate from ..models.extra import Extra from ..models.price_option_create import PriceOptionCreate from ..models.product_create_request_barcode_output_t...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/product_create_request.py
0.789437
0.344912
product_create_request.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.customer import Customer from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseCustomerList") @attr.s(auto_attribs=True) class ResponseCustomerList: """ Attributes...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_customer_list.py
0.763484
0.18407
response_customer_list.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.extra_request_extra_price_type import ExtraRequestExtraPriceType from ..types import UNSET, Unset T = TypeVar("T", bound="ExtraRequest") @attr.s(auto_attribs=True) class ExtraRequest: """Partial optional service or item that can...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/extra_request.py
0.849582
0.278993
extra_request.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.check_in import CheckIn from ..models.request_status import RequestStatus from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseCheckIn") @attr.s(auto_attribs=True) class ResponseCheckIn: """ Attributes: r...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_check_in.py
0.787359
0.245746
response_check_in.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.request_status import RequestStatus from ..models.resource import Resource from ..types import UNSET, Unset T = TypeVar("T", bound="ResponseResource") @attr.s(auto_attribs=True) class ResponseResource: """ Attributes: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/response_resource.py
0.81615
0.191914
response_resource.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.product_rate import ProductRate from ..types import UNSET, Unset T = TypeVar("T", bound="Rate") @attr.s(auto_attribs=True) class Rate: """A Rate is used to group products with its corresponding shared rate Attributes: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/rate.py
0.805364
0.278557
rate.py
pypi
import datetime from typing import Any, Dict, List, Type, TypeVar, Union import attr from dateutil.parser import isoparse from ..models.price_option import PriceOption from ..types import UNSET, Unset T = TypeVar("T", bound="SessionUpdateBatchRequest") @attr.s(auto_attribs=True) class SessionUpdateBatchRequest: ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/session_update_batch_request.py
0.717507
0.335759
session_update_batch_request.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.price_option import PriceOption from ..types import UNSET, Unset T = TypeVar("T", bound="SessionUpdateRequest") @attr.s(auto_attribs=True) class SessionUpdateRequest: """Updates session request data. Attributes: all...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/session_update_request.py
0.817356
0.365598
session_update_request.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.pickup_location import PickupLocation from ..types import UNSET, Unset T = TypeVar("T", bound="PickupList") @attr.s(auto_attribs=True) class PickupList: """PickupList object. Contains a list of pickup locations. Attributes:...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/pickup_list.py
0.820649
0.15588
pickup_list.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..models.address import Address from ..models.video import Video from ..types import UNSET, Unset T = TypeVar("T", bound="Company") @attr.s(auto_attribs=True) class Company: """Company object. Holds general details and information about ...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/company.py
0.795579
0.226099
company.py
pypi
from typing import Any, Dict, List, Type, TypeVar, Union import attr from ..types import UNSET, Unset T = TypeVar("T", bound="Quantity") @attr.s(auto_attribs=True) class Quantity: """Quantity of a single price option attached to a BookingItem.<ul><li>If the product only has 1 price option, only "Quantity.v...
/rezdy_api_for_suppliers_client-1.0.1.tar.gz/rezdy_api_for_suppliers_client-1.0.1/rezdy_api_for_suppliers_client/models/quantity.py
0.88047
0.353735
quantity.py
pypi
import re import sys from copy import deepcopy from contextlib import contextmanager try: from pathlib import Path # noqa, py3 except ImportError: from pathlib2 import Path # noqa, py2 if sys.version_info.major == 2: from UserDict import DictMixin # noqa, py2 else: from collections.abc import Mutab...
/rezup-api-2.6.0.tar.gz/rezup-api-2.6.0/src/rezup/recipe.py
0.578329
0.29549
recipe.py
pypi
import datetime import re import sys from decimal import Decimal from rezup._vendor.toml.decoder import InlineTableDict if sys.version_info >= (3,): unicode = str def dump(o, f, encoder=None): """Writes out dict as toml to a file Args: o: Object to dump into toml f: File descriptor wher...
/rezup-api-2.6.0.tar.gz/rezup-api-2.6.0/src/rezup/_vendor/toml/encoder.py
0.49292
0.640917
encoder.py
pypi
import datetime import io from os import linesep import re import sys from rezup._vendor.toml.tz import TomlTz if sys.version_info < (3,): _range = xrange # noqa: F821 else: unicode = str _range = range basestring = str unichr = chr def _detect_pathlib_path(p): if (3, 4) <= sys.version_info...
/rezup-api-2.6.0.tar.gz/rezup-api-2.6.0/src/rezup/_vendor/toml/decoder.py
0.424889
0.171512
decoder.py
pypi
## Structure A *container* provides Rez environment from it's *revision*. Each container holds at least one virtual environment folder that named by timestamp, which is a *revision*. With that convention, the latest version of environment can be sorted out and used without affecting existing container user. ``` ~\....
/rezup-api-2.6.0.tar.gz/rezup-api-2.6.0/docs/container.md
0.768473
0.802246
container.md
pypi
from typing import List, Optional, Dict, Any from rf_api_client.api.base_api import BaseApi from rf_api_client.models.maps_api_models import MapDto, NewMapDto from rf_api_client.models.node_types_api_models import NodeTypeDto from rf_api_client.models.nodes_api_models import NodeTreeDto from rf_api_client.models.searc...
/rf_api_client-0.1.11.tar.gz/rf_api_client-0.1.11/rf_api_client/api/maps_api.py
0.785473
0.16778
maps_api.py
pypi
import json from datetime import datetime from enum import Enum from typing import List, Optional, Tuple, Dict, Union from pydantic import Field from rf_api_client.models.base_model import ApiBaseModel from rf_api_client.models.node_types_api_models import NodePropertyType class NodeAccessType(str, Enum): user_...
/rf_api_client-0.1.11.tar.gz/rf_api_client-0.1.11/rf_api_client/models/nodes_api_models.py
0.719876
0.287956
nodes_api_models.py
pypi
from typing import Optional, Generator, List, Iterator, Callable, Dict, Tuple, TypeVar, Type from rf_api_client.models.nodes_api_models import NodeTreeDto, NodeTreeBodyDto SearchFunction = Callable[['NodeWrapper'], bool] T = TypeVar('T', bound='NodeWrapper') class NodeBodyWrapper(NodeTreeBodyDto): children: L...
/rf_client-1.0.2-py3-none-any.whl/rf_client/tree_wrapper.py
0.820541
0.495545
tree_wrapper.py
pypi
from collections import OrderedDict from typing import Tuple, Union import numpy as np import torch import torch.nn.functional as F from torch import nn class Bottleneck(nn.Module): expansion = 4 def __init__(self, inplanes, planes, stride=1): super().__init__() # all conv layers have strid...
/rf_clip-1.0-py3-none-any.whl/clip/model.py
0.975472
0.571169
model.py
pypi
import hashlib import os import urllib import warnings from typing import Any, Union, List from pkg_resources import packaging import torch from PIL import Image from torchvision.transforms import Compose, Resize, CenterCrop, ToTensor, Normalize from tqdm import tqdm from .model import build_model from .simple_tokeni...
/rf_clip-1.0-py3-none-any.whl/clip/clip.py
0.778481
0.324503
clip.py
pypi
import gzip import html import os from functools import lru_cache import ftfy import regex as re @lru_cache() def default_bpe(): return os.path.join(os.path.dirname(os.path.abspath(__file__)), "bpe_simple_vocab_16e6.txt.gz") @lru_cache() def bytes_to_unicode(): """ Returns list of utf-8 byte and a corr...
/rf_clip-1.0-py3-none-any.whl/clip/simple_tokenizer.py
0.442877
0.238414
simple_tokenizer.py
pypi
import numpy as np import pandas as pd from rf_explainer import RandomForestExplainer from single_cf_costs_functions import * from multi_cf_costs_functions import * def evaluate_counterfactual(rfe: RandomForestExplainer, X: pd.Series, X_prime: pd.Series, k=5): metrics = {} normalized_X = (X - rfe.X_train_sta...
/rf_counterfactuals-0.1.6.tar.gz/rf_counterfactuals-0.1.6/rf_counterfactuals/evaluation.py
0.753194
0.516778
evaluation.py
pypi
import math import numpy as np import pandas as pd from scipy import spatial, stats from sklearn.neighbors import NearestNeighbors def unmatched_components(X: np.array, X_prime: np.array, eps:float): result = 0 for feature_id in range(len(X)): if abs(X[feature_id] - X_prime[feature_id]) > eps: ...
/rf_counterfactuals-0.1.6.tar.gz/rf_counterfactuals-0.1.6/rf_counterfactuals/single_cf_costs_functions.py
0.768993
0.796174
single_cf_costs_functions.py
pypi
from sklearn.ensemble import RandomForestClassifier from sklearn.tree import DecisionTreeClassifier from sklearn import tree import pandas as pd import numpy as np import warnings from functools import partial from joblib import Parallel, delayed import itertools import sys from single_cf_costs_functions import * from...
/rf_counterfactuals-0.1.6.tar.gz/rf_counterfactuals-0.1.6/rf_counterfactuals/rf_explainer.py
0.77137
0.40751
rf_explainer.py
pypi
# :sauropod: Grounding DINO [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/grounding-dino-marrying-dino-with-grounded/zero-shot-object-detection-on-mscoco)](https://paperswithcode.com/sota/zero-shot-object-detection-on-mscoco?p=grounding-dino-marrying-dino-with-grounded) [![PWC](https...
/rf_groundingdino-0.1.2.tar.gz/rf_groundingdino-0.1.2/README.md
0.663778
0.780997
README.md
pypi
import math import warnings from typing import Optional import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Function from torch.autograd.function import once_differentiable from torch.nn.init import constant_, xavier_uniform_ # helpers def _is_power_of_2(n): if (not isin...
/rf_groundingdino-0.1.2.tar.gz/rf_groundingdino-0.1.2/groundingdino/models/GroundingDINO/ms_deform_attn.py
0.97544
0.564369
ms_deform_attn.py
pypi
from typing import Optional import torch import torch.nn.functional as F from torch import Tensor, nn from .utils import ( MLP, _get_activation_fn, _get_clones, gen_encoder_output_proposals, gen_sineembed_for_position, sigmoid_focal_loss, ) class TextTransformer(nn.Module): def __init__(...
/rf_groundingdino-0.1.2.tar.gz/rf_groundingdino-0.1.2/groundingdino/models/GroundingDINO/transformer_vanilla.py
0.973203
0.364099
transformer_vanilla.py
pypi
import os import random from typing import List import torch def create_positive_map_from_span(tokenized, token_span, max_text_len=256): """construct a map such that positive_map[i,j] = True iff box i is associated to token j Input: - tokenized: - input_ids: Tensor[1, ntokens] ...
/rf_groundingdino-0.1.2.tar.gz/rf_groundingdino-0.1.2/groundingdino/util/vl_utils.py
0.575349
0.510435
vl_utils.py
pypi
from typing import Tuple, List import cv2 import numpy as np import supervision as sv import torch from PIL import Image from torchvision.ops import box_convert import groundingdino.datasets.transforms as T from groundingdino.models import build_model from groundingdino.util.misc import clean_state_dict from groundin...
/rf_groundingdino-0.1.2.tar.gz/rf_groundingdino-0.1.2/groundingdino/util/inference.py
0.875933
0.521227
inference.py
pypi
from iso3166 import countries from .countrymap import COUNTRY_MAP def parse_freq(freq, unit): argfreq = freq.replace('.', '').replace(',', '').replace('_', '').replace(' ', '') if unit.lower() == 'khz': mindigits = 3 elif unit.lower() == 'mhz': mindigits = 6 elif unit.lower() == 'ghz'...
/rf_info-0.8.0.tar.gz/rf_info-0.8.0/rf_info/rf_info.py
0.553626
0.368065
rf_info.py
pypi
from rf_info.data.rangekeydict import RangeKeyDict ALLOCATIONS = RangeKeyDict({ (0, 8301): (False, False, False, False, False, ['(Not Allocated)'], [], ['[5.53]: Administrations authorizing the use of frequencies below 8.3 kHz shall ensure that no harmful interference is caused to services to which the bands above...
/rf_info-0.8.0.tar.gz/rf_info-0.8.0/rf_info/data/b_allocations.py
0.566978
0.721768
b_allocations.py
pypi
from rf_info.data.rangekeydict import RangeKeyDict ALLOCATIONS = RangeKeyDict({ (0, 8301): (False, False, False, False, False, ['(Not Allocated)'], [], ['[5.53]: Administrations authorizing the use of frequencies below 8.3 kHz shall ensure that no harmful interference is caused to services to which the bands above...
/rf_info-0.8.0.tar.gz/rf_info-0.8.0/rf_info/data/c_allocations.py
0.586049
0.727855
c_allocations.py
pypi
from rf_info.data.rangekeydict import RangeKeyDict ALLOCATIONS = RangeKeyDict({ (0, 8301): (False, False, False, False, False, ['(Not Allocated)'], [], ['[5.53]: Administrations authorizing the use of frequencies below 8.3 kHz shall ensure that no harmful interference is caused to services to which the bands above...
/rf_info-0.8.0.tar.gz/rf_info-0.8.0/rf_info/data/a_allocations.py
0.584034
0.740644
a_allocations.py
pypi
from rf_info.data.rangekeydict import RangeKeyDict ISM = RangeKeyDict({ (6765000, 6795000): ('A', 'Fixed & Mobile Service'), (13553000, 13567000): ('B', 'Fixed & Mobile services except Aeronautical mobile service'), (26957000, 27283000): ('B', 'Fixed & Mobile Service except Aeronautical mobile service, CB ...
/rf_info-0.8.0.tar.gz/rf_info-0.8.0/rf_info/data/international.py
0.548432
0.442817
international.py
pypi
from rflint.common import SuiteRule, ERROR, WARNING, normalize_name from rflint.parser import SettingTable import re class PeriodInSuiteName(SuiteRule): '''Warn about periods in the suite name Since robot uses "." as a path separator, using a "." in a suite name can lead to ambiguity. ''' severity...
/rf-lint-1.0.2.tar.gz/rf-lint-1.0.2/rflint/rules/suiteRules.py
0.524151
0.325949
suiteRules.py
pypi
from rflint.common import SuiteRule, ResourceRule, ERROR, normalize_name def check_duplicates(report_duplicate, table, permitted_dups=None, normalize_itemname=normalize_name): # `table` is a SettingsTable or a VariableTable; either contains rows, # but only VariableTable also contains stat...
/rf-lint-1.0.2.tar.gz/rf-lint-1.0.2/rflint/rules/duplicates.py
0.516839
0.153454
duplicates.py
pypi
from rflint.common import TestRule, KeywordRule, GeneralRule, ERROR, WARNING import re class LineTooLong(GeneralRule): '''Check that a line is not too long (configurable; default=100)''' severity = WARNING maxchars = 100 def configure(self, maxchars): self.maxchars = int(maxchars) def ...
/rf-lint-1.0.2.tar.gz/rf-lint-1.0.2/rflint/rules/otherRules.py
0.479991
0.200851
otherRules.py
pypi
from __future__ import print_function import re class RobotStatements(object): def append(self, linenumber, raw_text, cells): """Add another row of data from a test suite""" self.rows.append(Row(linenumber, raw_text, cells)) @property def path(self): # this property exists so that ...
/rf-lint-1.0.2.tar.gz/rf-lint-1.0.2/rflint/parser/common.py
0.434821
0.413063
common.py
pypi
import ctypes import threading import time from matplotlib.mlab import psd import numpy import rtlsdr from rfmonitor.constants import SAMPLE_RATE, SAMPLES, BINS from rfmonitor.events import Event, Events, post_event class Receive(threading.Thread): def __init__(self, eventHandler, freq, gain, cal): thr...
/rf-monitor-1.0.2.tar.gz/rf-monitor-1.0.2/rfmonitor/receive.py
0.452294
0.189934
receive.py
pypi
from collections import OrderedDict import json from rfmonitor.constants import APP_NAME from rfmonitor.monitor import Monitor, Period from rfmonitor.signals import Signal VERSION = 1 def save_recordings(filename, freq, gain, cal, dynP, monitors): jsonMonitors = [] for monitor in monitors: jsonMo...
/rf-monitor-1.0.2.tar.gz/rf-monitor-1.0.2/rfmonitor/file.py
0.48121
0.267333
file.py
pypi
from wx import xrc import wx from rfmonitor.constants import LEVEL_MAX, LEVEL_MIN TICK_SIZE_MAJ = 4 TICK_SIZE_MIN = 2 THRES_SIZE = 4 class WidgetMeter(wx.Panel): def __init__(self, parent): wx.Panel.__init__(self, parent, size=(-1, 25), style=wx.SUNKEN_BORDER) self._value = LEVEL_MIN ...
/rf-monitor-1.0.2.tar.gz/rf-monitor-1.0.2/rfmonitor/widget_meter.py
0.572125
0.21348
widget_meter.py
pypi
import collections import numpy from rfmonitor.constants import MAX_LEVELS_TIME, SAMPLE_RATE, SAMPLES, LEVEL_MIN from rfmonitor.signals import Period, Signal LEVELS_LEN = MAX_LEVELS_TIME * SAMPLE_RATE / SAMPLES class Monitor(object): def __init__(self, colour, enabled, alert, ...
/rf-monitor-1.0.2.tar.gz/rf-monitor-1.0.2/rfmonitor/monitor.py
0.629205
0.277204
monitor.py
pypi
import datetime import time import matplotlib matplotlib.use('WXAgg') from matplotlib.dates import epoch2num, num2epoch, AutoDateLocator, \ AutoDateFormatter from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas from matplotlib.figure import Figure from matplotlib.ticker import ScalarFo...
/rf-monitor-1.0.2.tar.gz/rf-monitor-1.0.2/rfmonitor/dialog_timeline.py
0.655226
0.187653
dialog_timeline.py
pypi
import time import matplotlib matplotlib.use('WXAgg') from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas from matplotlib.figure import Figure from wx import xrc import wx.lib.newevent from rfmonitor.constants import MAX_SPECTRUM_FPS from rfmonitor.legend import Legend from rfmonitor.nav...
/rf-monitor-1.0.2.tar.gz/rf-monitor-1.0.2/rfmonitor/dialog_spectrum.py
0.615666
0.171096
dialog_spectrum.py
pypi
from sklearn.ensemble.forest import _generate_unsampled_indices from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor from sklearn.metrics import r2_score, accuracy_score from collections import Counter import numpy as np class PermutationImportance(object): def __init__(self): pass ...
/rf_perm_feat_import-0.1.tar.gz/rf_perm_feat_import-0.1/rf_perm_feat_import/RFFeatureImportance.py
0.849457
0.658335
RFFeatureImportance.py
pypi
import numpy as np from numpy import matlib as npm import pandas as pd import time import phate from scipy import sparse import umap.umap_ as umap import RandomForest #sklearn imports from sklearn.ensemble import RandomForestClassifier from sklearn.ensemble import RandomForestRegressor from sklearn.neighbors import K...
/rf_phate-0.0.3.tar.gz/rf_phate-0.0.3/rf_phate/Embeddings.py
0.78037
0.391086
Embeddings.py
pypi
import numpy as np import pandas as pd from scipy import sparse #sklearn imports from sklearn.ensemble import RandomForestClassifier from sklearn.ensemble import RandomForestRegressor import sklearn from distutils.version import LooseVersion if LooseVersion(sklearn.__version__) >= LooseVersion("0.24"): # In sklea...
/rf_phate-0.0.3.tar.gz/rf_phate-0.0.3/rf_phate/RandomForest.py
0.73307
0.427038
RandomForest.py
pypi
import math import matplotlib.pyplot as plt from .Generaldistribution import Distribution class Gaussian(Distribution): """ Gaussian distribution class for calculating and visualizing a Gaussian distribution. Attributes: mean (float) representing the mean value of the distribution stdev (float) representing ...
/rf_probability-0.1.tar.gz/rf_probability-0.1/rf_probability/Gaussiandistribution.py
0.688364
0.853058
Gaussiandistribution.py
pypi
from SCLibrary.base import keyword from functools import reduce class SelectKeywords(object): @keyword("SELECT ${properties} FROM ${array:[^(WHERE)]}") def select_array(self, properties, array): """ 返回符合条件的数组 """ result = [] if properties == '*': return array else: ...
/rf-sclibrary-1.3.4.tar.gz/rf-sclibrary-1.3.4/src/SCLibrary/builtin/select.py
0.424054
0.286359
select.py
pypi
# Segment Anything **[Meta AI Research, FAIR](https://ai.facebook.com/research/)** [Alexander Kirillov](https://alexander-kirillov.github.io/), [Eric Mintun](https://ericmintun.github.io/), [Nikhila Ravi](https://nikhilaravi.com/), [Hanzi Mao](https://hanzimao.me/), Chloe Rolland, Laura Gustafson, [Tete Xiao](https:/...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/README.md
0.698638
0.983847
README.md
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import numpy as np import torch from segment_anything.modeling import Sam from typing import Optional, Tuple from .utils.transforms import ResizeLongestSide class SamPredictor: def __init__...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/predictor.py
0.952075
0.708276
predictor.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import numpy as np import torch from torchvision.ops.boxes import batched_nms, box_area # type: ignore from typing import Any, Dict, List, Optional, Tuple from .modeling import Sam from .predicto...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/automatic_mask_generator.py
0.920589
0.39161
automatic_mask_generator.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import torch from functools import partial from .modeling import ImageEncoderViT, MaskDecoder, PromptEncoder, Sam, TwoWayTransformer def build_sam_vit_h(checkpoint=None): return _build_sam( ...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/build_sam.py
0.829871
0.193452
build_sam.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import torch from torch import nn from torch.nn import functional as F from typing import List, Tuple, Type from .common import LayerNorm2d class MaskDecoder(nn.Module): def __init__( ...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/modeling/mask_decoder.py
0.958509
0.528777
mask_decoder.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import torch from torch import nn from torch.nn import functional as F from typing import Any, Dict, List, Tuple from .image_encoder import ImageEncoderViT from .mask_decoder import MaskDecoder fr...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/modeling/sam.py
0.955361
0.58255
sam.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import torch from torch import Tensor, nn import math from typing import Tuple, Type from .common import MLPBlock class TwoWayTransformer(nn.Module): def __init__( self, dept...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/modeling/transformer.py
0.967778
0.562116
transformer.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import torch import torch.nn as nn import torch.nn.functional as F from typing import Optional, Tuple, Type from .common import LayerNorm2d, MLPBlock # This class and its supporting functions be...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/modeling/image_encoder.py
0.965714
0.438304
image_encoder.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import numpy as np import torch from torch import nn from typing import Any, Optional, Tuple, Type from .common import LayerNorm2d class PromptEncoder(nn.Module): def __init__( self,...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/modeling/prompt_encoder.py
0.9698
0.537527
prompt_encoder.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import numpy as np import torch import math from copy import deepcopy from itertools import product from typing import Any, Dict, Generator, ItemsView, List, Tuple class MaskData: """ A s...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/utils/amg.py
0.921481
0.646767
amg.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import torch import torch.nn as nn from torch.nn import functional as F from typing import Tuple from ..modeling import Sam from .amg import calculate_stability_score class SamOnnxModel(nn.Modul...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/utils/onnx.py
0.943436
0.545649
onnx.py
pypi
# This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. import numpy as np import torch from torch.nn import functional as F from torchvision.transforms.functional import resize, to_pil_image # type: ignore from copy import deepcopy from typing import ...
/rf_segment_anything-1.0.tar.gz/rf_segment_anything-1.0/segment_anything/utils/transforms.py
0.92866
0.736874
transforms.py
pypi
try: import importlib.resources as resources except ImportError: # pragma: no cover import importlib_resources as resources from logging import debug from robotlibcore import DynamicCore, keyword from robot.libraries.BuiltIn import BuiltIn from typing import Iterable from ._version import __version__ def l...
/rf_shared_resources-0.1.2-py3-none-any.whl/SharedResources/_shared_resources.py
0.803135
0.203767
_shared_resources.py
pypi
import scipy.signal as signal import scipy.optimize as optimize import scipy.integrate as integrate import scipy.special as special import scipy.ndimage as ndimage import numpy as np import numpy.polynomial.polynomial as poly from mpl_toolkits.mplot3d import axes3d # 3D plot import matplotlib.pyplot as plt import ...
/rf-tool-0.0.17.tar.gz/rf-tool-0.0.17/rftool/LFM.py
0.679072
0.510008
LFM.py
pypi
import numpy as np import scipy.constants as const import mpmath as mp def effectivePermittivityHJ( h, w, e_r ): """ Calculate effective permittivity from Hammerstad-Jensen (simplified formula). h strip height over dielectric. w strip width. e_r is the relative permittivity of the dielectric. ...
/rf-tool-0.0.17.tar.gz/rf-tool-0.0.17/rftool/pcb.py
0.716615
0.608129
pcb.py
pypi