![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
>>> from flycheap import Airport, Route
>>> route = Airport('广州') - Airport('PEK') #构造航线
>>> route
flycheap.civilaviation.Route(广州, 北京首都)
>>> route.airfare #航线全价
2540
>>> route.separates() #分解为机场数据结构
(flycheap.civilaviation.Airport('CAN', 'ZGGG', '广州白云', ...), civilaviation.flycheap.Airport('PEK', 'ZBAA', '北京首都', ...))
>>> route.separates('icao') #分解为机场成员
('ZGGG', 'ZBAA')
>>> route.format('iata') #生成航线字符格式
'CAN-PEK'
>>> route = Route.fromformat('成都天府-NKG') #从字符串获得航线
>>> route.separates('airport') #分解为成员:机场名
('成都天府', '南京禄口')
from datetime import date
from flycheap import CtripCrawler
from pandas import DataFrame
from argparse import ArgumentParser
flight_date = date.today()
kwargs = {
'targets': ["BJS", "SHA", "CAN", "CTU", "DLC"],
'flight_date': flight_date,
'ignore_threshold': 3,
'ignore_routes': set(),
'days': 7}
crawler = CtripCrawler(**kwargs)
parser = ArgumentParser()
parser.add_argument("--part", type = int, default = 1)
parser.add_argument("--parts", type = int, default = 1)
parser.add_argument("--attempt", type = int, default = 3)
parser.add_argument("-reverse", action = 'store_true')
parser.add_argument("-overwrite", action = 'store_true')
parser.add_argument("-nopreskip", action = 'store_true')
parser.add_argument("--antiempty", type = int, default = 0)
parser.add_argument("--noretry", type = str, action = 'append', default = [])
title = ['出发日期', '星期', '航司', '机型', '出发', '到达', '出发时刻', '到达时刻', '价格', '折扣']
for data in crawler.run(**vars(parser.parse_args())):
print(DataFrame(data, columns = title).assign(**{'收集日期': date.today()}))
@echo off
start python D:\routine.py -nopreskip --part 3 --parts 3 --noretry SHA --attempt 2 --antiempty 2
start python D:\routine.py -nopreskip --part 2 --parts 3 --noretry SHA --attempt 2 --antiempty 2
start python D:\routine.py -nopreskip --part 1 --parts 3 --noretry SHA --attempt 2 --antiempty 2
from flycheap import Rebuilder
if __name__ == '__main__':
rebuild = Rebuilder('2022-2-17')
#rebuild.append_data('dataset.csv')
rebuild.append_folder()
rebuild.adv(1, 7)
FAQs
Flight Tickets Price Collection, Statistics and Analysis based on ctrip.com
We found that flycheap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.