Skip to content

Commit 6c07450

Browse files
committed
Lint, begin tidying
1 parent 836c368 commit 6c07450

File tree

4 files changed

+316
-311
lines changed

4 files changed

+316
-311
lines changed

arxiv/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# flake8: noqa
22
from .arxiv import *
3-
from .query import *
3+
from .query import *

arxiv/category.py

Lines changed: 166 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -4,176 +4,186 @@
44
# cath4s = document.getElementsByTagName("h4")
55
# a = Array.from(cath4s)
66
# a.shift()
7-
# strs = a.map(h => `${h.children[0].textContent.replace(/\W/g, "")} = "${h.firstChild.textContent.trim()}"`)
7+
# strs = a.map(h => `${h.children[0].textContent.replace(
8+
# /\W/g, ""
9+
# )} = "${h.firstChild.textContent.trim()}"`)
810
# console.log(strs.join("\n"))
911

12+
1013
class ComputerScience(Enum):
11-
ArtificialIntelligence = "cs.AI"
12-
HardwareArchitecture = "cs.AR"
13-
ComputationalComplexity = "cs.CC"
14-
ComputationalEngineeringFinanceAndScience = "cs.CE"
15-
ComputationalGeometry = "cs.CG"
16-
ComputationAndLanguage = "cs.CL"
17-
CryptographyAndSecurity = "cs.CR"
18-
ComputerVisionAndPatternRecognition = "cs.CV"
19-
ComputersAndSociety = "cs.CY"
20-
Databases = "cs.DB"
21-
DistributedParallelAndClusterComputing = "cs.DC"
22-
DigitalLibraries = "cs.DL"
23-
DiscreteMathematics = "cs.DM"
24-
DataStructuresAndAlgorithms = "cs.DS"
25-
EmergingTechnologies = "cs.ET"
26-
FormalLanguagesAndAutomataTheory = "cs.FL"
27-
GeneralLiterature = "cs.GL"
28-
Graphics = "cs.GR"
29-
ComputerScienceAndGameTheory = "cs.GT"
30-
HumanComputerInteraction = "cs.HC"
31-
InformationRetrieval = "cs.IR"
32-
MathInformationTheory = "cs.IT"
33-
MachineLearning = "cs.LG"
34-
LogicinComputerScience = "cs.LO"
35-
MultiagentSystems = "cs.MA"
36-
Multimedia = "cs.MM"
37-
MathematicalSoftware = "cs.MS"
38-
NumericalAnalysis = "cs.NA"
39-
NeuralAndEvolutionaryComputing = "cs.NE"
40-
NetworkingAndInternetArchitecture = "cs.NI"
41-
OtherComputerScience = "cs.OH"
42-
OperatingSystems = "cs.OS"
43-
Performance = "cs.PF"
44-
ProgrammingLanguages = "cs.PL"
45-
Robotics = "cs.RO"
46-
SymbolicComputation = "cs.SC"
47-
Sound = "cs.SD"
48-
SoftwareEngineering = "cs.SE"
49-
SocialAndInformationNetworks = "cs.SI"
50-
SystemsAndControl = "cs.SY"
14+
ArtificialIntelligence = "cs.AI"
15+
HardwareArchitecture = "cs.AR"
16+
ComputationalComplexity = "cs.CC"
17+
ComputationalEngineeringFinanceAndScience = "cs.CE"
18+
ComputationalGeometry = "cs.CG"
19+
ComputationAndLanguage = "cs.CL"
20+
CryptographyAndSecurity = "cs.CR"
21+
ComputerVisionAndPatternRecognition = "cs.CV"
22+
ComputersAndSociety = "cs.CY"
23+
Databases = "cs.DB"
24+
DistributedParallelAndClusterComputing = "cs.DC"
25+
DigitalLibraries = "cs.DL"
26+
DiscreteMathematics = "cs.DM"
27+
DataStructuresAndAlgorithms = "cs.DS"
28+
EmergingTechnologies = "cs.ET"
29+
FormalLanguagesAndAutomataTheory = "cs.FL"
30+
GeneralLiterature = "cs.GL"
31+
Graphics = "cs.GR"
32+
ComputerScienceAndGameTheory = "cs.GT"
33+
HumanComputerInteraction = "cs.HC"
34+
InformationRetrieval = "cs.IR"
35+
MathInformationTheory = "cs.IT"
36+
MachineLearning = "cs.LG"
37+
LogicinComputerScience = "cs.LO"
38+
MultiagentSystems = "cs.MA"
39+
Multimedia = "cs.MM"
40+
MathematicalSoftware = "cs.MS"
41+
NumericalAnalysis = "cs.NA"
42+
NeuralAndEvolutionaryComputing = "cs.NE"
43+
NetworkingAndInternetArchitecture = "cs.NI"
44+
OtherComputerScience = "cs.OH"
45+
OperatingSystems = "cs.OS"
46+
Performance = "cs.PF"
47+
ProgrammingLanguages = "cs.PL"
48+
Robotics = "cs.RO"
49+
SymbolicComputation = "cs.SC"
50+
Sound = "cs.SD"
51+
SoftwareEngineering = "cs.SE"
52+
SocialAndInformationNetworks = "cs.SI"
53+
SystemsAndControl = "cs.SY"
54+
5155

