Skip to main content

Demo library

Project description

About The Code

This is a part of the project that we are working on it for the Cyber-Physical Group (i6) at the Technical University of Munich. In this part, we develop a script extractor to gather the information such as abstract, author(s), supervisor(s), advisor(s), date of submission, etc.

How to install

You can install it by running the following line in your terminal:

pip install Extraction-CPS

Getting Started

This is an example of how you may give instructions on setting up your project locally.

from Extract_info import Extract
directory = "D:\CPS\HiWiProjects\Parse\data\mnt\current" #This is a sample directory. You have to change it to your desired directory.
# Note: if your subdirectory is started with a number, you must write it as below:
# directory = "D:\CPS\HiWiProjects\Parse\data\mnt\current\\2014"
format = "tex" #For now, the code can extract the information from LaTeX(.tex) and Text(.txt) files.
E = Extract.Extraction(directory, format)
All_information = E.Extract_all_together() #This line will give you the information if the authors and abstract are not empty.
Only_Abstracts = E.Extract_Abstract() #This will give you the English and German version of the abstract. The German version may be empty.
Only_Authors = E.Extract_Authors()
Only_Titles_en = E.Extract_Title_en() #English titles
Only_Titles_de = E.Extract_Title_de() #German titles
Only_Dates = E.Extract_Date()
Only_Supervisors = E.Extract_Supervisor()
Only_Advisors = E.Extract_Advisor()
Only_ThesisTypes = E.Extract_ThesisType()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Extraction_CPS-0.1.6.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Extraction_CPS-0.1.6-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file Extraction_CPS-0.1.6.tar.gz.

File metadata

  • Download URL: Extraction_CPS-0.1.6.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

File hashes

Hashes for Extraction_CPS-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e1a353f721728ac27d9741f6017b5877e4b67abe74e9fa094f217123bad77f44
MD5 58254cbff8b6831ae109e7d1ad45572d
BLAKE2b-256 703654c800e52b79e1bfe34a5d7ae1b2865c77ecaf3ad6db1d67bf1d8c722697

See more details on using hashes here.

File details

Details for the file Extraction_CPS-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: Extraction_CPS-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

File hashes

Hashes for Extraction_CPS-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7421318ea490d6f69e935985e346660c39ad251cc8b285bd372d9e88870cd7c8
MD5 2d49b5a3351d0b53ed45d27b6983bfec
BLAKE2b-256 a24828f08b97ec584277053d6ece1ba2ef37ad10c679c181bddc0ce69c7a3a58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page