diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..34642ec --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,233 @@ +# paper_server + +## What This Repo Is + +`paper_server` is a Django 4.2 backend that mixes a general admin platform with a paper/resource acquisition pipeline. + +Main stack: + +- Django + DRF +- PostgreSQL +- Redis cache +- Celery + django-celery-beat + django-celery-results +- Channels + Daphne for WebSocket push + +The repo is not just a "paper service". It contains four major business areas: + +- `apps.system`: users, departments, roles, permissions, files, schedules, config +- `apps.auth1`: login/auth flows based on JWT, session, SMS, WeChat, face login +- `apps.wf`: a configurable workflow/ticket engine +- `apps.ops`: ops endpoints for logs, backups, server metrics, cache, Celery, Redis +- `apps.resm`: paper metadata, abstract/fulltext fetch, PDF download pipeline +- `apps.utils`: shared base models, viewsets, permissions, middleware, pagination, helpers +- `apps.ws`: websocket consumers and routing + +## Runtime Entry Points + +- `manage.py` starts Django with `server.settings` +- `server/settings.py` is the central settings file and imports environment values from `config/conf.py` +- `server/urls.py` mounts all REST APIs, Swagger, Django admin, and the SPA entry (`dist/index.html`) +- `server/asgi.py` serves HTTP plus WebSocket traffic +- `server/celery.py` creates the Celery app using `config.conf.BASE_PROJECT_CODE` + +## Environment And Config + +This project expects local runtime config files under `config/`: + +- `config/conf.py`: Django secret/config, database, cache, Celery broker, backup shell paths +- `config/conf.json`: runtime system config loaded through `server.settings.get_sysconfig()` + +Important implication: + +- the repo can start only when `config/conf.py` is valid for the target environment +- many ops tasks assume Linux paths from `BACKUP_PATH` and `SH_PATH` +- Redis is used by cache, Celery broker, and Channels + +## URL Map + +Primary REST prefixes: + +- `api/auth/` +- `api/system/` +- `api/wf/` +- `api/ops/` +- `api/resm/` +- `api/utils/` + +Other routes: + +- `api/swagger/` and `api/redoc/` +- `django/admin/` +- `ws/my/` +- `ws//` + +## Core Architectural Patterns + +### Shared Base Models + +`apps.utils.models` defines the core model layer: + +- `BaseModel`: string primary key generated by Snowflake-style `idWorker` +- `SoftModel`: soft delete support +- `CommonAModel` / `CommonBModel`: standard audit fields +- `ParentModel`: tree-like parent linkage with a stored `parent_link` + +Many business models inherit from these classes, so ID generation, soft deletion, and audit fields are cross-cutting behavior. + +### Shared ViewSet Base + +`apps.utils.viewsets.CustomGenericViewSet` is the main DRF base class. It adds: + +- permission code registration through `perms_map` +- per-user/request cache protection for duplicate requests +- data-scope filtering based on RBAC and department range +- serializer switching per action +- `select_related` / `prefetch_related` hooks +- row locking behavior for mutable operations inside transactions + +When adding endpoints, this class is usually the first place to check for inherited behavior. + +### Auth And Permissions + +- default auth uses JWT plus DRF basic/session fallbacks +- global default permission is authenticated + `apps.utils.permission.RbacPermission` +- custom user model is `apps.system.models.User` +- websocket auth is handled in `apps.utils.middlewares.TokenAuthMiddleware` via `token` query param + +## App Notes + +### `apps.system` + +This is the platform foundation layer. + +Key models: + +- `User` +- `Dept` +- `Role` +- `Permission` +- `Post` / `UserPost` / `PostRole` +- `Dictionary` / `DictType` +- `File` +- `MySchedule` + +This app owns the RBAC structure used by the rest of the project. + +### `apps.wf` + +This app is a full workflow engine, not just a simple approval table. + +Key models: + +- `Workflow` +- `State` +- `Transition` +- `CustomField` +- `Ticket` +- `TicketFlow` + +Important logic lives in `apps.wf.services.WfService`: + +- initialize a workflow from its start state +- generate ticket serial numbers +- resolve next state from transition conditions +- resolve participants from person/role/dept/post/field/code/robot +- enforce handle permissions +- create transition logs +- send SMS notifications +- trigger robot tasks and on-reach hooks + +When working on ticket behavior, read `apps/wf/services.py` before touching serializers or views. + +### `apps.ops` + +This app exposes runtime/maintenance APIs: + +- git reload tasks +- database/media backup +- log browsing +- CPU/memory/disk inspection +- Celery info +- Redis info +- cache get/set +- DRF request log and third-party request log listing + +Some behaviors depend on shell scripts and Linux-only paths from config. + +### `apps.resm` + +This is the paper pipeline. + +Key model: + +- `Paper`: stores DOI/OpenAlex metadata, OA flags, abstract/fulltext state, fetch status, failure reason, and local file save helpers +- `PaperAbstract`: separate abstract storage + +The paper fetch pipeline in `apps/resm/tasks.py` currently includes: + +- metadata ingestion from OpenAlex +- abstract/fulltext XML fetch from Elsevier +- PDF fetch from OA URL +- PDF fetch from OpenAlex content API +- PDF fetch from Elsevier +- Sci-Hub fallback +- task fan-out and stuck-download release + +Download behavior is stateful: + +- `fetch_status="downloading"` is used as a coarse lock +- `fail_reason` accumulates fetch failures +- files are stored under `media/papers////` + +This app has recent local edits in the working tree, so read carefully before changing it. + +### `apps.ws` + +Two websocket patterns exist: + +- `MyConsumer`: per-user channel (`user_`) plus optional `event` group +- `RoomConsumer`: shared room chat group + +The websocket layer depends on Redis-backed Channels and JWT token parsing in the query string. + +## Startup Expectations + +Typical local boot sequence: + +1. Ensure `config/conf.py` and `config/conf.json` are present and valid. +2. Start PostgreSQL and Redis. +3. Install dependencies from `requirements.txt`. +4. Run `python manage.py migrate`. +5. Optionally run `python manage.py loaddata db.json`. +6. Start Django/Daphne. +7. Start Celery worker/beat separately if async tasks are needed. + +## Important Caveats + +- The repo currently has uncommitted user changes, especially under `apps/resm/`; do not revert them casually. +- `config/conf.py` contains environment-specific secrets and infrastructure paths; treat edits there as deployment-sensitive. +- Some source files display mojibake in this terminal because the project contains non-UTF8/legacy encoded Chinese comments, but the Python logic is still readable. +- `TokenAuthMiddleware` only proceeds when a token is present; websocket behavior without token is intentionally limited. +- `apps/resm/tasks.py` currently contains hard-coded third-party API credentials and source-specific logic; changing it needs extra caution. + +## Good First Files To Read + +- `server/settings.py` +- `server/urls.py` +- `apps/utils/models.py` +- `apps/utils/viewsets.py` +- `apps/system/models.py` +- `apps/wf/models.py` +- `apps/wf/services.py` +- `apps/resm/models.py` +- `apps/resm/tasks.py` + +## Updating This File + +Update `CLAUDE.md` when any of these change: + +- startup/config entry points +- app/module boundaries +- workflow engine behavior +- paper download pipeline behavior +- shared base classes or permission patterns diff --git a/after_click_no.html b/after_click_no.html new file mode 100644 index 0000000..b827d82 --- /dev/null +++ b/after_click_no.html @@ -0,0 +1,363 @@ + + Sci-Hub: the article is not available through Sci-Hub. What can I do? + + + + + + + + + + + + + + +
+ Alas, the following paper is not yet available in my database: +
+ + + +
Comparative study of attenuation properties of some ternary borate glass systems
+ +
Experimental and Theoretical NANOTECHNOLOGY, 2017
+ +
Some borate-based systems doped with sodium, zinc and lead are chosen to study gamma ray mass attenuation properties. Different parameters like mass attenuation, half value layer and mean free path have been analyzed at different photon energies. The values of molar volume have been estimated from density values to get idea regarding the compactness of the network structure. XCOM computer software has been employed to estimate mass attenuation coefficient at various energies. Further the values of...
+ + + +
+ + The paper is recent: it was published after 2021. Recent papers are mostly unavailable since automatic download doesn't work on them. + + +

