semvec/pypi-packages huggingface dataset:
clic 0.1.3
A c/c++ cli

## Clic

> A  cli tool for c/c++ development.

### Requirements

First, you should clone [google/googletest] and install [CMake](https://cmake.org/) in your local machine.

- [google/googletest](https://github.com/google/googletest)
- [CMake](https://cmake.org/)

### Install

```bash
$ pip install clic
```

### How to use

After googletest installed, you need to export a environment `GTEST_PATH` in your bash config file (e.g `.bashrc, .zshrc`, etc).

```bash
$ clic mycpp
$ cd mycpp

$ tree -L 1
.
├── CMakeLists.txt
├── build
├── lib
├── solution.h
└── test.cpp

2 directories, 3 files

$ cd build
$ cmake .. && make
$ ./mycpp

❯ ./mycpp
Running main() from ~/mycpp/lib/googletest/googletest/src/gtest_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from test
[ RUN      ] test.INIT
Hello mycpp
[       OK ] test.INIT (0 ms)
[----------] 1 test from test (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[  PASSED  ] 1 test.
```

If you don't want to export the `GTEST_PATH` environment,  you can specify the path in the same command as follows:

```bash
$ GTEST_PATH=/path/to/cloned/googletest clic my-new-app
$ cd my-new-app
```

Now, Enjoy your simple c/c++ project. ��

In the `test.cpp` file, you can write your tests.

```c++
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "solution.h"

#include <iostream>

TEST(test, INIT) {
    /* write your test */
}
```

and in the `solution.h` file you can write your solution.

```c++
#ifndef MY_SOLUTION__
#define MY_SOLUTION__

class Solution {
public:
    /* write your solution */
};

#endif /* ifndef MY_SOLUTION__ */
```
thealtening 1.1.0
An unofficial python package for thealtening's API

An unofficial python package made for https://thealtening.com/
The API supports basic and premium plans ONLY

class thealtening.API()

parameters:

apikey - REQUIRED - thealtening's API key needed to generate/favorite/private accounts (found here: https://panel.thealtening.com/#account)

password="password" - Optional - the password given to the account's login (12345-12345@alt.com:Password)

verify=True - Optional - Verifies the account's API key by requesting the license from https://api.thealtening.com/v1/license, prints the error if one is given

file=None - Optional - The file your accounts generated (using API.generate()) will be stored in


license()

Requests the license affiliated with the API key (defined above)

Returns the account info or an error (if one is given)

generate()

Generates an account using thealtening's API

Returns the account generated

parameters:

repeat=1 - Optional - How many accounts will be generated (if more than one, it returns a list)

login=False - Optional - Logs you into the account to get the UUID and the full username

info=False - Optional - Requests more info from thealtening's API

file=None - Optional - The file your accounts will be stored in (if none, will keep the file same as the one defined in thealtening.API()


favorite()

"favorites" the last account generated in the program

Returns nothing or an error (if one is given)

parameter:

atoken=None - Optional - "Favorites" that account instead of the last one generated 


private()

"privates" the last account generated in the program

Returns nothing or an error (if one is given)

parameter:

atoken=None - Optional - "Privates" that account instead of the last one generated 


alt_login()

logs you into an account and returns the response from https://authserver.thealtening.com/authenticate

parameter:

atoken=None - Optional - Logs you into that account instead of the last one generated 


set_API()

Sets your api to the one provided

parameters

apikey - REQUIRED - thealtening's API key needed to generate/favorite/private accounts (found here: https://panel.thealtening.com/#account)

verify=True - Optional - Verifies the account's API key by requesting the license from https://api.thealtening.com/v1/license, prints the error if one is given


status()

Returns the status of https://authserver.thealtening.com/ and https://sessionserver.thealtening.com/ 





I am not affiliated with thealtening in any way.l