| Server IP : 157.22.201.140 / Your IP : 216.73.216.74 Web Server : nginx/1.30.1 System : Linux mit.vincode.fvds.ru 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/libcloud/__pycache__/ |
Upload File : |
�
�q�a�! � �� � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlm Z
ddlZ ej Z
g d�Zd Zd
Zej( j+ ej( j- e� � Z e
ed� Zej( j5 d� Zi i d
�ZddgZdZdd�Z dd�Z d� Z!dd�Z"d� Z#d� Z$d� Z%eefd�Z&y# e$ r eZ
Y ��w xY w# e$ r ddlZeZ
Y ��w xY w)z2
A class which handles loading the pricing files.
� )�with_statement)�Dict)�Optional)�UnionN)�join)�get_pricing�get_size_price�set_pricing�clear_pricing_data�download_pricing_filez`https://git-wip-us.apache.org/repos/asf?p=libcloud.git;a=blob_plain;f=libcloud/data/pricing.jsonz;https://libcloud-pricing-data.s3.amazonaws.com/pricing.jsonzdata/pricing.jsonz~/.libcloud/pricing.json)�compute�storager
r Fc � � t j j t � r)t j j t � rt S t
S �N)�os�path�exists�CUSTOM_PRICING_FILE_PATH�isfile�DEFAULT_PRICING_FILE_PATH�� file_paths �2/usr/lib/python3/dist-packages/libcloud/pricing.py�get_pricing_file_pathr F s0 � � �w�w�~�~�.�/� �w�w�~�~�.�/�'�'�$�$� c � � |xs t }| t vrt d| � �|t | v rt | | S |st |�� }t |d� 5 }|j
� }ddd� t j � }|| | }|r+t D ] } |j | d� }|s�|t | <