O! According to the OpenAlex index, the paper is open access and should be accessible for free on publisher website. You can try to download it here. But there is no guarantee, because this index often contains errors.

+
+ +
What can I do?
+ + + +

You can request such paper through Sci-Net platform. Most papers, except some rare cases, are uploaded on request within a few minutes.

+ +

...after request is solved, the paper will become available on Sci-Hub for free to everyone. Therefore, by using the platform you help Sci-Hub grow and increase the amount of research papers available open access.

+ +
+ +
+ +
+ +
+
similar
articles
+ +
There are a number of similar articles that are present in Sci-Hub database. You might find them interesting
+
+ +
+ +
Comparative study of lead borate and bismuth lead borate glass systems as gamma-radiation shielding materials
+
Nuclear Instruments and Methods in Physics Research Section B: Beam Interactions with Materials and Atoms, 2004
+
Gamma-ray mass attenuation coefficients have been measured experimentally and calculated theoretically for PbO–B2O3 and Bi2O3–PbO–B2O3 glass systems using narrow beam transmission method. These values have been used to calculate half value layer (HVL) parameter. These parameters have also been calculated theoretically for some standard radiation shielding concretes at same energies. Effect of replacing lead by bismuth has been analyzed in terms of density, molar volume and mass attenuation...
+
+ +
Gamma Ray and FTIR Studies in Zinc Doped Lead Borate Glasses for Radiation Shielding Application
+
Materials Research, 2018
+
Gamma ray shielding properties of borate glass samples containing oxides of lead and zinc are prepared by melt and quench technique and evaluated theoretically using XCOM computer software for gamma ray shielding properties. However, gamma ray shielding properties are discussed in terms of various calculated parameters such as half value layer, mean free path and mass attenuation coefficient. The calculated parameters are compared by the author with conventional shielding material concrete. FTIR studies...
+
+ +
Study on borate glass system containing with Bi2O3 and BaO for gamma-rays shielding materials: Comparison with PbO
+
Journal of Nuclear Materials, 2010
+
In this work, the mass attenuation coefficients and shielding parameters of borate glass matrices containing with Bi2O3 and BaO have been investigated at 662 keV, and compare with PbO in same glass structure. The theoretical values were calculated by WinXCom software and compare with experiential data. The results found that the mass attenuation coefficients were increased with increasing of Bi2O3, BaO and PbO concentration, due to increase photoelectric absorption of all glass samples. However, Compton...
+
+ +
Investigation of lead borate glasses doped with aluminium oxide as gamma ray shielding materials
+
Annals of Nuclear Energy, 2014
+
Gamma-ray attenuation coefficients of xPbO⋅(0.90 − x)B2O3⋅0.10Al2O3 (x = 0.25, 0.30, 0.35, 0.40 and 0.45) glass system have been calculated with WinXCOM computer program developed by National Institute of Standards and Technology. Results have been further used to calculate half value layer and mean free path values. Gamma-ray shielding parameters of glass samples have been compared with standard nuclear radiation shielding concretes. The prepared glass samples have higher values of mass attenuation...
+
+ +
Gamma-ray attenuation coefficients in some heavy metal oxide borate glasses at 662 keV
+
Nuclear Instruments and Methods in Physics Research Section B: Beam Interactions with Materials and Atoms, 1996
+
The linear attenuation coefficient (μ) and mass attenuation coefficients (μϱ) of glasses in three systems: xPbO(1 − x)B2O3, 0.25PbO · xCdO(0.75 − x)B2O3 and xBi2O3(1 − x)B2O3 were measured at 662 keV. Appreciable variations were noted in the attenuation coefficients due to changes in the chemical composition of glasses. In addition to this, absorption cross-sections per atom were also calculated. A comparison of shielding properties of these glasses with standard shielding materials like lead,...
+
+ +
Gamma-ray attenuation studies of glass system
+
Radiation Measurements, 2006
+
Abstract PbO – BaO – B 2 O 3 glass system has been investigated in terms of molar mass, mass attenuation coefficient and half value layer parameters by using gamma-ray at 511,662 and 1274 keV photon energies. Gamma-ray attenuation coefficients of the prepared glass samples have been compared with tabulations based upon the results of XCOM. Good agreement has been observed between experimental and theoretical tabulations. Our results have uncertainty less than 3%. Radiation shielding properties of the...
+
+ +
Investigation of structural, thermal properties and shielding parameters for multicomponent borate glasses for gamma and neutron radiation shielding applications
+
Journal of Non-Crystalline Solids, 2017
+
Multicomponent borate glasses with the chemical composition (60 − x) B2O3–10 Bi2O3–10 Al2O3–10 ZnO–10 Li2O–(x) Dy2O3 or Tb4O7 (x = 0.5 mol%), and (60 − x − y) B2O3–10 Bi2O3–10 Al2O3–10 ZnO–10 Li2O–(x) Dy2O3–(y) Tb4O7 (x = 0.25, 0.5, 0.75, 1.0, 1.5, and 2.0 mol%, y = 0.5 mol%) have been fabricated by a conventional melt-quenching technique and were characterized by X-ray diffraction (XRD), Attenuated Total reflectance-Fourier transform Infrared (ATR-FTIR) spectroscopy, Raman...
+
+ +
Gamma ray shielding and structural properties of Bi2O3−PbO−B2O3−V2O5 glass system
+
AIP Conference Proceedings, 2014
+
The present work has been undertaken to evaluate the applicability of Bi2O3−PbO−B2O3−V2O5 glass system as gamma ray shielding material. Gamma ray mass attenuation coefficient has been determined theoretically using WinXcom computer software developed by National Institute of Standards and Technology. A meaningful comparison of their radiation shielding properties has been made in terms of their half value layer parameter with standard radiation shielding concrete 'barite'. Structural properties of...
+
+ +
Comparative study of gamma ray shielding and some properties of PbO–SiO2–Al2O3 and Bi2O3–SiO2–Al2O3 glass systems
+
Radiation Physics and Chemistry, 2014
+
Gamma-ray shielding properties have been estimated in terms of mass attenuation coefficient, half value layer and mean free path values, whereas, structural studies have been performed in terms of density, optical band gap, glass transition temperature and longitudinal ultrasonic velocity parameters. X-ray diffraction, UV–visible, DSC and ultrasonic techniques have been used to explore the structural properties of PbO–SiO2–Al2O3 and Bi2O3–SiO2–Al2O3 glass systems.
+
+ +
Optical and radiation shielding features for a new series of borate glass samples
+
Optik, 2021
+
A series of borate glass (80-y)B 2 O 3 -10ZnO-10CdO-yBaO, where 10 ≤ y ≤ 30, was synthesized by the melt quench method. The durability and optical features were explored to study the structural features. The sample S2 appears the highest durability than other samples. Several optical parameters were determined, such as bandgap, refractive index, reflection loss, metallization, and cutoff wavelength; these parameters show a good relationship with durability. Moreover, comprehensive radiation shielding...
+
+ +
Gamma ray shielding and structural properties of PbO-P2O5-Na2WO4 glass system
+
AIP Conference Proceedings, 2017
+
The present work has been undertaken to study the gamma ray shielding properties of PbO-P2O5-Na2WO4 glass system. The values of mass attenuation coefficient and half value layer parameter at photon energies 511, 662 and 1173 KeV have been determined using XCOM computer software developed by National Institute of Standards and Technology. The density, molar volume, XRD, UV-VIS and Raman studies have been performed to study the structural properties of the prepared glass system to check the possibility of...
+
+ +
Comparative Study of Radiation Shielding Parameters for Bismuth Borate Glasses
+
Materials Research, 2016
+
Melt and quench technique was used for the preparation of glassy samples of the composition x Bi2O3-(1-x) B2O3 where x= .05 to .040. XCOM computer program is used for the evaluation of gamma-ray shielding parameters of the prepared glass samples. Further the values of mass attenuation coefficients, effective atomic number and half value layer for the glassy samples have been calculated in the energy range from 1KeV to 100GeV. Rigidity of the glass samples have been analyzed by molar volume of the prepared...
+
+ +
Investigation of structural properties of lead strontium borate glasses for gamma-ray shielding applications
+
Journal of Physics and Chemistry of Solids, 2010
+
Glasses of the system PbO–SrO–B2O3 with the value of molar ratio R (=PbO/B2O3) in the region 0.14≤R≤2.0 were prepared using the melt quenching technique. In order to evaluate gamma-ray shielding properties for glass samples, mass attenuation coefficients have been calculated with the XCOM computer program. The longitudinal velocities of ultrasonic waves were measured in these glass samples at room temperature using the pulse echo technique. The results indicate that with increase in R value,...
+
+ +
Gamma ray attenuation in a developed borate glassy system
+
Radiation Physics and Chemistry, 2014
+
Measurements and calculations of gamma ray attenuation coefficients in glass barriers of xBaO–5ZnO–5MgO–14Na2O–-1Li2O–(75−x)B2O3, previously prepared by the melt-quenching technique [1], were performed for γ-ray of energies 121.8, 244.7, 344.14, 661.66, 778.7, 974, 1086.7, 1173.24, 1332.5, and 1407.9 keV; which emitted from 152Eu, 137Cs, and 60Co radioactive gamma ray sources. The transmitted γ-rays were detected by 3″×3″ and 5″×5″ NaI (Tl) scintillation γ-ray spectrometers, and a...
+
+ +
Gamma rays and thermal neutron attenuation studies of special composite mixes for using in different applications
+
Radiation Physics and Chemistry, 2021
+
Lead borate glass and unglazed ceramic composites have been investigated as shielding against gamma rays and thermal neutron. Attenuation parameters, mass attenuation coefficient and half-value layer using a wide range of gamma-rays energies 356, 511, 662, 1173, 1274 and 1332 keV, were determined. Transmitted gamma rays were measured by NaI(Tl) scintillation detector. Mass attenuation coefficients of the prepared composites samples have been measured experimentally and compared theoretically by XCOM,...
+
+ +
Physical, structural, optical and gamma radiation shielding properties of borate glasses containing heavy metals (Bi2O3/MoO3)
+
Journal of Non-Crystalline Solids, 2019
+
In an attempt to develop a novel gamma radiation shielding glasses, we prepared borate glasses contains a high concentration of heavy metals like Bi2O3 and MoO3 with the composition of 20MoO3-(80-x)B2O3-xBi2O3, were x varied from 30 to 45 mol% using tradition melt-quenching-annealing method. A structural investigation such as XRD and FTIR were characterized to confirm the amorphous structure of the prepared glasses and prove the availability of all chemicals included in these compositions after the melting...
+
+ +
Physical and radiation shielding properties of tantalum-zinc-sodium-borate glasses
+
AIP Conference Proceedings, 2021
+
In this paper, the physical properties such as density, molar volume, oxygen packing density, oxygen molar volume of Zinc-Sodium-Borate glass system with different amounts of Tantalum oxide have been evaluated. In order to study the radiation shielding competence of the Tantalum-Zinc-Sodium-Borate glasses the mass attenuation coefficients and Half Value Layer (HVL) were calculated for γ-ray photon energies of 59.54, 122, 279, 356, 511, 662, 835 KeV. A comparison of the radiation shielding properties of...
+
+ +
Investigation of bismuth borate glass system modified with barium for structural and gamma-ray shielding properties
+
Spectrochimica Acta Part A: Molecular and Biomolecular Spectroscopy, 2019
+
In the present paper, transparent and non-toxic Bi2O3-B2O3 glasses doped with BaO have been prepared by the authors which may replace the standard radiation shielding concretes and lead based commercial glasses for gamma ray shielding applications. The effects of BaO on the structural and optical properties of the prepared glass system have been investigated by Raman, FTIR and UV–Visible techniques. It has been observed that barium plays the role of a modifier and it is responsible for conversion of...
+
+ +
Evaluation of the gamma radiation shielding parameters of bismuth modified quaternary glass system
+
AIP Conference Proceedings, 2018
+
Glasses modified with heavy metal oxides (HMO) are an interesting area of research in the field of gamma-ray shielding. Bismuth modified lithium-zinc-borate glasses have been studied whereby bismuth oxide is added from 0 to 50 mol%. The gamma ray shielding properties of the glasses were evaluated at photon energy 662 keV with the help of XMuDat computer program by using the Hubbell and Seltzer database. Various gamma ray shielding parameters such as attenuation coefficient, shield thickness in terms of...
+
+ +
Investigation of photon, neutron and proton shielding features of H3BO3–ZnO–Na2O–BaO glass system
+
Nuclear Engineering and Technology, 2021
+
The current study aims to explore the shielding properties of multi-component borate-based glass series. Seven glass-samples with composition of (80-y)H3BO3–10ZnO–10Na2O–yBaO where (y = 0, 5, 10, 15, 20, 25 and 30 mol.%) were synthesized by melt-quench method. Various shielding features for photons, neutrons, and protons were determined for all prepared samples. XCOM, Phy-X program, and SRIM code were performed to determine and explain several shielding properties such as equivalent atomic number,...
+
+ +
Gamma radiation shielding characteristics for some rare earth doped lead borate glasses
+
AIP Conference Proceedings, 2021
+
A novel rare earth doped lead borate glass system (65B2O3–xGd2O3–xSm2O3-(35-2x) PbO) has been prepared by the means of melt-quench technique. XRD results confirm amorphous nature of glass samples. The density of glasses has been measured using Archimedes’ method. The fundamental radiation shielding parameters such as mass attenuation coefficient and effective atomic number decreases as PbO is replaced by Sm2O3 and Gd2O3 in the glass series. Whereas, the thickness normalizing parameters such as mean...
+
+ +
Evaluation of gamma-ray attenuation properties of lithium borate glasses doped with barite, limonite and serpentine
+
Radiochimica Acta, 2018
+
Abstract The values of mass attenuation coefficient, the effective atomic number and the electron density of barite-doped, limonite-doped, serpentine-doped and undoped lithium borate glasses were obtained not only from experimental study using the narrow beam transmission method for 81, 121, 244, 276, 344, 383, 444 and 778 keV gamma energies with Hp-Ge detector, but also therotical work by WinXCom software (1 keV–10 5 MeV). From the obtained results, all glasses type mass attenuation coefficient values...
+
+ +
Evaluation of gamma-ray attenuation properties of bismuth borate glass systems using Monte Carlo method
+
Radiation Physics and Chemistry, 2017
+
Abstract A Monte Carlo method was developed to investigate radiation shielding properties of bismuth borate glass. The mass attenuation coefficients and half-value layer parameters were determined for different fractional amounts of Bi2O3 in the glass samples for the 356, 662, 1173 and 1332 keV photon energies. A comparison of the theoretical and experimental attenuation coefficients is presented.
+
+ +
Correlation of gamma ray shielding and structural properties of PbO–BaO–P 2 O 5 glass system
+
Nuclear Engineering and Design, 2015
+
The presented work has been undertaken to evaluate the applicability of BaO doped PbO-P2O5 glass system as gamma ray shielding material in terms of mass attenuation coefficient and half value layer at photon energies 662, 1173 and1332 keV. A meaningful comparison of their radiation shielding properties has been made in terms of their mass attenuation coefficient and HVL parameters with standard radiation shielding concrete ‘barite’. The density, molar volume, XRD, FTIR, Raman and UV–visible...
+
+ +
Borate multicomponent of bismuth rich glasses for gamma radiation shielding application
+
Radiation Physics and Chemistry, 2019
+
Abstract In this work, six borate-bismuth glasses have been synthesized using a conventional melt-quenching-aneling process with a composition of (80-x)B2O3 10ZnO 10MgO-xBi2O3 where x = 10, 20, 30, 40, 50 and 60 mol%. The glasses were melted at 975 °C for 30 min and annealed at 300 °C for 5 h. Different physical properties of these glasses have been measured and estimated. X-ray diffraction has been utilized to investigate the structural nature of these glasses. Optical absorption and...
+
+ +
Direct influence of mercury oxide on structural, optical and radiation shielding properties of a new borate glass system
+
Ceramics International, 2020
+
Abstract A series of barium sodium borate glasses of chemical composition (60-x) B2O3+20Na2O2+20BaCO3+x HgO, (where x = 0, 2.5, 5, 7.5, 10, 12.5, and 15 wt%) doped with mercury oxide was synthesized. The melt-quenching method was used to synthesize the glass series at 1100 °C for melting and 60 min for annealing at 300 °C. X-ray diffraction was used to study the structure of the synthesized samples at room temperature between 10° and 70°. We used a Tensor Model 27 FTIR spectrometer to show the...
+
+ +
Photon Interaction Parameters for Some Borate Glasses
+
AIP Conference Proceedings, 2010
+
Some photon interaction parameters of dosimetric interest such as mass attenuation coefficients, effective atomic number, electron density and KERMA relative to air have been computed in the wide energy range from 1 keV to 100 GeV for some borate glasses viz. barium‐lead borate, bismuth‐borate, calcium‐strontium borate, lead borate and zinc‐borate glass. It has been observed that lead borate glass and barium‐lead borate glass have maximum values of mass attenuation coefficient, effective atomic...
+
+ +
Effect of gamma ray on some properties of bismuth borate glasses containing different transition metals
+
SN Applied Sciences, 2020
+
This work aims to study the influence of gamma irradiation on some bismuth borate glasses doped with different transition metal oxides (CuO, CoO, ZnO and CdO). The structure of the glass matrix was analyzed by Fourier transform infrared and ultraviolet–visible spectroscopy before and after gamma irradiation at doses of 1 kGy, 20 kGy and 50 kGy. Additionally, the attention is made in determining the attenuation parameters against gamma rays. Mass attenuation coefficient determined experimentally and...
+
+ +
Radiation shielding competence of silicate and borate heavy metal oxide glasses: Comparative study
+
Journal of Non-Crystalline Solids, 2014
+
Abstract Gamma-ray shielding competence of silicate and borate heavy metal oxide glasses has been investigated using linear attenuation coefficients, effective atomic numbers and exposure buildup factors (EBF). The gamma-ray EBF were computed using the Geometric Progression (G-P) fitting method for photon energies from 0.015 to 15 MeV, and for penetration depths up to 40 mean free paths (mfps). The macroscopic effective removal cross-section for fast neutron has been calculated for energy range from 2 to...
+
+ +
Investigation of Gamma‐Radiation Shielding Properties of Cadmium Bismuth Borate Glass Experimentally and by Using XCOM Program and MCNP5 Code
+
physica status solidi (b), 2020
+
New glass systems of bismuth borate with various concentrations of cadmium oxide are prepared based on the melt-quenching method. The X-ray diffraction (XRD) reveals a fully amorphous structure of the prepared glasses (S1–S4), and the UV–vis results display good transparency (>50%) in the visible and near-UV region. In addition, the radiation shielding properties (mass attenuation coefficient, half-value layer, tenth value layer, mean free path, effective atomic number, and electron density) of the new...
+
+ +
Comparative investigations of gamma and neutron radiation shielding parameters for different borate and tellurite glass systems using WinXCom program and MCNPX code
+
Materials Chemistry and Physics, 2018
+
In the present article, for different chemical compositions of B2O3‒Bi2O3, B2O3‒Sb2O3, B2O3‒WO3‒La2O3, B2O3‒MoO3‒ZnO, and TeO2‒MO (M = Mg, Ba, and Zn) glasses, by applying WinXCom program we calculated the mass attenuation coefficient (μ/ρ) values, and from these values, the effective atomic number (Zeff), electron density (Ne), mean free path (MFP), half-value layer (HVL), and exposure buildup factor (EBF) values using Geometric progression (G‒P) fitting method, including macroscopic...
+
+ +
Investigations on borate glasses within SBC-Bx system for gamma-ray shielding applications
+
Nuclear Engineering and Technology, 2021
+
This paper examines gamma-ray shielding properties of SBC-Bx glass system with the chemical composition of 40SiO2–10B2O3–xBaO–(45-x)CaO– yZnO– zMgO (where x = 0, 10, 20, 30, and 35 mol% and y = z = 6 mol%). Mass attenuation coefficient (μ/ρ) which is an essential parameter to study gamma-ray shielding properties was obtained in the photon energy range of 0.015–15 MeV using PHITS Monte Carlo code for the proposed glasses. The obtained results were compared with those calculated by WinXCOM...
+
+ +
+
+ + + \ No newline at end of file diff --git a/after_click_no.png b/after_click_no.png new file mode 100644 index 0000000..fa4627e Binary files /dev/null and b/after_click_no.png differ diff --git a/apps/resm/urls.py b/apps/resm/urls.py index 0a23086..eb41b14 100644 --- a/apps/resm/urls.py +++ b/apps/resm/urls.py @@ -1,6 +1,6 @@ from django.urls import path, include from rest_framework import routers -from .views import PaperViewSet +from .views import PaperViewSet, paper_pdf_view API_BASE_URL = 'api/resm/' HTML_BASE_URL = 'resm/' @@ -9,5 +9,6 @@ router = routers.DefaultRouter() router.register('paper', PaperViewSet, basename="paper") urlpatterns = [ - path(API_BASE_URL, include(router.urls)) + path(API_BASE_URL, include(router.urls)), + path('resm/paper//pdf/', paper_pdf_view, name='paper-pdf'), ] \ No newline at end of file diff --git a/apps/resm/views.py b/apps/resm/views.py index 51ec7ef..71005f6 100644 --- a/apps/resm/views.py +++ b/apps/resm/views.py @@ -1,9 +1,31 @@ -from django.shortcuts import render +from django.shortcuts import get_object_or_404 +from django.http import FileResponse, Http404 from rest_framework.response import Response +from rest_framework.decorators import api_view, permission_classes +from rest_framework.permissions import AllowAny from .models import Paper, PaperAbstract from .serializers import PaperListSerializer from apps.utils.viewsets import CustomGenericViewSet, CustomListModelMixin -from rest_framework.permissions import AllowAny +import os + + +@api_view(['GET']) +@permission_classes([AllowAny]) +def paper_pdf_view(request, pk): + paper = get_object_or_404(Paper, pk=pk) + if not paper.has_fulltext_pdf: + raise Http404("PDF not available") + pdf_path = paper.init_paper_path("pdf") + if not os.path.isfile(pdf_path): + raise Http404("PDF file not found on disk") + safe_doi = paper.doi.replace("/", "_") + response = FileResponse( + open(pdf_path, 'rb'), + content_type='application/pdf', + ) + response['Content-Disposition'] = f'inline; filename="{safe_doi}.pdf"' + return response + # Create your views here. class PaperViewSet(CustomGenericViewSet, CustomListModelMixin): diff --git a/requirements.txt b/requirements.txt index f797502..d26eb45 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -celery==5.6.2 +celery==5.6.2 Django==4.2.27 django-celery-beat==2.8.1 django-celery-results==2.6.0 @@ -24,3 +24,5 @@ playwright-stealth==2.0.1 pyautogui==0.9.54 pillow>=10.0.0 opencv-python>=4.8.0 +DrissionPage>=4.1.0 +curl-cffi>=0.7.0 diff --git a/scihub_page.html b/scihub_page.html new file mode 100644 index 0000000..007dfdd --- /dev/null +++ b/scihub_page.html @@ -0,0 +1,1580 @@ + + + + + + sci-hub.sg + + + + + + + + + +
+
+
+
+
+