5256
class Economics(Enum):
53-
Econometrics = "econ.EM"
54-
GeneralEconomics = "econ.GN"
55-
TheoreticalEconomics = "econ.TH"
57+
Econometrics = "econ.EM"
58+
GeneralEconomics = "econ.GN"
59+
TheoreticalEconomics = "econ.TH"
60+
5661

5762
class ElectricalEngineeringAndSystemsScience(Enum):
58-
AudioAndSpeechProcessing = "eess.AS"
59-
ImageAndVideoProcessing = "eess.IV"
60-
SignalProcessing = "eess.SP"
61-
SystemsAndControl = "eess.SY"
63+
AudioAndSpeechProcessing = "eess.AS"
64+
ImageAndVideoProcessing = "eess.IV"
65+
SignalProcessing = "eess.SP"
66+
SystemsAndControl = "eess.SY"
67+
6268

6369
class Mathematics(Enum):
64-
CommutativeAlgebra = "math.AC"
65-
AlgebraicGeometry = "math.AG"
66-
AnalysisofPDEs = "math.AP"
67-
AlgebraicTopology = "math.AT"
68-
ClassicalAnalysisandODEs = "math.CA"
69-
Combinatorics = "math.CO"
70-
CategoryTheory = "math.CT"
71-
ComplexVariables = "math.CV"
72-
DifferentialGeometry = "math.DG"
73-
DynamicalSystems = "math.DS"
74-
FunctionalAnalysis = "math.FA"
75-
GeneralMathematics = "math.GM"
76-
GeneralTopology = "math.GN"
77-
GroupTheory = "math.GR"
78-
GeometricTopology = "math.GT"
79-
HistoryandOverview = "math.HO"
80-
MathInformationTheory = "math.IT"
81-
KTheoryandHomology = "math.KT"
82-
Logic = "math.LO"
83-
MetricGeometry = "math.MG"
84-
MathematicalPhysics = "math.MP"
85-
NumericalAnalysis = "math.NA"
86-
NumberTheory = "math.NT"
87-
OperatorAlgebras = "math.OA"
88-
OptimizationandControl = "math.OC"
89-
Probability = "math.PR"
90-
QuantumAlgebra = "math.QA"
91-
RingsandAlgebras = "math.RA"
92-
RepresentationTheory = "math.RT"
93-
SymplecticGeometry = "math.SG"
94-
SpectralTheory = "math.SP"
95-
StatisticsTheory = "math.ST"
70+
CommutativeAlgebra = "math.AC"
71+
AlgebraicGeometry = "math.AG"
72+
AnalysisofPDEs = "math.AP"
73+
AlgebraicTopology = "math.AT"
74+
ClassicalAnalysisandODEs = "math.CA"
75+
Combinatorics = "math.CO"
76+
CategoryTheory = "math.CT"
77+
ComplexVariables = "math.CV"
78+
DifferentialGeometry = "math.DG"
79+
DynamicalSystems = "math.DS"
80+
FunctionalAnalysis = "math.FA"
81+
GeneralMathematics = "math.GM"
82+
GeneralTopology = "math.GN"
83+
GroupTheory = "math.GR"
84+
GeometricTopology = "math.GT"
85+
HistoryandOverview = "math.HO"
86+
MathInformationTheory = "math.IT"
87+
KTheoryandHomology = "math.KT"
88+
Logic = "math.LO"
89+
MetricGeometry = "math.MG"
90+
MathematicalPhysics = "math.MP"
91+
NumericalAnalysis = "math.NA"
92+
NumberTheory = "math.NT"
93+
OperatorAlgebras = "math.OA"
94+
OptimizationandControl = "math.OC"
95+
Probability = "math.PR"
96+
QuantumAlgebra = "math.QA"
97+
RingsandAlgebras = "math.RA"
98+
RepresentationTheory = "math.RT"
99+
SymplecticGeometry = "math.SG"
100+
SpectralTheory = "math.SP"
101+
StatisticsTheory = "math.ST"
102+
96103

