Skip to main content

A small tool for generating and transformation accomplishments from BibTex format files

Project description

PAIS Accomplishments

About

A small tool for generating and transformation accomplishments from BibTex format files.

Homepage

PYPI: https://pypi.org/project/pais-accomplishments-tool/

Quick start

Table of Contents

Install

For install package run it.

pip install pais-accomplishments-tool

Upgrade

For upgrade tools to latest version run it

pip install pais-accomplishments-tool --upgrade

Add to PATH

On Mac + zsh

nano ~/.zshrc

And the following line to the .zshrc with the actual path of the [package_name] script

export PATH="/path/to/package:$PATH"

For Python 3.11.5 on MacOS 14

export PATH="/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pais-accomplishments-tool/paisAccTool.py:$PATH"

On Mac and Linux + bash

nano ~/.bash_profile

And the following line to the .bash_profile with the actual path of the [package_name] script

export PATH="/path/to/package:$PATH"

For Python 3.11.5 on MacOS 14

export PATH="/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pais-accomplishments-tool/paisAccTool.py:$PATH"

Simple usage

Help

For watch help message run paisAccTool.py:

python3 paisAccTool.py -h

Sample

For watch to work run paisAccTool.py for sample accomplishments file it

python3 paisAccTool.py accomplishments_sample.bib -c -en

Terminal output:

Hello everyone!
This is the micro tools for contain and formating accomplishments from BibTex source
 [ ]  misc accomplishment: rand1        done
 [ ]  misc accomplishment: rand2        done
 [ ]  misc accomplishment: rand3        done
 [ ]  misc accomplishment: rand4        done
 [ ]  conf accomplishment: conf1        done
1. Наставник образовательной программы Звездный путь.Зима, разработка системы автоматизированного тестирования : Московского государственного университета : 15.02.2023
2. Наставник образовательной программы Тёмная материя.Весна, Разработка системы машинного обучения : Санкт-петербургского государственного университета : 2023-04-10 00:00:00
3. Победитель образовательной программы Космос.Лето, Разработка системы компьютерного зрения : Новосибирского государственного университета : 2023-06-20 00:00:00
4. Участник олимпиады искусственный интеллект.Осень, Разработка системы естественного языка : Томского государственного университета : 2023-09-15 00:00:00
5. Публикация "Система NLP для марсианского языка" : Екатерина Кузнецова : Студенческая конференция Масла и Камня, Банка Китая : 11.04.2023

Common usage format

python3 paisAccTool.py <source .bib file> [-d <destination>, -t "template string", -m "field" "for" "transformation", -c, -en]
  • --config path to config file.
  • -c mean that each new entry will start with a capital letter;
  • -en mean that the list of accomplishments will be output with numbering.
usage: paisAccTool.py [-h] [-d DESTINATION] [--config CONFIG] [-c] [-en] source

The micro tools for contain and formating accomplishments from BibTex source

positional arguments:
  source                Path to source .bib file

options:
  -h, --help            show this help message and exit
  -d DESTINATION, --destination DESTINATION
                        Path to destination .bib file
  --config CONFIG       Path to config.yml file
  -c, --capitalize      Flag
  -en, --enumerate      Flag

Other usage sample

Command to output the list of accomplishments to a file

python3 paisAccTool.py accomplishments_sample.bib -c -en -d output.txt

Command with its own custom config. You can make a config file along the sample.

python3 paisAccTool.py accomplishments_sample.bib --config /path/to/config.yml

Accomplishments format

Each accomplishment is stored in a .bib file in bibtex format.

Below are the fields that are used to store misc achievements.

@misc{identifier,
	prefix = {Твоя роль на мероприятии},
	title = {Название мероприятия},
	type = {Тип мероприятия},
	author = {ФИО},
	organization = {Организация, которая проводит мероприятие},
	section = {Секция на конференции или номинация на олимпиаде, и тп.},
	location = {Место проведения},
	url = {url подтверждения достижения},
	start = {дата начала},
	end = {дата окончания},
	year = {год},
	month = {месяц},
	certificate = {результат, документ подтверждающий результат или участие (диплом, ...)},
	order = {место в конкурсе или статус на мероприятии}
}

Below are the fields that are used to store conf achievements.

@conf{conf1,
	prefix = {публикация},
	title = {Студенческая конференция Масла и Камня},
	type = {конференция},
	author = {Екатерина Кузнецова},
	organization = {Банк Китая},
	topic = {Система NLP для марсианского языка},
	section = {},
	location = {Зотеро},
	url = {some url},
	start = {11.04.2023},
	end = {15.04.2023},
	year = {2023},
	month = {4},
	certificate = {сборник},
	order = {}
}

If you do not have a field to enter your specific information, you can add such a field:

    <key> = {value}

The Accomplishments.bib file can be stored locally on your pc or in a remote git repository, so every commit means a new achievement (very convenient).

Config file

The Config file represent as a yaml file. Its format:

kinds:
  <entry_type>:
    template: 'template string'
    morphs:
      - <field 1>
      - <field 2>
sort:
  field: <key of field>
  reversed: <boolean>

For example, you can look on the default config:

kinds:
  misc:
    template: '{prefix} {type} {title}, {section} : {organization} : {start}'
    morphs:
      - type
      - organization
  conf:
    template: '{prefix} "{topic}" : {author} : {title}, {organization} : {start}'
    morphs:
      - organization

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

pais_accomplishments_tool-1.4.0b0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

pais_accomplishments_tool-1.4.0b0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file pais_accomplishments_tool-1.4.0b0.tar.gz.

File metadata

  • Download URL: pais_accomplishments_tool-1.4.0b0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/23.5.0

File hashes

Hashes for pais_accomplishments_tool-1.4.0b0.tar.gz
Algorithm Hash digest
SHA256 5a5e9296b0315582b33e26a012808581157bc8c5390a5f3a802e2a3e0b0b0a53
MD5 2e5809c33aba378cd4b2f27b7e50ce69
BLAKE2b-256 ad74f0b644289eb590acfd4b093168c1e99f2d1e2506132257e636357422edc3

See more details on using hashes here.

File details

Details for the file pais_accomplishments_tool-1.4.0b0-py3-none-any.whl.

File metadata

File hashes

Hashes for pais_accomplishments_tool-1.4.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c14f3ff5387ae991e34d85450bed2e21cb1563fa6a5ce53a7bf21e276ca2ead
MD5 4f5332fd2b25e23d701b3d67bd5bb543
BLAKE2b-256 ec15e43e8269156b8f53f0f0f3f0de455f4f3b48be50dfb3b32f825c0c15c616

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