+ 无法访问此网站 +

+ +

sci-hub.sg 的响应时间过长。

+ + + +
+

请试试以下办法:

+ +
+ + +
ERR_TIMED_OUT
+ + +
+
+ + +
+ +
+
请检查您的互联网连接是否正常
+
请检查所有网线是否都已连好,然后重新启动您可能正在使用的任何路由器、调制解调器或其他网络设备。
+
+ +
+
在防火墙或防病毒设置部分设为允许 Chromium 访问网络。
+
如果它已在可访问网络的程序列表中,请尝试将它从该列表中移除,然后重新添加到其中。
+
+ +
+
如果您使用代理服务器…
+
依次前往 Chromium 菜单 >“设置”>“系统”>“打开您计算机的代理设置”>“网络和 Internet”>“代理”,然后取消选择“自动检测设置”。
+
+ +
+ +
+ +
+ +
+
sci-hub.sg 的响应时间过长。
+
+ +
+
+ + + +
+ + + \ No newline at end of file diff --git a/scihub_screenshot.png b/scihub_screenshot.png new file mode 100644 index 0000000..9fd4ac8 Binary files /dev/null and b/scihub_screenshot.png differ diff --git a/test.png b/test.png new file mode 100644 index 0000000..547b1af Binary files /dev/null and b/test.png differ diff --git a/todo.html b/todo.html new file mode 100644 index 0000000..49fb2bb --- /dev/null +++ b/todo.html @@ -0,0 +1,660 @@ + + + + + +Chronicle — 待办 + + + + + + + + +
+ + +
+
✦   Chronicle   ✦
+
待 办
+ +
+
+ +
+
+ +
+ + + + +
0%
+
+
+ + +
+
+ + + +
+
+ + +
+
0 项待完成
+
+ + + +
+
+ + +
    + + + +
    + + + +