https://github.com/scieloorg/scielo_v3_manager
https://github.com/scieloorg/scielo_v3_manager
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/scieloorg/scielo_v3_manager
- Owner: scieloorg
- License: bsd-2-clause
- Created: 2021-07-04T01:20:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-08T12:14:51.000Z (over 4 years ago)
- Last Synced: 2024-04-14T20:25:31.707Z (about 2 years ago)
- Language: Python
- Size: 20.5 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# v3_manager
```python
import os
from scielo_v3_manager.v3_gen import generates
from scielo_v3_manager.pid_manager import Manager
local = "postgresql+psycopg2://user@localhost:5432/pid_manager"
manager = Manager(local, 20000)
done = manager.manage(
v2=v2,
v3=None,
aop=aop,
filename=os.path.basename(filename),
doi=doi,
status="active",
generate_v3=generates,
)
```