Grouping controllers by custom Attribute in Web API

I’m trying to implement ‘route grouping’ of my controllers by custom attribute, similar like ApiVersioning. What I would like to have on my controllers: [Authorize] [ApiVersion(“1.0”)] [ApiGroup(“NAS”)] /// <— MY GROUPING [RoutePrefix(“api/g{group:apiGroup}/v{version:apiVersion}/Authorization”)] public class AuthorizationController : ApiController { [HttpPost] [AllowAnonymous] [Route(“VerifyCredentials”)] [ResponseType(typeof(ContactPerson))] public async Task<IHttpActionResult> VerifyCredentials(Credentials credentials) {….} So route to this Api call would…

Details

Python Py to EXE

Trying to figure out why Pyinstaller does not make the .EXE in the \Dist folder. What i’m running is pyinstaller –onefile FileName.py But after this it fails: 7758 INFO: Building PYZ (ZlibArchive) An error occurred, traceback follows: Traceback (most recent call last): File “c:\users\marcu\appdata\local\programs\python\python38-32\lib\site-packages\auto_py_to_exe__main__.py”, line 269, in convert pyi.run() # Execute PyInstaller File “c:\users\marcu\appdata\local\programs\python\python38-32\lib\site-packages\PyInstaller__main__.py”, line…

Details

clinical trial for getting history for particular NCT ID

I need a complete history for particular clinical trial NCT ID from site: https://clinicaltrials.gov/ Consider NCT id :NCT03245346 From link I am checking for History of Changes which is giving me all history for that NCT ID in new page. I can get this using HTML parser: import BeautifulSoup import requests url = ‘https://clinicaltrials.gov/ct2/archive/NCT03245346’ r=requests.get(url)…

Details