97104
class Physics(Enum):
98-
CosmologyandNongalacticAstrophysics = "astro-ph.CO"
99-
EarthandPlanetaryAstrophysics = "astro-ph.EP"
100-
AstrophysicsofGalaxies = "astro-ph.GA"
101-
HighEnergyAstrophysicalPhenomena = "astro-ph.HE"
102-
InstrumentationandMethodsforAstrophysics = "astro-ph.IM"
103-
SolarandStellarAstrophysics = "astro-ph.SR"
104-
DisorderedSystemsandNeuralNetworks = "cond-mat.dis-nn"
105-
MesoscaleandNanoscalePhysics = "cond-mat.mes-hall"
106-
MaterialsScience = "cond-mat.mtrl-sci"
107-
OtherCondensedMatter = "cond-mat.other"
108-
QuantumGases = "cond-mat.quant-gas"
109-
SoftCondensedMatter = "cond-mat.soft"
110-
StatisticalMechanics = "cond-mat.stat-mech"
111-
StronglyCorrelatedElectrons = "cond-mat.str-el"
112-
Superconductivity = "cond-mat.supr-con"
113-
GeneralRelativityandQuantumCosmology = "gr-qc"
114-
HighEnergyPhysicsExperiment = "hep-ex"
115-
HighEnergyPhysicsLattice = "hep-lat"
116-
HighEnergyPhysicsPhenomenology = "hep-ph"
117-
HighEnergyPhysicsTheory = "hep-th"
118-
MathematicalPhysics = "math-ph"
119-
AdaptationandSelfOrganizingSystems = "nlin.AO"
120-
ChaoticDynamics = "nlin.CD"
121-
CellularAutomataandLatticeGases = "nlin.CG"
122-
PatternFormationandSolitons = "nlin.PS"
123-
ExactlySolvableandIntegrableSystems = "nlin.SI"
124-
NuclearExperiment = "nucl-ex"
125-
NuclearTheory = "nucl-th"
126-
AcceleratorPhysics = "physics.acc-ph"
127-
AtmosphericandOceanicPhysics = "physics.ao-ph"
128-
AppliedPhysics = "physics.app-ph"
129-
AtomicandMolecularClusters = "physics.atm-clus"
130-
AtomicPhysics = "physics.atom-ph"
131-
BiologicalPhysics = "physics.bio-ph"
132-
ChemicalPhysics = "physics.chem-ph"
133-
ClassicalPhysics = "physics.class-ph"
134-
ComputationalPhysics = "physics.comp-ph"
135-
DataAnalysisStatisticsandProbability = "physics.data-an"
136-
PhysicsEducation = "physics.ed-ph"
137-
FluidDynamics = "physics.flu-dyn"
138-
GeneralPhysics = "physics.gen-ph"
139-
Geophysics = "physics.geo-ph"
140-
HistoryandPhilosophyofPhysics = "physics.hist-ph"
141-
InstrumentationandDetectors = "physics.ins-det"
142-
MedicalPhysics = "physics.med-ph"
143-
Optics = "physics.optics"
144-
PlasmaPhysics = "physics.plasm-ph"
145-
PopularPhysics = "physics.pop-ph"
146-
PhysicsandSociety = "physics.soc-ph"
147-
SpacePhysics = "physics.space-ph"
148-
QuantumPhysics = "quant-ph"
105+
CosmologyandNongalacticAstrophysics = "astro-ph.CO"
106+
EarthandPlanetaryAstrophysics = "astro-ph.EP"
107+
AstrophysicsofGalaxies = "astro-ph.GA"
108+
HighEnergyAstrophysicalPhenomena = "astro-ph.HE"
109+
InstrumentationandMethodsforAstrophysics = "astro-ph.IM"
110+
SolarandStellarAstrophysics = "astro-ph.SR"
111+
DisorderedSystemsandNeuralNetworks = "cond-mat.dis-nn"
112+
MesoscaleandNanoscalePhysics = "cond-mat.mes-hall"
113+
MaterialsScience = "cond-mat.mtrl-sci"
114+
OtherCondensedMatter = "cond-mat.other"
115+
QuantumGases = "cond-mat.quant-gas"
116+
SoftCondensedMatter = "cond-mat.soft"
117+
StatisticalMechanics = "cond-mat.stat-mech"
118+
StronglyCorrelatedElectrons = "cond-mat.str-el"
119+
Superconductivity = "cond-mat.supr-con"
120+
GeneralRelativityandQuantumCosmology = "gr-qc"
121+
HighEnergyPhysicsExperiment = "hep-ex"
122+
HighEnergyPhysicsLattice = "hep-lat"
123+
HighEnergyPhysicsPhenomenology = "hep-ph"
124+
HighEnergyPhysicsTheory = "hep-th"
125+
MathematicalPhysics = "math-ph"
126+
AdaptationandSelfOrganizingSystems = "nlin.AO"
127+
ChaoticDynamics = "nlin.CD"
128+
CellularAutomataandLatticeGases = "nlin.CG"
129+
PatternFormationandSolitons = "nlin.PS"
130+
ExactlySolvableandIntegrableSystems = "nlin.SI"
131+
NuclearExperiment = "nucl-ex"
132+
NuclearTheory = "nucl-th"
133+
AcceleratorPhysics = "physics.acc-ph"
134+
AtmosphericandOceanicPhysics = "physics.ao-ph"
135+
AppliedPhysics = "physics.app-ph"
136+
AtomicandMolecularClusters = "physics.atm-clus"
137+
AtomicPhysics = "physics.atom-ph"
138+
BiologicalPhysics = "physics.bio-ph"
139+
ChemicalPhysics = "physics.chem-ph"
140+
ClassicalPhysics = "physics.class-ph"
141+
ComputationalPhysics = "physics.comp-ph"
142+
DataAnalysisStatisticsandProbability = "physics.data-an"
143+
PhysicsEducation = "physics.ed-ph"
144+
FluidDynamics = "physics.flu-dyn"
145+
GeneralPhysics = "physics.gen-ph"
146+
Geophysics = "physics.geo-ph"
147+
HistoryandPhilosophyofPhysics = "physics.hist-ph"
148+
InstrumentationandDetectors = "physics.ins-det"
149+
MedicalPhysics = "physics.med-ph"
150+
Optics = "physics.optics"
151+
PlasmaPhysics = "physics.plasm-ph"
152+
PopularPhysics = "physics.pop-ph"
153+
PhysicsandSociety = "physics.soc-ph"
154+
SpacePhysics = "physics.space-ph"
155+
QuantumPhysics = "quant-ph"
156+
149157

