semvec/pypi-packages huggingface dataset:
social-auth-mitxpro 0.7.1
python-social-auth backend for mitxpro
License: MIT
Requires Python: >=3.8


social-auth-mitxpro
---


#### Prerequisites

- [`pyenv`](https://github.com/pyenv/pyenv#installation) for managing python versions
  - Install `python3.8` and `python3.11`
- `pip install tox tox-pyenv` for running tests and discovering python versions from `pyenv`
- [`poetry`](https://poetry.eustace.io/docs/#installation) for building, testing, and releasing

If this is your first time using `poetry`, you'll need to configure your pypi credentials via:
- Configure pypi repository:
  - `poetry config http-basic.pypi USERNAME PASSWORD`
- Configure testpypi repository:
  - `poetry config repositories.testpypi https://test.pypi.org/legacy`
  - `poetry config http-basic.testpypi USERNAME PASSWORD`

**NOTE:** when running `poetry` commands, particularly `pylint` and `black`, you must `python3.6`

#### Testing

You can just run `tox` locally to test, lint, and check formatting in the supported python versions. This works by having `tox` manage the virtualenvs, which `poetry` then detects and uses.

Run individual commands can be run interactively in a `poetry shell` session or directly via `poetry run CMD`:

- `pytest` - run python tests
- `ruff check` - lint python code
- `ruff format` - format python code

#### Building

- `poetry build` - builds a pip-installable package into `dist/`

#### Releasing

- `poetry version VERSION` - bump the project version (see `poetry version --help` for details)
- `poetry publish -r testpypi` - publish to testpypi
- `poetry publish` - publish to pypi
pybrafile 0.1.3
Brainstorming package to manage texte files
License: MIT
Requires Python: <4.0,>=3.10

# pybrafile Readme 📜
Brainstorming package to manage texte files

# Installation ⚡
Opérating system :  Windows, MacOS & Linux :

# Available function/class 📑
### to create => FileUtils(afilename, adeffolder)
    adeffolder : folder to read/write file. if not exist it will created (optionnal).
    afilename  : the file name to read/write
### to open file => openfile(self, amode = 'r', aencoding = 'utf-8')->bool:
    amode : mode to open file (a = append, w = overrite file, see doc for more) 
            by default r = read
    aencoding : encoding file by default utf-8
### to write line => writeln(aline)
    aline : a line to add in file. you need to add \n at the end to CRLF.
### to read all file to a string => readfile()
    read all file and return the file in a string.
### to read all line of file to a list => readlns()
    read all line of file and return a list of string.
### to close line => close()
    read all line of file and return a list of string.
### TFileError enumeration of error codes
    NONE         = 0 => No error
    FOLDERNFOUND = 1 => Foleder not found
    FILENFOUND   = 2 => File not fount
    SYSTEM       = 3 => System error

# Howto use 📰
    import pybrafile

    file = pybrafile.FileUtils('testlog.txt')
    file.openfile('w')
    file.writeln('fist line\r')
    file.writeln('second line\r')
    file.close()

    file.openfile('r')
    txt = file.readfile()
    file.close()

    print(txt)
    print(pybrafile.version())

## Meta 💬
Brainstorming – Support.erp@brainstorming.eu

Distributed under the MIT license. See ``LICENSE`` for more information.