import urllib.request as libreq with libreq.urlopen('http://export.arxiv.org/api/query?search_query=au:del_maestro+AND+ti:checkerboard') as url: r = url.read() print(r)
<?xml version="1.0" encoding="UTF-8"?> <feedxmlns="http://www.w3.org/2005/Atom"> <linkhref="http://arxiv.org/api/query?search_query%3Dau%3Adel_maestro%20AND%20ti%3Acheckerboard%26id_list%3D%26start%3D0%26max_results%3D10"rel="self"type="application/atom+xml"/> <titletype="html">ArXiv Query: search_query=au:del_maestro AND ti:checkerboard&id_list=&start=0&max_results=10</title> <id>http://arxiv.org/api/FX5wusAMkzsShow84WzqqTGlDpk</id> <updated>2021-10-24T00:00:00-04:00</updated> <opensearch:totalResultsxmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">1</opensearch:totalResults> <opensearch:startIndexxmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">0</opensearch:startIndex> <opensearch:itemsPerPagexmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">10</opensearch:itemsPerPage> <entry> <id>http://arxiv.org/abs/cond-mat/0603029v1</id> <updated>2006-03-02T02:22:45Z</updated> <published>2006-03-02T02:22:45Z</published> <title>From stripe to checkerboard order on the square lattice in the presence of quenched disorder</title> <summary> We discuss the effects of quenched disorder on a model of charge density wave (CDW) ordering on the square lattice. Our model may be applicable to the cuprate superconductors, where a random electrostatic potential exists in the CuO2 planes as a result of the presence of charged dopants. We argue that the presence of a random potential can affect the unidirectionality of the CDW order, characterized by an Ising order parameter. Coupling to a unidirectional CDW, the random potential can lead to the formation of domains with 90 degree relative orientation, thus tending to restore the rotational symmetry of the underlying lattice. We find that the correlation length of the Ising order can be significantly larger than the CDW correlation length. For a checkerboard CDW on the other hand, disorder generates spatial anisotropies on short length scales and thus some degree of unidirectionality. We quantify these disorder effects and suggest new techniques for analyzing the local density of states (LDOS) data measured in scanning tunneling microscopy experiments. </summary> <author> <name>Adrian Del Maestro</name> </author> <author> <name>Bernd Rosenow</name> </author> <author> <name>Subir Sachdev</name> </author> <arxiv:doixmlns:arxiv="http://arxiv.org/schemas/atom">10.1103/PhysRevB.74.024520</arxiv:doi> <linktitle="doi"href="http://dx.doi.org/10.1103/PhysRevB.74.024520"rel="related"/> <arxiv:commentxmlns:arxiv="http://arxiv.org/schemas/atom">10 pages, 11 figures; added reference</arxiv:comment> <arxiv:journal_refxmlns:arxiv="http://arxiv.org/schemas/atom">Phys. Rev. B 74, 024520 (2006)</arxiv:journal_ref> <linkhref="http://arxiv.org/abs/cond-mat/0603029v1"rel="alternate"type="text/html"/> <linktitle="pdf"href="http://arxiv.org/pdf/cond-mat/0603029v1"rel="related"type="application/pdf"/> <arxiv:primary_categoryxmlns:arxiv="http://arxiv.org/schemas/atom"term="cond-mat.str-el"scheme="http://arxiv.org/schemas/atom"/> <categoryterm="cond-mat.str-el"scheme="http://arxiv.org/schemas/atom"/> <categoryterm="cond-mat.supr-con"scheme="http://arxiv.org/schemas/atom"/> </entry> </feed>
A URL for the resolved DOI to an external resource if present.
primary_category
The result’s primary arXiv category. See arXiv: Category Taxonomy4.
categories
All of the result’s categories. See arXiv: Category Taxonomy.
links
Up to three URLs associated with this result, as arxiv.Links.
pdf_url
A URL for the result’s PDF if present. Note: this URL also appears among result.links.
上述搜索脚本在终端打印出如下结果:
1 2 3 4 5 6 7 8 9 10
http://arxiv.org/abs/2110.11040v1 -> InterpolationSLAM: A Novel Robust Visual SLAM System in Rotational Motion http://arxiv.org/abs/2110.10329v1 -> SLAM: A Unified Encoder for Speech and Language Modeling via Speech-Text Joint Pre-Training http://arxiv.org/abs/2110.09156v1 -> Enhancing exploration algorithms for navigation with visual SLAM http://arxiv.org/abs/2110.08977v1 -> Accurate and Robust Object-oriented SLAM with 3D Quadric Landmark Construction in Outdoor Environment http://arxiv.org/abs/2110.08639v1 -> Partial Hierarchical Pose Graph Optimization for SLAM http://arxiv.org/abs/2110.07546v1 -> Active SLAM over Continuous Trajectory and Control: A Covariance-Feedback Approach http://arxiv.org/abs/2110.06541v2 -> Collaborative Radio SLAM for Multiple Robots based on WiFi Fingerprint Similarity http://arxiv.org/abs/2110.05734v1 -> Learning Efficient Multi-Agent Cooperative Visual Exploration http://arxiv.org/abs/2110.03234v1 -> Self-Supervised Depth Completion for Active Stereo http://arxiv.org/abs/2110.02593v1 -> InterpolationSLAM: A Novel Robust Visual SLAM System in Rotating Scenes
content[paper_key] = f"|**{publish_time}**|**{paper_title}**|{paper_first_author} et.al.|[{paper_id}]({paper_url})|\n" data = {topic:content} return data
defupdate_json_file(filename,data_all): with open(filename,"r") as f: content = f.read() ifnot content: m = {} else: m = json.loads(content) json_data = m.copy() # update papers in each keywords for data in data_all: for keyword in data.keys(): papers = data[keyword]
if keyword in json_data.keys(): json_data[keyword].update(papers) else: json_data[keyword] = papers
with open(filename,"w") as f: json.dump(json_data,f) defjson_to_md(filename): """ @param filename: str @return None """ DateNow = datetime.date.today() DateNow = str(DateNow) DateNow = DateNow.replace('-','.') with open(filename,"r") as f: content = f.read() ifnot content: data = {} else: data = json.loads(content)
md_filename = "README.md" # clean README.md if daily already exist else create it with open(md_filename,"w+") as f: pass
# write data into README.md with open(md_filename,"a+") as f: f.write("## Updated on " + DateNow + "\n\n") for keyword in data.keys(): day_content = data[keyword] ifnot day_content: continue # the head of each part f.write(f"## {keyword}\n\n") f.write("|Publish Date|Title|Authors|PDF|\n" + "|---|---|---|---|\n") # sort papers by date day_content = sort_papers(day_content) for _,v in day_content.items(): if v isnotNone: f.write(v)
f.write(f"\n") print("finished")
if __name__ == "__main__":
data_collector = [] keywords = dict() keywords["SLAM"] = "SLAM" for topic,keyword in keywords.items(): print("Keyword: " + topic) data = get_daily_papers(topic, query = keyword, max_results = 10) data_collector.append(data) print("\n")
# update README.md file json_file = "cv-arxiv-daily.json" if ~os.path.exists(json_file): with open(json_file,'w')as a: print("create " + json_file) # update json data update_json_file(json_file,data_collector) # json data to markdown json_to_md(json_file)
GitHub Actions help you automate tasks within your software development life cycle. GitHub Actions are event-driven, meaning that you can run a series of commands after a specified event has occurred. For example, every time someone creates a pull request for a repository, you can automatically run a command that executes a software testing script.
# Controls when the workflow will run on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: schedule: - cron:"* 12 * * *"# Runs every minute of 12th hour env:
GITHUB_USER_NAME:Vincentqyw# your github id GITHUB_USER_EMAIL:realcat@126.com# your email address # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: name:update # The type of runner that the job will run on runs-on:ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: - name:Checkout uses:actions/checkout@v2 - name:SetupPythonEnv uses:actions/setup-python@v1 with: python-version:3.6