150158
class QuantitativeBiology(Enum):
151-
Biomolecules = "q-bio.BM"
152-
CellBehavior = "q-bio.CB"
153-
Genomics = "q-bio.GN"
154-
MolecularNetworks = "q-bio.MN"
155-
NeuronsandCognition = "q-bio.NC"
156-
OtherQuantitativeBiology = "q-bio.OT"
157-
PopulationsandEvolution = "q-bio.PE"
158-
QuantitativeMethods = "q-bio.QM"
159-
SubcellularProcesses = "q-bio.SC"
160-
TissuesandOrgans = "q-bio.TO"
159+
Biomolecules = "q-bio.BM"
160+
CellBehavior = "q-bio.CB"
161+
Genomics = "q-bio.GN"
162+
MolecularNetworks = "q-bio.MN"
163+
NeuronsandCognition = "q-bio.NC"
164+
OtherQuantitativeBiology = "q-bio.OT"
165+
PopulationsandEvolution = "q-bio.PE"
166+
QuantitativeMethods = "q-bio.QM"
167+
SubcellularProcesses = "q-bio.SC"
168+
TissuesandOrgans = "q-bio.TO"
169+
161170

162171
class QuantitativeFinance(Enum):
163-
ComputationalFinance = "q-fin.CP"
164-
Economics = "q-fin.EC"
165-
GeneralFinance = "q-fin.GN"
166-
MathematicalFinance = "q-fin.MF"
167-
PortfolioManagement = "q-fin.PM"
168-
PricingofSecurities = "q-fin.PR"
169-
RiskManagement = "q-fin.RM"
170-
StatisticalFinance = "q-fin.ST"
171-
TradingandMarketMicrostructure = "q-fin.TR"
172+
ComputationalFinance = "q-fin.CP"
173+
Economics = "q-fin.EC"
174+
GeneralFinance = "q-fin.GN"
175+
MathematicalFinance = "q-fin.MF"
176+
PortfolioManagement = "q-fin.PM"
177+
PricingofSecurities = "q-fin.PR"
178+
RiskManagement = "q-fin.RM"
179+
StatisticalFinance = "q-fin.ST"
180+
TradingandMarketMicrostructure = "q-fin.TR"
181+
172182

173183
class Statistics(Enum):
174-
Applications = "stat.AP"
175-
Computation = "stat.CO"
176-
Methodology = "stat.ME"
177-
MachineLearning = "stat.ML"
178-
OtherStatistics = "stat.OT"
179-
StatisticsTheory = "stat.TH"
184+
Applications = "stat.AP"
185+
Computation = "stat.CO"
186+
Methodology = "stat.ME"
187+
MachineLearning = "stat.ML"
188+
OtherStatistics = "stat.OT"
189+
StatisticsTheory = "stat.TH"

0 commit comments

Comments
 (0)