semvec/pypi-packages huggingface dataset:
S3MPython 3.1.0.23
Python implementation of the S3Model https://S3Model.com/ specifications version: 3.1.0
Requires Python: >=3.10
Keywords: context rdf xml machine learning data-centric semantic interoperability semantics agi

# S3MPython

S3MPython is a Python library for creating S3Model data models.


# Examples & Training

For S3Model training courses, see the [S3Model](https://s3model.com) website.

There is a repository called S3MPython_examples meant to be your first experience with S3MPython.

# Examples Installation

- Clone the [S3MPython_examples](https://github.com/twcook/S3M_Python_Training_examples.git) repository.
- See the [README.md](https://github.com/twcook/S3M_Python_Training_examples) file for instructions on how to install and run the examples.

# S3MPython Installation

Create a virtual environment for S3MPython. Suggestion: use the name S3MPython.

```pip install s3mpython```

See the **Project Integration** section of the [documentation](https://s3model.com/S3MPython/) for the next steps.


# Developing S3MPython

- Clone the master [repository](https://github.com/s3model/S3MPython)

- Change to the new S3MPython directory.
- Build the virtual environment using dev_requirements.txt. Suggestion: use the name S3MPython_dev.
- Create a new branch for your changes.
- Build and install your development branch into your S3MPython environment.

```
python3 setup.py sdist bdist_wheel

pip install e .
```
sctokenizer 0.0.8
A Source Code Tokenizer
Requires Python: >=3.6

# sctokenizer
A Source Code Tokenizer

Supports those languages: ```C, C++, Java, Python, PHP```

## How to install

```
pip install sctokenizer
```

## How to use
Use ```sctokenizer```:
```python
import sctokenizer

tokens = sctokenizer.tokenize_file(filepath='tests/data/hello_world.cpp', lang='cpp')
for token in tokens:
    print(token)
```

Or create new ```CppTokenizer```:
```python
from sctokenizer import CppTokenizer

tokenizer = CppTokenizer() # this object can be used for multiple source files
with open('tests/data/hello_world.cpp') as f:
    source = f.read()
    tokens = tokenizer.tokenize(source)
    for token in tokens:
        print(token)
```

Or better solution:
```python
from sctokenizer import Source

src = Source.from_file('tests/data/hello_world.cpp', lang='cpp')
tokens = src.tokenize()
for token in tokens:
    print(token)
```

Result is a ```list``` of ```Token```. Each ```Token``` has four attributes including ```token_value, token_type, line, column```:
```
(#, TokenType.SPECIAL_SYMBOL, (1, 1))
(include, TokenType.KEYWORD, (1, 2))
(<, TokenType.OPERATOR, (1, 10))
(bits/stdc++.h, TokenType.IDENTIFIER, (1, 11))
(>, TokenType.OPERATOR, (1, 24))
(using, TokenType.KEYWORD, (3, 1))
(namespace, TokenType.KEYWORD, (3, 7))
(std, TokenType.IDENTIFIER, (3, 17))
(;, TokenType.SPECIAL_SYMBOL, (3, 20))
(int, TokenType.KEYWORD, (5, 1))
(main, TokenType.IDENTIFIER, (5, 5))
((, TokenType.SPECIAL_SYMBOL, (5, 9))
(), TokenType.SPECIAL_SYMBOL, (5, 10))
({, TokenType.SPECIAL_SYMBOL, (6, 1))
(cout, TokenType.IDENTIFIER, (7, 5))
(<<, TokenType.OPERATOR, (7, 11))
(", TokenType.SPECIAL_SYMBOL, (7, 13))
(Hello World, TokenType.STRING, (7, 14))
(", TokenType.SPECIAL_SYMBOL, (7, 25))
(;, TokenType.SPECIAL_SYMBOL, (7, 26))
(return, TokenType.KEYWORD, (8, 5))
(0, TokenType.CONSTANT, (8, 12))
(;, TokenType.SPECIAL_SYMBOL, (8, 13))
(}, TokenType.SPECIAL_SYMBOL, (9, 1))
```

## TODO
* Support other languages: ```Matlab, Javascript, Typescript,...```
* Auto detect language
* Parse source to a tree of tokens???
plant-disease-detection-3181137349 0.0.1
Plant disease detection

# backend

### Plant disease detection, using MobileNetV2 and YOLOv4, Pytorch implementation.

```shell
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
pip install python-multipart

pip freeze > requirements.txt
pip uninstall -r requirements.txt -y
```
conmato 0.0.5
A Command Line Interface for Codeforces Management Tools
Requires Python: >=3.6

# Conmato

A Command Line Interface (CLI) for Codeforces Management Tools that helps coaches to 
manage Codeforces groups easier.

## Features

* Managing members in a group (confirming or removing by Regex)
* Managing contests in a group 
* Crawling informations, standings, submissions in a contest to csv format
* Checking plagiarism in a contest

To see more, check the following [docs](https://github.com/ngocjr7/codeforces-management-tools/tree/master/docs)

## Installation

It requires `python>=3.6`. To install:

```sh
python3 -m pip install conmato
```

## Usage

You can see document by passing `--help` argument in each command
```sh
conmato --help

Usage: conmato [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  config      Config command.
  contest     Contest commands.
  get         Get commands.
  login       Login command.
  member      Member commands.
  plagiarism  Plagiarism commands.
```

```sh
conmato get --help

Usage: conmato get [OPTIONS] COMMAND [ARGS]...

  Get commands.

Options:
  --help  Show this message and exit.

Commands:
  contest     Get all standing and submission in a contest.
  member      Get members in a group.
  pstandings  Get all standing with plagiarism in a contest.
  standings   Get standing in a contest.
  submission  Get all submission in a contest.
  username    Get this logged username.
```

```sh
conmato get standings --help

Usage: conmato get standings [OPTIONS]

Get standing in a contest.

Options:
-g, --group-id TEXT     Group id in Codeforces.com.
-c, --contest-id TEXT   Contest id in Codeforces.com.  [required]
-f, --user-format TEXT  User format.
-cm, --common           Flag for getting all participants (group outter
                        included).

-o, --output-dir TEXT   Output directory.
--help                  Show this message and exit.
```

Almost all functions of Conmato require a manager account logging in before performing.
Usually, Conmato will ask on each action. 
You can log in once and save the session for future uses by:

```sh
conmato login
```

For example, to get standings in a contest (e.x. `http://codeforces.com/group/Ir5CI6f3FD/contest/269185/standings/groupmates/true`), 
you have to pass `group_id` (e.x. `Ir5CI6f3FD`) and `contest_id` (e.x. `269185`)

```sh
conmato get standings -g Ir5CI6f3FD -c 269185
```

For more detail, check this [doc](https://github.com/ngocjr7/codeforces-management-tools/tree/master/docs/cli.md).

## Issues and Contribution

This project is in development, if you find any issues, please create an issue [here](https://github.com/ngocjr7/codeforces-management-tools/issues).

If you are interested in contributing to this project, feel free to create a pull request [here](https://github.com/ngocjr7/codeforces-management-tools/pulls). We appreciate all your contributions.

## Acknowledgement 

This project is sponsored and led by Prof. Do Phan Thuan, Hanoi University of Science and Technology.
Thank Thai Do (Dec1mo) and Tung Tran (tungtran309) for helping me to develop this project.